firefly-iii/app/views/layouts/default.blade.php

94 lines
3.5 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
2014-11-28 07:12:16 -06:00
<?php $r = Route::getCurrentRoute()->getName();?>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="{{URL::route('index')}}/">
<title>Firefly
@if(isset($title) && $title != 'Firefly')
// {{{$title}}}
@endif
@if(isset($subTitle))
// {{{$subTitle}}}
@endif
</title>
2014-09-23 14:34:13 -05:00
{{HTML::style('assets/stylesheets/bootstrap/bootstrap.min.css')}}
{{HTML::style('assets/stylesheets/metisMenu/metisMenu.min.css')}}
{{HTML::style('assets/stylesheets/sbadmin/sb.css')}}
{{HTML::style('assets/stylesheets/fa/css/font-awesome.min.css')}}
{{HTML::style('https://fonts.googleapis.com/css?family=Roboto2')}}
@yield('styles')
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wrapper">
@include('partials.menu')
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">
2014-09-12 14:47:27 -05:00
@if(isset($mainTitleIcon))
<i class="fa {{{$mainTitleIcon}}}"></i>
@endif
{{$title or '(no title)'}}
2014-09-10 07:39:38 -05:00
@if(isset($subTitle))
<small>
2014-09-12 14:47:27 -05:00
@if(isset($subTitleIcon))
<i class="fa {{{$subTitleIcon}}}"></i>
@endif
{{$subTitle}}
</small>
2014-09-10 07:39:38 -05:00
@endif
2014-11-28 07:12:16 -06:00
<small class="pull-right"><a href="#" id="help" data-route="{{{Route::getCurrentRoute()->getName()}}}"><i data-route="{{{Route::getCurrentRoute()->getName()}}}" class="fa fa-question-circle"></i></a></small>
2014-09-10 07:39:38 -05:00
</h1>
</div>
<!-- /.col-lg-12 -->
</div>
@include('partials.flashes')
@yield('content')
2014-11-28 07:12:16 -06:00
<!-- this modal will contain the help-text -->
<div class="modal fade" id="helpModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="helpTitle">Please hold...</h4>
</div>
<div class="modal-body" id="helpBody">
<i class="fa fa-refresh fa-spin"></i>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div><!-- /.modal -->
</div>
</div>
2014-12-04 13:38:45 -06:00
<!-- modal to relate transactions to each other -->
<div class="modal fade" id="relationModal">
</div>
2014-09-23 14:31:38 -05:00
{{HTML::script('assets/javascript/jquery/jquery-2.1.1.min.js')}}
{{HTML::script('assets/javascript/bootstrap/bootstrap.min.js')}}
{{HTML::script('assets/javascript/metisMenu/jquery.metisMenu.min.js')}}
{{HTML::script('assets/javascript/sb-admin/sb-admin-2.js')}}
2014-11-28 07:12:16 -06:00
{{HTML::script('assets/javascript/firefly/help.js')}}
@yield('scripts')
</body>
</html>