diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-17 15:12:21 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-17 15:12:21 +0100 |
commit | 8d89dde9086d857c1e3256db0a64946e87fcf83c (patch) | |
tree | 98c6eb7fa7ff83823e4d18cb0107550c870827ee | |
parent | fab8209ebd4a052f8af5918de8603fd21a4bc7a6 (diff) | |
download | volse-hubzilla-8d89dde9086d857c1e3256db0a64946e87fcf83c.tar.gz volse-hubzilla-8d89dde9086d857c1e3256db0a64946e87fcf83c.tar.bz2 volse-hubzilla-8d89dde9086d857c1e3256db0a64946e87fcf83c.zip |
update templates
-rw-r--r-- | view/theme/redbasic/css/style.css | 9 | ||||
-rwxr-xr-x | view/tpl/field_input.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/field_password.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/field_radio.tpl | 11 |
4 files changed, 18 insertions, 6 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 7cdde49ab..7e512751c 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1948,6 +1948,15 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{ text-align: center; } +.section-content-warning-wrapper { + padding: 21px 10px; + color: #8a6d3b; + background-color: #fcf8e3; + margin-bottom: 3px; + border-radius: $radiuspx; + text-align: center; +} + .section-content-danger-wrapper { padding: 21px 10px; color: #a94442; diff --git a/view/tpl/field_input.tpl b/view/tpl/field_input.tpl index e4756c218..4dfa83699 100755 --- a/view/tpl/field_input.tpl +++ b/view/tpl/field_input.tpl @@ -1,6 +1,6 @@ <div class='form-group field input'> <label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label> - <input class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}} + <input class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}>{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}} <span id='help_{{$field.0}}' class='help-block'>{{$field.3}}</span> <div class="clear"></div> </div> diff --git a/view/tpl/field_password.tpl b/view/tpl/field_password.tpl index c9f4c5f6d..d19bc9414 100755 --- a/view/tpl/field_password.tpl +++ b/view/tpl/field_password.tpl @@ -1,5 +1,5 @@ <div class='form-group field password'> <label for='id_{{$field.0}}'>{{$field.1}}</label> - <input class="form-control" type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> + <input class="form-control" type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"{{if $field.5}} {{$field.5}}{{/if}}>{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}} <span class='help-block'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_radio.tpl b/view/tpl/field_radio.tpl index a92324cad..6b5f52de6 100755 --- a/view/tpl/field_radio.tpl +++ b/view/tpl/field_radio.tpl @@ -1,5 +1,8 @@ - <div class='field radio'> - <label class="mainlabel" for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label> - <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}> - <span class='field_help'>{{$field.3}}</span> + <div class="form-group field radio"> + <label for='id_{{$field.0}}_{{$field.2}}'> + <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}> + {{$field.1}} + </label> + <span class='help-block'>{{$field.3}}</span> </div> + <div class="clear"></div> |