added Clients Page
This commit is contained in:
90
components/server/ClientTable.vue
Normal file
90
components/server/ClientTable.vue
Normal file
@ -0,0 +1,90 @@
|
||||
<template>
|
||||
<div class="data">
|
||||
<table class="data-table" id="client-table">
|
||||
<tr class="table-row" id="table-head">
|
||||
<th class="ID">ID</th>
|
||||
<th class="Name">Name</th>
|
||||
</tr>
|
||||
<tr class="table-row" id="row-1">
|
||||
<td class="ID">...</td>
|
||||
<td class="Name">...</td>
|
||||
</tr>
|
||||
<tr class="table-row" id="row-2">
|
||||
<td class="ID">...</td>
|
||||
<td class="Name">...</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: "ClientTable",
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
.data {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
align-self: stretch;
|
||||
width: 100%;
|
||||
padding: 20px 30px;
|
||||
gap: 20px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||
background-color: #2c2c2c;
|
||||
}
|
||||
|
||||
.data-table {
|
||||
width: 100%;
|
||||
padding: 0 10px;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.table-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
height: 50px;
|
||||
padding: 10px;
|
||||
gap: 10px;
|
||||
border-top: 1px solid #000000;
|
||||
}
|
||||
#table-head {
|
||||
border-top: none;
|
||||
border-bottom: 1px solid #000000;
|
||||
}
|
||||
|
||||
th, td {
|
||||
height: 30px;
|
||||
padding: 0;
|
||||
color: #ffffff;
|
||||
letter-spacing: 0.7px;
|
||||
font: 400 14px/30px Overpass, sans-serif;
|
||||
}
|
||||
th {
|
||||
font: 700 14px/30px Overpass, sans-serif;
|
||||
}
|
||||
.ID {
|
||||
width: 40%;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
.Name {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user