This commit is contained in:
redmatrix 2016-02-18 15:26:50 -08:00
commit 4512a4cdd4
8 changed files with 2835 additions and 2733 deletions

View File

@ -542,11 +542,14 @@ function widget_settings_menu($arr) {
'selected' => ((argv(1) === 'oauth') ? 'active' : ''), 'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
); );
// IF can go away when UNO export and import is fully functional
if(! UNO) {
$tabs[] = array( $tabs[] = array(
'label' => t('Export channel'), 'label' => t('Export channel'),
'url' => $a->get_baseurl(true) . '/uexport', 'url' => $a->get_baseurl(true) . '/uexport',
'selected' => '' 'selected' => ''
); );
}
if($role === false || $role === 'custom') { if($role === false || $role === 'custom') {
$tabs[] = array( $tabs[] = array(

View File

@ -79,3 +79,8 @@ h2 {
clear: both; clear: both;
margin-bottom: 20px; margin-bottom: 20px;
} }
.descriptive-paragraph {
margin-left: 20px;
margin-bottom: 25px;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -31,14 +31,12 @@
{{include file="field_select_grouped.tpl" field=$role}} {{include file="field_select_grouped.tpl" field=$role}}
<div id="newchannel-role-end" class="newchannel-field-end"></div> <div id="newchannel-role-end" class="newchannel-field-end"></div>
{{/if}} {{/if}}
<div id="newchannel-name-help" class="descriptive-paragraph">{{$help_name}}</div>
<label for="newchannel-name" id="label-newchannel-name" class="register-label" >{{$label_name}}</label> <label for="newchannel-name" id="label-newchannel-name" class="register-label" >{{$label_name}}</label>
<input type="text" name="name" id="newchannel-name" class="register-input" value="{{$name}}" /> <input type="text" name="name" id="newchannel-name" class="register-input" value="{{$name}}" />
<div id="name-spinner"></div> <div id="name-spinner"></div>
<div id="newchannel-name-feedback" class="register-feedback"></div> <div id="newchannel-name-feedback" class="register-feedback"></div>
<div id="newchannel-name-end" class="register-field-end"></div> <div id="newchannel-name-end" class="register-field-end"></div>
<div id="newchannel-name-help" class="descriptive-paragraph">{{$help_name}}</div>
{{/if}} {{/if}}
@ -62,13 +60,13 @@
<div id="register-password2-end" class="register-field-end"></div> <div id="register-password2-end" class="register-field-end"></div>
{{if $auto_create}} {{if $auto_create}}
<div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div>
<label for="newchannel-nickname" id="label-newchannel-nickname" class="register-label" >{{$label_nick}}</label> <label for="newchannel-nickname" id="label-newchannel-nickname" class="register-label" >{{$label_nick}}</label>
<input type="text" name="nickname" id="newchannel-nickname" class="register-input" value="{{$nickname}}" /> <input type="text" name="nickname" id="newchannel-nickname" class="register-input" value="{{$nickname}}" />
<div id="nick-spinner"></div> <div id="nick-spinner"></div>
<div id="newchannel-nick-desc" class="descriptive-paragraph" style="text-align: right;">{{$nick_hub}}</div> <div id="newchannel-nick-desc" style="text-align: right;">{{$nick_hub}}</div>
<div id="newchannel-nickname-feedback" class="register-feedback"></div> <div id="newchannel-nickname-feedback" class="register-feedback"></div>
<div id="newchannel-nickname-end" class="register-field-end"></div> <div id="newchannel-nickname-end" class="register-field-end"></div>
<div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div>
{{/if}} {{/if}}

View File

@ -1,6 +1,6 @@
<div class="generic-content-wrapper"> <div class="generic-content-wrapper">
<div class="section-title-wrapper"> <div class="section-title-wrapper">
<a title="{{$removechannel}}" class="btn btn-danger btn-xs pull-right" href="removeme"><i class="icon-trash"></i>&nbsp;{{$removeme}}</a> {{if $server_role != 'basic'}}<a title="{{$removechannel}}" class="btn btn-danger btn-xs pull-right" href="removeme"><i class="icon-trash"></i>&nbsp;{{$removeme}}</a>{{/if}}
<h2>{{$ptitle}}</h2> <h2>{{$ptitle}}</h2>
<div class="clear"></div> <div class="clear"></div>
</div> </div>

View File

@ -1,7 +1,9 @@
<div class="generic-content-wrapper-styled"> <div class="generic-content-wrapper">
<h1>{{$title}}</h1> <div class="section-title-wrapper">
<h2>{{$title}}</h2>
</div>
<div class="section-content-tools-wrapper">
<form action="settings/oauth" method="post" autocomplete="off"> <form action="settings/oauth" method="post" autocomplete="off">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
@ -31,3 +33,4 @@
</form> </form>
</div> </div>
</div>

View File

@ -1,5 +1,8 @@
<h1>{{$title}}</h1> <div class="generic-content-wrapper">
<div class="section-title-wrapper">
<h2>{{$title}}</h2>
</div>
<div class="section-content-tools-wrapper">
<form method="POST"> <form method="POST">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
@ -15,3 +18,5 @@
</div> </div>
</form> </form>
</div>
</div>