fix(web): initialize index.html and update styles
This commit is contained in:
parent
b791c60b81
commit
46e67488f1
@ -32,18 +32,20 @@
|
||||
<h1>Welcome to Tanabata!</h1>
|
||||
</header>
|
||||
<main>
|
||||
<form id="auth">
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" id="password" name="password" class="form-control" maxlength="32" placeholder="Password">
|
||||
<div class="invalid-feedback">Invalid password!</div>
|
||||
<div class="valid-feedback">Authorization success!</div>
|
||||
</div>
|
||||
<div class="form-group button-flex">
|
||||
<input type="submit" id="submit" class="btn btn-primary" value="Submit">
|
||||
<a href="/" class="btn btn-secondary">Back to home</a>
|
||||
</div>
|
||||
</form>
|
||||
<div class="contents-wrapper">
|
||||
<form id="auth">
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" id="password" name="password" class="form-control" maxlength="32" placeholder="Password">
|
||||
<div class="invalid-feedback">Invalid password!</div>
|
||||
<div class="valid-feedback">Authorization success!</div>
|
||||
</div>
|
||||
<div class="form-group button-flex">
|
||||
<input type="submit" id="submit" class="btn btn-primary" value="Submit">
|
||||
<a href="/" class="btn btn-secondary">Back to home</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</main>
|
||||
<script src="js/auth.js"></script>
|
||||
</body>
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
form {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 2vw 2vw;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.button-flex {
|
||||
|
||||
@ -54,6 +54,16 @@ main:hover {
|
||||
box-shadow: 0 0 1vw black;
|
||||
}
|
||||
|
||||
.contents-wrapper {
|
||||
margin: 0;
|
||||
padding: 2vw 2vw;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-content: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
padding: 14px 0;
|
||||
|
||||
@ -29,5 +29,11 @@
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to Tanabata!</h1>
|
||||
<main>
|
||||
<h2>Select Tanabata service</h2>
|
||||
<div class="contents-wrapper">
|
||||
<a href="/tfm" class="btn btn-primary">TFM</a>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user