From: <be...@us...> - 2015-04-07 18:36:15
|
Revision: 13036 http://sourceforge.net/p/xoops/svn/13036 Author: beckmi Date: 2015-04-07 18:36:06 +0000 (Tue, 07 Apr 2015) Log Message: ----------- Moving Adminbar to the top Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css 2015-04-06 12:43:54 UTC (rev 13035) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/css/style.css 2015-04-07 18:36:06 UTC (rev 13036) @@ -17,6 +17,8 @@ } /* ======= Body wrapper ======= */ +.push_down{margin-top:30px;} + #xo-wrapper {} #xo-bgstatic {} #xo-canvas { @@ -213,6 +215,51 @@ color: #fff; text-decoration: underline; } + +/*========== xo_headerstatic.html ==========*/ +#xo-headerstatic * { margin: 0; padding: 0} +#xo-headerstatic { + position: absolute; + top: 0; + left: 0; + bottom: 0; + width: 100%; + height: 30px; + background: none; + color: #000; + font-size: 11px; + z-index: 99999; + border-style: solid; + border-width: thin; +} + +body>#xo-headerstatic { position: fixed;} +#xo-headerstatic #controls { + margin: 0px 20px 0px 20px; + background-color: #fff; + line-height: 20px; + text-shadow: 2px 2px 3px #aaa; + border: 2px solid #b5b5b5; + border-bottom: none; +} + +body#xo-banner #xo-headerstatic { + padding: 0 50px 0 50px; + margin: 50px 50px 0px 50px; + +} + +#xo-headerstatic #controls { margin-top: 0px; background: #E7F4F7; padding: 3px 10px 0 10px;} +#xo-headerstatic .separate { margin-left: 3px; border-left: 1px solid #b5b5b5;} +#xo-headerstatic #controls ul, li { margin: 0; padding: 0;} +#xo-headerstatic #controls ul { list-style: none;} +#xo-headerstatic #controls li { display: inline-block; height: 20px; line-height: 27px; padding-right: 6px;} +#xo-headerstatic .icon { vertical-align: text-bottom;} +#xo-headerstatic .icon-chat { padding-top: 3px;} +#xo-headerstatic .chat, .icon-chat { float: right;} +#xo-headerstatic .text { vertical-align: top;} + + /*========== xo_footerstatic.html ==========*/ #xo-footerstatic * { margin: 0; padding: 0;} #xo-footerstatic { @@ -250,7 +297,7 @@ margin-bottom: 35px; } #xo-logger-tabs a:hover {background-color: transparent; color: #fff;} -table #xo-logger-queries tr {width: 100%;) +table #xo-logger-queries tr {width: 100%;} .outer {border: 1px solid silver;} .head {background-color: #c2cdd6; padding: 5px; font-weight: bold;} .even {background-color: #dee3e7; padding: 5px;} Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html 2015-04-06 12:43:54 UTC (rev 13035) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/theme.html 2015-04-07 18:36:06 UTC (rev 13036) @@ -20,7 +20,10 @@ <{elseif $xoBlocks.canvas_left}><{assign var=columns_layout value='leftcolumn-layout'}> <{elseif $xoBlocks.canvas_right}><{assign var=columns_layout value='rightcolumn-layout'}> <{/if}> -<div id="xo-wrapper" class="<{$xoops_dirname}>"> +<{if $xoops_isadmin}> +<{includeq file="$theme_name/xo_headerstatic.html"}> +<{/if}> +<div id="xo-wrapper" class="<{$xoops_dirname}> <{if $xoops_isadmin}>push_down<{/if}>"> <div id="xo-bgstatic" class="<{$xoops_dirname}>"></div> <div id="xo-canvas"<{if $columns_layout}> class="<{$columns_layout}>"<{/if}>> <div id="xo-header" class="<{$xoops_dirname}>"> @@ -41,7 +44,7 @@ }> <{/if}> <td id="xo-page"> - <{if $xoBlocks.page_topleft or $xoBlocks.page_topcenter or $xoBlocks.page_topright}> + <{if $xoBlocks.page_topleft || $xoBlocks.page_topcenter || $xoBlocks.page_topright}> <div class="xo-blockszone xo-<{$theme_top_order}>pageblocks" id="xo-page-topblocks"> <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:0:1}> <{includeq file="$theme_name/centerblocks.html" topbottom=top lcr=$theme_top_order|substr:1:1}> @@ -49,7 +52,7 @@ </div> <{/if}> <{if $xoops_contents && ($xoops_contents != ' ') }><div id="xo-content"><{$xoops_contents}></div><{/if}> - <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomcenter or $xoBlocks.page_bottomright}> + <{if $xoBlocks.page_bottomleft || $xoBlocks.page_bottomcenter || $xoBlocks.page_bottomright}> <div class="xo-blockszone xo-<{$theme_bottom_order}>pageblocks" id="xo-page-bottomblocks"> <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:0:1}> <{includeq file="$theme_name/centerblocks.html" topbottom=bottom lcr=$theme_bottom_order|substr:1:1}> @@ -72,8 +75,5 @@ <!--{xo-logger-output}--> </div> - <{if $xoops_isadmin}> - <{includeq file="$theme_name/xo_footerstatic.html"}> - <{/if}> </body> -</html> \ No newline at end of file +</html> Added: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xo_headerstatic.html 2015-04-07 18:36:06 UTC (rev 13036) @@ -0,0 +1,56 @@ +<div id="xo-headerstatic"> + <div id="controls" > + <div> + <ul> + <li class="icon"><a href="<{xoAppUrl /}>" title="<{$smarty.const._YOURHOME}>"><img src="<{xoImgUrl icons/footer/home.png}>" alt="<{$smarty.const._YOURHOME}>" /></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php?fct=preferences}>" title="<{$smarty.const.THEME_PREF}>"><{$smarty.const.THEME_PREF}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=preferences}>" title="<{$smarty.const.THEME_CPHOME}>"><img src="<{xoImgUrl icons/footer/prefs_small.png}>" alt="<{$smarty.const._CPHOME}>" /></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=preferences&op=showmod&mod=1}>" title="<{$smarty.const.THEME_SYSSETTING}>"><img src="<{xoImgUrl icons/footer/configure_shortcuts.png}>" alt="<{$smarty.const.THEME_SYSSETTING}>" /></a></li> + <li class="icon"><a href="<{xoAppUrl admin.php}>" title="<{$smarty.const._CPHOME}>"><img src="<{xoImgUrl icons/footer/process.png}>" alt="<{$smarty.const._CPHOME}>" /></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php}>" title="<{$smarty.const.THEME_ADMTOOLS}>"><{$smarty.const.THEME_ADMTOOLS}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=modulesadmin}>" title="<{$smarty.const.THEME_INSTALLEDMODULES}>"><img src="<{xoImgUrl icons/footer/modules_small.png}>" title="<{$smarty.const.THEME_INSTALLEDMODULES}>"></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=blocksadmin}>" title="<{$smarty.const.THEME_BKAD}>"><img src="<{xoImgUrl icons/footer/blocks_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=tplsets}>" title="<{$smarty.const.THEME_TPLS}>"><img src="<{xoImgUrl icons/footer/tpls_small.png}>" /></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=maintenance}>" title="<{$smarty.const.THEME_ADMCLEAN}>"><img src="<{xoImgUrl icons/footer/maintenance_small.png}>" /></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php?fct=users}>" title="<{$smarty.const.THEME_USER}>"><{$smarty.const.THEME_USER}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=groups}>" title="<{$smarty.const.THEME_ADGS}>"><img src="<{xoImgUrl icons/footer/groups_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=userrank}>" title="<{$smarty.const.THEME_RANK}>"><img src="<{xoImgUrl icons/footer/userrank_small.png}>" alt=""/></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=users}>" title="<{$smarty.const.THEME_EUSER}>"><img src="<{xoImgUrl icons/footer/edituser_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=findusers}>" title="<{$smarty.const.THEME_FINDUSER}>"><img src="<{xoImgUrl icons/footer/finduser_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=mailusers}>" title="<{$smarty.const.THEME_MLUS}>"><img src="<{xoImgUrl icons/footer/mailuser_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=comments}>" title="<{$smarty.const.THEME_COMMENTS}>"><img src="<{xoImgUrl icons/footer/comments_small.png}>" alt=""/></a></li> + <li class="separate"> </li> + <li class="text"><a href="<{xoAppUrl modules/system/admin.php?fct=images}>" title="<{$smarty.const.THEME_IMAGES}>"><{$smarty.const.THEME_IMAGES}></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=images}>" title="<{$smarty.const.THEME_IMAGES}>"><img src="<{xoImgUrl icons/footer/images_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=avatars}>" title="<{$smarty.const.THEME_AVATARS}>"><img src="<{xoImgUrl icons/footer/avatar_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=smilies}>" title="<{$smarty.const.THEME_SMLS}>"><img src="<{xoImgUrl icons/footer/smilies_small.png}>" alt=""/></a></li> + <li class="icon"><a href="<{xoAppUrl modules/system/admin.php?fct=banners}>" title="<{$smarty.const.THEME_BANS}>"><img src="<{xoImgUrl icons/footer/banners_small.png}>" alt=""/></a></li> + <li class="separate"> </li> + + <li class="chat text"><a href="#" title="<{$smarty.const.THEME_UPTOP}>"><img src="<{xoImgUrl icons/footer/up.png}>" alt="<{$smarty.const.THEME_UPTOP}>" alt=""/></a></li> + <li class="chat separate"> </li> + <li class="chat text">Powered by <a href="http://sourceforge.net/projects/xoops/" title="XOOPS Project HomePage"><{$xoops_version}></a></li> + <li class="chat separate"> </li> + <li class="chat"><a href="<{xoAppUrl /user.php op=logout}>" title="<{$smarty.const._LOGOUT}>" ><img src="<{xoImgUrl icons/footer/logout.png}>" alt="<{$smarty.const._LOGOUT}>"/></a></li> + <!-- for my message box --> + <{xoInboxCount assign=pmcount}> + <li class="chat"><a href="<{xoAppUrl viewpmsg.php}>" title="<{$smarty.const.THEME_MESSAGE}> (<{$pmcount}>)"> + <{if $pmcount}> + <!-- if I have messages --> + <img src="<{xoImgUrl icons/footer/mail_warning.png}>" alt="(<{$pmcount}>) <{$smarty.const.THEME_NOTREAD}>"/>(<span class="shadow" style="color:#ff0000; font-weight: bold;"><{$pmcount}></span>) + <{else}> + <!-- if I do not have a message --> + <img src="<{xoImgUrl icons/footer/mail.png}>" alt="<{$smarty.const.THEME_MESSAGE}>"/> + <{/if}> + </a></li> + <li class="chat"><a href="<{xoAppUrl notifications.php}>" title="<{$smarty.const.THEME_NOTIFICATION}>"><img src="<{xoImgUrl icons/footer/comment_accept.png}>" alt="<{$smarty.const.THEME_NOTIFICATION}>"/></a></li> + <li class="chat"><a href="<{xoAppUrl edituser.php}>" title="<{$smarty.const.THEME_EDITPROFILE}>"><img src="<{xoImgUrl icons/footer/user_edit.png}>" alt="<{$smarty.const.THEME_MYACCOUNT}>"/></a></li> + <li class="chat"><a href="<{xoAppUrl /user.php}>" title="<{$smarty.const.THEME_MYACCOUNT}>"><img src="<{xoImgUrl icons/footer/user.png}>" alt="<{$smarty.const.THEME_MYACCOUNT}>"/></a></li> + <li class="chat separate"> </li> + </ul> + </div> + </div> +</div> Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html 2015-04-06 12:43:54 UTC (rev 13035) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/themes/zetagenesis/xotpl/xobanner.html 2015-04-07 18:36:06 UTC (rev 13036) @@ -2,4 +2,4 @@ <a id="xo-main-logo" href="<{xoAppUrl /}>"><img src="<{xoImgUrl img/header-logo.png}>" alt="<{$xoops_sitename}>" /></a> <!-- include userbar --> <{includeq file="$theme_name/userbar.html"}> -</div> \ No newline at end of file +</div> |