cd75b2efab
This change is with an eye on supporting reserved nicknames, in which case the user who has a reserved nickname won't have to choose a nick upon joining a room.
14 lines
804 B
HTML
14 lines
804 B
HTML
<form class="pure-form pure-form-stacked converse-form add-chatroom" action="" method="post">
|
|
<fieldset>
|
|
<label>{{label_room_name}}</label>
|
|
<input type="text" name="chatroom" class="new-chatroom-name" placeholder="{{label_room_name}}"/>
|
|
{[ if (server_input_type != 'hidden') { ]}
|
|
<label{{server_label_global_attr}}>{{label_server}}</label>
|
|
<input type="{{server_input_type}}" name="server" class="new-chatroom-server" placeholder="{{label_server}}"/>
|
|
{[ } ]}
|
|
<input type="submit" class="pure-button button-primary" name="join" value="{{label_join}}"/>
|
|
<input type="button" class="pure-button button-secondary" name="show" id="show-rooms" value="{{label_show_rooms}}"/>
|
|
</fieldset>
|
|
</form>
|
|
<dl id="available-chatrooms"></dl>
|