diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-02-19 22:28:21 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-02-19 22:28:21 +0100 |
commit | 02e82e496e3ec8dbd8264248ad8550dd5e335cba (patch) | |
tree | ba88a936dff8de1333a14c5c265e0314c0a12e41 /view/tpl | |
parent | 5a7b994e59306519574ce7aaa004f08d7d47ee05 (diff) | |
download | volse-hubzilla-02e82e496e3ec8dbd8264248ad8550dd5e335cba.tar.gz volse-hubzilla-02e82e496e3ec8dbd8264248ad8550dd5e335cba.tar.bz2 volse-hubzilla-02e82e496e3ec8dbd8264248ad8550dd5e335cba.zip |
pimp up mod new_channel
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/new_channel.tpl | 76 |
1 files changed, 35 insertions, 41 deletions
diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl index 156b5ec2f..9383e0902 100755 --- a/view/tpl/new_channel.tpl +++ b/view/tpl/new_channel.tpl @@ -1,42 +1,36 @@ -<div class="generic-content-wrapper-styled"> -<h2>{{$title}}</h2> - -<form action="new_channel" method="post" id="newchannel-form" class="stylish-select"> - - <div id="newchannel-desc" class="descriptive-paragraph">{{$desc}}</div> - - {{if $default_role}} - <input type="hidden" name="permissions_role" value="{{$default_role}}" /> - {{else}} - <div id="newchannel-role-help" class="descriptive-paragraph">{{$help_role}}</div> - {{include file="field_select_grouped.tpl" field=$role}} - <div id="newchannel-role-end" class="newchannel-field-end"></div> - {{/if}} - - <label for="newchannel-name" id="label-newchannel-name" class="newchannel-label" >{{$label_name}}</label> - <input type="text" name="name" id="newchannel-name" class="newchannel-input" value="{{$name}}" /> - <div id="name-spinner"></div> - <div id="newchannel-name-feedback" class="newchannel-feedback"></div> - <div id="newchannel-name-end" class="newchannel-field-end"></div> - - <div id="newchannel-name-help" class="descriptive-paragraph">{{$help_name}}</div> - - <label for="newchannel-nickname" id="label-newchannel-nickname" class="newchannel-label" >{{$label_nick}}</label> - <input type="text" name="nickname" id="newchannel-nickname" class="newchannel-input" value="{{$nickname}}" /> - <div id="nick-spinner"></div> - <div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_hub}}</div> - <div id="newchannel-nickname-feedback" class="newchannel-feedback"></div> - <div id="newchannel-nickname-end" class="newchannel-field-end"></div> - - <div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div> - - - <div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div> - - <div id="newchannel-import-end" class="newchannel-field-end"></div> - - <input type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" /> - <div id="newchannel-submit-end" class="newchannel-field-end"></div> - -</form> +<div class="generic-content-wrapper"> + <div class="section-title-wrapper"> + <h2>{{$title}}</h2> + </div> + <div class="section-content-wrapper"> + <div class="section-content-info-wrapper"> + {{$desc}} + </div> + {{if $channel_usage_message}} + <div class="section-content-warning-wrapper"> + {{$channel_usage_message}} + </div> + {{/if}} + <form action="new_channel" method="post" id="newchannel-form"> + {{if $default_role}} + <input type="hidden" name="permissions_role" value="{{$default_role}}" /> + {{else}} + {{include file="field_select_grouped.tpl" field=$role}} + {{/if}} + + {{include file="field_input.tpl" field=$name}} + <div id="newchannel-name-feedback" class="newchannel-feedback"></div> + <div id="name-spinner"></div> + + {{include file="field_input.tpl" field=$nickname}} + <div id="newchannel-nickname-feedback" class="newchannel-feedback"></div> + <div id="nick-spinner"></div> + + <input type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" /> + <div id="newchannel-submit-end" class="clear"></div> + + <div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div> + <div id="newchannel-import-end" class="clear"></div> + </form> + </div> </div> |