updated logo, added favicon (thanks Remi!)
BIN
crates/ezidam/static/android-chrome-192x192.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
crates/ezidam/static/android-chrome-512x512.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
crates/ezidam/static/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
9
crates/ezidam/static/browserconfig.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/mstile-150x150.png"/>
|
||||
<TileColor>#ffffff</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
BIN
crates/ezidam/static/favicon-16x16.png
Normal file
|
After Width: | Height: | Size: 638 B |
BIN
crates/ezidam/static/favicon-32x32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
crates/ezidam/static/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
crates/ezidam/static/mstile-144x144.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
crates/ezidam/static/mstile-150x150.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
crates/ezidam/static/mstile-310x150.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
crates/ezidam/static/mstile-310x310.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
crates/ezidam/static/mstile-70x70.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
37
crates/ezidam/static/safari-pinned-tab.svg
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="700.000000pt" height="700.000000pt" viewBox="0 0 700.000000 700.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,700.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M3248 6995 c-1 -1 -50 -6 -108 -10 -58 -3 -114 -8 -125 -10 -11 -3
|
||||
-42 -7 -68 -10 -27 -2 -52 -7 -55 -9 -4 -2 -32 -7 -62 -10 -59 -7 -196 -38
|
||||
-347 -80 -156 -43 -386 -140 -688 -289 -159 -79 -346 -167 -415 -196 -69 -29
|
||||
-134 -56 -145 -61 -72 -30 -295 -94 -420 -120 -234 -48 -467 -72 -714 -74
|
||||
l-74 0 7 -291 c3 -159 8 -301 10 -315 3 -14 7 -72 10 -130 4 -58 8 -123 11
|
||||
-145 2 -22 7 -69 10 -105 10 -100 14 -132 19 -175 3 -22 8 -67 12 -100 3 -33
|
||||
8 -69 10 -80 2 -10 6 -37 9 -60 3 -22 11 -69 16 -105 6 -36 12 -74 14 -85 1
|
||||
-11 5 -36 9 -55 3 -19 8 -47 10 -63 3 -15 7 -35 10 -45 3 -9 7 -33 10 -52 7
|
||||
-45 40 -201 66 -310 11 -47 23 -96 26 -110 6 -28 21 -87 53 -200 12 -41 24
|
||||
-84 26 -95 20 -89 179 -555 209 -613 9 -18 14 -32 12 -32 -3 0 6 -26 20 -57
|
||||
14 -32 28 -67 33 -78 5 -11 18 -40 29 -65 11 -25 30 -67 42 -95 93 -211 260
|
||||
-529 385 -731 68 -109 253 -385 264 -394 4 -3 18 -21 31 -40 132 -192 469
|
||||
-563 693 -764 420 -375 875 -636 1245 -716 110 -23 272 -20 387 9 328 82 721
|
||||
302 1090 610 184 154 399 366 544 537 52 60 103 120 115 134 12 14 35 43 51
|
||||
65 17 22 32 42 35 45 12 11 121 160 200 275 173 250 398 652 528 940 79 177
|
||||
89 200 97 225 4 14 11 30 15 35 4 6 14 30 23 55 8 25 25 70 37 100 33 85 127
|
||||
361 154 453 64 214 75 254 80 277 3 14 17 70 31 125 14 55 27 109 30 120 44
|
||||
208 76 364 79 389 3 17 7 43 10 56 9 40 44 260 52 330 2 19 6 55 10 80 10 72
|
||||
13 101 18 161 3 30 7 75 10 100 8 57 14 132 22 249 3 52 7 111 9 130 2 19 7
|
||||
163 11 320 l7 286 -114 2 c-165 3 -328 15 -444 32 -33 5 -78 12 -100 15 -43 6
|
||||
-78 13 -110 20 -11 3 -51 12 -90 21 -110 25 -174 43 -290 84 -143 50 -476 198
|
||||
-588 261 -105 58 -338 168 -467 219 -91 36 -328 113 -380 123 -14 3 -36 8 -50
|
||||
11 -26 6 -58 12 -100 20 -14 3 -34 7 -45 9 -32 8 -165 26 -230 32 -33 3 -73 8
|
||||
-90 11 -33 5 -621 14 -627 9z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
19
crates/ezidam/static/site.webmanifest
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
|
@ -8,6 +8,14 @@
|
|||
<!-- CSS files -->
|
||||
<link href="/css/tabler.min.css" rel="stylesheet"/>
|
||||
<link href="/css/demo.min.css" rel="stylesheet"/>
|
||||
<!-- Favicon -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#3a88fe">
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="theme-color" content="#3a88fe">
|
||||
<style>
|
||||
:root {
|
||||
/* from https://systemfontstack.com */
|
||||
|
|
|
|||
28
crates/ezidam/templates/pages/admin/apps/new.html.tera
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{% extends "shell" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="page-header d-print-none">
|
||||
<div class="container-xl">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<div class="page-pretitle">
|
||||
Admin dashboard
|
||||
</div>
|
||||
<h2 class="page-title">
|
||||
New application
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Page body -->
|
||||
<div class="page-body">
|
||||
<div class="container-xl"></div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
{% block libs_js %}
|
||||
{% endblock lib_js %}
|
||||
|
||||
{% block additional_js %}
|
||||
{% endblock additional_js %}
|
||||
|
|
@ -6,7 +6,7 @@ use id::UserID;
|
|||
use url::Url;
|
||||
|
||||
const DEFAULT_BUSINESS_NAME: &str = "ezidam";
|
||||
pub const DEFAULT_BUSINESS_LOGO: &[u8] = include_bytes!("../../../logo/ezidam.png");
|
||||
pub const DEFAULT_BUSINESS_LOGO: &[u8] = include_bytes!("../../../logo/logo.png");
|
||||
|
||||
impl From<DatabaseSettings> for Settings {
|
||||
fn from(db: DatabaseSettings) -> Self {
|
||||
|
|
|
|||