Seperate blocks in /admin/features. (#5345)
* Seperate blocks in /admin/features. Its hard to distinguish between blocks of settings in the features page. Its useful to clearly mark the blocks belonging together. * Also try to separate items for other themes. * Make sure separate settings boxes work in all themes.
This commit is contained in:
parent
39abfb547d
commit
298b528c81
5 changed files with 1750 additions and 1751 deletions
|
@ -10,8 +10,10 @@
|
||||||
|
|
||||||
<div class="settings-content-block">
|
<div class="settings-content-block">
|
||||||
{{foreach $f.1 as $fcat}}
|
{{foreach $f.1 as $fcat}}
|
||||||
|
<div class="settings-block">
|
||||||
{{include file="field_yesno.tpl" field=$fcat.0}}
|
{{include file="field_yesno.tpl" field=$fcat.0}}
|
||||||
{{include file="field_yesno.tpl" field=$fcat.1}}
|
{{include file="field_yesno.tpl" field=$fcat.1}}
|
||||||
|
</div>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
<div class="settings-submit-wrapper" >
|
<div class="settings-submit-wrapper" >
|
||||||
|
|
|
@ -7,13 +7,9 @@
|
||||||
<form action="settings/connectors" method="post" autocomplete="off">
|
<form action="settings/connectors" 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}}'>
|
||||||
|
|
||||||
<span id="settings_general_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_general_expanded'); openClose('settings_general_inflated');">
|
<h3 class="settings-heading"><a onclick="openClose('settings_general_expanded'); openClose('settings_general_inflated');">{{$general_settings}}</a></h3>
|
||||||
<h3 class="connector">{{$general_settings}}</h3>
|
|
||||||
</span>
|
|
||||||
<div id="settings_general_expanded" class="settings-block" style="display: none;">
|
<div id="settings_general_expanded" class="settings-block" style="display: none;">
|
||||||
<span class="fakelink" onclick="openClose('settings_general_expanded'); openClose('settings_general_inflated');">
|
|
||||||
<h3 class="connector">{{$general_settings}}</h3>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
{{include file="field_checkbox.tpl" field=$disable_cw}}
|
{{include file="field_checkbox.tpl" field=$disable_cw}}
|
||||||
{{include file="field_checkbox.tpl" field=$no_intelligent_shortening}}
|
{{include file="field_checkbox.tpl" field=$no_intelligent_shortening}}
|
||||||
|
|
|
@ -2721,9 +2721,7 @@ aside input[type='text'] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-block {
|
.settings-block {
|
||||||
border: 1px solid #AAA;
|
border-bottom: 1px solid #AAA;
|
||||||
margin: 10px;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-title {
|
.app-title {
|
||||||
|
|
|
@ -2551,6 +2551,9 @@ footer {
|
||||||
#adminpage .selectall {
|
#adminpage .selectall {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.settings-block {
|
||||||
|
border-bottom: 1px solid #cccccc;
|
||||||
|
}
|
||||||
/* edit buttons for comments */
|
/* edit buttons for comments */
|
||||||
.icon.dim {
|
.icon.dim {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue