Importer module. Progress UI added.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8993 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-09-02 07:02:34 +00:00
parent 8f2180dd3f
commit 00319859a6
3 changed files with 35 additions and 20 deletions

View file

@ -5,21 +5,6 @@
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<!-- process 진행 상황 -->
<div id="process" style="display:none;">
<form action="./" method="get" onsubmit="return doImport()" id="fo_process">
<input type="hidden" name="type" value="" />
<input type="hidden" name="total" value="" />
<input type="hidden" name="cur" value="" />
<input type="hidden" name="key" value="" />
<input type="hidden" name="target_module" value="" />
<input type="hidden" name="guestbook_target_module" value="" />
<input type="hidden" name="unit_count" value="100" />
<input type="hidden" name="user_id" value="" />
</form>
</div>
<!--// process 진행상황 끝 -->
<form action="./" class="form" method="get" onsubmit="return doPreProcessing(this, 'documentForm')" id="documentForm">
<input type="hidden" name="act" value="" />
<input type="hidden" name="type" value="module" />
@ -117,4 +102,35 @@
<span class="btn"><input type="submit" value="{$lang->importer}" /></span>
</div>
</form>
<include target="./process.html" />
<!-- process 진행 상황 -->
<a href="#process" class="modalAnchor"></a>
<div class="modal" id="process" style="display:none;">
<form action="./" method="get" onsubmit="return doImport()" id="fo_process" class="fg">
<input type="hidden" name="type" value="" />
<input type="hidden" name="total" value="" />
<input type="hidden" name="cur" value="" />
<input type="hidden" name="key" value="" />
<input type="hidden" name="target_module" value="" />
<input type="hidden" name="guestbook_target_module" value="" />
<input type="hidden" name="unit_count" value="100" />
<input type="hidden" name="user_id" value="" />
<p style="text-align:center">
<span class="prgrs prgrsMedium">
<strong>{$lang->import_step_desc[99]}</strong>
<span class="pBar" style="width:300px;text-align:left">
<span class="pAction" style="width:50%"><!-- Progress status --></span>
<span class="pNum">123/1234</span>
</span>
<strong>50%</strong>
</span>
</p>
</form>
</div>
<script type="text/javascript">
jQuery(function($){
$('.form input[type=submit]').click(function(){
$('.modalAnchor').click();
});
});
</script>
<!--// process 진행상황 끝 -->

View file

@ -1,7 +1,6 @@
<script type="text/javascript">
var preProcessingMsg = "{$lang->preprocessing}";
</script>
<div id="process" style="display:none;">
<form action="./" method="get" onsubmit="return doImport()" id="fo_process">
<input type="hidden" name="type" value="" />
@ -28,4 +27,4 @@
</tr>
</table>
</form>
</div>
</div>

View file

@ -160,7 +160,7 @@
</div>
<p class="btnArea">
<span class="btn small"><a href="#userDefine" class="modalAnchor _extendFormEdit">사용자 정의 항목 추가...</a></span>
<span class="btn small"><a href="#preview" class="modalAnchor">Preview</a></span>
<span class="btn small"><a href="#previewForm" class="modalAnchor">Preview</a></span>
</p>
</fieldset>
<div class="btnArea">
@ -175,7 +175,7 @@
</div>
</form>
</div>
<div class="modal" id="preview">
<div class="modal" id="previewForm">
<form action="" class="fg form" method="post">
<h2 class="h2">회원가입 양식 미리보기</h2>
<ul>