Some small menu optimisations. [skip ci]

This commit is contained in:
James Cole 2015-06-09 15:46:13 +02:00
parent 1b0bc7ec6e
commit f354e90656
2 changed files with 15 additions and 13 deletions

View File

@ -42,11 +42,12 @@
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<div class="panel-body" style="padding-top:5px;padding-bottom:5px;padding-left:5px;">
<ul class="nav nav-pills">
<li role="presentation" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-expanded="false" style="padding-top:0;padding-bottom:0;padding-left:0;">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"
role="button" aria-expanded="false" style="padding-top:10px;padding-bottom:10px;padding-left:10px;">
<i class="fa fa-plus"></i> {{ 'createNew'|_ }} ... <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">

View File

@ -67,22 +67,23 @@
<!-- /.dropdown -->
<!-- new stuff create button -->
<!--<li class="dropdown">
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-plus-circle fa-fw"></i> <i class="fa fa-caret-down"></i>
</a>
<ul class="dropdown-menu dropdown-tasks">
<li><a href="#"><i class="fa fa-long-arrow-left fa-fw"></i> New withdrawal</a></li>
<li><a href="#"><i class="fa fa-long-arrow-right fa-fw"></i> Deposit</a></li>
<li><a href="#"><i class="fa fa-exchange fa-fw"></i> Transfer</a></li>
<li><a href="#"><i class="fa fa-money fa-fw"></i> Asset account</a></li>
<li><a href="#"><i class="fa fa-shopping-cart fa-fw"></i> Expense account</a></li>
<li><a href="#"><i class="fa fa-download fa-fw"></i> Revenue account</a></li>
<li><a href="#">Bill</a></li>
<li><a href="#">Piggy bank</a></li>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ route('transactions.create','withdrawal') }}"><i class="fa fa-long-arrow-left fa-fw"></i> {{ 'create_new_withdrawal'|_ }}</a></li>
<li><a href="{{ route('transactions.create','deposit') }}"><i class="fa fa-long-arrow-right fa-fw"></i> {{ 'create_new_deposit'|_ }}</a></li>
<li><a href="{{ route('transactions.create','transfer') }}"><i class="fa fa-exchange fa-fw"></i> {{ 'create_new_transfer'|_ }}</a></li>
<li class="divider"></li>
<li><a href="{{ route('accounts.create','asset') }}"><i class="fa fa-money fa-fw"></i> {{ 'create_new_asset'|_ }}</a></li>
<li><a href="{{ route('accounts.create','expense') }}"><i class="fa fa-shopping-cart fa-fw"></i> {{ 'create_new_expense'|_ }}</a></li>
<li><a href="{{ route('accounts.create','revenue') }}"><i class="fa fa-download fa-fw"></i> {{ 'create_new_revenue'|_ }}</a></li>
<li class="divider"></li>
<li><a href="{{ route('piggy-banks.create') }}"><i class="fa fa-sort-amount-asc fa-fw"></i> {{ 'create_new_piggy_bank'|_ }}</a></li>
<li><a href="{{ route('bills.create') }}"><i class="fa fa-calendar-o fa-fw"></i> {{ 'create_new_bill'|_ }}</a></li>
</ul>
</li>
-->
</ul>
<!-- date -->