96 lines
2.6 KiB
Plaintext
96 lines
2.6 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="ja">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta property="og:title" content="言葉 Wordle list generator">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:url" content="https://kotoba.polv.cc">
|
|
<meta property="og:description" content="Customizable Japanese vocabulary list generator">
|
|
<title>言葉 Wordle list generator</title>
|
|
|
|
<style>
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#app {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
form .field {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
form .field>label {
|
|
display: inline-block;
|
|
width: 200px;
|
|
}
|
|
|
|
form .checkbox {
|
|
display: inline-block;
|
|
}
|
|
|
|
form .checkbox>label {
|
|
min-width: 150px;
|
|
margin-left: 0.5em;
|
|
margin-right: 0.5em;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
<form action="/generate" method="get">
|
|
<div class="field">
|
|
<label for="length">Word Length</label>
|
|
<input name="length" id="length" type="number" value="4" />
|
|
</div>
|
|
<div class="field">
|
|
<label for="tag">Tags</label>
|
|
<input name="tag" id="tag" type="search" value="common" />
|
|
</div>
|
|
<div class="field">
|
|
<label for="within">Included characters</label>
|
|
<input type="text" name="within" id="within" lang="ja-JP" />
|
|
</div>
|
|
<div class="field">
|
|
<label for="exclude">Excluded characters</label>
|
|
<input type="text" name="exclude" id="exclude" lang="ja-JP" />
|
|
</div>
|
|
<div class="field">
|
|
<label for="pattern">Pattern</label>
|
|
<input type="text" name="pattern" id="pattern" lang="ja-JP" placeholder="Use ? for unknown characters" />
|
|
</div>
|
|
<div class="field">
|
|
<label>Options</label>
|
|
<div class="checkbox">
|
|
<input type="checkbox" name="repeat" id="repeat">
|
|
<label for="repeat">Allow repeats</label>
|
|
</div>
|
|
<div class="checkbox">
|
|
<input type="checkbox" name="small" id="small">
|
|
<label for="small">Normalize small Kana</label>
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label for="format">Format</label>
|
|
<select name="format" id="format">
|
|
<option value="txt">Text</option>
|
|
<option value="json">JSON</option>
|
|
</select>
|
|
</div>
|
|
<button type="submit">Generate</button>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |