Browse Source

diabook-themes: move "common tabs" to left side on settings page

pull/193/head
tommy tomson 10 years ago
parent
commit
36545e554b
  1. 2
      view/theme/diabook-aerith/rs_common_tabs.tpl
  2. 17
      view/theme/diabook-aerith/style-settings.css
  3. 2
      view/theme/diabook-aerith/theme.php
  4. 2
      view/theme/diabook-blue/rs_common_tabs.tpl
  5. 15
      view/theme/diabook-blue/style-settings.css
  6. 2
      view/theme/diabook-blue/theme.php
  7. 2
      view/theme/diabook-red/rs_common_tabs.tpl
  8. 15
      view/theme/diabook-red/style-settings.css
  9. 2
      view/theme/diabook-red/theme.php
  10. 2
      view/theme/diabook/rs_common_tabs.tpl
  11. 15
      view/theme/diabook/style-settings.css
  12. 2
      view/theme/diabook/theme.php

2
view/theme/diabook-aerith/rs_common_tabs.tpl

@ -1,4 +1,4 @@
<h3 style="margin-top: 0px; padding-left: 0px; text-align: center;">Settings Menu</h3>
<h3 style="border-bottom: 1px solid #D2D2D2;">Settings Menu</h3>
<ul class="rs_tabs">
{{ for $tabs as $tab }}
<li><a href="$tab.url" class="rs_tab button $tab.sel">$tab.label</a></li>

17
view/theme/diabook-aerith/style-settings.css

@ -982,18 +982,14 @@ ul.menu-popup .empty {
aside {
display: table-cell;
vertical-align: top;
width: 160px;
width: 200px;
padding: 0px 10px 0px 10px;
border-right: 1px solid #D2D2D2;
float: left;
/* background: #F1F1F1; */
}
aside #page-sidebar{display: none;}
aside .vcard .fn {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
}
aside .vcard {display: none;}
aside .vcard .title {
margin-bottom: 5px;
}
@ -1056,10 +1052,7 @@ aside #side-follow-url {
aside #side-peoplefind-url {
width: 150px;
}
#contact-block {
overflow: auto;
height: auto;
}
#contact-block {display: none;}
#contact-block .contact-block-h4 {
float: left;
margin: 5px 0px;
@ -1192,8 +1185,8 @@ span.sbox input {
section {
display: table-cell;
vertical-align: top;
width: 640px;
padding: 0px 10px 0px 10px;
width: 650px;
padding: 0px 0px 0px 20px;
}
body .pageheader{

2
view/theme/diabook-aerith/theme.php

@ -291,7 +291,7 @@ if ($a->argv[0] === "settings"){
)
);
$tabtpl = file_get_contents(dirname(__file__).'/rs_common_tabs.tpl') ;
$a->page['right_aside'] = replace_macros($tabtpl, array(
$a->page['aside'] = replace_macros($tabtpl, array(
'$tabs' => $tabs,
));

2
view/theme/diabook-blue/rs_common_tabs.tpl

@ -1,4 +1,4 @@
<h3 style="margin-top: 0px; padding-left: 0px; text-align: center;">Settings Menu</h3>
<h3 style="border-bottom: 1px solid #D2D2D2;">Settings Menu</h3>
<ul class="rs_tabs">
{{ for $tabs as $tab }}
<li><a href="$tab.url" class="rs_tab button $tab.sel">$tab.label</a></li>

15
view/theme/diabook-blue/style-settings.css

@ -945,17 +945,15 @@ ul.menu-popup .empty {
aside {
display: table-cell;
vertical-align: top;
width: 160px;
width: 200px;
padding: 0px 10px 0px 10px;
border-right: 1px solid #D2D2D2;
float: left;
/* background: #F1F1F1; */
}
aside .vcard .fn {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
aside .vcard {
display: none;
}
aside .vcard .title {
margin-bottom: 5px;
@ -1018,8 +1016,7 @@ aside #side-peoplefind-url {
width: 150px;
}
#contact-block {
overflow: auto;
height: auto;
display: none;
}
#contact-block .contact-block-h4 {
float: left;
@ -1153,8 +1150,8 @@ span.sbox input {
section {
display: table-cell;
vertical-align: top;
width: 640px;
padding: 0px 10px 0px 10px;
width: 650px;
padding: 0px 0px 0px 20px;
}
body .pageheader{

2
view/theme/diabook-blue/theme.php

@ -291,7 +291,7 @@ if ($a->argv[0] === "settings"){
)
);
$tabtpl = file_get_contents(dirname(__file__).'/rs_common_tabs.tpl') ;
$a->page['right_aside'] = replace_macros($tabtpl, array(
$a->page['aside'] = replace_macros($tabtpl, array(
'$tabs' => $tabs,
));

2
view/theme/diabook-red/rs_common_tabs.tpl

@ -1,4 +1,4 @@
<h3 style="margin-top: 0px; padding-left: 0px; text-align: center;">Settings Menu</h3>
<h3 style="border-bottom: 1px solid #D2D2D2;">Settings Menu</h3>
<ul class="rs_tabs">
{{ for $tabs as $tab }}
<li><a href="$tab.url" class="rs_tab button $tab.sel">$tab.label</a></li>

15
view/theme/diabook-red/style-settings.css

@ -960,17 +960,15 @@ ul.menu-popup .empty {
aside {
display: table-cell;
vertical-align: top;
width: 160px;
width: 200px;
padding: 0px 10px 0px 10px;
border-right: 1px solid #D2D2D2;
float: left;
/* background: #F1F1F1; */
}
aside .vcard .fn {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
aside .vcard {
display: none;
}
aside .vcard .title {
margin-bottom: 5px;
@ -1035,8 +1033,7 @@ aside #side-peoplefind-url {
width: 150px;
}
#contact-block {
overflow: auto;
height: auto;
display: none;
}
#contact-block .contact-block-h4 {
float: left;
@ -1170,8 +1167,8 @@ span.sbox input {
section {
display: table-cell;
vertical-align: top;
width: 640px;
padding: 0px 10px 0px 10px;
width: 650px;
padding: 0px 0px 0px 20px;
}
body .pageheader{

2
view/theme/diabook-red/theme.php

@ -292,7 +292,7 @@ if ($a->argv[0] === "settings"){
)
);
$tabtpl = file_get_contents(dirname(__file__).'/rs_common_tabs.tpl') ;
$a->page['right_aside'] = replace_macros($tabtpl, array(
$a->page['aside'] = replace_macros($tabtpl, array(
'$tabs' => $tabs,
));

2
view/theme/diabook/rs_common_tabs.tpl

@ -1,4 +1,4 @@
<h3 style="margin-top: 0px; padding-left: 0px; text-align: center;">Settings Menu</h3>
<h3 style="border-bottom: 1px solid #D2D2D2;">Settings Menu</h3>
<ul class="rs_tabs">
{{ for $tabs as $tab }}
<li><a href="$tab.url" class="rs_tab button $tab.sel">$tab.label</a></li>

15
view/theme/diabook/style-settings.css

@ -934,17 +934,15 @@ ul.menu-popup .empty {
aside {
display: table-cell;
vertical-align: top;
width: 160px;
width: 200px;
padding: 0px 10px 0px 10px;
border-right: 1px solid #D2D2D2;
float: left;
/* background: #F1F1F1; */
}
aside .vcard .fn {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
aside .vcard {
display: none;
}
aside .vcard .title {
margin-bottom: 5px;
@ -1007,8 +1005,7 @@ aside #side-peoplefind-url {
width: 150px;
}
#contact-block {
overflow: auto;
height: auto;
display: none;
}
#contact-block .contact-block-h4 {
float: left;
@ -1132,8 +1129,8 @@ span.sbox input {
section {
display: table-cell;
vertical-align: top;
width: 640px;
padding: 0px 10px 0px 10px;
width: 650px;
padding: 0px 0px 0px 20px;
}
body .pageheader{

2
view/theme/diabook/theme.php

@ -299,7 +299,7 @@ if ($a->argv[0] === "settings"){
)
);
$tabtpl = file_get_contents(dirname(__file__).'/rs_common_tabs.tpl') ;
$a->page['right_aside'] = replace_macros($tabtpl, array(
$a->page['aside'] = replace_macros($tabtpl, array(
'$tabs' => $tabs,
));

Loading…
Cancel
Save