Parent: [3ecbe1] (diff)

Child: [ddf08c] (diff)

Download this file

neighborhood_add_project.html    62 lines (59 with data), 3.1 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<form action="{{action}}" method="POST">
<div class="welcome">
<div class="grid-4" style="text-align: right; padding-top: 7px;">
<label for="{{ widget.context_for(widget.fields.project_name)['id'] }}">
Project Name
</label>
</div>
<div class="grid-10">{{widget.display_field(widget.fields.project_name)}}</div>
<div class="grid-9" style="position:relative; overflow:visible">
<b data-icon="!" class="ico ico-caution error_icon" title="Caution"></b>
<b data-icon="2" class="ico ico-checkcircle success_icon" title="Check"></b>
</div>
<div style="clear:both">&nbsp;</div>
<div class="grid-4" style="text-align: right; padding-top: 7px;">
<label for="{{ widget.context_for(widget.fields.project_unixname)['id'] }}">
URL Name
</label>
</div>
<div class="grid-10">{{widget.display_field(widget.fields.project_unixname)}}
<br/><div id="project_url">http://{{request.environ['HTTP_HOST']}}{{neighborhood.url()}}<span id="url_fragment"></span></div>
</div>
<div class="grid-9" style="position:relative; overflow:visible">
<b data-icon="!" class="ico ico-caution error_icon" title="Caution"></b>
<b data-icon="2" class="ico ico-checkcircle success_icon" title="Check"></b>
</div>
{{widget.display_field(widget.fields.neighborhood)}}
<div style="clear:both">&nbsp;</div>
</div>
{% if not neighborhood.project_template %}
{% for opt in widget.fields.tools.options %}
{% set tool = g.entry_points["tool"][opt.html_value] %}
<div class="tool">
<img src="{{ g.theme.app_icon_url(tool, 48) }}" alt="{{ opt.label }} icon">
<input checked type="checkbox" value="{{ opt.html_value }}"
name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_{{ opt.html_value }}">
<h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_{{ opt.html_value }}">{{ opt.label }}</label></h1>
<p>{{ tool.tool_description }}</p>
</div>
{% endfor %}
{% endif %}
{% if h.has_access(neighborhood, 'admin') and not neighborhood.project_template and neighborhood.features['private_projects'] %}
<div style="margin-top:20px">
<div class="grid-16" style="padding-top:4px; padding-left:4px">
{{widget.display_field(widget.fields.private_project)}}
<label for="{{ widget.context_for(widget.fields.private_project)['id'] }}">
Private? Private projects will be unreadable to non-project members and will
not show up in search results.
</label>
</div>
<div style="clear:both"></div>
</div>
{% endif %}
<div class="button-row">
<input type="submit" id="start" value="Create">
</div>
{% if widget.antispam %}{% for fld in g.antispam.extra_fields() %}
{{fld}}{% endfor %}{% endif %}
</form>