mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 20:29:57 +09:00
Layout setup page
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11743 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ab79cd53c7
commit
83d684ead4
1 changed files with 20 additions and 2 deletions
|
|
@ -340,7 +340,7 @@
|
|||
<img src="${ScreenShotURL}">
|
||||
</button>
|
||||
<ul>
|
||||
<li><a href="#layoutSetup">설정 <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><a href="#layoutSetup" data-admin-show="#layoutSetup" data-param='{ "sLayoutSrl":"${LayoutSrl}"}'>설정 <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><a href="#layoutHTML">HTML/CSS <i class="x_icon-circle-arrow-right"></i></a></li>
|
||||
<li><button type="button" onClick="alert('\'엔터프라이즈[2]\' 레이아웃이 생성 됐습니다.')">복사본 생성</button></li>
|
||||
<li><button type="button" onClick="confirm('\'엔터프라이즈\' 레이아웃을 정말 삭제하시겠습니까? \'고급기능\'에서 다시 생성할 수 있습니다.')">삭제</button></li>
|
||||
|
|
@ -355,6 +355,13 @@
|
|||
</form>
|
||||
<button type="button" class="x_close" data-admin-hide="#layout">×</button>
|
||||
</div>
|
||||
<div class="col layoutSetup" id="layoutSetup">
|
||||
<section>
|
||||
<h1>레이아웃 설정</h1>
|
||||
<div class="_contents"></div>
|
||||
</section>
|
||||
<button type="button" class="x_close" data-admin-hide="#layoutSetup">×</button>
|
||||
</div>
|
||||
<div class="col download" id="downloadLayout">
|
||||
<section>
|
||||
<h1>다른 레이아웃 설치</h1>
|
||||
|
|
@ -2042,7 +2049,8 @@ jQuery(function($){
|
|||
$List.append($.tmpl("layoutListItem", {
|
||||
Title : htInfo.title,
|
||||
ScreenShotURL : htInfo.thumbnail,
|
||||
Selected : sSelected
|
||||
Selected : sSelected,
|
||||
LayoutSrl : htInfo.layout_srl
|
||||
}).data('LayoutSrl', htInfo.layout_srl));
|
||||
}
|
||||
|
||||
|
|
@ -2082,6 +2090,16 @@ jQuery(function($){
|
|||
sLayoutSrl : sLayoutSrl
|
||||
});
|
||||
})
|
||||
$('#layoutSetup').on('show', function(ev){
|
||||
//console.log($._htMarkupActionParam.sLayoutSrl);
|
||||
var sLayoutSrl = $._htMarkupActionParam.sLayoutSrl;
|
||||
$.exec_json("layout.getLayoutAdminSetInfoView", {layout_srl: sLayoutSrl}, function(htData){
|
||||
//console.log(htData);
|
||||
$('#layoutSetup').find('._contents').html(htData.html);
|
||||
|
||||
scrollToRight();
|
||||
});
|
||||
})
|
||||
|
||||
$('._deleteMenu').click(function(){
|
||||
confirmDialog({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue