Commit ec185090 by Kazuki Nakamura

【管理者画面:メッセージ設定画面】必須項目の「必須」表示、予約語選択画面のレイアウト修正・バグ修正

parent 8c1a11f1
......@@ -113,7 +113,7 @@
</td>
<td>
<textarea name="message" id="message" cols="45" rows="15" class="w610 mgt5">$!messageRegistForm.message</textarea>
<br><br> $!tools.getMsg("message")
<BR>$!tools.getMsg("message")<BR>
<input type="button" class="button" onClick="OpenSrchWindow();" value="予約語挿入"/>
</td>
</tr>
......@@ -127,17 +127,17 @@
</tr>
<tr id="mailBody">
<td>メール本文</td>
<td>メール本文<img src="/em/images/html.jpg" width="12" height="12" alt="html" /></td>
<td>
<textarea name="mailBody" cols="45" rows="15" class="w610">$!messageRegistForm.mailBody</textarea>
<BR> $!tools.getMsg("expiredMessage")
<BR> $!tools.getMsg("mailBody")
</td>
</tr>
<tr id="shinseiPeriod">
<td>申請受付期間</td>
<td>申請受付期間<img src="/em/images/html.jpg" width="12" height="12" alt="html" /></td>
<td>
<input type="text" name="startDate" id="startDate" class="w150" #if($messageRegistForm.startDate) value="$messageRegistForm.startDate" #else value="${tools.getToDay()}" #end/>
<div style="display: none;"><img id="calFromDate" src="/em/images/icon_cal.gif" style="padding-left:5px;padding-right:5px; vertical-align: middle;"></div>
......@@ -150,7 +150,7 @@
<tr id="linkText">
<td>リンク表記</td>
<td>リンク表記<img src="/em/images/html.jpg" width="12" height="12" alt="html" /></td>
<td>
<input type="text" name="linkText" class="w610" value="$!messageRegistForm.linkText"/>
<BR> $tools.getMsg("linkText")
......
......@@ -36,11 +36,7 @@ function setLink(valLink){
}
function copyToClipboard(text)
{
if (window.clipboardData) // Internet Explorer
{
window.clipboardData.setData("Text", text);
}
navigator.clipboard.writeText(text)
}
</script>
<script language="javascript" type="text/javascript" charset="utf-8">
......@@ -59,72 +55,62 @@ function copyToClipboard(text)
// -->
</script>
<style>
.table{
border-collapse:separate;
border-spacing:0px 25px;
table-layout: fixed;
}
.td{
word-wrap: break-word;
}
</style>
</head>
<body>
<div id="tabs">
<ul>
<li><a href="#tab1" id="tab1_a"><span>顧客情報</span></a></li>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
<input type="button" align="left" value="閉じる" onClick="window.close()">
</ul>
<div id="tab1">
<table border="0" cellspacing="5" cellpadding="0" class="stripe3 w790">
<table border="0" class="table" cellspacing="5" cellpadding="0" width="100%">
<tr class="gray">
<td>ログインID
</td>
<td>
<input type="button" onclick='copyToClipboard("%loginId%")' value="コピー"/>&nbsp;&nbsp;&nbsp;
</td>
<td>
%loginId%
</td>
<td class="td" width="35%">ログインID</td>
<td class="td" width="15%"><input type="button" onclick='copyToClipboard("%loginId%")' value="コピー"/>&nbsp;&nbsp;&nbsp;</td>
<td class="td" width="50%">%loginId%</td>
</tr>
<tr class="gray">
<td>パスワード
</td>
<td>
<input type="button" onclick='copyToClipboard("%passWord%")' value="コピー"/>&nbsp;&nbsp;&nbsp;
</td>
<td>
%passWord%
</td>
<td class="td" width="35%">パスワード</td>
<td class="td" width="15%"><input type="button" onclick='copyToClipboard("%passWord%")' value="コピー"/>&nbsp;&nbsp;&nbsp;</td>
<td class="td" width="50%">%passWord%</td>
</tr>
<tr class="gray">
<td>ログインURL
</td>
<td>
<input type="button" onclick="copyToClipboard('$!{messageRegistForm.serverUrl}#q("/user/login/")');" value="コピー"/>&nbsp;&nbsp;&nbsp;
</td>
<td>
$!{messageRegistForm.serverUrl}#q("/user/login/")
</td>
<td class="td" width="35%">ログインURL</td>
<td class="td" width="15%"><input type="button" onclick="copyToClipboard('$!{messageRegistForm.serverUrl}#q("/user/login/")');" value="コピー"/>&nbsp;&nbsp;&nbsp;</td>
<td class="td" width="50%">$!{messageRegistForm.serverUrl}#q("/user/login/")</td>
</tr>
<tr class="gray">
<td>パスワード確認用URL
</td>
<td>
<input type="button" onclick="copyToClipboard('$!{messageRegistForm.serverUrl}#q("/user/passwordMailSend/confirm/?qUrlId1={0}")');" value="コピー"/>&nbsp;&nbsp;&nbsp;
</td>
<td>
$!{messageRegistForm.serverUrl}#q("/user/passwordMailSend/confirm/?qUrlId1={0}")
</td>
<td class="td" width="35%">パスワード確認用URL</td>
<td class="td" width="15%"><input type="button" onclick="copyToClipboard('$!{messageRegistForm.serverUrl}#q("/user/passwordMailSend/confirm/?qUrlId1={0}")');" value="コピー"/>&nbsp;&nbsp;&nbsp;</td>
<td class="td" width="50%">$!{messageRegistForm.serverUrl}#q("/user/passwordMailSend/confirm/?qUrlId1={0}")</td>
</tr>
<tr class="gray">
<td>ワンタイムチケット
</td>
<td>
<input type="button" onclick='copyToClipboard("%OneTimeTicket%")' value="コピー"/>&nbsp;&nbsp;&nbsp;
</td>
<td>
%OneTimeTicket%
</td>
<td class="td" width="35%">ワンタイムチケット</td>
<td class="td" width="15%"><input type="button" onclick='copyToClipboard("%OneTimeTicket%")' value="コピー"/>&nbsp;&nbsp;&nbsp;</td>
<td class="td" width="50%">%OneTimeTicket%</td>
</tr>
</table>
</div>
</div>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment