jumpserver/apps/templates/base.html

51 lines
1.8 KiB
HTML
Raw Normal View History

2016-09-18 06:28:34 +00:00
{% load static i18n %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
2016-09-03 16:51:36 +00:00
<title>Jumpserver</title>
2016-09-30 10:25:50 +00:00
<link rel="shortcut icon" href="{% static 'img/facio.ico' %}" type="image/x-icon">
{% include '_head_css_js.html' %}
2016-09-30 10:25:50 +00:00
<link href="{% static 'css/jumpserver.css' %}" rel="stylesheet">
{% block custom_head_css_js %} {% endblock %}
</head>
<body>
<div id="wrapper">
{% include '_left_side_bar.html' %}
<div id="page-wrapper" class="gray-bg">
{% include '_header_bar.html' %}
2016-08-23 04:18:19 +00:00
{% include '_message.html' %}
2016-09-18 06:28:34 +00:00
{% block first_login_message %}
{% if user.is_authenticated and user.is_first_login %}
<div class="alert alert-danger" style="margin: 20px auto 0px">
{% url 'users:user-first-login' as the_url %}
{% blocktrans %}
Your information was incomplete. Please click <a href="{{ the_url }}"> this link </a>to complete your information.
{% endblocktrans %}
</div>
{% endif %}
{% endblock %}
{% block update_public_key_message %}
{% if user.is_authenticated and not user.is_public_key_valid %}
<div class="alert alert-danger" style="margin: 20px auto 0px">
{% blocktrans %}
Your ssh-public-key has been expired. Please click <a href="#"> this link </a>to update your ssh-public-key.
{% endblocktrans %}
</div>
{% endif %}
{% endblock %}
{% block content %}{% endblock %}
{% include '_footer.html' %}
</div>
</div>
</body>
{% include '_foot_js.html' %}
2016-08-17 16:47:34 +00:00
{% block custom_foot_js %} {% endblock %}
2016-09-18 06:28:34 +00:00
</html>