jpscontracting/templates/layout.html
Alexander Hosking b58bc5cc1b First flask push
2017-01-12 08:06:39 -05:00

81 lines
3.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Timesheet</title>
<!-- Bootstrap -->
<link href="{{ url_for('static', filename='jquery-ui.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet">
<link href="{{ url_for('static', filename='timesheet.css') }}" rel="stylesheet">
</head>
<script src="{{ url_for('static', filename='jquery-2.1.4.min.js') }}"></script>
<script src="{{ url_for('static', filename='jquery-ui.js') }}"></script>
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
<body>
<body>
<div class="container">
<!-- Static navbar -->
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Timesheet</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="/">Home</a></li>
<!--<li class="dropdown">-->
<li>
<a href="{{ url_for('employees_index') }}" role="button">Employees</a>
</li>
<!--<ul class="dropdown-menu">-->
<!--<li><a href="/employees">View Employees</a></li>-->
<!--<li><a href="/add_employee">Add Employee</a></li>-->
<!--</ul>-->
<!--</li>-->
<li><a href="/departments">Departments</a></li>
<li>
<a href="{{ url_for('projects_show') }}" role="button">Projects</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Time<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/time">Time Reporting</a></li>
<li><a href="/add_time">Add Time</a></li>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container-fluid -->
</nav>
<!--{% with messages = get_flashed_messages() %}-->
<!--{% if messages %}-->
<!--<ul class=flashes>-->
<!--{% for message in messages %}-->
<!--<li>{{ message }}</li>-->
<!--{% endfor %}-->
<!--</ul>-->
<!--{% endif %}-->
<!--{% endwith %}-->
{% block body %}{% endblock %}
{% block footer %} {% endblock %}
</div> <!-- /container -->
</body>
</html>