Commit 2066cdce authored by JC Brand's avatar JC Brand

Nicer display of roster filter and add labels to chatrooms form

parent cdacf406
<form class="add-chatroom" action="" method="post"> <form class="add-chatroom" action="" method="post">
<label>{{label_room_name}}</label>
<input type="text" name="chatroom" class="new-chatroom-name" <input type="text" name="chatroom" class="new-chatroom-name"
placeholder="{{label_room_name}}"/> placeholder="{{label_room_name}}"/>
<label>{{label_nickname}}</label>
<input type="text" name="nick" class="new-chatroom-nick" <input type="text" name="nick" class="new-chatroom-nick"
placeholder="{{label_nickname}}"/> placeholder="{{label_nickname}}"/>
<label>{{label_server}}</label>
<input type="{{server_input_type}}" name="server" class="new-chatroom-server" <input type="{{server_input_type}}" name="server" class="new-chatroom-server"
placeholder="{{label_server}}"/> placeholder="{{label_server}}"/>
<input type="submit" name="join" value="{{label_join}}"/> <input type="submit" name="join" value="{{label_join}}"/>
......
<input style="display: none;" class="roster-filter" placeholder="{{placeholder}}"> <span class="roster-filter-group">
<select style="display: none;" class="filter-type"> <input style="display: none;" class="roster-filter" placeholder="{{placeholder}}">
<select style="display: none;" class="filter-type">
<option value="contacts">{{label_contacts}}</option> <option value="contacts">{{label_contacts}}</option>
<option value="groups">{{label_groups}}</option> <option value="groups">{{label_groups}}</option>
</select> </select>
</span>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment