diabook-theme: some css/bug-fixes
This commit is contained in:
parent
4a42414135
commit
69b43582d0
18 changed files with 36 additions and 49 deletions
|
@ -49,6 +49,9 @@
|
||||||
{{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
|
{{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
|
||||||
{{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
|
{{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
|
||||||
{{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
|
{{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
|
||||||
|
{{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
|
||||||
|
{{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
|
||||||
|
{{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
|
||||||
{{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
|
{{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
|
||||||
|
|
||||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||||
|
|
|
@ -67,12 +67,14 @@ $(document).ready(function() {
|
||||||
$("a#top").attr("id","down");
|
$("a#top").attr("id","down");
|
||||||
$("a#down").attr("onclick","scrolldown()");
|
$("a#down").attr("onclick","scrolldown()");
|
||||||
$("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_bottom.png");
|
$("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_bottom.png");
|
||||||
|
$("img#scroll_top_bottom").attr("title","Scroll to bottom");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scrollInfo > "900"){
|
if (scrollInfo > "900"){
|
||||||
$("a#down").attr("id","top");
|
$("a#down").attr("id","top");
|
||||||
$("a#top").attr("onclick","scrolltop()");
|
$("a#top").attr("onclick","scrolltop()");
|
||||||
$("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_top.png");
|
$("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_top.png");
|
||||||
|
$("img#scroll_top_bottom").attr("title","Back to top");
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -555,6 +555,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -621,9 +622,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -555,6 +555,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -621,9 +622,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -554,6 +554,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -607,9 +608,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -554,6 +554,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -607,9 +608,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -553,6 +553,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -606,9 +607,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -565,6 +565,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #2e2f2e;
|
color: #2e2f2e;
|
||||||
|
@ -615,9 +616,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -555,6 +555,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -609,9 +610,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -557,6 +557,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -611,9 +612,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/*color*/
|
/*color*/
|
||||||
/* messages */
|
/* messages */
|
||||||
|
|
|
@ -555,6 +555,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -609,9 +610,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -557,6 +557,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -611,9 +612,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
/*color*/
|
/*color*/
|
||||||
|
|
|
@ -554,6 +554,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -619,10 +620,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
margin-left: 3px;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -554,6 +554,7 @@ code {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
/* popup notifications */
|
/* popup notifications */
|
||||||
|
div.jGrowl.top-right { top: 30px; /* put it below header/nav bar */ }
|
||||||
div.jGrowl div.notice {
|
div.jGrowl div.notice {
|
||||||
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
@ -619,10 +620,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
margin-left: 3px;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;z-index: 97;"><a id="down" onclick="scrolldown()" ><img id="scroll_top_bottom" src="view/theme/diabook/icons/scroll_bottom.png" style="display:cursor !important;" alt="back to top" title="Back to top"></a></div>
|
<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;z-index: 97;"><a id="down" onclick="scrolldown()" ><img id="scroll_top_bottom" src="view/theme/diabook/icons/scroll_bottom.png" style="display:cursor !important;" alt="back to top" title="Scroll to bottom"></a></div>
|
||||||
<div style="position: fixed; bottom: 3px; left: 25px;">$langselector</div>
|
<div style="position: fixed; bottom: 3px; left: 25px;">$langselector</div>
|
||||||
<div style="position: fixed; bottom: 23px; left: 5px;"><a href="http://pad.toktan.org/p/diabook" target="blank" ><img src="view/theme/diabook/icons/bluebug.png" title="report bugs for the theme diabook"/></a></div>
|
<div style="position: fixed; bottom: 23px; left: 5px;"><a href="http://pad.toktan.org/p/diabook" target="blank" ><img src="view/theme/diabook/icons/bluebug.png" title="report bugs for the theme diabook"/></a></div>
|
||||||
|
|
||||||
|
|
|
@ -610,9 +610,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -611,9 +611,7 @@ header #banner #logo-img {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
header #banner #logo-text {
|
header #banner #logo-text {
|
||||||
font-size: 20px;
|
font-size: 20px!important;position: relative!important;top: -4px!important;
|
||||||
position: absolute;
|
|
||||||
top: 10%;
|
|
||||||
}
|
}
|
||||||
/* messages */
|
/* messages */
|
||||||
#message-new {
|
#message-new {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
/*
|
/*
|
||||||
* Name: Diabook
|
* Name: Diabook
|
||||||
* Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
|
* Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu
|
||||||
* Version: (Version: 1.026)
|
* Version: (Version: 1.027)
|
||||||
* Author:
|
* Author:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ $a = get_app();
|
||||||
function diabook_init(&$a) {
|
function diabook_init(&$a) {
|
||||||
|
|
||||||
//print diabook-version for debugging
|
//print diabook-version for debugging
|
||||||
$diabook_version = "Diabook (Version: 1.026)";
|
$diabook_version = "Diabook (Version: 1.027)";
|
||||||
$a->page['htmlhead'] .= sprintf('<META NAME="theme" CONTENT="%s"/>', $diabook_version);
|
$a->page['htmlhead'] .= sprintf('<META NAME="theme" CONTENT="%s"/>', $diabook_version);
|
||||||
|
|
||||||
//change css on network and profilepages
|
//change css on network and profilepages
|
||||||
|
@ -568,7 +568,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
|
||||||
if($close_pages != "1") {
|
if($close_pages != "1") {
|
||||||
if(local_user()) {
|
if(local_user()) {
|
||||||
$page = '
|
$page = '
|
||||||
<h3 style="margin-top:0px;">'.t("Community Pages").'<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="close"></a></h3>
|
<h3 style="margin-top:0px;">'.t("Community Pages").'<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="'.t("Settings").'"></a></h3>
|
||||||
<div id=""><ul style="margin-left: 7px;margin-top: 0px;padding-left: 0px;padding-top: 0px;">';
|
<div id=""><ul style="margin-left: 7px;margin-top: 0px;padding-left: 0px;padding-top: 0px;">';
|
||||||
|
|
||||||
$pagelist = array();
|
$pagelist = array();
|
||||||
|
|
Loading…
Reference in a new issue