Parent: [ddf08c] (diff)

Child: [17617e] (diff)

Download this file

metadata_admin.html    161 lines (152 with data), 9.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
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{#-
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-#}
<form method="POST" action="update" enctype="multipart/form-data" id="metadata_form">
<div class="grid-9">
{{ widget.display_label(widget.fields.name) }}
<br>
{{widget.display_field(widget.fields.name) }}
{%if value.neighborhood.name != 'Users'%}
<label for="shortname">Unixname</label>
<br>
<input id="shortname" type="text" disabled="disabled"
value="{{value.shortname}}">
{{ widget.display_label(widget.fields.external_homepage) }}
<br>
{{widget.display_field(widget.fields.external_homepage) }}
{{ widget.display_label(widget.fields.summary) }}
<br>
{{widget.display_field(widget.fields.summary) }}
<br>
{{ widget.display_label(widget.fields.short_description) }}
<br>
{{widget.display_field(widget.fields.short_description) }}
<div style="clear:both">&nbsp;</div>
Support Page:
<br>
<input name="support_page" type="radio" value=""{% if value.support_page == '' %} checked{% endif %} id="support_page_none">
<label for="support_page_none">None</label><br>
{% for ac in value.app_configs %}
{% if ac.tool_name in ['Wiki', 'Tickets', 'Discussion'] %}
<input name="support_page" type="radio" value="{{ac.options.mount_point}}" id="support_page_{{ac.options.mount_point}}"
{% if value.support_page == ac.options.mount_point %} checked{% endif %}>
<label for="support_page_{{ac.options.mount_point}}">{{ac.options.mount_label}}</label><br>
{% endif %}
{% endfor %}
<input name="support_page" type="radio" value="_url" id="support_page_url_cb"
{% if value.support_page == '_url' %} checked{% endif %}>
<label for="support_page_url_cb">URL: </label>
<input type="text" name="support_page_url" value="{{value.support_page_url}}" style="width: 70%">
{{ widget.display_label(widget.fields.twitter_handle) }}
<br>
{{widget.display_field(widget.fields.twitter_handle) }}
{{ widget.display_label(widget.fields.facebook_page) }}
<br>
{{widget.display_field(widget.fields.facebook_page) }}
{% if value.neighborhood.features['google_analytics'] %}
{{ widget.display_label(widget.fields.tracking_id) }}
<br>
{{widget.display_field(widget.fields.tracking_id) }}
{% endif %}
{% endif%}
</div>
<div class="grid-10">
<label>Icon:</label>
<br>
<div id="project-icon" class="viewing">
{% if value.icon %}
<div class="viewer" style="overflow: auto">
<img src="{{value.url()}}/icon?{{value.icon._id.generation_time}}" style="float:left; margin-right: 1em;" alt="">
<a id="edit-icon" href="#" title="Edit" style="display:inline-block;margin-top:15px"><b data-icon="p" class="ico ico-pencil"></b></a>
<a id="delete-icon" href="#" title="Remove" style="display:inline-block;margin-top:15px"><b data-icon="d" class="ico ico-delete"></b></a>
</div>
{% else %}
<div class="viewer">
No icon has been created.{% if c.project.is_user_project %} A gravatar image associated with your primary email
address will be used instead if you have created one at <a href="http://gravatar.com/">gravatar.com</a>.{% endif %}
<a id="edit-icon" href="#" title="Edit"><b data-icon="p" class="ico ico-pencil"></b></a>
</div>
{% endif %}
<div id="project-icon-upload" class="hidden">
{{widget.display_field(widget.fields.icon)}}
<input type="submit" value="Save" name="save" style="float: none" />
</div>
</div>
{%if value.neighborhood.name != 'Users'%}
<div style="clear:both">&nbsp;</div>
<div id="project-status">
Project Status:
{% if value.removal == '' %}
Active
{% elif value.removal == 'moved' %}
Moved to: {{value.moved_to_url}}
{% elif value.removal == 'abandoned' -%}
Abandoned
{% elif value.removal == 'deleted' -%}
Deleted
{% endif %}
<a href="#" title="Edit"><b data-icon="p" class="ico ico-pencil"></b></a>
<div id="project-status-edit" class="hidden">
<br>
<input name="removal" type="radio" value="" id="removal_active_cb"
{% if value.removal == '' %} checked{% endif %}>
<label for="removal_active_cb">Active Project</label>
<br>
<input name="removal" type="radio" value="moved" id="removal_moved_cb"
{% if value.removal == 'moved' %} checked{% endif %}>
<label for="removal_moved_cb">Moved Project to: </label>
<input type="text" name="moved_to_url" value="{{value.moved_to_url}}" style="width: 50%">
<br>
<input name="removal" type="radio" value="abandoned" id="removal_abandoned_cb"
{% if value.removal == 'abandoned' %} checked{% endif %}>
<label for="removal_abandoned_cb">Abandoned Project</label>
{% if allow_project_delete or not value.is_root %}
<br>
<input name="removal" type="radio" value="deleted" id="removal_delete_cb"
{% if value.removal == 'deleted' %} checked{% endif %}>
<label for="removal_delete_cb">Delete{% if value.removal == 'deleted' %}d{% endif %} Project</label>
{% endif %}
</div>
</div>
{% endif%}
{% if show_export_control %}
<div style="clear:both">&nbsp;</div>
<label for="export_controlled">Export Control: <small><a href="#" id="why_export">Why?</a></small></label>
<br>
<input id="export_controlled" name="export_controlled" type="checkbox" value="True"
{% if value.export_controlled == True %} checked{% endif %}> This project incorporates, accesses, calls upon or otherwise uses encryption software with a symmetric key length greater than 64 bits ("encryption"). This review does not include products that use encryption for authentication only.<br>
<div id="export_details" style="margin-left: 1em;{% if value.export_controlled == False %} display:none;{% endif %}">
<label>
<input name="export_control_type" type="radio" value="less_than_10"
{% if value.export_control_type == "less_than_10" %} checked{% endif %}> This Project has less than 10% U.S.-origin parts or components.<br>
</label>
<label>
<input name="export_control_type" type="radio" value="less_than_25"
{% if value.export_control_type == "less_than_25" %} checked{% endif %}> This Project has more than 10% but less than 25% U.S.-origin parts or components.<br>
</label>
<label>
<input id="export_restricted" name="export_control_type" type="radio" value="more_than_25"
{% if value.export_control_type == "more_than_25" %} checked{% endif %}> This Project has more than 25% U.S-origin parts or components.<br>
</label>
</div>
<div id="export_warning" class="notice"{% if value.export_controlled == False or value.export_control_type == "less_than_10" or value.export_control_type == "less_than_25" %} style="display:none"{% endif %}>You must notify BIS and the ENC Encryption Request Coordinator via e-mail of the Internet location (e.g., URL or Internet address) of the publicly available encryption source code or provide each of them a copy of the publicly available encryption source code. If you update or modify the source code, you must also provide additional copies to each of them each time the cryptographic functionality of the source code is updated or modified. In addition, if you posted the source code on the Internet, you must notify BIS and the ENC Encryption Request Coordinator each time the Internet location is changed, but you are not required to notify them of updates or modifications made to the encryption source code at the previously notified location. In all instances, submit the notification or copy to <a href="mailto:crypt@bis.doc.gov">crypt@bis.doc.gov</a> and to <a href="mailto:enc@nsa.gov">enc@nsa.gov</a>.</div>
{% endif %}
</div>
<hr class="grid-19" style="margin-top: 1em; margin-bottom: 1em;">
<div class="grid-15">
<input type="submit" value="Save">
</div>
</form>