6 Commits

22 changed files with 2501 additions and 651 deletions

View File

@ -1,14 +1,18 @@
<template> <template>
<section class="client-search"> <section :class="['client-search', darkMode ? 'section-darkmode' : 'section-lightmode']">
<div class="label">Client</div> <div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Client</div>
<pre class="data">...</pre> <pre :class="['data', darkMode ? 'pre-darkmode' : 'pre-lightmode']">...</pre>
</section> </section>
</template> </template>
<script> <script>
export default { export default {
name: "ClientSearch", name: "ClientSearch",
data() {
return {
darkMode: true,
};
},
}; };
</script> </script>
@ -20,11 +24,18 @@ export default {
gap: 1.25em; gap: 1.25em;
width: 30.125em; width: 30.125em;
height: 3.125em; height: 3.125em;
background: #2C2C2C;
box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.25); box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.25);
border-radius: 0.625em; border-radius: 0.625em;
} }
.section-darkmode {
background-color: #2c2c2c;
}
.section-lightmode {
background-color: #fff;
}
.label { .label {
width: 2.5625em; width: 2.5625em;
height: 1.875em; height: 1.875em;
@ -34,38 +45,34 @@ export default {
font-size: 0.875em; font-size: 0.875em;
line-height: 1.875; line-height: 1.875;
letter-spacing: 0.05em; letter-spacing: 0.05em;
}
.label-darkmode {
color: #FFFFFF; color: #FFFFFF;
} }
.label-lightmode {
/* flex: 0; color: #000;
height: 1.875em; */ }
/* min-width: 1.875em;
width: fit-content;
overflow: hidden; */
.data { .data {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: flex-start; align-items: flex-start;
padding: 0 0.625rem; padding: 0 0.625rem;
border-radius: 0.3125rem; border-radius: 0.3125rem;
box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset; box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
background-color: #212121; letter-spacing: 5%;
color: #fff; font: 400 0.75rem/250% Overpass, sans-serif;
letter-spacing: 5%; }
font: 400 0.75rem/250% Overpass, sans-serif;
/* gap: 0.625em; .pre-darkmode {
flex: 0; */ background-color: #212121;
} color: #fff;
}
.input input { .pre-lightmode {
flex: 1; background-color: #EBEBEB;
width: 100%; color: #000;
height: 100%;
border: none;
background: transparent;
color: #FFFFFF;
} }
</style> </style>

View File

@ -1,11 +1,14 @@
<template> <template>
<section class="dashboard"> <section :class="['dashboard', darkMode ? 'section-darkmode' : 'section-lightmode']">
<h2 class="heading">My tasks</h2> <h2 :class="['heading', darkMode ? 'heading-darkmode' : 'heading-lightmode']">My tasks</h2>
<div class="shortcuts"> <div class="shortcuts">
<input type="button" id="maintenance-visits" value="My Maintenance Visits"> <input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="maintenance-visits"
<input type="button" id="production-orders" value="My Production Orders"> value="My Maintenance Visits">
<input type="button" id="solutions" value="My Solutions"> <input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="production-orders"
<input type="button" id="issue-slips" value="My Issue Slips"> value="My Production Orders">
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="solutions" value="My Solutions">
<input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="issue-slips"
value="My Issue Slips">
</div> </div>
</section> </section>
</template> </template>
@ -16,7 +19,11 @@
export default { export default {
name: "Dashboard", name: "Dashboard",
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
@ -25,54 +32,71 @@ export default {
<style scoped> <style scoped>
.dashboard {
.dashboard { display: flex;
display: flex; flex-direction: column;
flex-direction: column; align-items: flex-start;
align-items: flex-start; justify-content: center;
justify-content: center; align-self: stretch;
align-self: stretch; width: 100%;
width: 100%; padding: 1.875rem 3.125rem 3.125rem;
padding: 1.875rem 3.125rem 3.125rem; gap: 1.25rem;
gap: 1.25rem; border-radius: 0.625rem;
border-radius: 0.625rem; box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); }
background-color: #2c2c2c;
} .section-darkmode {
background-color: #2c2c2c;
.heading { }
color: #fff;
letter-spacing: 5%; .section-lightmode {
text-decoration-line: underline; background-color: #fff;
font: 400 1rem/2rem Overpass, sans-serif; }
}
.heading {
.shortcuts { letter-spacing: 5%;
display: flex; text-decoration-line: underline;
flex-direction: row; font: 400 1rem/2rem Overpass, sans-serif;
justify-content: space-between; }
align-content: center;
padding: 0.625rem 2.5rem; .heading-darkmode {
gap: 2.5rem; color: #fff;
} }
input { .heading-lightmode {
display: flex; color: #000;
flex-direction: row; }
align-items: center;
justify-content: center; .shortcuts {
width: 15rem; display: flex;
height: 4rem; flex-direction: row;
border-radius: 0.625rem; justify-content: space-between;
padding: 0.9375rem 1.25rem; align-content: center;
border: none; padding: 0.625rem 2.5rem;
color: #fff; gap: 2.5rem;
text-align: center; }
letter-spacing: 5%;
font: 400 0.875rem/2rem Overpass, sans-serif; input {
background-color: #343434; display: flex;
} flex-direction: row;
align-items: center;
justify-content: center;
width: 15rem;
</style> height: 4rem;
border-radius: 0.625rem;
padding: 0.9375rem 1.25rem;
border: none;
text-align: center;
letter-spacing: 5%;
font: 400 0.875rem/2rem Overpass, sans-serif;
}
.input-darkmode {
color: #fff;
background-color: #343434;
}
.input-lightmode {
color: #000;
background-color: #E4E4E4;
}</style>

View File

@ -1,8 +1,8 @@
<template> <template>
<section class="quick-access"> <section :class="['quick-access', darkMode ? 'section-darkmode' : 'section-lightmode']">
<h2 class="heading">Quick Access</h2> <h2 :class="['heading', darkMode ? 'h2-darkmode' : 'h2-lightmode']">Quick Access</h2>
<div class="shortcuts"> <div class="shortcuts">
<input type="button" id="pins" value="Pins"> <input :class="[darkMode ? 'input-darkmode' : 'input-lightmode']" type="button" id="pins" value="Pins">
<!--<input type="button" id="maintenance-visits" value="My Maintenance Visits"> <!--<input type="button" id="maintenance-visits" value="My Maintenance Visits">
<input type="button" id="production-orders" value="My Production Orders"> <input type="button" id="production-orders" value="My Production Orders">
<input type="button" id="solutions" value="My Solutions"> <input type="button" id="solutions" value="My Solutions">
@ -16,7 +16,11 @@
export default { export default {
name: "QuickAccess", name: "QuickAccess",
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
@ -25,60 +29,80 @@ export default {
<style scoped> <style scoped>
.quick-access {
.quick-access { display: flex;
display: flex; flex-direction: column;
flex-direction: column; align-items: flex-start;
align-items: flex-start; justify-content: center;
justify-content: center; align-self: stretch;
align-self: stretch; width: 100%;
width: 100%; padding: 1.875rem 3.125rem 3.125rem;
padding: 1.875rem 3.125rem 3.125rem; gap: 1.25rem;
gap: 1.25rem; border-radius: 0.625rem;
border-radius: 0.625rem; box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); }
background-color: #2c2c2c;
} .section-darkmode {
background-color: #2c2c2c;
.heading { }
color: #fff;
letter-spacing: 5%; .section-lightmode {
text-decoration-line: underline; background-color: #fff;
font: 400 1rem/2rem Overpass, sans-serif; }
}
.heading {
.shortcuts { color: #fff;
display: flex; letter-spacing: 5%;
flex-direction: row; text-decoration-line: underline;
justify-content: space-between; font: 400 1rem/2rem Overpass, sans-serif;
align-content: center; }
padding: 0.625rem 2.5rem;
gap: 2.5rem; .h2-darkmode {
} color: #fff;
}
input {
display: flex; .h2-lightmode {
flex-direction: row; color: #000;
align-items: center; }
justify-content: center;
width: 15rem; .shortcuts {
height: 4rem; display: flex;
border-radius: 0.625rem; flex-direction: row;
padding: 0.9375rem 1.25rem; justify-content: space-between;
border: none; align-content: center;
color: #fff; padding: 0.625rem 2.5rem;
text-align: center; gap: 2.5rem;
letter-spacing: 5%; }
font: 400 0.875rem/2rem Overpass, sans-serif;
background-color: #343434; input {
} display: flex;
input#pins { flex-direction: row;
border: 0.0625rem dashed #454545; align-items: center;
color: #8e8e8e; justify-content: center;
font: 400 0.875rem/2rem Overpass, sans-serif; width: 15rem;
background-color: #34343400; height: 4rem;
} border-radius: 0.625rem;
padding: 0.9375rem 1.25rem;
border: none;
text-align: center;
letter-spacing: 5%;
font: 400 0.875rem/2rem Overpass, sans-serif;
}
.input-darkmode {
color: #fff;
background-color: #343434;
}
.input-lightmode {
color: #000;
background-color: #E4E4E4;
}
input#pins {
border: 0.0625rem dashed #454545;
color: #8e8e8e;
font: 400 0.875rem/2rem Overpass, sans-serif;
background-color: #34343400;
}
</style> </style>

250
components/server/Asset.vue Normal file
View File

@ -0,0 +1,250 @@
<template>
<section :class="['information', darkMode ? 'section-darkmode' : 'section-lightmode']">
<h2 :class="['asset-name', darkMode ? 'h2-darkmode' : 'h2-lightmode']">Asset name</h2>
<div class="asset-data">
<div class="client-location">
<div class="data-field" id="client">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Client:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="location">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Location:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
<div class="info">
<div class="id-type">
<div class="data-field" id="id">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">ID:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="type">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Type:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
<div class="data-field" id="remote-location">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Remote location:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
<div class="rectangle-container">
<div :class="['rectangle', darkMode ? 'rectangle-darkmode' : 'rectangle-lightmode']"></div>
</div>
</div>
<div class="asset-data">
<div class="additional">
<div class="description">
<h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Description:</h3>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="description">...</pre>
</div>
</div>
<div class="additional">
<div class="notes">
<h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Notes:</h3>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="notes">...</pre>
</div>
</div>
</div>
</section>
</template>
<script>
export default {
name: "Asset",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.information {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
padding: 1.25rem 1.875rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.section-darkmode {
background-color: #2c2c2c;
}
.section-lightmode {
background-color: #fff;
}
.asset-name {
align-self: stretch;
padding: 1rem 0;
letter-spacing: 5%;
text-decoration-line: underline;
font: italic 400 1rem/187.5% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
}
.h2-darkmode {
color: #fff;
}
.h2-lightmode {
color: #000;
}
.data-field {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
width: 100%;
padding: 0 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
}
.data-field#street-name {
width: 70%;
}
.data-field#street-no {
width: 30%;
}
.label {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.pre-darkmode {
color: #fff;
}
.pre-lightmode {
color: #000;
}
.data {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 0 0.625rem;
border-radius: 0.3125rem;
box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
letter-spacing: 5%;
font: 400 0.75rem/250% Overpass, sans-serif;
}
.data-darkmode {
background-color: #212121;
color: #fff;
}
.data-lightmode {
background-color: #EBEBEB;
color: #000;
}
.data#notes,
.data#description {
align-self: stretch;
}
.asset-data {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
align-self: stretch;
}
.client-location,
.info {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 50%;
padding: 0 0;
border-radius: 0.3125rem;
}
.additional {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 50%;
padding: 0rem 0.625rem;
border-radius: 0.3125rem;
}
.area-title {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.h3-darkmode {
color: #fff;
}
.h3-lightmode {
color: #000;
}
.id-type {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
align-self: stretch;
padding: 0 1.875rem 0 0;
gap: 0.625rem;
}
.notes,
.description {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
padding: 0.625rem 1.875rem 0.625rem 1.25rem;
}
.rectangle-container {
display: flex;
padding-top: 1rem;
}
.rectangle {
width: 6.25em;
height: 6.25em;
flex: none;
order: 0;
flex-grow: 0;
}
.rectangle-darkmode {
background-color: #212121;
}
.rectangle-lightmode {
background-color: #EBEBEB;
}
</style>

View File

@ -1,20 +1,20 @@
<template> <template>
<div class="data"> <div :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div class="label">Last viewed:</div> <div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Last viewed:</div>
<table class="data-table" id="asset-table"> <table class="data-table" id="asset-table">
<tr class="table-row" id="table-head"> <tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
<th class="Client">Client</th> <th :class="['Client', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Client-darkmode' : 'Client-lightmode']">Client</th>
<th class="Name">Name</th> <th :class="['Name', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">Name</th>
<th class="Type">Type</th> <th :class="['Type', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">Type</th>
<th class="State">State</th> <th :class="['State', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'State-darkmode' : 'State-lightmode']">State</th>
<th class="User">User</th> <th :class="['User', darkMode ? 'th-darkmode' : 'th-lightmode']">User</th>
</tr> </tr>
<tr class="table-row" id="row-1"> <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
<td class="Client">...</td> <td :class="['Client', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Client-darkmode' : 'Client-lightmode']">...</td>
<td class="Name">...</td> <td :class="['Name', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">...</td>
<td class="Type">...</td> <td :class="['Type', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">...</td>
<td class="State">...</td> <td :class="['State', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'State-darkmode' : 'State-lightmode']">...</td>
<td class="User">...</td> <td :class="['User', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -26,7 +26,11 @@
export default { export default {
name: "AssetTable", name: "AssetTable",
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
@ -46,9 +50,16 @@ export default {
gap: 1.25rem; gap: 1.25rem;
border-radius: 0.625rem; border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.div-darkmode {
background-color: #2c2c2c; background-color: #2c2c2c;
} }
.div-lightmode {
background-color: #fff;
}
.data-table { .data-table {
width: 100%; width: 100%;
padding: 0 0.625rem; padding: 0 0.625rem;
@ -63,12 +74,24 @@ export default {
height: 3.125rem; height: 3.125rem;
padding: 0.625rem; padding: 0.625rem;
gap: 0.625rem; gap: 0.625rem;
}
.tr-head-darkmode {
border-top: none;
border-bottom: 0.0625rem solid #000000;
}
.tr-head-lightmode {
border-top: none;
border-bottom: 0.0625rem solid #8e8e8e;
}
.tr-darkmode {
border-top: 0.0625rem solid #000000; border-top: 0.0625rem solid #000000;
} }
#table-head { .tr-lightmode {
border-top: none; border-top: 0.0625rem solid #8e8e8e;
border-bottom: 0.0625rem solid #000000;
} }
th, th,
@ -76,48 +99,92 @@ td {
height: 1.875rem; height: 1.875rem;
text-align: left; text-align: left;
padding: 0; padding: 0;
color: #ffffff;
letter-spacing: 5%; letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif; font: 400 0.875rem/1.875rem Overpass, sans-serif;
} }
.th-darkmode,
.td-darkmode {
color: #ffffff;
}
.th-lightmode,
.td-lightmode {
color: #000;
}
th { th {
font: 700 0.875rem/1.875rem Overpass, sans-serif; font: 700 0.875rem/1.875rem Overpass, sans-serif;
} }
.Client { .Client {
width: 33.3%; width: 33.3%;
}
.Client-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Client-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Name { .Name {
width: 33.3%; width: 33.3%;
}
.Name-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Name-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Type { .Type {
width: 12.7%; width: 12.7%;
}
.Type-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Type-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.State { .State {
width: 12.7%; width: 12.7%;
}
.State-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.State-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.User { .User {
width: 8%; width: 8%;
} }
.label { .label {
width: 6.0625em; width: 6.0625em;
height: 1.875em; height: 1.875em;
font-family: 'Overpass'; font-family: 'Overpass';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 1em; font-size: 1em;
line-height: 1.875em; line-height: 1.875em;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: #FFFFFF; }
.label-darkmode {
color: #FFFFFF;
}
.label-lightmode {
color: #000;
} }
</style> </style>

View File

@ -0,0 +1,178 @@
<template>
<div :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Assets:</div>
<table class="data-table" id="asset-table-no-client">
<tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
<th :class="['Name', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">Name</th>
<th :class="['Type', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">Type</th>
<th :class="['State', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'State-darkmode' : 'State-lightmode']">State</th>
<th :class="['User', darkMode ? 'th-darkmode' : 'th-lightmode']">User</th>
</tr>
<tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
<td :class="['Name', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">...</td>
<td :class="['Type', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">...</td>
<td :class="['State', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'State-darkmode' : 'State-lightmode']">...</td>
<td :class="['User', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
</tr>
</table>
</div>
</template>
<script>
export default {
name: "AssetTableNoClient",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.data {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
width: 100%;
padding: 1.25rem 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.div-darkmode {
background-color: #2c2c2c;
}
.div-lightmode {
background-color: #fff;
}
.data-table {
width: 100%;
padding: 0 0.625rem;
table-layout: fixed;
border-collapse: collapse;
}
.table-row {
display: flex;
flex-direction: row;
align-items: center;
height: 3.125rem;
padding: 0.625rem;
gap: 0.625rem;
}
.tr-head-darkmode {
border-top: none;
border-bottom: 0.0625rem solid #000000;
}
.tr-head-lightmode {
border-top: none;
border-bottom: 0.0625rem solid #8e8e8e;
}
.tr-darkmode {
border-top: 0.0625rem solid #000000;
}
.tr-lightmode {
border-top: 0.0625rem solid #8e8e8e;
}
th,
td {
height: 1.875rem;
text-align: left;
padding: 0;
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.th-darkmode,
.td-darkmode {
color: #ffffff;
}
.th-lightmode,
.td-lightmode {
color: #000;
}
th {
font: 700 0.875rem/1.875rem Overpass, sans-serif;
}
.Name {
width: 50%;
}
.Name-darkmode {
border-right: 0.0625rem solid #000000;
}
.Name-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Type {
width: 20%;
}
.Type-darkmode {
border-right: 0.0625rem solid #000000;
}
.Type-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.State {
width: 20%;
}
.State-darkmode {
border-right: 0.0625rem solid #000000;
}
.State-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.User {
width: 10%;
}
.label {
width: 6.0625em;
height: 1.875em;
font-family: 'Overpass';
font-style: normal;
font-weight: 400;
font-size: 1em;
line-height: 1.875em;
letter-spacing: 0.05em;
}
.label-darkmode {
color: #FFFFFF;
}
.label-lightmode {
color: #000;
}
</style>

View File

@ -0,0 +1,186 @@
<template>
<section :class="['hardware-information', darkMode ? 'section-darkmode' : 'section-lightmode']">
<div :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']" id="hardware">Hardware specifications:</div>
<div class="asset-data">
<div class="model-CPU">
<div class="data-field" id="model">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">Model:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="CPU">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">CPU:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
<div class="serial-number-RAM">
<div class="data-field" id="serial-number">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">Serial number:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="RAM">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">RAM:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
</div>
<div class="asset-data">
<div class="additional">
<div class="storage-configuration">
<h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Storage configuration:</h3>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="storage-configuration">...</pre>
</div>
</div>
<div class="additional">
<div class="miscellaneous">
<h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Miscellaneous:</h3>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="miscellaneous">...</pre>
</div>
</div>
</div>
</section>
</template>
<script>
export default {
name: "HardwareSpecifications",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.hardware-information {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
padding: 1.25rem 1.875rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.section-darkmode {
background-color: #2c2c2c;
}
.section-lightmode {
background-color: #fff;
}
.data-field {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
width: 100%;
padding: 0 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
}
.label {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.div-darkmode,
.h3-darkmode {
color: #fff;
}
.div-lightmode,
.h3-lightmode {
color: #000;
}
.label#hardware {
padding-top: 1rem;
padding-bottom: 1rem;
}
.data {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 0 0.625rem;
border-radius: 0.3125rem;
box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
letter-spacing: 5%;
font: 400 0.75rem/250% Overpass, sans-serif;
}
.data-darkmode {
background-color: #212121;
color: #fff;
}
.data-lightmode {
background-color: #EBEBEB;
color: #000;
}
.data#miscellaneous,
.data#storage-configuration {
align-self: stretch;
}
.asset-data {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
align-self: stretch;
}
.model-CPU,
.serial-number-RAM {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 50%;
padding: 0 0;
border-radius: 0.3125rem;
}
.additional {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 50%;
padding: 0rem 0.625rem;
border-radius: 0.3125rem;
}
.area-title {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.storage-configuration,
.miscellaneous {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
padding: 0.625rem 1.875rem 0.625rem 1.25rem;
}
</style>

View File

@ -0,0 +1,136 @@
<template>
<section :class="['network-information', darkMode ? 'section-darkmode' : 'section-lightmode']">
<div :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']" id="network">Network specifications:</div>
<div class="asset-data">
<div class="IPv4-MAC">
<div class="data-field" id="IPv4">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">IPv4:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="MAC">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">MAC:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
<div class="IPv6-subnetmask">
<div class="data-field" id="IPv6">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">IPv6:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="subnetmask">
<pre :class="['label', darkMode ? 'div-darkmode' : 'div-lightmode']">Subnetmask:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
</div>
</section>
</template>
<script>
export default {
name: "NetworkSpecifications",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.network-information {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
padding: 1.25rem 1.875rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.section-darkmode {
background-color: #2c2c2c;
}
.section-lightmode {
background-color: #fff;
}
.data-field {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
width: 100%;
padding: 0 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
}
.label {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.div-darkmode {
color: #fff;
}
.div-lightmode {
color: #000;
}
.label#network {
padding-top: 1rem;
padding-bottom: 1rem;
}
.data {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 0 0.625rem;
border-radius: 0.3125rem;
box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
letter-spacing: 5%;
font: 400 0.75rem/250% Overpass, sans-serif;
}
.data-darkmode {
background-color: #212121;
color: #fff;
}
.data-lightmode {
background-color: #EBEBEB;
color: #000;
}
.asset-data {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
align-self: stretch;
}
.IPv4-MAC,
.IPv6-subnetmask {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 50%;
padding: 0 0;
border-radius: 0.3125rem;
}
</style>

View File

@ -0,0 +1,173 @@
<template>
<section :class="['software-information', darkMode ? 'section-darkmode' : 'section-lightmode']">
<div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']" id="software">Software specifications:
<div class="asset-data">
<table class="data-table" id="asset-table-no-client">
<tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
<th :class="['Software', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Software-darkmode' : 'Software-lightmode']">Software</th>
<th :class="['Version', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Version-darkmode' : 'Version-lightmode']">Version</th>
<th :class="['License', darkMode ? 'th-darkmode' : 'th-lightmode']">License</th>
</tr>
<tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
<td :class="['Software', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Software-darkmode' : 'Software-lightmode']">...</td>
<td :class="['Version', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Version-darkmode' : 'Version-lightmode']">...</td>
<td :class="['License', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
</tr>
</table>
</div>
</div>
</section>
</template>
<script>
export default {
name: "SoftwareSpecifications",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.software-information {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
padding: 1.25rem 1.875rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.section-darkmode {
background-color: #2c2c2c;
}
.section-lightmode {
background-color: #fff;
}
.label {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.label-darkmode {
color: #FFFFFF;
}
.label-lightmode {
color: #000;
}
.label#software {
padding-top: 1rem;
padding-bottom: 1rem;
}
.asset-data {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
align-self: stretch;
padding-left: 0.625rem;
padding-top: 1rem;
}
.data-table {
width: 100%;
padding: 0 0.625rem;
table-layout: fixed;
border-collapse: collapse;
}
.table-row {
display: flex;
flex-direction: row;
align-items: center;
height: 3.125rem;
padding: 0.625rem;
gap: 0.625rem;
}
.tr-head-darkmode {
border-top: none;
border-bottom: 0.0625rem solid #000000;
}
.tr-head-lightmode {
border-top: none;
border-bottom: 0.0625rem solid #8e8e8e;
}
.tr-darkmode {
border-top: 0.0625rem solid #000000;
}
.tr-lightmode {
border-top: 0.0625rem solid #8e8e8e;
}
th,
td {
height: 1.875rem;
text-align: left;
padding: 0;
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.th-darkmode,
.td-darkmode {
color: #ffffff;
}
.th-lightmode,
.td-lightmode {
color: #000;
}
th {
font: 700 0.875rem/1.875rem Overpass, sans-serif;
}
.Software {
width: 50%;
}
.Software-darkmode {
border-right: 0.0625rem solid #000000;
}
.Software-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Version {
width: 25%;
}
.Version-darkmode {
border-right: 0.0625rem solid #000000;
}
.Version-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.License {
width: 25%;
}
</style>

View File

@ -0,0 +1,239 @@
<template>
<section :class="['information', darkMode ? 'section-darkmode' : 'section-lightmode']">
<h2 :class="['solution-name', darkMode ? 'h2-darkmode' : 'h2-lightmode']">Solution name</h2>
<div class="solution-data">
<div class="client-asset">
<div class="data-field" id="client">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Client:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="asset">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Asset:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
<div class="info">
<div class="data-field" id="user">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">User:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="type-state">
<div class="data-field" id="type">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">Type:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
<div class="data-field" id="state">
<pre :class="['label', darkMode ? 'pre-darkmode' : 'pre-lightmode']">State:</pre>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']">...</pre>
</div>
</div>
</div>
</div>
<div class="solution-data">
<div class="additional">
<div class="description">
<h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Description of the problem/intended use:</h3>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="description">...</pre>
</div>
</div>
</div>
<div class="solution-data">
<div class="additional">
<div class="notes">
<h3 :class="['area-title', darkMode ? 'h3-darkmode' : 'h3-lightmode']">Notes:</h3>
<pre :class="['data', darkMode ? 'data-darkmode' : 'data-lightmode']" id="notes">...</pre>
</div>
</div>
</div>
</section>
</template>
<script>
export default {
name: "Solution",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.information {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
padding: 1.25rem 1.875rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.section-darkmode {
background-color: #2c2c2c;
}
.section-lightmode {
background-color: #fff;
}
.solution-name {
align-self: stretch;
padding: 1rem 0;
letter-spacing: 5%;
text-decoration-line: underline;
font: italic 400 1rem/187.5% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
}
.h2-darkmode {
color: #fff;
}
.h2-lightmode {
color: #000;
}
.data-field {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
width: 100%;
padding: 0 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
}
.data-field#street-name {
width: 70%;
}
.data-field#street-no {
width: 30%;
}
.label {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.pre-darkmode {
color: #fff;
}
.pre-lightmode {
color: #000;
}
.data {
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 0 0.625rem;
border-radius: 0.3125rem;
box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
letter-spacing: 5%;
font: 400 0.75rem/250% Overpass, sans-serif;
}
.data-darkmode {
background-color: #212121;
color: #fff;
}
.data-lightmode {
background-color: #EBEBEB;
color: #000;
}
.solution-data {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
align-self: stretch;
}
.client-asset,
.info {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 50%;
padding: 0 0;
border-radius: 0.3125rem;
}
.additional {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
line-height: normal;
width: 100%;
padding: 0rem 0.625rem;
border-radius: 0.3125rem;
}
.area-title {
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
.h3-darkmode {
color: #fff;
}
.h3-lightmode {
color: #000;
}
.type-state {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
align-self: stretch;
padding: 0 1.875rem 0 0;
gap: 0.625rem;
}
.data#notes,
.data#description {
align-self: stretch;
}
.description {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
padding: 0.625rem 1.875rem 0.625rem 1.25rem;
}
.notes {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
padding: 0.625rem 1.875rem 0.625rem 1.25rem;
padding-top: 0rem;
}
</style>

View File

@ -0,0 +1,177 @@
<template>
<div :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Checklist:</div>
<table class="data-table" id="solution-checkklist">
<tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
<th :class="['Step', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Step-darkmode' : 'Step-lightmode']">Step</th>
<th :class="['Asset', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Asset-darkmode' : 'Asset-lightmode']">Asset</th>
<th :class="['Task', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Task-darkmode' : 'Task-lightmode']">Task</th>
<th :class="['Comments', darkMode ? 'th-darkmode' : 'th-lightmode']">Comments</th>
</tr>
<tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
<td :class="['Step', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Step-darkmode' : 'Step-lightmode']">...</td>
<td :class="['Asset', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Asset-darkmode' : 'Asset-lightmode']">...</td>
<td :class="['Task', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Task-darkmode' : 'Task-lightmode']">...</td>
<td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
</tr>
</table>
</div>
</template>
<script>
export default {
name: "SolutionChecklist",
name: "AssetTable",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.data {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
width: 100%;
padding: 1.25rem 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.div-darkmode {
background-color: #2c2c2c;
}
.div-lightmode {
background-color: #fff;
}
.data-table {
width: 100%;
padding: 0 0.625rem;
table-layout: fixed;
border-collapse: collapse;
}
.table-row {
display: flex;
flex-direction: row;
align-items: center;
height: 3.125rem;
padding: 0.625rem;
gap: 0.625rem;
}
.tr-head-darkmode {
border-top: none;
border-bottom: 0.0625rem solid #000000;
}
.tr-head-lightmode {
border-top: none;
border-bottom: 0.0625rem solid #8e8e8e;
}
.tr-darkmode {
border-top: 0.0625rem solid #000000;
}
.tr-lightmode {
border-top: 0.0625rem solid #8e8e8e;
}
th,
td {
height: 1.875rem;
text-align: left;
padding: 0;
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
th {
font: 700 0.875rem/1.875rem Overpass, sans-serif;
}
.th-darkmode,
.td-darkmode {
color: #ffffff;
}
.th-lightmode,
.td-lightmode {
color: #000;
}
.Step {
width: 8%;
}
.Step-darkmode {
border-right: 0.0625rem solid #000000;
}
.Step-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Asset {
width: 22%;
}
.Asset-darkmode {
border-right: 0.0625rem solid #000000;
}
.Asset-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Task {
width: 35%;
}
.Task-darkmode {
border-right: 0.0625rem solid #000000;
}
.Task-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Comments {
width: 35%;
}
.label {
width: 6.0625em;
height: 1.875em;
font-family: 'Overpass';
font-style: normal;
font-weight: 400;
font-size: 1em;
line-height: 1.875em;
letter-spacing: 0.05em;
}
.label-darkmode {
color: #FFFFFF;
}
.label-lightmode {
color: #000;
}
</style>

View File

@ -1,20 +1,20 @@
<template> <template>
<div class="data"> <div :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div class="label">Last viewed:</div> <div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Last viewed:</div>
<table class="data-table" id="solution-table"> <table class="data-table" id="solution-table">
<tr class="table-row" id="table-head"> <tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
<th class="Client">Client</th> <th :class="['Client', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Client-darkmode' : 'Client-lightmode']">Client</th>
<th class="Name">Name</th> <th :class="['Name', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">Name</th>
<th class="Asset">Asset</th> <th :class="['Asset', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Asset-darkmode' : 'Asset-lightmode']">Asset</th>
<th class="Type">Type</th> <th :class="['Type', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">Type</th>
<th class="User">User</th> <th :class="['User', darkMode ? 'th-darkmode' : 'th-lightmode']">User</th>
</tr> </tr>
<tr class="table-row" id="row-1"> <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
<td class="Client">...</td> <td :class="['Client', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Client-darkmode' : 'Client-lightmode']">...</td>
<td class="Name">...</td> <td :class="['Name', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">...</td>
<td class="Asset">...</td> <td :class="['Asset', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Asset-darkmode' : 'Asset-lightmode']">...</td>
<td class="Type">...</td> <td :class="['Type', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">...</td>
<td class="User">...</td> <td :class="['User', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -26,7 +26,11 @@
export default { export default {
name: "SolutionTable", name: "SolutionTable",
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
@ -46,9 +50,16 @@ export default {
gap: 1.25rem; gap: 1.25rem;
border-radius: 0.625rem; border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.div-darkmode {
background-color: #2c2c2c; background-color: #2c2c2c;
} }
.div-lightmode {
background-color: #fff;
}
.data-table { .data-table {
width: 100%; width: 100%;
padding: 0 0.625rem; padding: 0 0.625rem;
@ -63,12 +74,24 @@ export default {
height: 3.125rem; height: 3.125rem;
padding: 0.625rem; padding: 0.625rem;
gap: 0.625rem; gap: 0.625rem;
}
.tr-head-darkmode {
border-top: none;
border-bottom: 0.0625rem solid #000000;
}
.tr-head-lightmode {
border-top: none;
border-bottom: 0.0625rem solid #8e8e8e;
}
.tr-darkmode {
border-top: 0.0625rem solid #000000; border-top: 0.0625rem solid #000000;
} }
#table-head { .tr-lightmode {
border-top: none; border-top: 0.0625rem solid #8e8e8e;
border-bottom: 0.0625rem solid #000000;
} }
th, th,
@ -76,35 +99,72 @@ td {
height: 1.875rem; height: 1.875rem;
text-align: left; text-align: left;
padding: 0; padding: 0;
color: #ffffff;
letter-spacing: 5%; letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif; font: 400 0.875rem/1.875rem Overpass, sans-serif;
} }
.th-darkmode,
.td-darkmode {
color: #ffffff;
}
.th-lightmode,
.td-lightmode {
color: #000;
}
th { th {
font: 700 0.875rem/1.875rem Overpass, sans-serif; font: 700 0.875rem/1.875rem Overpass, sans-serif;
} }
.Client { .Client {
width: 33.3%; width: 33.3%;
}
.Client-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Client-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Name { .Name {
width: 33.3%; width: 33.3%;
}
.Name-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Name-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Asset { .Asset {
width: 12.7%; width: 12.7%;
}
.Asset-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Asset-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Type { .Type {
width: 12.7%; width: 12.7%;
}
.Type-darkmode {
border-right: 0.0625rem solid #000000; border-right: 0.0625rem solid #000000;
} }
.Type-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.User { .User {
width: 8%; width: 8%;
} }
@ -118,6 +178,13 @@ th {
font-size: 1em; font-size: 1em;
line-height: 1.875em; line-height: 1.875em;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: #FFFFFF; }
.label-darkmode {
color: #FFFFFF;
}
.label-lightmode {
color: #000;
} }
</style> </style>

View File

@ -0,0 +1,176 @@
<template>
<div :class="['data', darkMode ? 'div-darkmode' : 'div-lightmode']">
<div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']">Solutions:</div>
<table class="data-table" id="solution-table">
<tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
<th :class="['Name', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">Name</th>
<th :class="['Asset', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Asset-darkmode' : 'Asset-lightmode']">Asset</th>
<th :class="['Type', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">Type</th>
<th :class="['User', darkMode ? 'th-darkmode' : 'th-lightmode']">User</th>
</tr>
<tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
<td :class="['Name', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Name-darkmode' : 'Name-lightmode']">...</td>
<td :class="['Asset', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Asset-darkmode' : 'Asset-lightmode']">...</td>
<td :class="['Type', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Type-darkmode' : 'Type-lightmode']">...</td>
<td :class="['User', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
</tr>
</table>
</div>
</template>
<script>
export default {
name: "SolutionTableNoClient",
data() {
return {
darkMode: true,
};
},
}
</script>
<style scoped>
.data {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
align-self: stretch;
width: 100%;
padding: 1.25rem 1.875rem;
gap: 1.25rem;
border-radius: 0.625rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}
.div-darkmode {
background-color: #2c2c2c;
}
.div-lightmode {
background-color: #fff;
}
.data-table {
width: 100%;
padding: 0 0.625rem;
table-layout: fixed;
border-collapse: collapse;
}
.table-row {
display: flex;
flex-direction: row;
align-items: center;
height: 3.125rem;
padding: 0.625rem;
gap: 0.625rem;
}
.tr-head-darkmode {
border-top: none;
border-bottom: 0.0625rem solid #000000;
}
.tr-head-lightmode {
border-top: none;
border-bottom: 0.0625rem solid #8e8e8e;
}
.tr-darkmode {
border-top: 0.0625rem solid #000000;
}
.tr-lightmode {
border-top: 0.0625rem solid #8e8e8e;
}
th,
td {
height: 1.875rem;
text-align: left;
padding: 0;
letter-spacing: 5%;
font: 400 0.875rem/1.875rem Overpass, sans-serif;
}
th {
font: 700 0.875rem/1.875rem Overpass, sans-serif;
}
.th-darkmode,
.td-darkmode {
color: #ffffff;
}
.th-lightmode,
.td-lightmode {
color: #000;
}
.Name {
width: 45%;
}
.Name-darkmode {
border-right: 0.0625rem solid #000000;
}
.Name-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Asset {
width: 22.5%;
}
.Asset-darkmode {
border-right: 0.0625rem solid #000000;
}
.Asset-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.Type {
width: 22.5%;
}
.Type-darkmode {
border-right: 0.0625rem solid #000000;
}
.Type-lightmode {
border-right: 0.0625rem solid #8e8e8e;
}
.User {
width: 10%;
}
.label {
width: 6.0625em;
height: 1.875em;
font-family: 'Overpass';
font-style: normal;
font-weight: 400;
font-size: 1em;
line-height: 1.875em;
letter-spacing: 0.05em;
}
.label-darkmode {
color: #FFFFFF;
}
.label-lightmode {
color: #000;
}
</style>

View File

@ -1,12 +1,10 @@
<template> <template>
<header> <header :class="[darkMode ? 'header-darkmode' : 'header-lightmode']">
<img id="header-logo" <img id="header-logo" loading="lazy" src="../tüit-logo.svg.png" />
loading="lazy" src="../tüit-logo.svg.png" />
<div class="profile"> <div class="profile">
<div class="username">username</div> <div :class="['username', darkMode ? 'username-darkmode' : 'username-lightmode']">username</div>
<div class="picture"> <div :class="['picture', darkMode ? 'picture-darkmode' : 'picture-lightmode']">
<img id="picture" <img id="picture" loading="lazy" src="" />
loading="lazy" src="" />
</div> </div>
</div> </div>
</header> </header>
@ -17,62 +15,90 @@
export default { export default {
name: "PageHeader", name: "PageHeader",
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* { header {
box-sizing: border-box; display: flex;
} flex-direction: row;
position: sticky;
top: 0;
width: 100%;
height: 4.375rem;
align-self: stretch;
justify-content: space-between;
align-items: center;
padding: 0.625rem 1.25rem;
}
header { .header-darkmode {
display: flex; background-color: #212121;
flex-direction: row; border-bottom: 0.125em solid #000;
position: sticky; }
top: 0;
width: 100%;
height: 4.375rem;
align-self: stretch;
justify-content: space-between;
align-items: center;
padding: 0.625rem 1.25rem;
background-color: #2c2c2c;
}
#header-logo {
object-fit: contain;
object-position: center;
width: 5rem;
height: 2.5rem;
justify-content: center;
align-items: center;
overflow: hidden;
}
.profile { .header-lightmode {
display: flex; background-color: #EBEBEB;
flex-direction: row; border-bottom: 0.125em solid #8e8e8e61;
align-items: flex-end; }
gap: 0.625rem;
padding: 0 0.625rem;
}
.username {
align-self: center;
margin: auto 0;
color: #fff;
text-align: right;
font: 200 0.875rem Overpass, sans-serif;
letter-spacing: 5%;
}
.picture {
display: flex;
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background-color: #fff;
}
#header-logo {
object-fit: contain;
object-position: center;
width: 5rem;
height: 2.5rem;
justify-content: center;
align-items: center;
overflow: hidden;
}
.profile {
display: flex;
flex-direction: row;
align-items: flex-end;
gap: 0.625rem;
padding: 0 0.625rem;
}
.username {
align-self: center;
margin: auto 0;
text-align: right;
font: 200 0.875rem Overpass, sans-serif;
letter-spacing: 5%;
}
.username-darkmode {
color: #fff;
}
.username-lightmode {
color: #000;
}
.picture {
display: flex;
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
}
.picture-darkmode {
background-color: #fff;
}
.picture-lightmode {
background-color: #000;
}
</style> </style>

View File

@ -1,6 +1,6 @@
<template> <template>
<PageHeader /> <PageHeader />
<main> <main :class="[darkMode ? 'main-darkmode' : 'main-lightmode']">
<Navigationbar /> <Navigationbar />
<slot /> <slot />
<Actionbar /> <Actionbar />
@ -14,12 +14,17 @@ import Navigationbar from "./Navigationbar.vue";
import Actionbar from "./Actionbar.vue"; import Actionbar from "./Actionbar.vue";
export default { export default {
name: "Page", name: "Page",
components: { components: {
PageHeader, PageHeader,
Navigationbar, Navigationbar,
Actionbar, Actionbar,
} },
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
@ -27,20 +32,27 @@ export default {
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* { main {
box-sizing: border-box; display: flex;
} flex-direction: row;
width: 100%;
padding: 0.625rem;
gap: 0.625rem;
height: 100vh;
width: 100vw;
height: 100%;
width: 100%;
}
main { .main-darkmode {
display: flex; background-color: #212121;
flex-direction: row; }
width: 100%;
padding: 0.625rem; .main-lightmode {
gap: 0.625rem; background-color: #EBEBEB;
background-color: #212121; }
}
</style> </style>

View File

@ -1,40 +1,52 @@
<template> <template>
<PageHeader /> <PageHeader />
<main> <main :class="[darkMode ? 'main-darkmode' : 'main-lightmode']">
<slot /> <slot />
</main> </main>
</template> </template>
<script> <script>
import PageHeader from "../layouts/PageHeader.vue"; import PageHeader from "../layouts/PageHeader.vue";
export default { export default {
name: "Page", name: "Page",
components: { components: {
PageHeader, PageHeader,
} },
} data() {
return {
</script> darkMode: true,
};
},
}
</script>
<style scoped> <style scoped>
* {
* { box-sizing: border-box;
box-sizing: border-box; }
}
main {
main { display: flex;
display: flex; flex-direction: row;
flex-direction: row; gap: 0.625rem;
gap: 0.625rem; padding: 0.625rem 1.5625rem 0.625rem 0.625rem;
padding: 0.625rem 1.5625rem 0.625rem 0.625rem; height: 100vh;
background-color: #212121; width: 100vw;
} height: 100%;
width: 100%;
}
</style> .main-darkmode {
background-color: #212121;
}
.main-lightmode {
background-color: #EBEBEB;
}
</style>

View File

@ -1,79 +1,106 @@
<template> <template>
<section id="content"> <section id="content">
<div id="content-header"> <div id="content-header">
<h1 id="page-name">Assets</h1> <h1 :class="[darkMode ? 'h1-darkmode' : 'h1-lightmode']" id="page-name">Assets</h1>
</div> </div>
<div id="content-body"> <div id="content-body">
<ClientSearch /> <ClientSearch />
<AssetTable /> <AssetTable />
</div> <AssetTableNoClient />
</section> <Asset />
<HardwareSpecifications />
<SoftwareSpecifications />
<NetworkSpecifications />
</div>
</section>
</template> </template>
<script setup> <script setup>
definePageMeta({ definePageMeta({
layout: 'default' layout: 'default'
}) })
</script> </script>
<script> <script>
import ClientSearch from "../components/ClientSearch.vue"; import ClientSearch from "../components/ClientSearch.vue";
import AssetTable from "../components/server/AssetTable.vue"; import AssetTable from "../components/server/AssetTable.vue";
import AssetTableNoClient from "../components/server/AssetTableNoClient.vue";
import Asset from "../components/server/Asset.vue";
import HardwareSpecifications from "../components/server/HardwareSpecifications.vue";
import SoftwareSpecifications from "../components/server/SoftwareSpecifications.vue";
import NetworkSpecifications from "../components/server/NetworkSpecifications.vue";
export default { export default {
name: "AssetPage", name: "AssetPage",
components: { components: {
ClientSearch, ClientSearch,
AssetTable, AssetTable,
} AssetTableNoClient,
} Asset,
HardwareSpecifications,
SoftwareSpecifications,
NetworkSpecifications,
},
data() {
return {
darkMode: true,
};
},
}
</script> </script>
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
#content {
#content { display: flex;
display: flex; flex-direction: column;
flex-direction: column; float: left;
float: left; justify-content: stretch;
justify-content: stretch; align-items: stretch;
align-items: stretch; width: 100%;
width: 100%; flex-grow: 1;
flex-grow: 1; gap: 0.625rem;
gap: 0.625rem; padding: 0 1.25rem;
padding: 0 1.25rem; }
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
color: #fff;
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
text-decoration: underline;
}
#content-body { #content-header {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
width: 100%; justify-content: center;
gap: 1.25rem; align-items: center;
margin-bottom: 0.625rem; width: 100%;
border-radius: 0.625rem; height: 3.125rem;
} }
#page-name {
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
text-decoration: underline;
}
.h1-darkmode {
color: #fff;
}
.h1-lightmode {
color: #000;
}
#content-body {
display: flex;
flex-direction: column;
width: 100%;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
</style> </style>

View File

@ -1,85 +1,95 @@
<template> <template>
<section id="content"> <section id="content">
<div id="content-header"> <div id="content-header">
<h1 id="page-name">Clients</h1> <h1 :class="[darkMode ? 'h1-darkmode' : 'h1-lightmode']" id="page-name">Clients</h1>
</div> </div>
<div id="content-body"> <div id="content-body">
<Client /> <Client />
<ClientQuickAccess /> <ClientQuickAccess />
</div> </div>
</section> </section>
</template> </template>
<script setup> <script setup>
definePageMeta({ definePageMeta({
layout: 'default' layout: 'default'
}) })
</script> </script>
<script> <script>
import ClientTable from "../components/server/ClientTable.vue"; import ClientTable from "../components/server/ClientTable.vue";
import Client from "../components/server/Client.vue"; import Client from "../components/server/Client.vue";
import ClientQuickAccess from "../components/server/ClientQuickAccess.vue"; import ClientQuickAccess from "../components/server/ClientQuickAccess.vue";
import ClientEmployees from "../components/server/ClientEmployees.vue"; import ClientEmployees from "../components/server/ClientEmployees.vue";
import ClientEmployee from "../components/server/ClientEmployee.vue"; import ClientEmployee from "../components/server/ClientEmployee.vue";
export default { export default {
name: "ClientsPage", name: "ClientsPage",
components: { components: {
ClientTable, ClientTable,
Client, Client,
ClientQuickAccess, ClientQuickAccess,
ClientEmployees, ClientEmployees,
ClientEmployee, ClientEmployee,
} },
} data() {
return {
darkMode: true,
};
},
}
</script> </script>
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
#content {
#content { display: flex;
display: flex; flex-direction: column;
flex-direction: column; float: left;
float: left; justify-content: stretch;
justify-content: stretch; align-items: stretch;
align-items: stretch; width: 100%;
width: 100%; flex-grow: 1;
flex-grow: 1; gap: 0.625rem;
gap: 0.625rem; padding: 0 1.25rem;
padding: 0 1.25rem; }
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
color: #fff;
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
}
#content-body { #content-header {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
width: 100%; justify-content: center;
gap: 1.25rem; align-items: center;
margin-bottom: 0.625rem; width: 100%;
border-radius: 0.625rem; height: 3.125rem;
} }
#page-name {
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
}
.h1-darkmode {
color: #fff;
}
.h1-lightmode {
color: #000;
}
#content-body {
display: flex;
flex-direction: column;
width: 100%;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
</style> </style>

View File

@ -2,7 +2,7 @@
<Navigationbar /> <Navigationbar />
<section id="content"> <section id="content">
<div id="content-header"> <div id="content-header">
<pre id="page-name">Home</pre> <pre :class="[darkMode ? 'pre-darkmode' : 'pre-lightmode']" id="page-name">Home</pre>
</div> </div>
<div id="content-body"> <div id="content-body">
<Dashboard /> <Dashboard />
@ -13,69 +13,79 @@
<script setup> <script setup>
definePageMeta({ definePageMeta({
layout: 'empty' layout: 'empty'
}) })
</script> </script>
<script> <script>
import Navigationbar from "../layouts/Navigationbar.vue"; import Navigationbar from "../layouts/Navigationbar.vue";
import Dashboard from "../components/Dashboard.vue"; import Dashboard from "../components/Dashboard.vue";
import QuickAccess from "../components/QuickAccess.vue"; import QuickAccess from "../components/QuickAccess.vue";
export default { export default {
name: "HomePage", name: "HomePage",
components: { components: {
Navigationbar, Navigationbar,
Dashboard, Dashboard,
QuickAccess, QuickAccess,
} },
} data() {
return {
darkMode: true,
};
},
}
</script> </script>
<style> <style>
* {
box-sizing: border-box;
}
* { #content {
box-sizing: border-box; display: flex;
} flex-direction: column;
float: left;
#content { justify-content: stretch;
display: flex; align-items: stretch;
flex-direction: column; width: 100%;
float: left; flex-grow: 1;
justify-content: stretch; gap: 0.625rem;
align-items: stretch; padding: 0 1.25rem;
width: 100%; }
flex-grow: 1;
gap: 0.625rem;
padding: 0 1.25rem;
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
color: #fff;
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
}
#content-body { #content-header {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
width: 100%; justify-content: center;
gap: 1.25rem; align-items: center;
margin-bottom: 0.625rem; width: 100%;
border-radius: 0.625rem; height: 3.125rem;
} }
#page-name {
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
}
.pre-darkmode {
color: #fff;
}
.pre-lightmode {
color: #000;
}
#content-body {
display: flex;
flex-direction: column;
width: 100%;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
</style> </style>

View File

@ -1,83 +1,102 @@
<template> <template>
<section id="content"> <section id="content">
<div id="content-header"> <div id="content-header">
<h1 id="page-name">Pagename</h1> <h1 :class="[darkMode ? 'h1-darkmode' : 'h1-lightmode']" id="page-name">Pagename</h1>
</div> </div>
<div id="content-body"> <div id="content-body">
<section id="stuff"></section> <section :class="[darkMode ? 'stuff-darkmode' : 'stuff-lightmode']" id="stuff"></section>
</div> </div>
</section> </section>
</template> </template>
<script setup> <script setup>
definePageMeta({ definePageMeta({
layout: 'default' layout: 'default'
}) })
</script> </script>
<script> <script>
export default { export default {
name: "Testpage", name: "Testpage",
components: { components: {
} },
} data() {
return {
darkMode: true,
};
},
}
</script> </script>
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
#content {
#content { display: flex;
display: flex; flex-direction: column;
flex-direction: column; float: left;
float: left; justify-content: stretch;
justify-content: stretch; align-items: stretch;
align-items: stretch; width: 100%;
width: 100%; flex-grow: 1;
flex-grow: 1; gap: 0.625rem;
gap: 0.625rem; padding: 0 1.25rem;
padding: 0 1.25rem; }
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
color: #fff;
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
}
#content-body { .h1-darkmode {
display: flex; color: #fff;
flex-direction: column; }
width: 100%;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
#stuff { .h1-lightmode {
display: flex; color: #000;
flex-direction: column; }
width: 100%;
gap: 1.25rem; #content-header {
padding: 1.25rem 1.875rem; display: flex;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); flex-direction: row;
background-color: #2C2C2C; justify-content: center;
} align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
}
#content-body {
display: flex;
flex-direction: column;
width: 100%;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
#stuff {
display: flex;
flex-direction: column;
width: 100%;
gap: 1.25rem;
padding: 1.25rem 1.875rem;
box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
border-radius: 0.625em;
}
.stuff-darkmode {
background-color: #2C2C2C;
}
.stuff-lightmode {
background-color: #fff;
}
</style> </style>

View File

@ -1,7 +1,7 @@
<template> <template>
<section id="content"> <section id="content">
<div id="content-header"> <div id="content-header">
<pre id="page-name"> </pre> <pre :class="[darkMode ? 'pre-darkmode' : 'pre-lightmode']" id="page-name"> </pre>
</div> </div>
<div id="content-body"> <div id="content-body">
<LoginForm /> <LoginForm />
@ -20,10 +20,15 @@ definePageMeta({
import LoginForm from "../components/LoginForm.vue"; import LoginForm from "../components/LoginForm.vue";
export default { export default {
name: "LoginPage", name: "LoginPage",
components: { components: {
LoginForm, LoginForm,
} },
data() {
return {
darkMode: true,
};
},
} }
</script> </script>
@ -31,50 +36,54 @@ export default {
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
#content {
#content { display: flex;
display: flex; flex-direction: column;
flex-direction: column; float: left;
float: left; justify-content: stretch;
justify-content: stretch; align-items: stretch;
align-items: stretch; width: 100%;
width: 100%; flex-grow: 1;
flex-grow: 1; gap: 0.625rem;
gap: 0.625rem; padding: 0 1.25rem;
padding: 0 1.25rem; }
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
color: #fff;
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
}
#content-body { #content-header {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
align-items: center; justify-content: center;
justify-content: flex-start; align-items: center;
width: fit-content; width: 100%;
height: fit-content; height: 3.125rem;
gap: 1.25rem; }
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
#page-name {
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
}
.pre-darkmode {
color: #fff;
}
.pre-lightmode {
color: #000;
}
#content-body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
width: fit-content;
height: fit-content;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
</style> </style>

View File

@ -1,79 +1,100 @@
<template> <template>
<section id="content"> <section id="content">
<div id="content-header"> <div id="content-header">
<h1 id="page-name">Solutions</h1> <h1 :class="[darkMode ? 'h1-darkmode' : 'h1-lightmode']" id="page-name">Solutions</h1>
</div> </div>
<div id="content-body"> <div id="content-body">
<ClientSearch /> <ClientSearch />
<SolutionTable /> <SolutionTable />
</div> <SolutionTableNoClient />
</section> <Solution />
<SolutionChecklist />
</div>
</section>
</template> </template>
<script setup> <script setup>
definePageMeta({ definePageMeta({
layout: 'default' layout: 'default'
}) })
</script> </script>
<script> <script>
import ClientSearch from "../components/ClientSearch.vue"; import ClientSearch from "../components/ClientSearch.vue";
import SolutionTable from "../components/server/SolutionTable.vue"; import SolutionTable from "../components/server/SolutionTable.vue";
import SolutionTableNoClient from "../components/server/SolutionTableNoClient.vue";
import Solution from "../components/server/Solution.vue";
import SolutionChecklist from "../components/server/SolutionChecklist.vue";
export default { export default {
name: "AssetPage", name: "AssetPage",
components: { components: {
ClientSearch, ClientSearch,
SolutionTable, SolutionTable,
} SolutionTableNoClient,
} Solution,
SolutionChecklist,
},
data() {
return {
darkMode: true,
};
},
}
</script> </script>
<style scoped> <style scoped>
* {
box-sizing: border-box;
}
* {
box-sizing: border-box;
}
#content {
#content { display: flex;
display: flex; flex-direction: column;
flex-direction: column; float: left;
float: left; justify-content: stretch;
justify-content: stretch; align-items: stretch;
align-items: stretch; width: 100%;
width: 100%; flex-grow: 1;
flex-grow: 1; gap: 0.625rem;
gap: 0.625rem; padding: 0 1.25rem;
padding: 0 1.25rem; }
}
#content-header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 3.125rem;
}
#page-name {
color: #fff;
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
text-decoration: underline;
}
#content-body { #content-header {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
width: 100%; justify-content: center;
gap: 1.25rem; align-items: center;
margin-bottom: 0.625rem; width: 100%;
border-radius: 0.625rem; height: 3.125rem;
} }
#page-name {
letter-spacing: 5%;
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica,
sans-serif;
text-decoration: underline;
}
.h1-darkmode {
color: #fff;
}
.h1-lightmode {
color: #000;
}
#content-body {
display: flex;
flex-direction: column;
width: 100%;
gap: 1.25rem;
margin-bottom: 0.625rem;
border-radius: 0.625rem;
}
</style> </style>