Files
puppetboard/puppetboard/templates/layout.html
Corey Hammerton 61fc5994fb puppetboard/templates/layout: Removing the footer bar
This bar reduces the available vertical space and other maintainers feel
it better to remove it than to modify it.

Also reducing the specific mention of @daenney from README.rst since he
has steped down as main project maintainer.
2015-11-05 21:37:58 -05:00

82 lines
3.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Puppetboard</title>
{% if config.OFFLINE_MODE %}
<link href="{{ url_for('static', filename='css/semantic.min.css') }}" rel="stylesheet">
<style>
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url({{ url_for('static', filename='fonts/Open_Sans.woff') }}) format('woff');
}
</style>
<link href="{{ url_for('static', filename='css/jquery.tablesorter.filter.formatter.css') }}" rel="stylesheet">
{% else %}
<link href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/0.16.1/css/semantic.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link href="//cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.17.2/css/filter.formatter.css" rel="stylesheet">
{% endif %}
<link href="{{ url_for('static', filename='css/puppetboard.css') }}" rel="stylesheet">
</head>
<body>
<nav class="ui fixed darkblue inverted menu">
<div class="title item">
Puppetboard
</div>
{%- for endpoint, caption in [
('index', 'Overview'),
('nodes', 'Nodes'),
('facts', 'Facts'),
('reports', 'Reports'),
('metrics', 'Metrics'),
('inventory', 'Inventory'),
('catalogs', 'Catalogs'),
('query', 'Query'),
] %}
<a {% if endpoint == request.endpoint %} class="active item" {% else %} class="item" {% endif %}
href="{{ url_for(endpoint) }}">{{ caption }}</a>
{%- endfor %}
<div class="item" style="float:right"><a href="https://github.com/puppet-community/puppetboard" target="_blank">v0.0.5</a></div>
</nav>
<div class="ui grid padding-bottom">
<div class="one wide column"></div>
<div class="fourteen wide column">
{% block content %} {% endblock content %}
</div>
<div class="one wide column"></div>
</div>
<div id="scroll-btn-top">
<i class="large arrow up icon"></i>
</div>
{% if config.OFFLINE_MODE %}
<script src="{{ url_for('static', filename='js/jquery.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/semantic.min.js') }}"></script>
{% if config.LOCALISE_TIMESTAMP %}
<script src="{{ url_for('static', filename='js/moment.min.js') }}"></script>
{% endif %}
<script src="{{ url_for('static', filename='js/jquery.tablesorter.min.js') }}"></script>
{% else %}
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/0.16.1/javascript/semantic.min.js"></script>
{% if config.LOCALISE_TIMESTAMP %}
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.7.0/moment.min.js"></script>
{% endif %}
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.17.2/jquery.tablesorter.min.js"></script>
{% endif %}
{% if config.LOCALISE_TIMESTAMP %}
<script src="{{ url_for('static', filename='js/timestamps.js')}}"></script>
{% endif %}
<script src="{{ url_for('static', filename='js/lists.js') }}"></script>
<script src="{{ url_for('static', filename='js/tables.js') }}"></script>
<script src="{{ url_for('static', filename='js/scroll.top.js') }}"></script>
{% block script %} {% endblock script %}
</body>
</html>