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 {
|
||||
|
|
|
|||
BIN
logo/ezidam.png
|
Before Width: | Height: | Size: 5.1 KiB |
BIN
logo/icon.png
Normal file
|
After Width: | Height: | Size: 63 KiB |
12
logo/icon.svg
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M256.095 510C319.143 510 508 375.062 508 66C445.265 66 413.351 49.9234 381.994 33.9909C350.512 17.994 319.036 2 256.095 2C193.036 2 161.512 18.006 129.994 34.0091C98.4882 50.006 66.9882 66 4.00006 66C4.00006 188.187 84.6991 203.567 159.065 217.74C197.903 225.142 235.014 232.215 258 254C294.739 288.82 273.146 362.426 255.725 421.814C243.953 461.943 234.086 495.58 245.407 506.37C247.886 508.733 251.381 510 256.095 510Z" fill="#3A88FE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M159.362 219.802C198.065 227.266 234.552 234.303 256.095 256C289.498 289.959 269.569 359.956 252.989 418.186C240.706 461.325 230.263 498.005 244.705 508.789C175.94 495.339 17.7529 369.244 4.84116 101.309C19.9771 192.921 92.9339 206.991 159.362 219.802Z" fill="url(#paint0_linear_101_6)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M256.095 512C319.619 512 510 381.618 510 64C446.476 64 414.762 48 383.048 32C351.333 16 319.619 0 256.095 0C192.572 0 160.81 16 129.048 32C97.2856 48 65.5235 64 2 64C2 381.618 192.572 512 256.095 512ZM256.095 510C319.143 510 508 375.062 508 66C445.265 66 413.351 49.9234 381.994 33.9909C350.512 17.994 319.036 2 256.095 2C193.036 2 161.512 18.006 129.994 34.0091C98.4882 50.006 66.9882 66 4.00006 66C4.00006 188.187 84.6991 203.567 159.065 217.74C197.903 225.142 235.014 232.215 258 254C294.739 288.82 273.146 362.426 255.725 421.814C243.953 461.943 234.086 495.58 245.407 506.37C247.886 508.733 251.381 510 256.095 510ZM4.84116 101.309C17.7529 369.244 175.94 495.339 244.705 508.789C230.263 498.005 240.706 461.325 252.989 418.186C269.569 359.956 289.498 289.959 256.095 256C234.552 234.303 198.065 227.266 159.362 219.802C92.9339 206.991 19.9771 192.921 4.84116 101.309Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_101_6" x1="53.76" y1="392.576" x2="167.524" y2="131.503" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF4A4A"/>
|
||||
<stop offset="0.270833" stop-color="#FF8845"/>
|
||||
<stop offset="1" stop-color="#FBFF50"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
BIN
logo/logo.png
Normal file
|
After Width: | Height: | Size: 88 KiB |
13
logo/logo.svg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<svg width="2100" height="512" viewBox="0 0 2100 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M256.095 510C319.143 510 508 375.062 508 66C445.265 66 413.351 49.9234 381.994 33.9909C350.512 17.994 319.036 2 256.095 2C193.036 2 161.512 18.006 129.994 34.0091C98.4882 50.006 66.9882 66 4.00006 66C4.00006 188.187 84.6991 203.567 159.065 217.74C197.903 225.142 235.014 232.215 258 254C294.739 288.82 273.146 362.426 255.725 421.814C243.953 461.943 234.086 495.58 245.407 506.37C247.886 508.733 251.381 510 256.095 510Z" fill="#3A88FE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M159.362 219.802C198.065 227.266 234.552 234.303 256.095 256C289.498 289.959 269.569 359.956 252.989 418.186C240.706 461.325 230.263 498.005 244.705 508.789C175.94 495.339 17.7529 369.244 4.84116 101.309C19.9771 192.921 92.9339 206.991 159.362 219.802Z" fill="url(#paint0_linear_0_1)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M256.095 512C319.619 512 510 381.618 510 64C446.476 64 414.762 48 383.048 32C351.333 16 319.619 0 256.095 0C192.572 0 160.81 16 129.048 32C97.2856 48 65.5235 64 2 64C2 381.618 192.572 512 256.095 512ZM256.095 510C319.143 510 508 375.062 508 66C445.265 66 413.351 49.9234 381.994 33.9909C350.512 17.994 319.036 2 256.095 2C193.036 2 161.512 18.006 129.994 34.0091C98.4882 50.006 66.9882 66 4.00006 66C4.00006 188.187 84.6991 203.567 159.065 217.74C197.903 225.142 235.014 232.215 258 254C294.739 288.82 273.146 362.426 255.725 421.814C243.953 461.943 234.086 495.58 245.407 506.37C247.886 508.733 251.381 510 256.095 510ZM4.84116 101.309C17.7529 369.244 175.94 495.339 244.705 508.789C230.263 498.005 240.706 461.325 252.989 418.186C269.569 359.956 289.498 289.959 256.095 256C234.552 234.303 198.065 227.266 159.362 219.802C92.9339 206.991 19.9771 192.921 4.84116 101.309Z" fill="white"/>
|
||||
<path d="M801.4 404C782.733 404 766.467 400.4 752.6 393.2C738.733 386 727.933 376 720.2 363.2C712.733 350.133 709 334.933 709 317.6V262.4C709 245.067 712.733 230 720.2 217.2C727.933 204.133 738.733 194 752.6 186.8C766.467 179.6 782.733 176 801.4 176C819.8 176 835.8 179.6 849.4 186.8C863.267 194 873.933 204.133 881.4 217.2C889.133 230 893 245.067 893 262.4V302H757.4V317.6C757.4 333.067 761.133 344.8 768.6 352.8C776.067 360.533 787.133 364.4 801.8 364.4C813 364.4 822.067 362.533 829 358.8C835.933 354.8 840.333 349.067 842.2 341.6H891.4C887.667 360.533 877.533 375.733 861 387.2C844.733 398.4 824.867 404 801.4 404ZM844.6 274V262C844.6 246.8 841 235.2 833.8 227.2C826.6 218.933 815.8 214.8 801.4 214.8C787 214.8 776.067 218.933 768.6 227.2C761.133 235.467 757.4 247.2 757.4 262.4V270.8L848.2 270L844.6 274ZM952.044 400V354.8L1066.84 224H955.644V180H1125.24V225.2L1009.24 356H1129.64V400H952.044ZM1191.09 400V354.4H1267.89V225.2H1201.09V180H1315.89V354.4H1383.89V400H1191.09ZM1287.89 143.2C1277.75 143.2 1269.75 140.667 1263.89 135.6C1258.02 130.267 1255.09 123.2 1255.09 114.4C1255.09 105.6 1258.02 98.6667 1263.89 93.6C1269.75 88.2667 1277.75 85.6 1287.89 85.6C1298.02 85.6 1306.02 88.2667 1311.89 93.6C1317.75 98.6667 1320.69 105.6 1320.69 114.4C1320.69 123.2 1317.75 130.267 1311.89 135.6C1306.02 140.667 1298.02 143.2 1287.89 143.2ZM1501.73 404C1479.86 404 1462.13 396.4 1448.53 381.2C1435.2 366 1428.53 345.6 1428.53 320V260.4C1428.53 234.533 1435.2 214 1448.53 198.8C1461.86 183.6 1479.6 176 1501.73 176C1519.86 176 1534.26 181.2 1544.93 191.6C1555.6 201.733 1560.93 215.733 1560.93 233.6L1549.73 222H1561.33L1559.73 169.6V108H1609.73V400H1560.93V358H1549.73L1560.93 346.4C1560.93 364.267 1555.6 378.4 1544.93 388.8C1534.26 398.933 1519.86 404 1501.73 404ZM1519.33 360.8C1532.13 360.8 1542 357.067 1548.93 349.6C1556.13 341.867 1559.73 331.2 1559.73 317.6V262.4C1559.73 248.8 1556.13 238.267 1548.93 230.8C1542 223.067 1532.13 219.2 1519.33 219.2C1506.53 219.2 1496.53 222.933 1489.33 230.4C1482.13 237.867 1478.53 248.533 1478.53 262.4V317.6C1478.53 331.467 1482.13 342.133 1489.33 349.6C1496.53 357.067 1506.53 360.8 1519.33 360.8ZM1735.98 404C1713.31 404 1695.44 398 1682.38 386C1669.31 374 1662.78 357.867 1662.78 337.6C1662.78 316 1669.98 299.333 1684.38 287.6C1698.78 275.867 1719.18 270 1745.58 270H1800.38V251.2C1800.38 240.533 1796.91 232.267 1789.98 226.4C1783.04 220.267 1773.58 217.2 1761.58 217.2C1750.64 217.2 1741.58 219.6 1734.38 224.4C1727.18 229.2 1722.91 235.733 1721.58 244H1672.78C1675.18 223.2 1684.51 206.667 1700.78 194.4C1717.04 182.133 1737.84 176 1763.18 176C1790.11 176 1811.31 182.8 1826.78 196.4C1842.51 209.733 1850.38 227.867 1850.38 250.8V400H1801.98V361.6H1793.98L1801.98 350.8C1801.98 367.067 1795.98 380 1783.98 389.6C1771.98 399.2 1755.98 404 1735.98 404ZM1752.38 366.4C1766.51 366.4 1777.98 362.8 1786.78 355.6C1795.84 348.4 1800.38 339.067 1800.38 327.6V300.8H1746.38C1736.24 300.8 1728.11 303.733 1721.98 309.6C1715.84 315.467 1712.78 323.2 1712.78 332.8C1712.78 343.2 1716.24 351.467 1723.18 357.6C1730.38 363.467 1740.11 366.4 1752.38 366.4ZM1901.02 400V180H1941.82V209.6H1950.22L1943.42 216.8C1943.42 204.533 1946.89 194.667 1953.82 187.2C1960.75 179.733 1969.69 176 1980.62 176C1992.35 176 2001.42 180.8 2007.82 190.4C2014.49 200 2017.82 212.933 2017.82 229.2L2009.02 209.6H2022.62L2017.42 216.8C2017.42 204.533 2020.89 194.667 2027.82 187.2C2034.75 179.733 2043.95 176 2055.42 176C2069.02 176 2079.82 181.067 2087.82 191.2C2095.82 201.333 2099.82 215.067 2099.82 232.4V400H2055.82V234.4C2055.82 227.2 2054.22 221.6 2051.02 217.6C2047.82 213.333 2043.15 211.2 2037.02 211.2C2031.15 211.2 2026.49 213.2 2023.02 217.2C2019.82 221.2 2018.22 226.933 2018.22 234.4V400H1982.22V234.4C1982.22 226.933 1980.62 221.2 1977.42 217.2C1974.22 213.2 1969.55 211.2 1963.42 211.2C1957.29 211.2 1952.62 213.2 1949.42 217.2C1946.49 221.2 1945.02 226.933 1945.02 234.4V400H1901.02Z" fill="black"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_0_1" x1="53.76" y1="392.576" x2="167.524" y2="131.503" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF4A4A"/>
|
||||
<stop offset="0.270833" stop-color="#FF8845"/>
|
||||
<stop offset="1" stop-color="#FBFF50"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.9 KiB |