[d13b9c]: Allura / allura / templates / widgets / neighborhood_overview_form.html Maximize Restore History

Download this file

neighborhood_overview_form.html    36 lines (34 with data), 1.8 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
{% import 'allura:templates/jinja_master/lib.html' as lib with context %}
<form method="POST" action="update" enctype="multipart/form-data">
<label class="grid-4">Name</label>
<div class="grid-14">{{widget.display_field(widget.fields.name)}}</div>
<label class="grid-4">Redirect</label>
<div class="grid-14">{{widget.display_field(widget.fields.redirect)}}</div>
<label class="grid-4">Home Content (HTML)</label>
<div class="grid-14">{{widget.display_field(widget.fields.homepage)}}</div>
<label class="grid-4">Allow Browsing</label>
<div class="grid-14">{{widget.display_field(widget.fields.allow_browse)}}</div>
<label class="grid-4">Show Title</label>
<div class="grid-14">{{widget.display_field(widget.fields.show_title)}}</div>
{% if value.allow_custom_css %}
<label class="grid-4">Custom CSS</label>
<div class="grid-14">{{widget.display_field(widget.fields.css)}}</div>
{% endif %}
<label class="grid-4">Project Template</label>
<div class="grid-14">{{widget.display_field(widget.fields.project_template)}}</div>
<label class="grid-4">Icon</label>
<div class="grid-14">
{% if value.icon %}
<img src="{{value.url()}}/icon" style="vertical-align: middle" alt=""/>
{% endif %}
{{widget.display_field(widget.fields.icon)}}
</div>
{% if value.features and value.features['google_analytics'] %}
<label class="grid-4">Analytics Tracking ID</label>
<div class="grid-14">{{widget.display_field(widget.fields.tracking_id)}}</div>
{% endif %}
<label class="grid-4">Project List URL</label>
<div class="grid-14">{{widget.display_field(widget.fields.project_list_url)}}</div>
<label class="grid-4">&nbsp;</label>
<div class="grid-14"><input type="submit" value="Save"/></div>
</form>