mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Admin Bar UI added.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12178 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
65745c33b3
commit
206f49764e
5 changed files with 45 additions and 39 deletions
|
|
@ -47,4 +47,19 @@ body>.message{margin:1em}
|
|||
/* Waiting for server response - Modal Window */
|
||||
.wfsr_fog{position:absolute;top:0;left:0;width:100%;_height:100%;min-height:100%;z-index:100}
|
||||
.wfsr_fog .bg{position:absolute;position:fixed;background:#000;_background:none;width:100%;height:100%;opacity:.5;z-index:2;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);zoom:1}
|
||||
.wfsr_fog .ie6{position:absolute;left:0;top:0;width:100%;height:100%;border:0;opacity:0;filter:alpha(opacity=0);z-index:1}
|
||||
.wfsr_fog .ie6{position:absolute;left:0;top:0;width:100%;height:100%;border:0;opacity:0;filter:alpha(opacity=0);z-index:1}
|
||||
/* Admin Bar */
|
||||
#adminBar{position:fixed;_position:absolute;left:0;top:0;background:#000;width:100%;opacity:0;filter:alpha(opacity=0);z-index:100;color:#fff;font:12px/32px Arial,Helvetica,sans-serif;height:0;padding:16px 0 0 0;overflow:hidden}
|
||||
body{-webkit-transition:padding-top .2s}
|
||||
.adminBar{padding-top:32px}
|
||||
.adminBar>#adminBar{padding:0;height:auto;opacity:.5;filter:alpha(opacity=50)}
|
||||
#adminBar>h1{margin:0 10px 0 0;padding:8px 0 0 10px;float:left;font-size:12px}
|
||||
#adminBar img{vertical-align:top}
|
||||
#adminBar>ul{margin:0;padding:0;list-style:none}
|
||||
#adminBar li{display:inline}
|
||||
#adminBar li:before{content:".";vertical-align:top;margin:0 4px 0 0}
|
||||
#adminBar li:first-child:before,
|
||||
#adminBar>.abCxt li:first-child+li:before{content:normal}
|
||||
#adminBar>.abGrl{float:left}
|
||||
#adminBar>.abCxt{float:right;padding:0 10px 0 0}
|
||||
#adminBar a{color:#fff}
|
||||
|
|
@ -674,3 +674,15 @@ function xStopPropagation(evt)
|
|||
else if (window.event) window.event.cancelBubble = true;
|
||||
}
|
||||
|
||||
// Admin Bar
|
||||
jQuery(function($){
|
||||
$('#adminBar')
|
||||
.mouseover(function(){
|
||||
$('body').addClass('adminBar');
|
||||
})
|
||||
.mouseleave(function(){
|
||||
setTimeout(function(){
|
||||
$('body').removeClass('adminBar');
|
||||
}, 3000);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
39
common/js/x.min.js
vendored
39
common/js/x.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -3815,4 +3815,18 @@
|
|||
<value xml:lang="ko"><![CDATA[메뉴 건너뛰기]]></value>
|
||||
<value xml:lang="en"><![CDATA[Skip to content]]></value>
|
||||
</item>
|
||||
<item name="dashboard">
|
||||
<value xml:lang="ko"><![CDATA[대시보드]]></value>
|
||||
<value xml:lang="en"><![CDATA[Dashboard]]></value>
|
||||
<value xml:lang="jp"><![CDATA[ダッシュボード]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[控制面板]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Kontrol Paneli]]></value>
|
||||
</item>
|
||||
<item name="user">
|
||||
<value xml:lang="ko"><![CDATA[회원]]></value>
|
||||
<value xml:lang="en"><![CDATA[Member]]></value>
|
||||
<value xml:lang="jp"><![CDATA[会員]]></value>
|
||||
<value xml:lang="zh-CN"><![CDATA[会员]]></value>
|
||||
<value xml:lang="tr"><![CDATA[Üye]]></value>
|
||||
</item>
|
||||
</lang>
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@ xe.cmd_find = "{$lang->cmd_find}";
|
|||
</script>
|
||||
</head>
|
||||
<body{Context::getBodyClass()}>
|
||||
{@$isAdminKind = strpos(strtolower(Context::get('act')),'admin')!==false?true:false}
|
||||
<include target="../../modules/admin/tpl/admin_bar.html" cond="$logged_info->is_admin=='Y' && !$isAdminKind && Context::get('current_module_info')->module_type == 'view'" />
|
||||
{Context::getBodyHeader()}
|
||||
{$content}
|
||||
{Context::getHtmlFooter()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue