You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

90 lines
3.9 KiB

<!DOCTYPE html>{% load i18n globaltags %}
<html lang="{{ LANGUAGE_CODE }}">
<head>
<title>{% global_var 'COMPANY_NAME' %} - {% trans 'Admin side' %}</title>
<meta charset="UTF-8">
<!--[if lt IE 9]><meta http-equiv="refresh" content="0;URL=/static/bad_ie.html" /><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/css/all.min.css">
<link rel="stylesheet" href="/static/css/custom.css">
<script src="/static/js/all.min.js"></script>
{% block additional_link %}{% endblock %}
<script src="/static/js/my.js"></script>
<link rel="shortcut icon" href="/static/img/favicon_m.ico">
<meta name="author" content="Dmitry Novikov">
<meta name="contact" content="nerosketch@gmail.com">
</head>
<body>
<!-- Modal -->
<div class="modal fade" id="modFrm" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content" id="modContent"></div>
</div>
</div>
<!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<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 hidden-xs" href="{% url 'acc_app:other_profile' request.user.id %}">{% global_var 'COMPANY_NAME' %}</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
{% url 'acc_app:other_profile' request.user.id as home_url %}
<li{% if home_url == request.path %} class="active"{% endif %}><a href="{{ home_url }}">{% trans 'Main page' %}</a></li>
{% if request.user.is_superuser %}
{% url 'mapapp:home' as map_url %}
<li{% if map_url == request.path %} class="active"{% endif %}><a href="{{ map_url }}" target="_blank">{% trans 'Map page' %}</a></li>
{% endif %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans 'Other' %} <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{% url 'acc_app:setup_info' %}"><span class="glyphicon glyphicon-wrench"></span> {% trans 'Settings' %}</a></li>
{% if perms.finapp.view_payalltimegateway %}
<li>
<a href="{% url 'finapp:alltime_gateways_list' %}">
<span class="glyphicon glyphicon-credit-card"></span> {% trans 'Finance' %}
</a>
</li>
{% endif %}
<li><a href="{% url 'acc_app:logout' %}"><span class="glyphicon glyphicon-log-out"></span> {% trans 'Exit' %}</a></li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-right" action="{% url 'searchapp:home' %}" method="get">
<div class="input-group stylish-input-group">
<input type="text" class="form-control" placeholder="Search..." name="s">
<span class="input-group-addon">
<button type="submit"><span class="glyphicon glyphicon-search"></span></button>
</span>
</div>
</form>
</div>
<!--/.nav-collapse -->
</div>
</nav>
<!-- END Fixed navbar -->
<div class="container-fluid">
<div class="row row-offcanvas row-offcanvas-left">
{% block base_content %}{% endblock %}
</div>
</div>
</body>
</html>