deliveryGroupInputAll.html 3.45 KB
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
#set($title = "配信グループ一括登録")
#set($menukubun = "1")
#parse( "/WEB-INF/view/common/header_admin.vm" )
  <script language="JavaScript" type="text/JavaScript">

    <!--
     function fileDownLoad(){
		location.href="#q('/admin/member/deliveryGroupRegistAll/resultFileDownLoad/')";
	}
    
    function fileUpLoad(){
    	document.frm.submit();
	}
    -->
  </script>
<div id="contents">
<div id="contents_main">
<div id="breadcrumbsWrap">

</div><!--[ /breadcrumbsWrap ]-->
<div id="main" class="clearfix">


<h2 class="contents_title">配信グループ一括登録</h2>

<div id="right_contents">


<h3 class="table_title">配信グループ登録</h3>
#if($tools.getMsgs()!="")
<font color="red" size="2">入力エラーがあります。</font>
#end
##<div id="search">
<form method="POST" name="frm" enctype="multipart/form-data" action="#q('/admin/member/deliveryGroupRegistAll/groupMemberUpload/')" >
<table border="0" cellspacing="4" cellpadding="0" class="stripe2 mgb10 w790">
	<tr>
		<td class="w100">グループ名</td>##30byte
		<td><input name="groupName" type="text" / class="w250" value="$!escape.html($!deliveryGroupRegistAllForm.groupName)">
		<BR>$!tools.getMsg("groupName")
		</td>
	</tr>
	<tr>
		<td style="vertical-align:top" >メモ</td>
		<td>
	 		<textarea name="groupMemo" cols="50" rows="5" class="w250">$!deliveryGroupRegistAllForm.groupMemo</textarea>
	 		<BR>$!tools.getMsg("groupMemo")
		</td>
	</tr>
	<tr>
		<td style="vertical-align:top" >ファイル</td>
		<td><input type="file" name="file" size="60" class="w450">
		<BR>$!tools.getMsg("file")
		</td>
	</tr>

</table>
<div class="btn_area2" style="width:840px;">
	<button class="button" onclick="fileUpLoad(); return false;">登録</button>
</div>
#makeToken()
</form>
<br><br>
##</div>


<div class="form_edit clearfix">
<h4 class="form_title">データ形式説明</h4>
<div class="edit_contents">
<table border="0" cellspacing="0" cellpadding="0" class="stripe2 mgb30 w590">
	<tr class="gray">
		<td colspan="2">下記フォーマットでテキストファイル(.tsv)を作成して下さい。
		</td>
	</tr>
	<tr class="white">
		<td width="50" class="t_right">1行目<br>2行目<br><br></td>
		<td>ヘッダ
			<br>(データ行)<br><br>
		</td>
	</tr>
	<tr class="gray">
		<td class="w45 t_right">会員ID<br>
		データ行
		</td>
		<td class="w250 mgl10">会員ID<br>
		会員IDを改行で区切って記述してください。
		</td>
	</tr>

</table>
</div>
</div>
<!--前回登録エラーファイル -->
#if($deliveryGroupRegistAllForm.uploadError)
<h3 class="table_title">前回登録結果</h3>
<table border="0" cellpadding="0" cellspacing="0" width="450" class="stripe ">
	<thead>
		<tr>
			<th class="w100 t_center">日時</th>
			<th class="w100 t_center">ステータス</th>
			<th class="w100 t_center">ダウンロード</th>
		</tr>
	</thead>
<tbody>
	<tr class="gray">
		<td class="t_center dot_line" >$date.format("yyyy/MM/dd HH:mm:ss",$deliveryGroupRegistAllForm.uploadError.insertDate)</td>
		<td class="t_center dot_line">$deliveryGroupRegistAllForm.uploadError.status</td>
		<td class="t_center dot_line">
		#if($deliveryGroupRegistAllForm.uploadError.status == "NG")
		<a onclick="fileDownLoad()">ダウンロード</a>
		#end
		</td>
	</td>
	</tr>
 </tbody>
</table>
#end
</div>
</div>
<div id="contents_bottom">
<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div>
</div>
</div>
</div>

#parse( "/WEB-INF/view/common/footer_admin.vm" )