2013-01-31 21:01:53 +01:00
|
|
|
|
<div class="modal hide" id="stream-creation" tabindex="-1" role="dialog"
|
|
|
|
|
aria-labelledby="stream-creation-label" aria-hidden="true">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2016-10-12 08:53:57 +02:00
|
|
|
|
<h3 id="stream-creation-label">{% trans %}Create stream{% endtrans %}</h3>
|
2013-01-31 21:01:53 +01:00
|
|
|
|
</div>
|
|
|
|
|
<form id="stream_creation_form" class="form-inline">
|
|
|
|
|
<div class="modal-body">
|
2016-10-12 08:53:57 +02:00
|
|
|
|
<div>
|
|
|
|
|
<b>{% trans %}Stream name{% endtrans %}</b><br />
|
|
|
|
|
<input type="text" name="stream_name" id="create_stream_name"
|
|
|
|
|
placeholder="{{ _('Stream name') }}" value="" autocomplete="off" />
|
2016-10-12 09:45:25 +02:00
|
|
|
|
<div id="stream_name_error"></div>
|
2016-10-12 08:53:57 +02:00
|
|
|
|
</div>
|
2016-11-20 20:33:41 +01:00
|
|
|
|
<div>
|
|
|
|
|
<b>{% trans %}Stream description (optional){% endtrans %}</b><br />
|
|
|
|
|
<input type="text" name="stream_description" id="create_stream_description"
|
|
|
|
|
placeholder="{{_('Stream description') }}" value="" autocomplete="off" />
|
|
|
|
|
</div>
|
2013-01-31 21:01:53 +01:00
|
|
|
|
<div id="make-invite-only">
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<b>{% trans %}Stream accessibility{% endtrans %}</b><br />
|
2013-03-11 20:30:37 +01:00
|
|
|
|
<label class="radio">
|
2013-08-27 19:14:18 +02:00
|
|
|
|
<input type="radio" name="privacy" value="public" checked />
|
2013-08-02 20:24:10 +02:00
|
|
|
|
<span class="icon-vector-globe"></span>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
{% trans %}Anyone can join{% endtrans %}
|
2013-03-11 20:30:37 +01:00
|
|
|
|
</label><br />
|
|
|
|
|
<label class="radio">
|
2013-08-27 19:14:18 +02:00
|
|
|
|
<input type="radio" name="privacy" value="invite-only" />
|
2013-08-02 20:24:10 +02:00
|
|
|
|
<span class="icon-vector-lock"></span>
|
2016-04-21 08:48:33 +02:00
|
|
|
|
{% trans %}People must be invited{% endtrans %}
|
2013-01-31 21:01:53 +01:00
|
|
|
|
</label>
|
|
|
|
|
</div>
|
2013-08-27 19:14:18 +02:00
|
|
|
|
<div id="announce-new-stream">
|
|
|
|
|
<br />
|
|
|
|
|
<label class="checkbox">
|
|
|
|
|
<input type="checkbox" name="announce" value="announce" checked />
|
2016-04-21 08:48:33 +02:00
|
|
|
|
{% trans %}Announce stream{% endtrans %}
|
2013-08-27 19:14:18 +02:00
|
|
|
|
</label>
|
|
|
|
|
<span class="icon-vector-question-sign" id="announce-stream-docs"></span>
|
|
|
|
|
</div>
|
2013-01-31 21:01:53 +01:00
|
|
|
|
<br />
|
|
|
|
|
<div class="control-group">
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<label class="control-label" for="people_to_add"><b>{% trans %}People to add{% endtrans %}</b></label><br />
|
2013-01-31 21:01:53 +01:00
|
|
|
|
<div class="controls" id="people_to_add"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2016-04-21 08:48:33 +02:00
|
|
|
|
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">{{ _("Cancel") }}</button>
|
|
|
|
|
<button class="btn btn-primary" type="submit">{{ _("Create") }}</button>
|
2013-01-31 21:01:53 +01:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|