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,24 +5,23 @@
<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">
<link rel="stylesheet" href="css/form.css">
<script src="scripts/config.js" type="module"></script>
</head>
<body>
<header>
<h1>tronnet</h1>
<hr>
<nav id="nav">
<a href="index.html" aria-current="true">Instances</a>
<a href="account.html">Account</a>
<a href="login.html">Logout</a>
<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="index.html" aria-current="true">Instances</a>
<a class="w3-bar-item w3-button" href="account.html">Account</a>
<a class="w3-bar-item w3-button" href="login.html">Logout</a>
</nav>
</header>
<main>
<main class="w3-container">
<h2 id="name"><a href="index.html">Instances</a> / %{vmname}</h2><hr>
<form style="margin-left: auto; margin-right: auto;">
<form>
<fieldset>
<legend>Resources</legend>
<div class="input-grid" id="resources" style="grid-template-columns: repeat(3, auto) 1fr;"></div>
@@ -30,19 +29,15 @@
<fieldset>
<legend>Disks</legend>
<div class="input-grid" id="disks" style="grid-template-columns: auto auto auto 1fr;"></div>
<hr>
<div class="btn-group">
<div class="w3-container w3-center">
<img id="disk-add" src="images/actions/disk/add-disk.svg" class="clickable" alt="Add New Disk" title="Add New Disk">
<img id="cd-add" src="images/actions/disk/add-cd.svg" class="clickable none" alt="Add New CDROM" title="Add New CDROM">
</div>
</fieldset>
<fieldset class="fieldset-no-border">
<div class="btn-group" id="form-actions">
<button id="exit" type="button">EXIT</button>
</div>
</fieldset>
<div class="w3-container w3-center" id="form-actions">
<button class="w3-button w3-margin" id="exit" type="button">EXIT</button>
</div>
</form>
</main>
<footer><p>&copy; tronnet</p></footer>
</body>
</html>