src/main/webapp/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1, user-scalable=no" name="viewport"/>
<title>出欠入力フォーム</title>
</head>
<body style="font-family: sans-serif;">
<!-- <button id="closewindowbutton">LIFF アプリを閉じる</button> -->
<!-- <button id="openwindowbutton">ウィンドウを LINE 内で開く</button>
<button id="openwindowexternalbutton">ウィンドウを外部ブラウザで開く</button> -->
<!-- <div id="profileinfo">
<h2>Profile</h2>
<div id="profilepicturediv">
</div>
<table border="1">
<tr>
<th>userId</th>
<td id="useridprofilefield"></td>
</tr>
<tr>
<th>displayName</th>
<td id="displaynamefield"></td>
</tr>
<tr>
<th>statusMessage</th>
<td id="statusmessagefield"></td>
</tr>
</table>
</div> -->
<form action="/member" id="syukketu" method="post">
<p>読み込み中…</p>
</form>
<!-- <form method="post" action="formmail.cgi">
<table>
<tr>
<td>回答</td>
<td><input type="radio" name="answer" value="はい" id="ans1a"> <label for="ans1a">はい</label>
<input type="radio" name="answer" value="いいえ" id="ans1b"> <label for="ans1b">いいえ</label>
</td>
</tr>
</table>
</form>
<div id="liffdata">
<h2>LIFF Data</h2>
<table border="1">
<tr>
<th>language</th>
<td id="languagefield"></td>
</tr>
<tr>
<th>context.viewType</th>
<td id="viewtypefield"></td>
</tr>
<tr>
<th>context.userId</th>
<td id="useridfield"></td>
</tr>
<tr>
<th>context.utouId</th>
<td id="utouidfield"></td>
</tr>
<tr>
<th>context.roomId</th>
<td id="roomidfield"></td>
</tr>
<tr>
<th>context.groupId</th>
<td id="groupidfield"></td>
</tr>
</table>
</div> -->
<!-- LIFF SDK の読み込み -->
<script src="https://d.line-scdn.net/liff/1.0/sdk.js"></script>
<script src="liff.js"></script>
</body>
</html>