feature (admin): improve admin setup

This commit is contained in:
MickaelK 2025-10-03 14:49:44 +10:00
parent 1c8c4c2f03
commit 80adf4d463
3 changed files with 6 additions and 7 deletions

View file

@ -9,7 +9,6 @@
padding: 20px 0 0px 0;
}
.component_setup h4 .component_icon {
vertical-align: text-top;
width: 1.3em;
cursor: pointer;
}
@ -17,8 +16,8 @@
opacity: 0;
}
.component_setup #step1 p {
font-size: 1.1em;
margin-bottom: 10px;
font-size: 1.05em;
margin-bottom: 5px;
}
.component_setup #step1 form {
max-width: 400px;

View file

@ -54,9 +54,9 @@ function setupHOC(ctrlWrapped) {
function componentStep1(render) {
const $page = createElement(`
<div id="step1">
<h4>Admin Password</h4>
<h4>Welcome Aboard, Captain!</h4>
<div>
<p>Create your instance admin password: </p>
<p>First thing first, setup your password: </p>
<form>
<div class="input_group">
<input type="password" name="password" placeholder="Password" class="component_input" autocomplete autofocus>
@ -114,7 +114,7 @@ function componentStep2(render) {
<div id="step2">
<h4>
<component-icon name="arrow_left" data-bind="previous"></component-icon>
Summary
You're at the Helm now
</h4>
<div data-bind="dependencies"></div>
<style>${cssHideMenu}</style>

View file

@ -1,6 +1,6 @@
.component_menu_sidebar {
height: 100vh;
background: linear-gradient(#2c3032, #313538);
background: linear-gradient(#232628, #2c3032);
width: 250px;
border-right: 2px solid var(--color);
padding: 50px 0px 0px 40px;