-
Notifications
You must be signed in to change notification settings - Fork 2k
/
config.html
50 lines (47 loc) · 2.44 KB
/
config.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
{% import 'macros/autoform.html' as autoform %}
{% extends "admin/base.html" %}
{% block primary_content_inner %}
<form method='post' action="" class="form-horizontal">
{% block admin_form %}
{{ autoform.generate(form_items, data, errors) }}
{% endblock %}
<div class="form-actions">
{% set locale = h.dump_json({'content': _('Are you sure you want to reset the config?')}) %}
<a href="{% url_for controller='admin', action='reset_config' %}" class="btn btn-danger pull-left" data-module="confirm-action" data-module-i18n="{{ locale }}">{{ _('Reset') }}</a>
<button type="submit" class="btn btn-primary" name="save">{{ _('Update Config') }}</button>
</div>
</form>
{% endblock %}
{% block secondary_content %}
<div class="module module-narrow module-shallow">
<h2 class="module-heading">
<i class="icon-info-sign"></i>
{{ _('CKAN config options') }}
</h2>
<div class="module-content">
{% block admin_form_help %}
{% set about_url = h.url_for(controller='home', action='about') %}
{% set home_url = h.url_for(controller='home', action='index') %}
{% set docs_url = "http://docs.ckan.org/en/{0}/theming.html".format(g.ckan_doc_version) %}
{% trans %}
<p><strong>Site Title:</strong> This is the title of this CKAN instance
It appears in various places throughout CKAN.</p>
<p><strong>Style:</strong> Choose from a list of simple variations of
the main colour scheme to get a very quick custom theme working.</p>
<p><strong>Site Tag Logo:</strong> This is the logo that appears in the
header of all the CKAN instance templates.</p>
<p><strong>About:</strong> This text will appear on this CKAN instances
<a href="{{ about_url }}">about page</a>.</p>
<p><strong>Intro Text:</strong> This text will appear on this CKAN instances
<a href="{{ home_url }}">home page</a> as a welcome to visitors.</p>
<p><strong>Custom CSS:</strong> This is a block of CSS that appears in
<code><head></code> tag of every page. If you wish to customize
the templates more fully we recommend
<a href="{{ docs_url }}" target="_blank">reading the documentation</a>.</p>
<p><strong>Homepage:</strong> This is for choosing a predefined layout for
the modules that appear on your homepage.</p>
{% endtrans %}
{% endblock %}
</div>
</div>
{% endblock %}