{% load i18n %} <div class="row border-bottom"> <nav class="navbar navbar-static-top white-bg" role="navigation" style="margin-bottom: 0"> <div class="navbar-header"> <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a> <!--<form role="search" class="navbar-form-custom" method="get" action="">--> <!--<div class="form-group">--> <!--<input type="text" placeholder="{% trans 'Search' %}..." class="form-control" name="search" id="top-search">--> <!--</div>--> <!--</form>--> </div> <ul class="nav navbar-top-links navbar-right"> <li> <span class="m-r-sm text-muted welcome-message">{% trans 'Welcome to use Jumpserver system' %}</span> </li> <li class="dropdown"> <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#"> <span class="m-r-sm text-muted welcome-message">{% trans 'Help' %}</span> </a> </li> <li class="dropdown"> {% if request.user.is_authenticated %} <a data-toggle="dropdown" class="dropdown-toggle" href="#"> <span class="m-r-sm text-muted welcome-message"> <img alt="image" class="img-circle" width="40" height="40" src="{{ request.user.avatar_url }}"/> <strong class="font-bold"> {{ request.user.name }} <span style="color: #8095a8"></span> <b class="caret"></b> </strong> </span> </a> <ul class="dropdown-menu animated fadeInRight m-t-xs"> <li><a href="{% url 'users:user-profile' %}">{% trans 'Profile' %}</a></li> <li><a href="{% url 'users:user-profile-update' %}">{% trans 'Profile settings' %}</a></li> <li class="divider"></li> {% if request.user.is_superuser %} {% if request.COOKIES.IN_ADMIN_PAGE == 'No' %} <li><a id="switch_admin">{% trans 'Admin page' %}</a></li> {% else %} <li><a id="switch_user">{% trans 'User page' %}</a></li> {% endif %} {% endif %} <li><a href="{% url 'users:logout' %}">{% trans 'Logout' %}</a></li> </ul> {% else %} <a href="{% url 'users:login' %}"> <i class="fa fa-sign-in"></i>{% trans 'Login' %} </a> {% endif %} </li> </ul> </nav> </div> <div class="row wrapper border-bottom white-bg page-heading"> <div class="col-sm-10"> <h2></h2> <ol class="breadcrumb"> <li> <a href="">{% trans 'Dashboard' %}</a> </li> <li> {% if app %} <a>{{ app }}</a> {% endif %} </li> {% if action %} <li class="active"> <strong>{{ action }}</strong> </li> {% endif %} </ol> </div> <div class="col-sm-2"> </div> </div>