Data migration UX refactoring.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8756 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-08-11 09:26:40 +00:00
parent e4085a87ee
commit e10e89312b
52 changed files with 278 additions and 297 deletions

View file

@ -1,17 +1,8 @@
<!--@if(__DEBUG__)-->
<load target="js/importer_admin.js" />
<load target="js/importer_admin.js" />
<!--@else-->
<load target="js/importer_admin.min.js" />
<load target="js/importer_admin.min.js" />
<!--@end-->
{@ $type_list = array('module'=>$lang->type_module, 'ttxml'=>$lang->type_ttxml, 'member'=>$lang->type_member, 'sync'=>$lang->type_syncmember, 'message'=>$lang->type_message) }
<h1 class="h1">{$lang->importer}</h1>
<p>{nl2br($lang->about_importer)}</p>
<!-- 설명 -->
<div class="infoText">{nl2br($lang->about_importer)}</div>
<div class="header4">
<ul class="localNavigation">
<li loop="$type_list=>$key,$val" class="on"|cond="$source_type==$key"><a href="{getUrl('source_type',$key)}">{$val}</a></li>
</ul>
</div>

View file

@ -1,39 +1,117 @@
<!--@if(__DEBUG__)-->
<load target="js/importer_admin.js" />
<!--@else-->
<load target="js/importer_admin.min.js" />
<!--@end-->
<form action="./" class="form">
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="act" value="{$act}" />
<h1 class="h1">{$lang->importer}</h1>
<p>{nl2br($lang->about_importer)}</p>
<h2 class="h2">{$lang->import_step_title[1]} - {$lang->import_step_desc[1]}</h2>
<include target="./header.html" />
<form action="./" class="form" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="module" />
<input type="hidden" name="target_module" value="" id="target_module" />
<h2 class="h2">{$lang->type_module}</h2>
<ul>
<li>
<input type="radio" name="source_type" value="module" id="source_type_module" />
<label for="source_type_module"><strong>{$lang->type_module}:</strong> {$lang->about_type_module}</label>
<p class="q">{$lang->xml_path}</p>
<p class="a">
<input type="text" name="xml_file" value="./" /> <span class="desc">{$lang->path_info}</span>
</p>
</li>
<li>
<input type="radio" name="source_type" value="member" id="source_type_member" />
<label for="source_type_member"><strong>{$lang->type_member}:</strong> {$lang->about_type_member}</label>
</li>
<li>
<input type="radio" name="source_type" value="sync" id="source_type_syncmember" />
<label for="source_type_syncmember"><strong>{$lang->type_syncmember}:</strong> {$lang->about_type_syncmember}</label>
</li>
<li>
<input type="radio" name="source_type" value="message" id="source_type_message" />
<label for="source_type_message"><strong>{$lang->type_message}:</strong> {$lang->about_type_message}</label>
</li>
<li>
<input type="radio" name="source_type" value="ttxml" id="source_type_ttxml" />
<label for="source_type_ttxml"><strong>{$lang->type_ttxml}:</strong> {$lang->about_type_ttxml}</label>
<p class="q">{$lang->data_destination}</p>
<div class="a">
<input type="text" /> <a href="#suggestion1" class="tgAnchor">{$lang->find_site}</a>
<div id="suggestion1" class="tgContent suggestion">
<ul>
<li><button type="button">#</button></li>
<li><button type="button">#</button></li>
</ul>
</div>
</div>
<p class="a">
<select style="width:290px">
<option>{$lang->select_module_id}</option>
<option>#</option>
</select>
</p>
</li>
</ul>
<div class="btnArea">
<span class="btn medium"><input type="submit" value="{$lang->cmd_next}" /></span>
<span class="btn"><input type="submit" value="{$lang->importer}" /></span>
</div>
</form>
<form action="./" class="form" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="member" />
<h2 class="h2">{$lang->type_member}</h2>
<ul>
<li>
<p class="q">{$lang->xml_path}</p>
<p class="a"><input type="text" name="xml_file" value="./" /></p>
</li>
</ul>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->importer}" /></span>
</div>
</form>
<form action="./" class="form" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="message" />
<h2 class="h2">{$lang->type_message}</h2>
<ul>
<li>
<p class="q">{$lang->xml_path}</p>
<p class="a"><input type="text" name="xml_file" value="./" /></p>
</li>
</ul>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->importer}" /></span>
</div>
</form>
<form action="./" class="form" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="ttxml" />
<input type="hidden" name="target_module" value="" id="target_module" />
<input type="hidden" name="guestbook_target_module" value="" id="guestbook_target_module" />
<h2 class="h2">{$lang->type_ttxml}</h2>
<ul>
<li>
<p class="q">{$lang->xml_path}</p>
<p class="a"><input type="text" name="xml_file" value="./" /></p>
</li>
<li>
<p class="q">{$lang->document_destination}</p>
<div class="a">
<input type="text" /> <a href="#suggestion2" class="tgAnchor">{$lang->find_site}</a>
<div id="suggestion2" class="tgContent suggestion">
<ul>
<li><button type="button">#</button></li>
<li><button type="button">#</button></li>
</ul>
</div>
</div>
<p class="a">
<select name="_target_module" style="width:290px">
<option>{$lang->select_module_id}</option>
<option>#</option>
</select>
</p>
</li>
<li>
<p class="q">{$lang->guestbook_destination}</p>
<div class="a">
<input type="text" /> <a href="#suggestion3" class="tgAnchor">{$lang->find_site}</a>
<div id="suggestion3" class="tgContent suggestion">
<ul>
<li><button type="button">#</button></li>
<li><button type="button">#</button></li>
</ul>
</div>
</div>
<p class="a">
<select name="_guestbook_target_module" style="width:290px">
<option>{$lang->select_module_id}</option>
<option>#</option>
</select>
</p>
</li>
<li>
<p class="q">{$lang->about_ttxml_user_id}</p>
<p class="a"><input type="text" name="user_id" value="{$logged_info->user_id}" /></p>
</li>
</ul>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->importer}" /></span>
</div>
</form>
<include target="./process.html" />

View file

@ -1,34 +0,0 @@
<!--#include("header.html")-->
<div id="importForm">
<form action="./" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="member" />
<h4 class="xeAdmin">{$lang->import_step_title[2]} - {$lang->import_step_desc[2]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>
<input type="text" name="xml_file" value="./" class="inputTypeText fullWidth" />
<p>ex1) ../member.xml</p>
<p>ex2) http://...../member.xml</p>
</td>
</tr>
<tr>
<th class="button">
<select name="unit_count">
<option value="50">50</option>
<option value="100" selected="selected">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
<option value="500">500</option>
<option value="1000">1000</option>
</select>
<span class="button black strong"><input type="submit" value="{$lang->cmd_next}" /></span>
</th>
</tr>
</table>
</form>
</div>
<!--#include("./process.html")-->

View file

@ -1,34 +0,0 @@
<!--#include("header.html")-->
<div id="importForm">
<form action="./" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="message" />
<h4 class="xeAdmin">{$lang->import_step_title[2]} - {$lang->import_step_desc[2]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>
<input type="text" name="xml_file" value="./" class="inputTypeText fullWidth" />
<p>ex1) ../message.xml</p>
<p>ex2) http://...../message.xml</p>
</td>
</tr>
<tr>
<th class="button">
<select name="unit_count">
<option value="50">50</option>
<option value="100" selected="selected">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
<option value="500">500</option>
<option value="1000">1000</option>
</select>
<span class="button black strong"><input type="submit" value="{$lang->cmd_next}" /></span>
</th>
</tr>
</table>
</form>
</div>
<!--#include("./process.html")-->

View file

@ -1,49 +0,0 @@
<!--#include("header.html")-->
<!--// step 1-2. 대상이 게시물 정보일 경우 대상 모듈 목록을 선택하도록 함 -->
<div id="importForm">
<form action="./" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="module" />
<input type="hidden" name="target_module" value="" id="target_module" />
<h4 class="xeAdmin">{$lang->import_step_title[1]} - {$lang->import_step_desc[12]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>
<input type="text" name="_target_module" id="_target_module" class="inputTypeText w300" readonly="readonly"><a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_select}</span></a>
</td>
</tr>
</table>
<h4 class="xeAdmin">{$lang->import_step_title[2]} - {$lang->import_step_desc[2]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>
<input type="text" name="xml_file" value="./" class="inputTypeText fullWidth" />
<p>ex1) ../module.xml</p>
<p>ex2) http://...../module.xml</p>
</td>
</tr>
<tr>
<th>
<select name="unit_count" class="w100">
<option value="10" selected="selected">10</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
<option value="500">500</option>
<option value="1000">1000</option>
</select>
<span class="button black strong"><input type="submit" value="{$lang->cmd_next}" /></span>
</th>
</tr>
</table>
</form>
</div>
<!--#include("./process.html")-->

View file

@ -1,10 +0,0 @@
<!--#include("header.html")-->
<form action="./" method="get" onsubmit="return doSync(this)">
<h4 class="xeAdmin">{$lang->import_step_title[3]} - {$lang->import_step_desc[3]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<th class="button"><span class="button black strong"><input type="submit" value="{$lang->cmd_sync_member}" /></span></th>
</tr>
</table>
</form>

View file

@ -1,65 +0,0 @@
<!--#include("header.html")-->
<!--// step 1-2. 대상이 게시물 정보일 경우 대상 모듈 목록을 선택하도록 함 -->
<div id="importForm">
<form action="./" method="get" onsubmit="return doPreProcessing(this)" id="fo_import">
<input type="hidden" name="type" value="ttxml" />
<input type="hidden" name="target_module" value="" id="target_module" />
<input type="hidden" name="guestbook_target_module" value="" id="guestbook_target_module" />
<h4 class="xeAdmin">{$lang->import_step_title[1]} - {$lang->import_step_desc[12]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>{$lang->import_step_desc[121]} </td>
<td>
<input type="text" name="_target_module" id="_target_module" class="inputTypeText w300" readonly="readonly"><a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_select}</span></a>
</td>
</tr>
<tr>
<td>{$lang->import_step_desc[122]} </td>
<td>
<input type="text" name="_guestbook_target_module" id="_guestbook_target_module" class="inputTypeText w300" readonly="readonly"><a href="{getUrl('','module','module','act','dispModuleSelectList','id','guestbook_target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_select}</span></a>
</td>
</tr>
</table>
<table cellspacing="0" class="rowTable">
<tr>
<td>
{$lang->user_id} : <input type="text" name="user_id" value="{$logged_info->user_id}" class="inputTypeText w200" />
<p>{$lang->about_ttxml_user_id}</p>
</td>
</tr>
</table>
<h4 class="xeAdmin">{$lang->import_step_title[2]} - {$lang->import_step_desc[2]}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<td>
<input type="text" name="xml_file" value="./" class="inputTypeText w700" />
<p>ex1) ../module.xml</p>
<p>ex2) http://...../module.xml</p>
</td>
</tr>
<tr>
<th class="button">
<select name="unit_count">
<option value="10" selected="selected">10</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="300">300</option>
<option value="400">400</option>
<option value="500">500</option>
<option value="1000">1000</option>
</select>
<span class="button black strong"><input type="submit" value="{$lang->cmd_next}" /></span>
</th>
</tr>
</table>
</form>
</div>
<!--#include("./process.html")-->