mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added function for rules, and moved thumbnail/data somewhat around for better readability
This commit is contained in:
@@ -53,6 +53,43 @@
|
||||
<a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="channel_info" class="modal">
|
||||
<div class="modal-content">
|
||||
<h5>Channel Info</h5>
|
||||
<p>Here you can add a thumbnail for the channel, description or rules. The description and thumbnail will be visible from the frontpage, and the sidebar, but the rules will only be visible from the sidebar when in the channel.</p>
|
||||
<p>Remember, all thumbnails, descriptions and rules has to be approved by a site-administrator before it will be visible to visitors.</p>
|
||||
<div class="row">
|
||||
<form id="thumbnail_input_form" class="col s12">
|
||||
<div class="input-field col s8">
|
||||
<input id="thumbnail_input" name="user-pass" type="text" autocomplete="off" />
|
||||
<label for="thumbnail_input" class="noselect">Thumbnail</label>
|
||||
</div>
|
||||
<a class="col offset-s1 s3 btn waves-effect white-text thumbnail_input_send">Send</a>
|
||||
</form>
|
||||
</div>
|
||||
<div class="row">
|
||||
<form id="description_input_form" class="col s12">
|
||||
<div class="input-field col s8">
|
||||
<input id="description_input" name="user-pass" type="text" autocomplete="off" />
|
||||
<label for="description_input" class="noselect">Description</label>
|
||||
</div>
|
||||
<a class="col offset-s1 s3 btn waves-effect orange white-text description_input_send">Send</a>
|
||||
</form>
|
||||
</div>
|
||||
<div class="row">
|
||||
<form id="rules_input_form" class="col s12">
|
||||
<div class="input-field col s8">
|
||||
<textarea id="rules_input" class="materialize-textarea"></textarea>
|
||||
<label for="rules_input">Rules</label>
|
||||
</div>
|
||||
<a class="col offset-s1 s3 btn waves-effect green white-text rules_input_send">Send</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#!" id="abort-channel-login" class="modal-action modal-close waves-effect waves-green btn-flat close-user-password">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="user_password" class="modal">
|
||||
<div class="modal-content">
|
||||
<h5>Locked Channel</h5>
|
||||
|
||||
@@ -8,22 +8,8 @@
|
||||
<div class="collapsible-header bold waves-effect">Channel Info
|
||||
<i class="material-icons">info_outline</i>
|
||||
</div>
|
||||
<div class="collapsible-body">
|
||||
<div class="collapsible-body info_collapsible">
|
||||
<ul>
|
||||
<li>
|
||||
<form id="thumbnail_form" style="display:none;">
|
||||
<div class="input-field col s12 admin-information">
|
||||
<input type="text" placeholder="Channel thumbnail" name="chan_thumbnail" id="chan_thumbnail" autocomplete="off" />
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
<li>
|
||||
<form id="description_form" style="display:none;">
|
||||
<div class="input-field col s12 admin-information">
|
||||
<input type="text" placeholder="Channel description" name="chan_description" id="chan_description" autocomplete="off" maxlength="100" data-length="100" />
|
||||
</div>
|
||||
</form>
|
||||
</li>
|
||||
<li class="channel_info_container">
|
||||
<div id="thumbnail_image">
|
||||
</div>
|
||||
@@ -31,6 +17,11 @@
|
||||
This channel doesn't have a description yet.
|
||||
</div>
|
||||
</li>
|
||||
<li class="white-bg">
|
||||
<div class="row info_change_button_container">
|
||||
<a href="#" class="info_change_button col s8 offset-s2 btn orange waves-effect">Change</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user