jumpserver/apps/templates/_base_list.html

75 lines
3.2 KiB
HTML
Raw Normal View History

{% extends 'base.html' %}
2016-09-22 08:06:46 +00:00
{% load static %}
2017-04-07 08:59:09 +00:00
{% load i18n %}
2016-09-22 08:06:46 +00:00
{% block custom_head_css_js %}
2018-01-05 09:57:02 +00:00
<link href="{% static 'css/plugins/select2/select2.min.css' %}" rel="stylesheet">
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
2016-09-22 08:06:46 +00:00
{% endblock %}
{% block content %}
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
2016-10-12 10:57:51 +00:00
<h5>
{{ action }}
</h5>
<div class="ibox-tools">
2016-10-12 10:57:51 +00:00
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
2016-10-14 11:28:58 +00:00
<div class="" id="content_start">
{% block content_left_head %} {% endblock %}
2016-09-22 08:06:46 +00:00
{% block table_search %}
2016-11-04 17:15:25 +00:00
<form id="search_form" method="get" action="" class="pull-right mail-search form-inline">
{% block search_form %}
<div class="input-group">
<input type="text" class="form-control input-sm" name="keyword" placeholder="Search" value="{{ keyword }}">
2016-11-04 17:15:25 +00:00
</div>
<div class="input-group">
<div class="input-group-btn">
<button id='search_btn' type="submit" class="btn btn-sm btn-primary">
2017-04-07 08:59:09 +00:00
{% trans 'Search' %}
</button>
</div>
</div>
2016-11-04 17:15:25 +00:00
{% endblock %}
</form>
2016-09-22 08:06:46 +00:00
{% endblock %}
</div>
2016-09-22 08:06:46 +00:00
{% block table_container %}
2017-04-07 08:59:09 +00:00
<table class="table table-striped table-bordered table-hover" id="editable" >
<thead>
<tr>
{% block table_head %} {% endblock %}
</tr>
</thead>
<tbody>
{% block table_body %} {% endblock %}
</tbody>
</table>
2016-09-22 08:06:46 +00:00
{% endblock %}
<div class="row">
<div class="col-sm-4">
{% block content_bottom_left %} {% endblock %}
</div>
2016-09-22 08:06:46 +00:00
{% block table_pagination %}
{% include '_pagination.html' %}
2016-09-22 08:06:46 +00:00
{% endblock %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}