Statistics
| Branch: | Tag: | Revision:

root / cloudcms / templates / cms / admin_import_guide_faq.html @ d240ebcb

History | View | Annotate | Download (1.9 kB)

1
{% extends "admin/base_site.html" %}
2
{% load i18n admin_modify adminmedia %}
3

    
4

    
5
{% block extrahead %}{{ block.super }}
6
<style>
7
    .log-entry { padding: 5px; }
8
    .log-entry pre { color: #000 }
9
    .log-entry.WARNING { background-color: #8D560F; font-weight: bold }
10
    .log-entry.INFO { background-color: #F0F0F0 }
11
    .log-entry.DEBUG { background-color: #BDBDBD }
12
    .log-entry.ERROR { background-color: #8D1C03; font-weight: bold }
13
    .log-entry.ERROR *, .log-entry.WARNING * { color: #fff; }
14
</style>
15
{% url admin:jsi18n as jsi18nurl %}
16
<script type="text/javascript" src="{{ jsi18nurl|default:"../../../jsi18n/" }}"></script>
17
{{ media }}
18
{% endblock %}
19

    
20
{% block extrastyle %}
21
{{ block.super }}
22
<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
23
{% endblock %}
24

    
25
{% block coltype %}{% endblock %}
26

    
27
{% block bodyclass %}change-form{% endblock %}
28

    
29
{% block breadcrumbs %}{% if not is_popup %}
30
<div class="breadcrumbs">
31
     <a href="../">{% trans "Home" %}</a> &rsaquo;
32
     <a href=".">{% trans "Import faq/guide from sphinx zip" %}</a> &rsaquo; 
33
</div>
34
{% endif %}{% endblock %}
35

    
36
{% block content %}
37

    
38
<div id="content-main">
39
{% block object-tools %}
40
{% if change %}{% if not is_popup %}
41
  <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li>
42
  {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
43
  </ul>
44
{% endif %}{% endif %}
45
{% endblock %}
46
<form enctype="multipart/form-data" action="." method="post" id="import_form">{% csrf_token %}{% block form_top %}{% endblock %}
47
    <div>
48
        {{ form.non_field_errors }}
49
        {{ form.as_p }}
50
        <input type="submit" />
51
    </div>
52
</form>
53

    
54
{% if save_log %}
55
<div class="form-log">
56
    <h3>Log</h3>
57
    <br />
58
    <div>
59
        {{ save_log|safe }}
60
    </div>
61
</div>
62
{% endif %}
63

    
64
</div>
65
{% endblock %}