StarlioX/web/src/settings.html

77 lines
4 KiB
HTML
Raw Normal View History

2022-09-18 19:27:23 +03:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>EveryNasa</title>
<link rel="icon" href="/static/image/icons/favicon.png">
<link rel="stylesheet" href="/static/style/settings.css" type="text/css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
</head>
<body style="background: #131313; color: white;">
<nav class="navbar navbar-expand-lg bg-dark navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/" draggable="false">
2022-09-19 02:07:25 +03:00
<img src="/static/image/icons/favicon.png" width="45" alt="EveryNasa">
2022-09-18 19:27:23 +03:00
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/settings">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/about">About</a>
</li>
</ul>
</div>
</div>
</nav>
<h1 id="title">Application Settings</h1>
<div class="container">
<header class="header-row">
2022-09-19 16:55:29 +03:00
<div class="settings">
<p class="title"><strong>Auto-change of desktop wallpaper</strong></p>
<p class="desc">EveryNasa will automatically change the desktop wallpaper at startup as well as every day</p>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="autosetWallpaperSwitch">
<label class="form-check-label" for="autorunText" id="autosetWallpaperText">Off</label>
</div>
</div>
2022-09-18 19:27:23 +03:00
<div class="settings">
<p class="title"><strong>Automatic updates</strong></p>
<p class="desc">EveryNasa will automatically perform an update at startup.</p>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="updateSwitch">
<label class="form-check-label" for="updateText" id="updateText">Off</label>
</div>
</div>
<div class="settings">
<p class="title"><strong>Add a program to the startup</strong></p>
<p class="desc">EverNasa will automatically start when you log in.</p>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="autorunSwitch">
<label class="form-check-label" for="autorunText" id="autorunText">Off</label>
</div>
</div>
</header>
</div>
2022-09-19 16:55:29 +03:00
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div id="liveToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<img src="/static/image/icons/favicon.png" class="rounded me-2" alt="EveryNasa" width="30">
<strong class="me-auto" style="color: black;">EveryNasa</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body" style="color: black;"></div>
</div>
</div>
2022-09-18 19:27:23 +03:00
<script src="https://code.jquery.com/jquery-3.6.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.min.js" integrity="sha384-ODmDIVzN+pFdexxHEHFBQH3/9/vQ9uori45z4JjnFsRydbmQbmL5t1tQ0culUzyK" crossorigin="anonymous"></script>
<script src="/static/scripts/switch.js"></script>
</body>
</html>