firefly-iii/resources/twig/layout/default.twig

165 lines
6.4 KiB
Twig
Raw Normal View History

2015-05-01 11:44:49 -05:00
<!DOCTYPE html>
2015-06-19 13:59:14 -05:00
<html>
2015-05-01 11:44:49 -05:00
<head>
2015-06-19 13:59:14 -05:00
<meta charset="UTF-8">
2015-05-01 11:44:49 -05:00
<title>Firefly
{% if title != "Firefly" %}
// {{ title }}
{% endif %}
{% if subTitle %}
2015-05-01 15:44:35 -05:00
// {{ subTitle }}
2015-05-01 11:44:49 -05:00
{% endif %}
</title>
2015-06-19 13:59:14 -05:00
<base href="{{ route('index') }}/">
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="ionicons/css/ionicons.min.css" rel="stylesheet" type="text/css" />
<!-- jvectormap -->
<link href="plugins/jvectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link href="dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
2015-05-01 11:44:49 -05:00
2015-06-20 02:54:01 -05:00
<link href="css/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
<link href="css/firefly.css" rel="stylesheet" type="text/css" />
2015-06-19 13:59:14 -05:00
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
2015-05-01 11:44:49 -05:00
</head>
2015-06-20 00:29:25 -05:00
<body class="skin-black sidebar-mini">
2015-06-19 13:59:14 -05:00
<div class="wrapper">
<header class="main-header">
2015-05-01 11:44:49 -05:00
2015-06-19 13:59:14 -05:00
<!-- Logo -->
<a href="{{ route('index') }}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini">FF</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Firefly</b>III</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- Messages: style can be found in dropdown.less-->
2015-06-20 02:54:01 -05:00
<li>
<a href="#">
<span class="hidden-xs" id="daterange"></span>
2015-06-19 13:59:14 -05:00
</a>
</li>
2015-06-20 02:54:01 -05:00
2015-06-19 13:59:14 -05:00
<!-- Notifications: style can be found in dropdown.less -->
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
2015-06-20 11:22:33 -05:00
<a href="#">
2015-06-19 13:59:14 -05:00
<span class="hidden-xs">{{ Auth.user.email }}</span>
</a>
</li>
2015-06-20 00:29:25 -05:00
<li>
<a href="#" data-toggle="control-sidebar"><i class="fa fa-plus-circle"></i></a>
</li>
2015-06-19 13:59:14 -05:00
</ul>
2015-05-01 11:44:49 -05:00
</div>
2015-06-19 13:59:14 -05:00
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- search form -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search..."/>
<span class="input-group-btn">
<button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
</span>
2015-05-01 11:44:49 -05:00
</div>
2015-06-19 13:59:14 -05:00
</form>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
{% include('partials/menu-sidebar.twig') %}
</section>
<!-- /.sidebar -->
</aside>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
{% include('partials/page-header.twig') %}
{% block breadcrumbs %}{% endblock %}
</section>
<!-- Main content -->
<section class="content">
<!-- actual content -->
{% block content %}{% endblock %}
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<footer class="main-footer">
<div class="pull-right hidden-xs">
2015-06-20 00:29:25 -05:00
<b>Version</b> {{ Config.get('firefly.version') }}
2015-05-01 15:44:35 -05:00
</div>
2015-06-20 00:29:25 -05:00
<strong><a href="https://github.com/JC5/firefly-iii">Firefly III</a></strong>
2015-06-19 13:59:14 -05:00
</footer>
2015-05-01 11:44:49 -05:00
2015-06-20 00:29:25 -05:00
{% include('partials/control-bar.twig') %}
2015-06-19 13:59:14 -05:00
</div><!-- ./wrapper -->
2015-05-01 11:44:49 -05:00
2015-06-20 00:48:44 -05:00
<script src="js/jquery-2.1.3.min.js" type="text/javascript"></script>
2015-06-19 13:59:14 -05:00
<script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
2015-06-20 02:54:01 -05:00
<script src="js/moment.min.js" type="text/javascript"></script>
2015-06-20 00:48:44 -05:00
<script src="js/daterangepicker.js" type="text/javascript"></script>
2015-06-19 13:59:14 -05:00
<script src="dist/js/app.min.js" type="text/javascript"></script>
2015-05-01 11:44:49 -05:00
2015-06-20 00:29:25 -05:00
2015-05-01 11:44:49 -05:00
<script type="text/javascript">
var start = "{{Session.get('start').format('d-m-Y')}}";
var end = "{{Session.get('end').format('d-m-Y')}}";
2015-05-21 00:44:44 -05:00
var titleString = "{{Session.get('start').formatLocalized(monthAndDayFormat)}} - {{Session.get('end').formatLocalized(monthAndDayFormat)}}";
2015-05-01 11:44:49 -05:00
var dateRangeURL = "{{route('daterange')}}";
var token = "{{csrf_token()}}";
var firstDate = moment("{{Session.get('first').format('Y-m-d')}}");
var currentMonthName = "{{ currentMonthName }}";
2015-05-01 15:44:35 -05:00
var previousMonthName = "{{ previousMonthName }}";
2015-05-14 06:41:21 -05:00
var language = "{{ language }}";
2015-05-21 00:44:44 -05:00
// translations:
var everything = '{{ 'everything'|_ }}';
var customRangeLabel = '{{ 'customRange'|_ }}';
var applyLabel = '{{ 'apply'|_ }}';
var cancelLabel = '{{ 'cancel'|_ }}';
var fromLabel = '{{ 'from'|_ }}';
var toLabel = '{{ 'to'|_ }}';
2015-05-01 15:44:35 -05:00
var nextMonthName = "{{ nextMonthName }}";
var currencyCode = '{{getCurrencyCode() }}';
2015-06-20 02:54:01 -05:00
$('#daterange').text(titleString);
2015-05-01 11:44:49 -05:00
</script>
<script type="text/javascript" src="js/firefly.js"></script>
{% block scripts %}{% endblock %}
</body>
2015-06-19 13:59:14 -05:00
</html>