use w3.css for primary styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
2023-04-11 21:38:51 +00:00
parent 729f8c0faa
commit de36f2261a
12 changed files with 156 additions and 434 deletions

View File

@@ -5,41 +5,37 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tronnet - client</title>
<link rel="icon" href="images/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="css/form.css" type="text/css">
<link rel="stylesheet" href="css/button.css" type="text/css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="css/style.css">
<script src="scripts/login.js" type="module"></script>
</head>
<body>
<body class="w3-display-container" style="min-height: 100vh;">
<header>
<h1>tronnet</h1>
<hr>
<nav id="nav">
<a href="login.html">Login</a>
</nav>
<header class="w3-black w3-bar">
<nav class="w3-large w3-bar" id="nav">
<h1 class="w3-bar-item" style="font-size: 18px; margin: 0px; background-color: #0f0; color: #000;">tronnet</h1>
<a class="w3-bar-item w3-button" href="login.html" aria-current="true">Login</a>
</nav>
</header>
</header>
<main>
<h2>Login</h2><hr>
<form style="margin-left: auto; margin-right: auto;">
<fieldset>
<legend>Proxmox VE Login</legend>
<div class="input-grid" style="grid-template-columns: repeat(2, auto);">
<label for="username">Username</label>
<input type="text" id="username" name="username">
<label for="password">Password</label>
<input type="password" id="password" name="password">
<label for="realm">Realm</label>
<select id="realm" name="realm"></select>
<main class="w3-container w3-display-middle">
<div class="w3-card-4 w3-margin">
<h2 class="w3-center">Proxmox VE Login</h2>
<form class="w3-container">
<label class="" for="username"><b>Username</b></label>
<input class="w3-input w3-border" id="username" name="username" type="text">
<label class="" for="password"><b>Password</b></label>
<input class="w3-input w3-border" id="password" name="password" type="password">
<label class="" for="realm">Realm</label>
<select class="w3-select w3-border" id="realm" name="realm"></select>
<div class="w3-center">
<button class="w3-button w3-margin" id="submit">LOGIN</button>
</div>
</fieldset>
<fieldset class="fieldset-no-border">
<div class="btn-group">
<button id="submit">LOGIN</button>
</div>
</fieldset>
</form>
<p id="status" style="text-align: center;"></p>
</form>
</div>
<div class="w3-container w3-center w3-margin">
<output id="status"></output>
</div>
</main>
<footer><p>&copy; tronnet</p></footer>
</body>
</html>