Commit ec185090 by Kazuki Nakamura

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

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