mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
allow user to choose theme during initial setup
This commit is contained in:
@@ -49,6 +49,26 @@
|
||||
<label for="password2">Repeat password</label>
|
||||
<input type="password" class="form-control" data-bind="value: password2" placeholder="Password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password2">Theme</label>
|
||||
|
||||
<div style="display: flex; justify-content: space-around;">
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="theme" id="theme-white" value="white" data-bind="checked: theme" checked>
|
||||
<label class="form-check-label" for="theme-white">white</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="theme" id="theme-dark" value="dark" data-bind="checked: theme">
|
||||
<label class="form-check-label" for="theme-dark">dark</label>
|
||||
</div>
|
||||
<div class="form-check form-check-inline">
|
||||
<input class="form-check-input" type="radio" name="theme" id="theme-black" value="black" data-bind="checked: theme">
|
||||
<label class="form-check-label" for="theme-black">black</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p style="font-size: smaller;margin-top: 10px;"><em>Theme can be later changed in Options -> Appearance.</em></p>
|
||||
</div>
|
||||
|
||||
<button type="button" data-bind="click: back" class="btn btn-secondary">Back</button>
|
||||
|
||||
@@ -137,5 +157,6 @@
|
||||
<script src="libraries/knockout.min.js"></script>
|
||||
|
||||
<script src="javascripts/setup.js" crossorigin type="module"></script>
|
||||
<link href="stylesheets/themes.css" rel="stylesheet">
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user