webhook support
[phorkie.git] / data / templates / fork-remote-multiple.htm
1 <form method="post" action="fork-remote" enctype="multipart/form-data" class="well form-inline form-horizontal">
2  <input type="hidden" name="orig_url" value="{{remote_url}}" />
3  <div class="control-group">
4   <p>
5    The URL you provided contains links to several Git repositories.
6    Select one of them.
7   </p>
8   <select size="{{urlselsize}}" name="remote_url" id="sel-remote_url" style="width:100%">
9   {% for grouptitle, groupurls in urls %}
10    {% if groupurls|length == 1 %}
11     <option value="{{groupurls.0}}">{{grouptitle}}</option>
12    {% else %}
13    <optgroup label="{{grouptitle}}">
14     {% for url in groupurls %} 
15     <option value="{{url}}">{{url}}</option>
16     {% endfor %}
17    </optgroup>
18    {% endif %}
19   {% endfor %}
20  </select>
21  </div>
22  <div style="text-align: right">
23   <button type="submit" class="btn btn-primary">
24    <i class="icon-share icon-white"></i> Fork
25   </button>
26  </div>
27
28 </form>