mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
progress on setup
This commit is contained in:
17
src/server/admin/ui/css/setupstyle.css
Normal file
17
src/server/admin/ui/css/setupstyle.css
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
.setup-app {
|
||||||
|
border-radius: 50px;
|
||||||
|
margin-top: 2%;
|
||||||
|
background-color: var(--secondary-background);
|
||||||
|
color: var(--primary-color);
|
||||||
|
height: 85vh;
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.setup-page {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
@@ -4,8 +4,9 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Login :: myevent - admin panel</title>
|
<title>Setup :: myevent - admin panel</title>
|
||||||
<link rel="stylesheet" href="/admin/css/loginstyle.css">
|
<link rel="stylesheet" href="/admin/css/loginstyle.css">
|
||||||
|
<link rel="stylesheet" href="/admin/css/setupstyle.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -20,10 +21,9 @@
|
|||||||
<option value="dark">Dark</option>
|
<option value="dark">Dark</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<a href="https://myevent.janishutz.com"><img src="/assets/logo.png" alt="myevent-logo" style="height: 35vh;"></a>
|
<div class="setup-app">
|
||||||
<div class="login-app">
|
<div class="setup-page">
|
||||||
<h1>Setup</h1>
|
<h1>Setup</h1>
|
||||||
<footer>myevent - admin panel</footer>
|
|
||||||
<form action="/admin/auth" method="post" class="form">
|
<form action="/admin/auth" method="post" class="form">
|
||||||
<label for="mail">Email address</label><br>
|
<label for="mail">Email address</label><br>
|
||||||
<input type="email" id="mail" name="mail" required class="input"><br>
|
<input type="email" id="mail" name="mail" required class="input"><br>
|
||||||
@@ -33,6 +33,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
let themeSelector = document.getElementById( 'theme' );
|
let themeSelector = document.getElementById( 'theme' );
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ const root = process.env.ROOT || '/order';
|
|||||||
|
|
||||||
const settings = fs.readFileSync( path.join( __dirname + '/config.json' ) );
|
const settings = fs.readFileSync( path.join( __dirname + '/config.json' ) );
|
||||||
|
|
||||||
|
|
||||||
// initialise express with middlewares
|
// initialise express with middlewares
|
||||||
app.use( expressSession( {
|
app.use( expressSession( {
|
||||||
secret: 'gaoevgoawefgo083tq2rfvöfaf0p8',
|
secret: 'gaoevgoawefgo083tq2rfvöfaf0p8',
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
<div class="lang presented" id="en">
|
<div class="lang presented" id="en">
|
||||||
<h1>Welcome to myevent!</h1>
|
<h1>Welcome to myevent!</h1>
|
||||||
<!-- <p>Thank you for installing and using myevent! Let's get started by setting it up! First plan of action is to log in to the admin panel where you can replace this page here with your own landing page!</p> -->
|
<!-- <p>Thank you for installing and using myevent! Let's get started by setting it up! First plan of action is to log in to the admin panel where you can replace this page here with your own landing page!</p> -->
|
||||||
<a href="/admin/login" class="button" onclick="sessionStorage.setItem( 'lang', 'de' )">To the admin panel</a>
|
<a href="/admin/login" class="button" onclick="sessionStorage.setItem( 'lang', 'en' )">To the admin panel</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="lang" id="de">
|
<div class="lang" id="de">
|
||||||
<h1>Willkommen zu myevent!</h1>
|
<h1>Willkommen zu myevent!</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user