forked from batiste/django-page-cms
/
change_list.html
61 lines (49 loc) · 2.32 KB
/
change_list.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{% extends "admin/change_list.html" %}
{% load adminmedia admin_list i18n pages_tags %}
{% block title %}{% trans "List of pages" %}{% endblock %}
{% block bodyclass %}change-list{% endblock %}
{% if not is_popup %}{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="../../">{% trans "Home" %}</a> ›
<a href="../">{{ app_label|capfirst|escape }}</a> › {{ opts.verbose_name_plural|capfirst|escape }}
</div>
{% endblock %}{% endif %}
{% block coltype %}flex{% endblock %}
{% block extrahead %}{{ block.super }}
<link rel="stylesheet" type="text/css" href="{{ PAGES_MEDIA_URL }}css/rte.css" />
<link rel="stylesheet" type="text/css" href="{{ PAGES_MEDIA_URL }}css/pages.css" />
<script type="text/javascript">var media_url = "{{MEDIA_URL}}"; var page_media_url = "{{PAGES_MEDIA_URL}}";</script>
<script type="text/javascript" src="{{ PAGES_MEDIA_URL }}javascript/jquery.js"></script>
<script type="text/javascript" src="{{ PAGES_MEDIA_URL }}javascript/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="{{ PAGES_MEDIA_URL }}javascript/jquery.query.js"></script>
<script type="text/javascript" src="{{ PAGES_MEDIA_URL }}javascript/pages.js"></script>
<script type="text/javascript" src="{{ PAGES_MEDIA_URL }}javascript/pages_list.js"></script>
{% endblock %}
{% block content %}
<div id="content-main">
{% if has_add_permission %}
<ul class="object-tools"><li><a href="add/" class="addlink">{% blocktrans with name as name %}Add {{ name }}{% endblocktrans %}</a></li></ul>
{% endif %}
<div class="module" id="changelist">
{% block result_list %}
<form method="post" action="">
{% csrf_token %}
{% if action_form and actions_on_top and cl.full_result_count %}{% admin_actions %}{% endif %}
<div id="toolbar">
<form id="changelist-search" action="" method="post">
<div>
<label for="searchbar"><img src="{{ STATIC_URL }}admin/img/icon_searchbox.png" alt="{% trans "Search" %}" /></label>
<input type="text" size="25" name="q" value="{{q}}" id="searchbar" />
<input type="submit" name="g" value="{% trans "Go" %}" />
</div>
</form>
</div>
<div id="page-list">
{% include "admin/pages/page/change_list_table.html" %}
</div>
{% if action_form and actions_on_bottom and cl.full_result_count %}{% admin_actions %}{% endif %}
</form>
{% endblock %}
</div>
</div>
{% endblock %}