Parent: [a3dd8d] (diff)

Child: [2b306c] (diff)

Download this file

neighborhood_admin_overview.html    47 lines (41 with data), 2.0 kB

 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
{% extends g.theme.master %}
{% block title %}{{neighborhood.name}} / Overview{% endblock %}
{% block header %}Administration Overview for {{neighborhood.name}}{% endblock %}
{% block nav_menu %}
{% include 'allura:templates/jinja_master/neigh_nav_menu.html' %}
{% endblock %}
{% block top_nav %}
{% include 'allura:templates/jinja_master/neigh_top_nav.html' %}
{% endblock %}
{% block content %}
<form method="POST" action="update" enctype="multipart/form-data">
<label class="grid-4">Name</label>
<div class="grid-14"><input type="text" name="name" value="{{neighborhood.name}}"></div>
<label class="grid-4">Redirect</label>
<div class="grid-14"><input type="text" name="redirect" value="{{neighborhood.redirect}}"/></div>
<label class="grid-4">Home Content (HTML)</label>
<div class="grid-14">{{c.resize_editor.display(name='homepage', value=neighborhood.homepage)}}</div>
<label class="grid-4">Allow Browsing</label>
<div class="grid-14"><input type="checkbox" name="allow_browse" {% if neighborhood.allow_browse %}checked="checked"{% endif %}/></div>
<label class="grid-4">Custom CSS</label>
<div class="grid-14">{{c.resize_editor.display(name='css', value=neighborhood.css)}}</div>
<label class="grid-4">Project Template</label>
<div class="grid-14">{{c.resize_editor.display(name='project_template', value=neighborhood.project_template)}}</div>
<label class="grid-4">Icon</label>
<div class="grid-14">
{% if neighborhood.icon %}
<img src="{{neighborhood.url()}}/icon" style="vertical-align: middle" alt=""/>
{% endif %}
{{lib.file_field('icon', '')}}
</div>
<label class="grid-4">&nbsp;</label>
<div class="grid-14"><input type="submit" value="Save"/></div>
</form>
{% endblock %}
{% block extra_css %}
<style type="text/css">
.grid-14 input[type="text"], .grid-14 select, .grid-14 textarea{
width: 95%
}
</style>
{% endblock %}