Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
NEKODESUDX authored Nov 18, 2024
1 parent 482c0b4 commit 1c4f2ca
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!DOCTYPE html>
<html lang="ja">
<head>
Expand All @@ -19,6 +18,17 @@
body, h1, p, label, a, button {
color: white;
}
#status {
width: 100%;
height: 150px;
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
background-color: #333;
color: white;
overflow-y: scroll;
white-space: pre-wrap;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -58,7 +68,7 @@ <h1>Mass Group Manager</h1>
<label for="baseNames">グループ名 (変更) カンマ区切りで入力で複数指定可能:</label>
<input type="text" id="baseNames" name="baseNames">

<label for="iconUrl">アイコン画像URL:</label>
<label for="iconUrl">アイコン画像URL:</label>
<input type="text" id="iconUrl" name="iconUrl">

<button type="button" onclick="createGroups()">グループ作成 (レートリミット10回/10分)</button>
Expand All @@ -72,17 +82,17 @@ <h1>Mass Group Manager</h1>

<p id="status">ステータス: 準備完了</p>

<div id="errorLog">エラーログ:</div>
<div id="status"></div>

<script src="script.js"></script>
<script>
function logError(message) {
const errorLog = document.getElementById('errorLog');
errorLog.textContent += message + '\n';
const errorLog = document.getElementById('status');
errorLog.textContent += message + '\\n';
}

window.onerror = function(message, source, lineno, colno, error) {
logError(`[Error] ${message} at ${source}:${lineno}:${colno}`);
logError(`[Error] ${message} at ${source}:${lineno}:${colno}`);
};
</script>
</body>
Expand Down

0 comments on commit 1c4f2ca

Please sign in to comment.