Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.9 kB)

1 deb708bf Kostas Papadimitriou
{% extends "admin/base_site.html" %}
2 deb708bf Kostas Papadimitriou
{% load i18n admin_modify adminmedia %}
3 deb708bf Kostas Papadimitriou
4 deb708bf Kostas Papadimitriou
5 deb708bf Kostas Papadimitriou
{% block extrahead %}{{ block.super }}
6 d240ebcb Kostas Papadimitriou
<style>
7 d240ebcb Kostas Papadimitriou
    .log-entry { padding: 5px; }
8 d240ebcb Kostas Papadimitriou
    .log-entry pre { color: #000 }
9 d240ebcb Kostas Papadimitriou
    .log-entry.WARNING { background-color: #8D560F; font-weight: bold }
10 d240ebcb Kostas Papadimitriou
    .log-entry.INFO { background-color: #F0F0F0 }
11 d240ebcb Kostas Papadimitriou
    .log-entry.DEBUG { background-color: #BDBDBD }
12 d240ebcb Kostas Papadimitriou
    .log-entry.ERROR { background-color: #8D1C03; font-weight: bold }
13 d240ebcb Kostas Papadimitriou
    .log-entry.ERROR *, .log-entry.WARNING * { color: #fff; }
14 d240ebcb Kostas Papadimitriou
</style>
15 deb708bf Kostas Papadimitriou
{% url admin:jsi18n as jsi18nurl %}
16 deb708bf Kostas Papadimitriou
<script type="text/javascript" src="{{ jsi18nurl|default:"../../../jsi18n/" }}"></script>
17 deb708bf Kostas Papadimitriou
{{ media }}
18 deb708bf Kostas Papadimitriou
{% endblock %}
19 deb708bf Kostas Papadimitriou
20 deb708bf Kostas Papadimitriou
{% block extrastyle %}
21 deb708bf Kostas Papadimitriou
{{ block.super }}
22 deb708bf Kostas Papadimitriou
<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />
23 deb708bf Kostas Papadimitriou
{% endblock %}
24 deb708bf Kostas Papadimitriou
25 deb708bf Kostas Papadimitriou
{% block coltype %}{% endblock %}
26 deb708bf Kostas Papadimitriou
27 deb708bf Kostas Papadimitriou
{% block bodyclass %}change-form{% endblock %}
28 deb708bf Kostas Papadimitriou
29 deb708bf Kostas Papadimitriou
{% block breadcrumbs %}{% if not is_popup %}
30 deb708bf Kostas Papadimitriou
<div class="breadcrumbs">
31 deb708bf Kostas Papadimitriou
     <a href="../">{% trans "Home" %}</a> &rsaquo;
32 deb708bf Kostas Papadimitriou
     <a href=".">{% trans "Import faq/guide from sphinx zip" %}</a> &rsaquo; 
33 deb708bf Kostas Papadimitriou
</div>
34 deb708bf Kostas Papadimitriou
{% endif %}{% endblock %}
35 deb708bf Kostas Papadimitriou
36 deb708bf Kostas Papadimitriou
{% block content %}
37 deb708bf Kostas Papadimitriou
38 deb708bf Kostas Papadimitriou
<div id="content-main">
39 deb708bf Kostas Papadimitriou
{% block object-tools %}
40 deb708bf Kostas Papadimitriou
{% if change %}{% if not is_popup %}
41 deb708bf Kostas Papadimitriou
  <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li>
42 deb708bf Kostas Papadimitriou
  {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
43 deb708bf Kostas Papadimitriou
  </ul>
44 deb708bf Kostas Papadimitriou
{% endif %}{% endif %}
45 deb708bf Kostas Papadimitriou
{% endblock %}
46 deb708bf Kostas Papadimitriou
<form enctype="multipart/form-data" action="." method="post" id="import_form">{% csrf_token %}{% block form_top %}{% endblock %}
47 deb708bf Kostas Papadimitriou
    <div>
48 deb708bf Kostas Papadimitriou
        {{ form.non_field_errors }}
49 deb708bf Kostas Papadimitriou
        {{ form.as_p }}
50 deb708bf Kostas Papadimitriou
        <input type="submit" />
51 deb708bf Kostas Papadimitriou
    </div>
52 d240ebcb Kostas Papadimitriou
</form>
53 d240ebcb Kostas Papadimitriou
54 d240ebcb Kostas Papadimitriou
{% if save_log %}
55 d240ebcb Kostas Papadimitriou
<div class="form-log">
56 d240ebcb Kostas Papadimitriou
    <h3>Log</h3>
57 d240ebcb Kostas Papadimitriou
    <br />
58 d240ebcb Kostas Papadimitriou
    <div>
59 d240ebcb Kostas Papadimitriou
        {{ save_log|safe }}
60 d240ebcb Kostas Papadimitriou
    </div>
61 d240ebcb Kostas Papadimitriou
</div>
62 d240ebcb Kostas Papadimitriou
{% endif %}
63 d240ebcb Kostas Papadimitriou
64 d240ebcb Kostas Papadimitriou
</div>
65 deb708bf Kostas Papadimitriou
{% endblock %}