Browse Source
Change theme to regular bootstrap with custom css
Change theme to regular bootstrap with custom css
Update transaction draft row item form Update session and app config filespull/3/head
15 changed files with 164 additions and 105 deletions
-
15app/Helpers/helpers.php
-
20composer.lock
-
2config/app.php
-
2config/session.php
-
26public/css/app.custom.css
-
6public/css/plugins/bootstrap-theme.min.css
-
6public/css/plugins/bootstrap.min.css
-
7public/js/plugins/bootstrap.min.js
-
4public/js/plugins/jquery.min.js
-
20resources/views/auth/login.blade.php
-
2resources/views/cart/index.blade.php
-
16resources/views/cart/partials/draft-item-list.blade.php
-
6resources/views/cart/partials/product-search-box.blade.php
-
83resources/views/layouts/app.blade.php
-
54resources/views/layouts/partials/top-nav.blade.php
@ -0,0 +1,26 @@ |
|||
/* Body */ |
|||
body { font-family: "Trebuchet MS", serif; } |
|||
/* End of Body */ |
|||
|
|||
/* Typography */ |
|||
.strong { font-weight: bold; } |
|||
/* End of Typography */ |
|||
|
|||
/* Navtabs */ |
|||
.nav-tabs>li>a { padding: 6px 10px; border-color: #eee #eee #ddd; } |
|||
.transaction-draft-tabs { border-bottom: 0; } |
|||
/* End of Navtabs */ |
|||
|
|||
|
|||
/* Layout */ |
|||
.page-header { margin-top: 0px; } |
|||
h3.page-header { padding-bottom: 15px; } |
|||
div.notifier { z-index: 100; position: absolute; top: 30px; left: 50%; transform: translate(-50%,-50%); } |
|||
/* End of Layout */ |
|||
|
|||
/* Form */ |
|||
.form-group.required .control-label { position: relative; } |
|||
.form-group.required .control-label:after { content: "*"; color: red; font-size: 16px; position: absolute; top: -4px; right: -9px; } |
|||
.show-on-hover { display: none; } |
|||
.show-on-hover-parent:hover .show-on-hover { display: inline; } |
|||
/* End of Form */ |
|||
6
public/css/plugins/bootstrap-theme.min.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
6
public/css/plugins/bootstrap.min.css
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
7
public/js/plugins/bootstrap.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
4
public/js/plugins/jquery.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,10 +1,10 @@ |
|||
<div class="panel panel-default"> |
|||
<div class="panel panel-default" style="border-radius:0px"> |
|||
<div class="panel-heading"> |
|||
<form method="get" action="{{ route('cart.show', $draft->draftKey) }}"> |
|||
<label for="query">{{ trans('cart.product_search') }}</label> |
|||
<input type="text" id="query" name="query" value="{{ request('query') }}"> |
|||
<input type="submit" value="{{ trans('cart.product_search') }}" class="btn btn-info btn-sm"> |
|||
<a href="{{ route('cart.show', $draft->draftKey) }}" class="btn btn-default btn-sm">Refresh</a> |
|||
<input type="submit" value="{{ trans('cart.product_search') }}" class="btn btn-sm"> |
|||
<a href="{{ route('cart.show', $draft->draftKey) }}" class="btn btn-sm">Refresh</a> |
|||
</form> |
|||
</div> |
|||
@includeWhen ($queriedProducts, 'cart.partials.product-search-result-box') |
|||
@ -0,0 +1,54 @@ |
|||
<nav class="navbar navbar-default navbar-static-top"> |
|||
<div class="container"> |
|||
<div class="navbar-header"> |
|||
|
|||
<!-- Collapsed Hamburger --> |
|||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse"> |
|||
<span class="sr-only">Toggle Navigation</span> |
|||
<span class="icon-bar"></span> |
|||
<span class="icon-bar"></span> |
|||
<span class="icon-bar"></span> |
|||
</button> |
|||
|
|||
<!-- Branding Image --> |
|||
<a class="navbar-brand" href="{{ url('/') }}"> |
|||
{{ config('app.name', 'Laravel') }} |
|||
</a> |
|||
</div> |
|||
|
|||
<div class="collapse navbar-collapse" id="app-navbar-collapse"> |
|||
<!-- Right Side Of Navbar --> |
|||
<ul class="nav navbar-nav navbar-right"> |
|||
<!-- Authentication Links --> |
|||
@if (Auth::check()) |
|||
<li> |
|||
<form class="" action="{{ route('cart.add') }}" method="POST"> |
|||
{{ csrf_field() }} |
|||
<input type="submit" class="btn btn-default navbar-btn" name="create-cash-draft" id="cash-draft-create-button" value="{{ trans('transaction.create_cash') }}"> |
|||
<input type="submit" class="btn btn-default navbar-btn" name="create-credit-draft" id="credit-draft-create-button" value="{{ trans('transaction.create_credit') }}"> |
|||
</form> |
|||
</li> |
|||
<li class="dropdown"> |
|||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"> |
|||
{{ Auth::user()->name }} <span class="caret"></span> |
|||
</a> |
|||
|
|||
<ul class="dropdown-menu" role="menu"> |
|||
<li> |
|||
<a href="{{ route('logout') }}" |
|||
onclick="event.preventDefault();
|
|||
document.getElementById('logout-form').submit();">
|
|||
Logout </a> |
|||
|
|||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> |
|||
{{ csrf_field() }} |
|||
<button type="submit" style="display: none;" id="logout-button" >Logout</button> |
|||
</form> |
|||
</li> |
|||
</ul> |
|||
</li> |
|||
@endif |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
</nav> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue