some styling

This commit is contained in:
2024-04-30 11:06:49 +02:00
parent 8bb931b886
commit 5c3d9ddc1c
2 changed files with 87 additions and 54 deletions

View File

@@ -4,6 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>services</title> <title>services</title>
<link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="text/css" href="style.css">
<script src="services.js"></script>
</head> </head>
<body> <body>
<h1>Services</h1> <h1>Services</h1>
@@ -19,45 +20,48 @@
<th colspan="2">Actions</th> <th colspan="2">Actions</th>
</tr> </tr>
</thead> </thead>
<tbody id="resultarea">
</tbody>
</table> </table>
<h2 id="add">Add a new line</h2> <h2 id="add">Add a new line</h2>
<table class="inputs"> <table class="inputs">
<tr> <tr>
<th>ID</th> <td>ID</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_id"></td>
</tr> </tr>
<tr> <tr>
<th>Maintainer</th> <td>Maintainer</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_maintainer_id"></td>
</tr> </tr>
<tr> <tr>
<th>Name</th> <td>Name</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_name"></td>
</tr> </tr>
<tr> <tr>
<th>Version</th> <td>Version</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_version"></td>
</tr> </tr>
<tr> <tr>
<th>Account</th> <td>Account</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_account"></td>
</tr> </tr>
<tr> <tr>
<th>Notes</th> <td>Notes</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_notes"></td>
</tr> </tr>
<tr> <tr>
<th>Service domain</th> <td>Service domain</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_domain"></td>
</tr> </tr>
<tr> <tr>
<th>IP</th> <td>IP</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_ip"></td>
</tr> </tr>
<tr> <tr>
<th>Port</th> <td>Port</td>
<th><input type="text"></th> <td class="inputcell"><input type="text" id="in_port"></td>
</tr> </tr>
</table> </table>
<div id="addresult"></div>
</body> </body>
</html> </html>

View File

@@ -1,7 +1,6 @@
body{ body{
background-image: url("img/backround.jpg"); background-image: url("img/backround.jpg");
background-position: right top; background-position: right top;
background-opacity: 0.8;
background-size: cover; background-size: cover;
} }
h1{ h1{
@@ -49,20 +48,50 @@ a.bookmark{
} }
table.inputs{ table.inputs{
text-align: left; width: 50%;
margin: 250px; text-align: right;
margin: 50px;
margin-left: auto;
margin-right: auto;
} }
table table
{ {
width: 100%; width: 80%;
font-size: 20px; font-size: 20px;
color: white; color: white;
margin-left: auto;
margin-right: auto;
}
table th, table td
{
border: 1px solid white;
padding: 10px;
}
.inputcell
{
padding: 0;
margin: 0;
}
.inputcell input
{
color: white;
}
table td input
{
width: 100%;
height: 100%;
height: 30px;
box-sizing: border-box;
} }
.list table, .list th, .list td .list table, .list th, .list td
{ {
border: 1px solid white: border: 1px solid white;
} }
.list table .list table
@@ -77,7 +106,7 @@ table
.list button table button
{ {
width: 100%; width: 100%;
height: 30px; height: 30px;