blob: 73a14ae02e8e4007c5d42f221ebdde86eccaf391 (
plain) (
blame)
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
|
{% extends "wiki/base.html" %}
{% load wiki_tags i18n sekizai_tags static %}
{% block wiki_pagetitle %}{% trans "Create root article" %}{% endblock %}
{% block wiki_contents %}
{% addtoblock "js" %}
{% for js in editor.Media.js %}
<script type="text/javascript" src="{% static js %}"></script>
{% endfor %}
{% endaddtoblock %}
{% addtoblock "css" %}
{% for media, srcs in editor.Media.css.items %}
{% for src in srcs %}
<link rel="stylesheet" media="{{ media }}" href="{% static src %}" />
{% endfor %}
{% endfor %}
{% endaddtoblock %}
<h1>{% trans "Congratulations!" %}</h1>
<p class="lead">
{% trans "You have django-wiki installed... but there are no articles. So it's time to create the first one, the root article." %}
{% trans "In the beginning, it will only be editable by administrators, but you can define permissions after." %}
</p>
<h2 class="page-header">{% trans "Root article" %}</h2>
<form method="POST" class="form-horizontal">
{% wiki_form form %}
<div class="form-group form-actions">
<div class="col-lg-2"></div>
<div class="col-lg-10">
<input type="submit" name="save_changes" value="{% trans "Create root" %} »" class="btn btn-primary btn-lg" />
</div>
</div>
</form>
{% endblock %}
|