Issue 2442. Minor update.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11248 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-16 05:42:45 +00:00
parent 90a66074ab
commit 613f5ae401

View file

@ -1,5 +1,3 @@
<load target="./css/themes/classic/style.css" />
<load target="./js/_lib/jquery.cookie.js" />
<load target="./js/_lib/jquery.hotkeys.js" />
<load target="./js/jquery.jstree.js" />
@ -12,8 +10,7 @@
</div>
<div id="site">
<div class="col map">
<div id="mydemo" class="demo" style="height:500px;">
<div id="mydemo" class="demo" style="height:500px;">
<ul>
<li id="nhtml_1">
<a href="#">기본 사이트맵1</a>
@ -46,7 +43,7 @@
</ul>
</li>
</ul>
</div>
</div>
<section class="mapi">
<ul>
@ -390,15 +387,16 @@
<section>
<h1>메뉴 추가</h1>
<ul>
<li><a href="#pageDoc">문서 페이지</a></li>
<li><a href="#pageWidget">위젯 페이지</a></li>
<li><a href="#board">게시판</a></li>
<li><a href="#url">URL 링크</a></li>
<li><a href="#pageDoc">문서 페이지 <i class="x_icon-circle-arrow-right"></i></a></li>
<li><a href="#pageWidget">위젯 페이지 <i class="x_icon-circle-arrow-right"></i></a></li>
<li><a href="#board">게시판 <i class="x_icon-circle-arrow-right"></i></a></li>
<li><a href="#url">URL 링크 <i class="x_icon-circle-arrow-right"></i></a></li>
</ul>
<div class="x_btn-group" style="margin:0;padding:10px 0;border-top:1px solid #ccc;text-align:right">
<a type="button" class="x_btn x_btn-small x_btn-inverse"><i class="x_icon-plus x_icon-white"></i> 다른 메뉴유형 설치</a>
<a href="#downPageModule" class="x_btn x_btn-small x_btn-inverse"><i class="x_icon-plus x_icon-white"></i> 다른 메뉴 유형 설치</a>
</div>
</section>
<button type="button" class="x_close" data-close="#add">&times;</button>
</div>
</div>
<style>
@ -408,6 +406,7 @@
.col:first-child{border:0;padding-left:0}
.col>section>h1{ line-height:30px;font-size:16px;border-bottom:2px solid #666;margin:0;color:#333}
.col>section>ul{ margin:0;padding:0;list-style:none}
.col>.x_close{ position:absolute;top:0;right:10px; width:24px;height:24px}
/* .mapi * */
.mapi{margin:0 0 15px 0;min-width:200px}
.mapi ul{margin:0;padding:0;list-style:none}
@ -466,8 +465,14 @@
.mapi .root>ul ul{display:none}
.mapi .root>ul li.open>ul{display:block}
/* Add */
#add.col>section>ul>li{ border-top:1px dotted #ccc;padding:7px 0}
#add.col>section>ul>li:first-child{ border-top:0}
#add li{ border-top:1px solid #ddd;position:relative;white-space:nowrap}
#add li:first-child{ border-top:0}
#add li>a{ display:block;padding:6px 15px 6px 8px;color:#333;text-decoration:none;background:#fff; -webkit-transition:.3s}
#add li>a:hover,
#add li>a:focus{ background:#666; color:#fff}
#add li>a>i{ position:absolute;top:7px; right:5px;opacity:.5;filter:alpha(opacity=50)}
#add li>a:hover>i,
#add li>a:focus>i{ background-image:url({getUrl('')}common/img/glyphicons-halflings-white.png); background-repeat:no-repeat;opacity:1;filter:alpha(opacity=100)}
</style>
<!--[if IE 7]>
@ -488,7 +493,9 @@ jQuery(function($){
//<![CDATA[
jQuery(function($){
//$.jstree._themes = "PATH/TO/FOLDER/";
$.jstree._themes = "/maserati/modules/menu/tpl/css/themes/";
//$.jstree._themes = "/maserati/modules/menu/tpl/css/themes/";
$.jstree._themes = '{getUrl("")}/modules/menu/tpl/css/themes/';
// TO CREATE AN INSTANCE
// select the tree container using jQuery