| {#- |
| 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. |
| -#} |
| {% extends 'forgeimporters:templates/project_base.html' %} |
| |
| {% block project_fields %} |
| <div class="grid-6"> |
| <label>Trac URL</label> |
| </div> |
| <div class="grid-10"> |
| <input id="trac_url" name="trac_url" value="{{c.form_values['trac_url']}}" autofocus/> |
| <div id="trac_url_error" class="error{% if not c.form_errors['trac_url'] %} hidden{% endif %}"> |
| {{c.form_errors['trac_url']}} |
| </div> |
| </div> |
| |
| <div class="grid-6" style="clear:left"> |
| <label>User Map (optional)</label> |
| </div> |
| <div class="grid-10"> |
| <input id="user_map" name="user_map" value="{{c.form_values['user_map']}}" type="file"/> |
| <br><small>JSON file mapping Trac usernames to Allura usernames</small> |
| <div id="user_map_error" class="error{% if not c.form_errors['user_map'] %} hidden{% endif %}"> |
| {{c.form_errors['user_map']}} |
| </div> |
| </div> |
| |
| {{ super() }} |
| {% endblock %} |