Added a Sales Sheet page along with other changes.
This commit is contained in:
@@ -1,77 +1,79 @@
|
||||
<template name="Body">
|
||||
{{> sAlert}}
|
||||
<div id="layoutBody">
|
||||
<div class="mainBody">
|
||||
<div class="leftSidebar">
|
||||
<i class="fa fa-sign-out fa-2x signOut" aria-hidden="true"></i>
|
||||
<div class="logo">
|
||||
<img src="/images/PetitTetonLogo_v2.png"/>
|
||||
<!--<div id="layoutBody" class="verticalStack">-->
|
||||
<div id="mainBody" class="mainBody verticalStack vscExpand">
|
||||
<div class="leftSidebar vscFixed">
|
||||
<div class="logoArea">
|
||||
<i class="fa fa-sign-out fa-2x signOut" aria-hidden="true"></i>
|
||||
<div class="logo">
|
||||
<img src="/images/PetitTetonLogo_v2.png"/>
|
||||
</div>
|
||||
</div>
|
||||
<ul>
|
||||
{{#if isInRole 'manage'}}
|
||||
<li class="{{isActiveRoute 'UserManagement'}}">
|
||||
<a href="{{pathFor 'UserManagement'}}">
|
||||
User Management
|
||||
<div class="menuArea">
|
||||
<ul>
|
||||
{{#if isInRole 'manage'}}
|
||||
<li class="{{isActiveRoute 'UserManagement'}}">
|
||||
<a href="{{pathFor 'UserManagement'}}">
|
||||
User Management
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
<li class="{{isActiveRoute 'Sales'}}">
|
||||
<a href="{{pathFor 'Sales'}}">
|
||||
Sales <span class="tag">Test Tag</span>
|
||||
</a>
|
||||
</li>
|
||||
{{/if}}
|
||||
<li class="{{isActiveRoute 'Sales'}}">
|
||||
<a href="{{pathFor 'Sales'}}">
|
||||
Sales <span class="tag">Test Tag</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Production'}}">
|
||||
<a href="{{pathFor 'Production'}}">
|
||||
Production <span class="tag">sample</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Products'}}">
|
||||
<a href="{{pathFor 'Products'}}">
|
||||
Products
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Pricing'}}">
|
||||
<a href="{{pathFor 'Pricing'}}">
|
||||
Pricing
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'ProductTags'}}">
|
||||
<a href="{{pathFor 'ProductTags'}}">
|
||||
Tags
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Measures'}}">
|
||||
<a href="{{pathFor 'Measures'}}">
|
||||
Measures
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Venues'}}">
|
||||
<a href="{{pathFor 'Venues'}}">
|
||||
Venues
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Graphs'}}">
|
||||
<a href="{{pathFor 'Graphs'}}">
|
||||
Graphs
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="contentBody">
|
||||
<div class="contentContainer">
|
||||
<div class="header">
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
{{> Template.dynamic template=content}}
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Petit Teton LLC 2017
|
||||
</div>
|
||||
<li class="{{isActiveRoute 'SalesSheets'}}">
|
||||
<a href="{{pathFor 'SalesSheets'}}">
|
||||
Sales Sheets
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Production'}}">
|
||||
<a href="{{pathFor 'Production'}}">
|
||||
Production <span class="tag">sample</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Products'}}">
|
||||
<a href="{{pathFor 'Products'}}">
|
||||
Products
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Pricing'}}">
|
||||
<a href="{{pathFor 'Pricing'}}">
|
||||
Pricing
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'ProductTags'}}">
|
||||
<a href="{{pathFor 'ProductTags'}}">
|
||||
Tags
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Measures'}}">
|
||||
<a href="{{pathFor 'Measures'}}">
|
||||
Measures
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Venues'}}">
|
||||
<a href="{{pathFor 'Venues'}}">
|
||||
Venues
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{isActiveRoute 'Graphs'}}">
|
||||
<a href="{{pathFor 'Graphs'}}">
|
||||
Graphs
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Petit Teton LLC 2017
|
||||
</div>
|
||||
</div>
|
||||
<div class="contentBody verticalStack">
|
||||
{{> Template.dynamic template=content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--</div>-->
|
||||
</template>
|
||||
|
||||
<!--<template name="Body">-->
|
||||
|
||||
156
imports/ui/layouts/Body.import.styl
vendored
156
imports/ui/layouts/Body.import.styl
vendored
@@ -1,37 +1,52 @@
|
||||
#layoutBody
|
||||
width: 100%
|
||||
height: 100%
|
||||
display: table
|
||||
text-align: center
|
||||
//#layoutBody
|
||||
// width: 100%
|
||||
// height: 100%
|
||||
// //display: table //Firefox does not like this - no idea why. Not required apparently.
|
||||
// margin: 0
|
||||
// padding: 0
|
||||
// border: 0
|
||||
// overflow: hidden
|
||||
|
||||
#mainBody
|
||||
//position: relative
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
//display: inline-block // Requried by Firefox for absolute positioning.
|
||||
margin: 0
|
||||
padding: 0
|
||||
border: 0
|
||||
height: 100%
|
||||
width: 100%
|
||||
|
||||
.mainBody
|
||||
display: table
|
||||
.leftSidebar
|
||||
flex: 0 0 auto
|
||||
display: flex
|
||||
flex-flow: column
|
||||
justify-content: flex-start
|
||||
align-items: flex-start
|
||||
align-content: stretch
|
||||
height: 100%
|
||||
width: 100%
|
||||
margin: 0
|
||||
padding: 0
|
||||
//position: absolute
|
||||
border: 0
|
||||
vertical-align: top
|
||||
padding: 0
|
||||
text-align: left
|
||||
//top: 0px
|
||||
//left: 0px
|
||||
//bottom: 0px
|
||||
width: 220px
|
||||
//Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#627d4d+0,1f3b08+100;Olive+3D
|
||||
background-color: #90b272 //Old browsers
|
||||
background: -moz-linear-gradient(-180deg, #90b272 0%, #4d7727 100%) //FF3.6-15
|
||||
background: -webkit-linear-gradient(-180deg, #90b272 0%,#4d7727 100%) //Chrome10-25,Safari5.1-6
|
||||
background: linear-gradient(180deg, #90b272 0%,#4d7727 100%) //W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+
|
||||
font-size: 14px
|
||||
font-weight: 700
|
||||
overflow: hidden
|
||||
|
||||
.leftSidebar
|
||||
display: table-cell
|
||||
position: relative
|
||||
border: 0
|
||||
vertical-align: top
|
||||
padding: 0
|
||||
text-align: left
|
||||
width: 220px
|
||||
height: 100%
|
||||
//Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#627d4d+0,1f3b08+100;Olive+3D
|
||||
background: #90b272 //Old browsers
|
||||
background: -moz-linear-gradient(-180deg, #90b272 0%, #4d7727 100%) //FF3.6-15
|
||||
background: -webkit-linear-gradient(-180deg, #90b272 0%,#4d7727 100%) //Chrome10-25,Safari5.1-6
|
||||
background: linear-gradient(180deg, #90b272 0%,#4d7727 100%) //W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+
|
||||
font-size: 14px
|
||||
font-weight: 700
|
||||
|
||||
.logoArea
|
||||
flex: 0 0 auto
|
||||
width: 100%
|
||||
.signOut
|
||||
position: absolute
|
||||
left: 10px
|
||||
@@ -42,16 +57,20 @@
|
||||
color: #BBB
|
||||
.signOut:active
|
||||
color: black
|
||||
|
||||
.logo
|
||||
text-align: center
|
||||
margin-top: 20px
|
||||
|
||||
img:hover
|
||||
//-webkit-animation: neon6_drop 1.5s ease-in-out infinite alternate;
|
||||
//-moz-animation: neon6_drop 1.5s ease-in-out infinite alternate;
|
||||
animation: neon6_drop 1.5s ease-in-out infinite alternate;
|
||||
.menuArea
|
||||
flex: 1 1 auto
|
||||
width: 100%
|
||||
ul
|
||||
padding: 20px 0 0 0
|
||||
margin: 0
|
||||
list-style: none
|
||||
|
||||
li:first-child
|
||||
border-top: 1px solid #e4e5e7
|
||||
li
|
||||
@@ -59,14 +78,12 @@
|
||||
color: #96a2ae
|
||||
text-transform: uppercase
|
||||
display: block
|
||||
|
||||
a
|
||||
color: black
|
||||
padding: 15px 20px
|
||||
cursor: pointer
|
||||
text-decoration: none
|
||||
display: block
|
||||
|
||||
.tag
|
||||
padding: .2em .5em
|
||||
font-size: .7em
|
||||
@@ -78,40 +95,59 @@
|
||||
float: right
|
||||
li:hover
|
||||
background-color: #333
|
||||
-webkit-animation: neon6 1.5s ease-in-out infinite alternate;
|
||||
-moz-animation: neon6 1.5s ease-in-out infinite alternate;
|
||||
animation: neon6 1.5s ease-in-out infinite alternate;
|
||||
li.active
|
||||
background-color: #333
|
||||
|
||||
a
|
||||
color: #96a2ae
|
||||
.contentBody
|
||||
display: table-cell
|
||||
//background: #4d7727
|
||||
li.active:hover
|
||||
background-color: #333
|
||||
a
|
||||
color: white
|
||||
.footer
|
||||
flex: 0 0 auto
|
||||
width: 100%
|
||||
font-size: 9px
|
||||
text-align: center
|
||||
|
||||
.contentContainer
|
||||
display: table
|
||||
width: 100%
|
||||
height: 100%
|
||||
//border-radius 20px
|
||||
//border: 0;
|
||||
background: white
|
||||
.contentBody
|
||||
flex: 1 1 1px
|
||||
padding: 10px 20px
|
||||
-webkit-box-shadow: inset 4px 2px 10px -3px rgba(168,165,168,1)
|
||||
-moz-box-shadow: inset 4px 2px 10px -3px rgba(168,165,168,1)
|
||||
box-shadow: inset 8px 0px 10px -3px rgba(168,165,168,1)
|
||||
//position: absolute
|
||||
//top: 0
|
||||
//bottom: 0
|
||||
//left: 220px
|
||||
//right: 0
|
||||
overflow: hidden
|
||||
|
||||
.header
|
||||
display: table-row
|
||||
background: #90b272
|
||||
width: 100%
|
||||
height: 1px
|
||||
.content
|
||||
display: table-row
|
||||
width: 100%
|
||||
-webkit-box-shadow: inset 4px 2px 6px 2px rgba(168,165,168,1)
|
||||
-moz-box-shadow: inset 4px 2px 6px 2px rgba(168,165,168,1)
|
||||
box-shadow: inset 4px 2px 6px 2px rgba(168,165,168,1)
|
||||
.footer
|
||||
display: table-row
|
||||
height: 1px
|
||||
text-align: center
|
||||
background: #4d7727
|
||||
color: white
|
||||
//.contentBody
|
||||
// //display: table-cell
|
||||
// position: absolute
|
||||
// top: 0
|
||||
// bottom: 0
|
||||
// left: 220px
|
||||
// right: 0
|
||||
// //background: #4d7727
|
||||
//
|
||||
// .contentContainer
|
||||
// display: table
|
||||
// width: 100%
|
||||
// height: 100%
|
||||
// //border-radius 20px
|
||||
// //border: 0;
|
||||
// background: white
|
||||
//
|
||||
// .content
|
||||
// display: table-row
|
||||
// width: 100%
|
||||
// -webkit-box-shadow: inset 4px 2px 10px -3px rgba(168,165,168,1)
|
||||
// -moz-box-shadow: inset 4px 2px 6px 2px rgba(168,165,168,1)
|
||||
// box-shadow: inset 4px 2px 6px 2px rgba(168,165,168,1)
|
||||
|
||||
|
||||
//#layoutBody
|
||||
|
||||
Reference in New Issue
Block a user