remove _sidebar and add mm

This commit is contained in:
Yan
2017-10-12 15:42:06 +06:30
parent a6b8389fd0
commit cd5f2eb748
6 changed files with 10 additions and 265 deletions

View File

@@ -109,6 +109,13 @@ section.content {
opacity: 1;
}
.sidebar .menu .list .header {
background: #eee;
font-size: 12px;
font-weight: bold;
padding: 8px 16px;
}
/* End Reset Theme */
/* *************************************************** */

View File

@@ -1,225 +0,0 @@
/*!
* Start Bootstrap - Simple Sidebar (http://startbootstrap.com/template-overviews/simple-sidebar)
* Copyright 2013-2017 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-simple-sidebar/blob/master/LICENSE)
*/
/**/
#wrapper {
padding-left: 0;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#wrapper.toggled {
padding-left: 210px;
}
#sidebar-wrapper {
/* z-index: 1000;*/
/*position: fixed;*/
z-index: 1;
position: ;
left: 200px;
width: 0;
height: 100%;
margin-left: -224px;
margin-top:-20px;
overflow-x: ;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
#wrapper.toggled #sidebar-wrapper {
width: 216px;
}
#page-content-wrapper {
width: 100%;
position: absolute;
padding-top: 20px;
}
#wrapper.toggled #page-content-wrapper {
position: absolute;
margin-right: -200px;
padding-top: 20px;
}
/* Sidebar Styles */
.sidebar-nav {
position: absolute;
background: #222d32;
top: 0;
width: 200px;
margin: 0;
padding: 0;
list-style: none;
}
.sidebar-nav li {
text-indent: 20px;
line-height: 40px;
}
.sidebar-nav>li.header {
color: #4b646f;
background-color: #1a2226;
line-height: 35px !important;
}
.main-nav {
/* background-color: #161926 !important;*/
}
/*.main-nav a {
color: #fff !important;
}
*/
.sidebar-nav li a {
display: block;
text-decoration: none;
color: #999999;
}
.sidebar-nav li a:hover {
text-decoration: none;
color: #fff;
background: rgba(255, 255, 255, 0.2);
}
.sidebar-nav li a:active,
.sidebar-nav li a:focus {
text-decoration: none;
}
.sidebar-nav > .sidebar-brand {
height: 65px;
font-size: 18px;
line-height: 60px;
}
.sidebar-nav > .sidebar-brand a {
color: #999999;
}
.sidebar-nav > .sidebar-brand a:hover {
color: #fff;
background: none;
}
@media(min-width:768px) {
#wrapper {
padding-left: 0;
}
#wrapper.toggled {
padding-left: 209px;
}
#sidebar-wrapper {
width: 0;
}
#wrapper.toggled #sidebar-wrapper {
width: 216px;
}
#page-content-wrapper {
padding-top: 20px;
position: relative;
}
#wrapper.toggled #page-content-wrapper {
position: relative;
margin-right: 0;
padding-top: 20px;
}
}
.accordion {
width: 200px;
list-style: none;
font-size: 14px;
color: #999999 ;
padding: 0px !important;
margin: 0px !important;
}
.accordion .link {
cursor: pointer;
display: block;
/* padding: 15px 15px 15px 42px;
color: #4D4D4D;*/
/* font-size: 14px;
font-weight: 700;*/
/*border-bottom: 1px solid #CCC;*/
position: relative;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
/*.accordion li:last-child .link { border-bottom: 0; }*/
.accordion li i {
position: absolute;
top: 13px;
left: 12px;
font-size: 16px;
color: #999999;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.accordion li i.fa-chevron-down {
right: 12px;
left: auto;
font-size: 16px;
}
.accordion li .link:hover {
background: rgba(255, 255, 255, 0.2);
color: #FFF;
}
.accordion li.open .link { color: #fff; }
.accordion li.open .link > .submenu { display: block;overflow: hidden;}
.accordion li.open i { color: #fff; }
.accordion li.open i.fa-chevron-down {
-webkit-transform: rotateX(180deg);
-ms-transform: rotateX(180deg);
-o-transform: rotateX(180deg);
transform: rotateX(180deg);
}
.submenu {
display: none;
list-style: none;
margin-left: ;
background: #161926;
font-size: 14px;
}
.submenu li {
margin-left: -38px;
}
.submenu a {
display: block;
text-decoration: none;
color: #d9d9d9;
padding-left:20px;
-webkit-transition: all 0.25s ease;
-o-transition: all 0.25s ease;
transition: all 0.25s ease;
}
.submenu a:hover {
background: #b63b4d;
color: #FFF;
}

View File

@@ -130,7 +130,7 @@
<li>
<a href="<%= settings_cashier_terminals_path %>">
<i class="material-icons col-green">donut_large</i>
<span><%= t :cashier + " " + t :terminal %></span>
<span><%= (t :cashier) + " " + (t :terminal) %></span>
</a>
</li>
<li>

View File

@@ -1,36 +0,0 @@
<div id="sidebar-wrapper">
<ul id="accordion" class="accordion sidebar-nav">
<li class="header"><a><%= t :main_navigation %></a></li>
<li><%= link_to (t :dashboard), dashboard_path,:class =>"" %> </li>
<li><%= link_to (t :oqs), oqs_root_path,:class =>"" %></li>
<li><%= link_to (t :origami), origami_root_path,:class =>"" %></li>
<li>
<div class="link"><%= t :crm %><i class="fa fa-chevron-down"></i>
</div>
<ul class="submenu">
<li> <%= link_to "Customer ", crm_customers_path,:class =>"" %></li>
<li> <%= link_to "Queue ", crm_dining_queues_path,:class =>"" %></li>
</ul>
</li>
<li><%= link_to (t :inventory), inventory_path,:class =>"" %></li>
<li class="header"><a><%= t :settings %></a></li>
<li><%= link_to "Zones ", settings_zones_path,:class =>"" %></li>
<li><%= link_to "Order Queue Station ", settings_order_queue_stations_path,:class =>"" %></li>
<li><%= link_to "Menu ", settings_menus_path,:class =>"" %></li>
<li>
<div class="link"><%= t 'transactions' %><i class="fa fa-chevron-down"></i>
</div>
<ul class="submenu">
<li> <%= link_to "Orders ", transactions_orders_path,:class =>"" %></li>
<li> <%= link_to "Sales ", transactions_sales_path,:class =>"" %></li>
<li> <%= link_to "Credit Note ", transactions_credit_notes_path,:class =>"m" %></li>
</ul>
</li>
<li><%= link_to (t :cashier), settings_cashier_terminals_path,:class =>"" %></li>
<li><%= link_to "Print Settings ", print_settings_path,:class =>"" %></li>
<li><%= link_to "Staff ", settings_employees_path,:class =>"" %></li>
<li><%= link_to "Product ", settings_products_path,:class =>"" %></li>
<li><%= link_to "Promotion ", settings_promotions_path,:class =>"" %></li>
<li><%= link_to "Reports", reports_dailysale_index_path, :class =>"" %></li>
</ul>
</div>

View File

@@ -47,8 +47,7 @@
</section>
<!-- Main Content -->
<section class="content">
<h1><%= t :welcome %></h1>
<section class="content">
<%= yield %>
</section>
</body>

View File

@@ -7,7 +7,7 @@ mm:
crm: "စားသုံးသူကြီးကြပ်ရေး"
inventory: "ကုန်လှောင်ရုံ"
settings: "သတ်မှတ်ချက်များ"
transactions: "အလုပ်ပြီးမြောက်မှု့များ"
transactions: "အလုပ်ပြီးမြောက်မှု့များ"
reports: "အစီရင်ခံစာ"
zones: "Zones"
dinings: "Dinings"