login dashboard & origami css
This commit is contained in:
@@ -82,19 +82,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.p-card{
|
.p-card{
|
||||||
margin: 20px 0;
|
margin: 20px -8px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p-name{
|
.p-name{
|
||||||
|
padding-left: 6px;
|
||||||
|
padding-right: 6px;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
weight : 30px;
|
||||||
|
height : 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.style_image{
|
.style_image{
|
||||||
height : 138px;
|
height : 138px;
|
||||||
padding : 20px 0 20px 0;
|
padding : 20px 0 20px 0;
|
||||||
width : 70%;
|
width : 70%;
|
||||||
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.style_icon{
|
.style_icon{
|
||||||
@@ -109,3 +114,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin : 0 0 20px 0;
|
margin : 0 0 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.box {
|
||||||
|
margin : 0 -60px 0 -60px;
|
||||||
|
}
|
||||||
@@ -525,3 +525,21 @@ nav.pagination .page a:hover,
|
|||||||
color:#fff;
|
color:#fff;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*----chane font_size (Amount Due && Balance)----*/
|
||||||
|
#balance{
|
||||||
|
height: 50%;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.amount_balance{
|
||||||
|
height: 50%;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#amount_due{
|
||||||
|
height: 50%;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row bg-white">
|
<div class="row bg-white box">
|
||||||
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 p-t-20 p-l-10 p-r-10 p-b-50 bg-white">
|
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 p-t-20 p-l-10 p-r-10 p-b-50 bg-white">
|
||||||
<div class="row justify-content-center form-group">
|
<div class="row justify-content-center form-group">
|
||||||
<input type="text" class="form-control col-4" id="emp_id" placeholder="Employee ID">
|
<input type="text" class="form-control col-4" id="emp_id" placeholder="Employee ID">
|
||||||
@@ -122,14 +122,14 @@
|
|||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content" style="max-height:650px; overflow:auto">
|
<div class="tab-content" style="max-height:550px; overflow:auto">
|
||||||
|
|
||||||
<% @roles.each do |role| %>
|
<% @roles.each do |role| %>
|
||||||
<%if role != "administrator" %>
|
<%if role != "administrator" %>
|
||||||
<div class="tab-pane" id="<%=role%>" role="tabpanel" style="max-height:; overflow:auto">
|
<div class="tab-pane" id="<%=role%>" role="tabpanel" style="max-height:; overflow:auto">
|
||||||
<% @employees.each do |employee| %>
|
<% @employees.each do |employee| %>
|
||||||
<%if employee.role == role %>
|
<%if employee.role == role %>
|
||||||
<div class="col-xs-4 col-sm-4 col-md-4 col-lg-4 empBtn" data-formid="#form_<%= employee.emp_id %>" style="float: left;">
|
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 empBtn" data-formid="#form_<%= employee.emp_id %>" style="float: left;">
|
||||||
<form id="form_<%= employee.emp_id %>" action="<%= emp_login_path(employee.emp_id) %>" method="PATCH">
|
<form id="form_<%= employee.emp_id %>" action="<%= emp_login_path(employee.emp_id) %>" method="PATCH">
|
||||||
</form>
|
</form>
|
||||||
<%if employee.image_path.present? %>
|
<%if employee.image_path.present? %>
|
||||||
|
|||||||
@@ -166,7 +166,7 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<div class="row m-l-5 m-r-5">
|
<div class="row m-l-5 m-r-5">
|
||||||
<div class="col-md-8"><strong>Amount Due <% if !@sale_payment.nil? %>( Credit )<% end %></strong></div>
|
<div class="col-md-8"><strong class='amount_balance'>Amount Due <% if !@sale_payment.nil? %>( Credit )<% end %></strong></div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<strong>
|
<strong>
|
||||||
<span id="grand_total" class="hidden">
|
<span id="grand_total" class="hidden">
|
||||||
@@ -341,7 +341,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row m-l-5 m-r-5">
|
<div class="row m-l-5 m-r-5">
|
||||||
<div class="col-md-8"><strong>Balance</strong></div>
|
<div class="col-md-8"><strong class='amount_balance'>Balance</strong></div>
|
||||||
<div class="col-md-4"><strong><span id='balance'><%= number_with_precision(@sale_data.grand_total, precision: precision.to_i ) rescue number_with_precision(0, precision: precision.to_i ) %></span></strong></div>
|
<div class="col-md-4"><strong><span id='balance'><%= number_with_precision(@sale_data.grand_total, precision: precision.to_i ) rescue number_with_precision(0, precision: precision.to_i ) %></span></strong></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <br> -->
|
<!-- <br> -->
|
||||||
|
|||||||
Reference in New Issue
Block a user