1
0
Fork 0

Add favicon

This commit is contained in:
Ethanell 2020-12-14 23:39:44 +01:00
parent ba2986efe6
commit 47c557fb7c
12 changed files with 213 additions and 7 deletions

9
public/browserconfig.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/images/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 626 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1,005 B

BIN
public/images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -0,0 +1,169 @@
<?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="768.000000pt" height="768.000000pt" viewBox="0 0 768.000000 768.000000"
preserveAspectRatio="xMidYMid meet">
<metadata>
Created by potrace 1.11, written by Peter Selinger 2001-2013
</metadata>
<g transform="translate(0.000000,768.000000) scale(0.100000,-0.100000)"
fill="#000000" stroke="none">
<path d="M0 3840 l0 -3440 3840 0 3840 0 0 234 c0 159 -4 237 -11 242 -14 8
-119 11 -119 3 0 -4 -15 -4 -32 -2 -18 3 -39 4 -45 4 -15 -1 -58 -1 -75 0 -7
0 -29 0 -48 0 -19 -1 -43 -1 -52 -1 -39 0 -54 0 -83 -1 -16 0 -39 0 -50 1 -11
1 -26 1 -32 1 -22 -1 -37 -2 -83 -1 -25 0 -61 -1 -80 -2 -19 -2 -45 0 -57 4
-12 4 -25 3 -28 -3 -4 -5 -11 -6 -17 -3 -14 9 -118 11 -118 2 0 -4 -13 -3 -29
2 -15 4 -33 5 -39 1 -13 -8 -87 -5 -101 4 -5 3 -12 1 -16 -5 -4 -6 -11 -8 -16
-4 -6 3 -32 6 -57 5 -46 -1 -85 -2 -137 -1 -14 0 -31 0 -37 -1 -7 0 -35 1 -63
1 -27 0 -66 -1 -85 -3 -19 -1 -45 1 -57 5 -12 4 -25 3 -28 -3 -4 -5 -11 -6
-17 -3 -13 8 -118 11 -118 3 0 -4 -15 -4 -32 -2 -18 3 -39 4 -45 4 -7 0 -24
-1 -38 -1 -14 0 -32 0 -40 0 -8 0 -27 0 -42 1 -16 0 -37 -1 -48 -1 -11 -1 -24
-1 -30 -1 -43 1 -116 1 -145 -2 -19 -1 -45 1 -57 5 -12 4 -25 3 -28 -3 -4 -5
-11 -6 -17 -3 -13 8 -118 11 -118 3 0 -4 -15 -4 -32 -2 -18 3 -39 4 -45 4 -7
0 -24 -1 -38 -1 -14 0 -32 0 -40 0 -8 0 -27 0 -42 1 -16 0 -37 -1 -48 -1 -11
-1 -24 -1 -30 -1 -43 1 -116 1 -145 -2 -19 -1 -45 1 -57 5 -12 4 -25 3 -28 -3
-4 -5 -11 -6 -17 -3 -13 8 -118 11 -118 3 0 -4 -15 -4 -32 -2 -18 3 -39 4 -45
4 -7 0 -24 -1 -38 -1 -14 0 -32 0 -40 0 -8 0 -27 0 -42 1 -16 0 -37 -1 -48 -1
-11 -1 -24 -1 -30 -1 -43 1 -116 1 -145 -2 -19 -1 -45 1 -57 5 -12 4 -25 3
-28 -3 -4 -5 -11 -6 -17 -3 -13 8 -118 11 -118 3 0 -4 -15 -4 -32 -2 -18 3
-42 4 -53 3 -11 -1 -24 -1 -30 -1 -43 1 -116 1 -145 -2 -19 -1 -45 1 -57 5
-12 4 -25 3 -28 -3 -4 -5 -11 -6 -17 -3 -14 9 -118 11 -118 2 0 -4 -13 -3 -29
2 -15 4 -33 5 -39 1 -13 -8 -87 -5 -101 4 -5 3 -12 1 -16 -5 -4 -6 -11 -8 -16
-4 -6 3 -34 6 -62 5 -29 -1 -72 -1 -97 -1 -25 0 -51 0 -57 0 -7 0 -21 0 -30 0
-10 0 -31 0 -48 -1 -16 0 -39 0 -50 1 -11 1 -27 1 -35 0 -8 0 -24 0 -35 0 -11
1 -26 1 -32 1 -16 -1 -35 -1 -68 -1 -14 0 -31 0 -37 -1 -7 0 -35 1 -63 1 -27
0 -66 -1 -85 -3 -19 -1 -45 1 -57 5 -12 4 -25 3 -28 -3 -4 -5 -11 -6 -17 -3
-13 8 -118 11 -118 3 0 -4 -15 -4 -32 -2 -18 3 -39 4 -45 4 -15 -1 -58 -1 -75
0 -7 0 -29 0 -48 0 -19 -1 -43 -1 -52 -1 -39 0 -54 0 -83 -1 -16 0 -39 0 -50
1 -11 1 -26 1 -32 1 -22 -1 -37 -2 -83 -1 -25 0 -61 -1 -80 -2 -19 -2 -45 0
-57 4 -12 4 -25 3 -28 -3 -4 -5 -11 -6 -17 -3 -14 9 -118 11 -118 2 0 -4 -13
-3 -29 2 -15 4 -33 5 -39 1 -13 -8 -87 -5 -101 4 -5 3 -12 1 -16 -5 -4 -6 -11
-8 -16 -4 -6 3 -32 6 -57 5 -46 -1 -85 -2 -137 -1 -14 0 -31 0 -37 -1 -7 0
-35 1 -63 1 -27 0 -66 -1 -85 -3 -19 -1 -45 1 -57 5 -12 4 -25 3 -28 -3 -4 -5
-11 -6 -17 -3 -13 8 -118 11 -118 3 0 -7 -60 -2 -68 5 -2 3 -14 1 -26 -3 -11
-5 -30 -5 -41 -1 -11 4 -29 4 -40 0 -11 -4 -29 -4 -40 0 -11 4 -30 4 -42 -1
-12 -5 -25 -5 -27 0 -3 4 -18 6 -34 3 -19 -2 -29 1 -30 10 -6 72 -6 108 -1
108 4 0 3 16 -1 35 -4 19 -5 35 -1 35 3 0 5 28 3 62 -1 35 -3 69 -2 76 0 6 0
20 0 30 0 9 0 26 0 37 1 11 1 26 1 33 -1 13 -1 34 -1 55 0 6 0 36 -1 65 -1 29
0 55 4 58 3 3 1 19 -3 35 -5 16 -6 29 -2 29 8 0 7 108 -1 117 -3 3 -2 16 3 29
6 14 6 26 -1 29 -5 4 -7 11 -3 16 7 12 9 138 2 145 -3 3 -2 19 2 37 4 18 4 41
0 52 -4 11 -4 32 1 47 4 15 4 30 -1 33 -5 3 -5 19 0 35 5 17 5 32 0 35 -5 3
-5 16 0 30 5 13 6 27 1 29 -4 3 -5 25 -1 49 3 24 3 52 0 63 -4 10 -4 31 1 46
4 15 4 30 -1 33 -5 3 -5 19 0 35 5 17 5 32 0 35 -5 3 -5 16 0 30 5 13 6 26 2
29 -5 3 -5 30 -2 61 3 31 3 58 -2 61 -4 3 -3 16 2 29 6 15 6 27 -1 30 -5 4 -7
11 -3 16 5 9 6 87 2 176 -1 24 1 45 4 49 4 3 2 19 -2 35 -5 16 -6 29 -2 29 4
0 6 28 4 62 -1 35 -3 69 -2 76 0 6 0 20 0 30 0 9 0 26 0 37 1 11 1 26 1 33 -1
13 -1 34 -1 55 0 6 0 36 -1 65 -1 29 0 55 4 58 3 3 1 19 -3 35 -5 16 -6 29 -2
29 8 0 7 108 -1 117 -3 3 -2 16 3 29 6 14 6 26 -1 29 -5 4 -7 11 -3 16 7 12 9
138 2 145 -3 3 -2 19 2 37 4 18 4 41 0 52 -4 11 -4 32 1 47 4 15 4 30 -1 33
-5 3 -5 19 0 35 5 17 5 32 0 35 -5 3 -5 16 0 30 5 13 6 27 1 29 -4 3 -5 25 -1
49 3 24 3 52 0 63 -4 10 -4 31 1 46 4 15 4 30 -1 33 -5 3 -5 19 0 35 5 17 5
32 0 35 -5 3 -5 16 0 30 5 13 6 26 2 29 -5 3 -5 30 -2 61 3 31 3 58 -2 61 -4
3 -3 16 2 29 6 15 6 27 -1 30 -5 4 -7 11 -3 16 5 9 6 87 2 176 -1 24 1 45 4
49 4 3 2 19 -2 35 -5 16 -6 29 -2 29 4 0 6 28 4 62 -1 35 -3 69 -2 76 0 6 0
20 0 30 0 9 0 26 0 37 1 11 1 26 1 33 -1 13 -1 34 -1 55 0 6 0 36 -1 65 -1 29
0 55 4 58 3 3 1 19 -3 35 -5 16 -6 29 -2 29 8 0 7 108 -1 117 -3 3 -2 16 3 29
6 14 6 26 -1 29 -5 4 -7 11 -3 16 7 12 9 138 2 145 -3 3 -2 19 2 37 4 18 4 41
0 52 -4 11 -4 32 1 47 4 15 4 30 -1 33 -5 3 -5 19 0 35 5 17 5 32 0 35 -5 3
-5 16 0 30 5 13 6 27 1 29 -4 3 -5 25 -1 49 3 24 3 52 0 63 -4 10 -4 31 1 46
4 15 4 30 -1 33 -5 3 -5 19 0 35 5 17 5 32 0 35 -5 3 -5 16 0 30 5 13 6 26 2
29 -5 3 -5 30 -2 61 3 31 3 58 -2 61 -4 3 -3 16 2 29 6 15 6 27 -1 30 -5 4 -7
11 -3 16 5 9 6 87 2 176 -1 24 1 45 4 49 4 3 2 19 -2 35 -5 16 -6 29 -2 29 4
0 6 28 4 62 -1 35 -3 69 -2 76 0 6 0 20 0 30 0 9 0 26 0 37 1 11 1 26 1 33 -1
12 -1 29 -1 57 0 8 0 36 -1 63 -1 26 0 52 1 57 8 34 3 35 -240 35 l-240 0 0
-3440z"/>
<path d="M4072 6781 c-34 -10 -65 -19 -67 -20 -3 0 -6 -1 -7 -2 -2 0 -10 -2
-18 -4 -8 -2 -58 -15 -110 -30 -52 -14 -120 -33 -150 -41 -30 -8 -103 -29
-162 -45 -60 -17 -114 -32 -120 -33 -7 -2 -20 -6 -28 -9 -12 -5 -96 -27 -155
-42 -5 -1 -17 -5 -25 -8 -14 -5 -59 -17 -87 -23 -6 -1 -27 -7 -45 -13 -32 -10
-464 -130 -598 -166 -8 -2 -121 -33 -250 -70 -129 -36 -242 -67 -250 -69 -8
-2 -22 -6 -30 -9 -12 -5 -207 -59 -260 -72 -8 -2 -73 -20 -145 -40 -71 -20
-137 -38 -145 -40 -55 -13 -76 -18 -85 -24 -5 -3 -12 -6 -15 -6 -86 -13 -168
-43 -196 -70 -19 -18 -44 -73 -46 -97 -2 -39 21 -103 44 -125 25 -23 69 -44
105 -48 12 -2 55 -13 95 -24 207 -60 595 -166 640 -176 9 -2 26 -9 37 -15 12
-6 21 -9 21 -6 0 3 15 0 33 -5 17 -6 39 -12 47 -14 8 -2 65 -18 125 -35 61
-18 118 -33 128 -35 9 -2 21 -7 27 -10 5 -3 22 -8 37 -10 23 -4 509 -137 688
-189 28 -9 70 -21 95 -27 25 -7 50 -14 55 -15 6 -2 21 -6 35 -9 34 -8 43 -11
60 -18 8 -4 27 -8 42 -11 14 -2 36 -9 47 -16 12 -6 21 -9 21 -6 0 2 30 -4 68
-15 37 -11 101 -29 142 -40 119 -33 129 -36 245 -69 61 -17 120 -33 132 -35
12 -3 33 -9 45 -14 13 -4 34 -6 48 -4 14 2 43 6 65 7 22 2 40 5 40 6 0 1 7 3
15 6 8 2 80 22 160 44 80 22 152 41 160 43 8 1 20 6 26 9 6 4 21 9 35 12 13 2
83 21 154 41 128 37 221 62 260 71 28 7 38 10 55 17 8 3 51 16 95 27 93 24 84
22 200 55 50 14 97 27 106 29 10 3 68 19 130 36 100 28 204 56 234 64 6 2 17
6 25 9 8 3 43 13 77 22 34 8 69 18 78 21 21 8 33 -30 25 -78 -4 -21 -4 -38 0
-38 4 0 4 -18 0 -40 -4 -22 -4 -40 0 -40 4 0 4 -18 0 -40 -4 -22 -4 -40 0 -40
4 0 4 -18 0 -40 -4 -22 -4 -40 0 -40 4 0 4 -18 0 -40 -4 -22 -4 -40 0 -40 4 0
4 -18 0 -40 -4 -22 -4 -40 0 -40 4 0 4 -19 0 -42 -5 -24 -6 -47 -3 -51 3 -5 5
-31 5 -59 -1 -39 -6 -55 -24 -72 -12 -11 -24 -20 -26 -18 -2 2 -16 -14 -33
-35 -16 -21 -33 -43 -37 -48 -23 -28 -40 -108 -37 -172 3 -81 34 -147 97 -206
l40 -38 -21 -132 c-11 -73 -23 -141 -25 -152 -3 -18 -7 -38 -22 -130 -1 -11
-19 -114 -38 -230 -37 -220 -37 -261 -4 -307 92 -130 365 -161 512 -58 91 63
103 101 81 237 -9 54 -18 110 -21 126 -6 42 -12 74 -29 177 -9 52 -18 109 -21
125 -2 17 -9 53 -14 80 -8 45 -15 83 -24 140 -20 127 -21 119 26 166 56 56 89
128 94 201 3 58 -21 168 -37 168 -5 0 -9 6 -9 14 0 8 -24 36 -54 63 -49 45
-54 53 -53 91 0 23 -2 44 -6 48 -3 3 -2 17 3 30 6 14 6 26 0 29 -6 3 -6 15 0
30 6 15 6 27 0 30 -6 3 -6 15 0 30 6 15 6 27 0 30 -6 3 -6 15 0 30 6 15 6 27
0 30 -6 3 -6 15 0 30 5 13 6 27 1 29 -4 3 -5 25 -1 49 3 25 3 54 -1 65 -5 12
-4 24 1 27 5 3 5 18 0 35 -5 17 -6 30 -2 30 6 0 7 98 2 160 -5 54 -2 58 68 79
126 38 607 169 645 175 47 9 102 56 117 102 32 96 -29 198 -125 209 -22 2 -83
16 -135 31 -52 14 -102 28 -110 30 -21 4 -472 130 -550 153 -109 32 -235 65
-240 64 -3 -1 -11 3 -17 9 -7 6 -13 8 -13 5 0 -3 -15 -1 -32 4 -32 10 -197 56
-228 64 -8 2 -40 11 -70 20 -30 9 -62 18 -70 20 -8 2 -49 13 -90 25 -87 24
-139 39 -160 44 -31 9 -130 36 -290 81 -91 25 -172 48 -180 50 -8 2 -15 4 -15
5 0 1 -11 4 -25 6 -14 3 -56 14 -95 26 -38 11 -74 21 -80 23 -32 7 -72 17 -85
22 -8 3 -24 8 -35 10 -11 2 -31 7 -45 13 -22 8 -78 23 -130 36 -8 2 -55 15
-105 29 -122 35 -159 38 -233 16z"/>
<path d="M2559 4994 c-1 -10 0 -135 2 -141 1 -5 1 -11 0 -15 -1 -7 -1 -107 0
-138 0 -8 0 -35 0 -60 0 -25 0 -52 0 -60 0 -8 0 -35 0 -60 0 -25 0 -52 0 -60
0 -8 0 -35 0 -60 0 -25 0 -52 0 -60 0 -8 0 -35 0 -60 0 -25 0 -52 0 -60 0 -8
0 -35 0 -60 0 -25 0 -52 0 -60 0 -8 0 -35 -1 -60 -3 -123 7 -195 34 -249 28
-55 148 -181 173 -181 7 0 13 -4 13 -9 0 -10 28 -26 160 -91 86 -43 260 -104
380 -135 3 0 23 -5 45 -10 22 -4 47 -10 55 -12 8 -2 24 -5 35 -7 11 -2 34 -6
50 -9 17 -4 50 -10 75 -13 25 -3 54 -7 65 -9 107 -16 203 -25 360 -31 114 -5
135 -5 213 -1 17 1 32 -1 32 -6 0 -4 5 -5 10 -2 6 4 48 8 93 11 157 8 223 14
317 28 19 3 51 8 70 10 76 12 106 17 120 21 8 2 27 6 43 9 15 3 35 7 45 10 9
3 28 7 42 10 54 11 148 38 210 61 105 39 115 43 122 44 12 3 159 81 198 104
68 42 156 126 192 183 37 59 64 181 45 200 -3 3 -1 19 3 35 5 16 5 29 1 29 -5
0 -5 15 -2 33 4 17 4 47 0 65 -4 17 -3 35 2 38 5 3 7 10 3 15 -8 13 -9 97 -2
105 4 3 3 16 -2 28 -4 12 -4 29 0 37 5 8 5 21 0 28 -4 8 -4 27 0 42 5 16 5 29
0 29 -5 0 -5 13 0 30 5 16 5 32 0 35 -5 3 -5 18 -1 33 5 15 5 36 1 47 -4 11
-4 30 1 41 4 12 5 25 2 28 -8 8 -9 76 -1 76 4 0 3 13 -2 30 -5 17 -5 32 0 35
5 3 6 16 1 28 -5 12 -5 31 -1 42 4 11 5 24 2 29 -3 5 -6 28 -6 50 -1 23 -6 40
-11 39 -10 -1 -240 -65 -395 -110 -47 -13 -92 -26 -100 -28 -8 -2 -55 -15
-105 -30 -49 -14 -101 -29 -115 -31 -24 -5 -51 -13 -172 -50 -29 -9 -63 -18
-76 -20 -13 -3 -44 -12 -69 -20 -25 -9 -54 -17 -65 -19 -11 -2 -28 -7 -38 -10
-10 -3 -27 -8 -37 -10 -25 -6 -205 -55 -223 -61 -8 -3 -15 -5 -15 -5 0 0 -29
-8 -65 -19 -36 -11 -83 -20 -105 -20 -43 0 -116 19 -400 100 -60 18 -132 38
-160 45 -27 7 -75 21 -105 30 -30 9 -66 18 -79 21 -14 3 -29 8 -34 11 -6 3
-20 7 -31 9 -12 1 -61 15 -111 29 -49 15 -94 28 -100 29 -5 2 -30 8 -55 15
-25 7 -52 15 -60 17 -8 2 -87 24 -175 49 -88 26 -167 48 -175 50 -8 2 -39 11
-67 19 -29 8 -53 12 -54 10z"/>
<path d="M1964 2708 c-3 -5 -5 -37 -4 -71 1 -34 1 -72 1 -84 0 -31 -1 -69 0
-90 0 -10 -1 -40 -1 -66 -1 -26 2 -57 5 -67 4 -12 2 -20 -5 -20 -6 0 -9 -4 -6
-8 6 -10 10 -112 5 -132 -3 -12 11 -15 79 -16 49 -1 85 3 89 9 7 12 11 546 3
548 -21 7 -162 3 -166 -3z"/>
<path d="M2666 2710 c-1 -3 -2 -342 -2 -755 l1 -750 55 -2 c88 -3 202 -5 355
-4 34 0 228 0 275 0 88 0 235 0 259 1 14 0 26 2 29 4 6 7 6 152 -1 162 -3 5
-171 9 -386 8 l-381 -1 0 274 c0 211 3 273 13 274 59 5 134 3 145 -4 6 -5 12
-6 12 -1 0 5 43 9 95 9 52 0 95 -4 95 -9 0 -5 6 -4 13 1 6 4 87 8 180 8 155
-1 167 0 168 17 0 10 0 38 0 63 0 25 0 55 0 68 l-1 22 -357 0 -358 0 0 225 0
225 370 -1 c325 0 371 2 376 16 3 8 5 47 4 85 l-1 70 -478 0 c-262 1 -478 -2
-480 -5z"/>
<path d="M3905 2711 c-4 -7 -7 -73 -6 -126 l1 -41 265 1 c168 0 266 -4 268
-10 2 -5 4 -302 3 -660 -1 -357 0 -655 2 -662 3 -8 35 -12 105 -12 l102 0 -1
669 c0 466 3 670 10 673 6 1 127 3 269 2 286 0 259 -8 259 70 0 19 -1 50 -1
68 l-1 33 -636 0 c-349 0 -637 -2 -639 -5z"/>
<path d="M5487 2706 c-7 -22 0 -1033 7 -1076 5 -25 10 -54 12 -65 5 -29 47
-139 54 -145 4 -3 14 -19 23 -36 20 -39 103 -115 156 -142 83 -43 172 -64 296
-68 339 -11 536 131 601 431 3 17 7 273 8 571 l2 540 -101 0 c-101 0 -101 0
-104 -25 -1 -14 -2 -32 -2 -38 1 -17 1 -36 1 -101 0 -30 2 -58 5 -62 3 -5 1
-12 -5 -15 -8 -5 -7 -11 1 -21 7 -9 8 -14 1 -14 -7 0 -8 -10 -3 -27 4 -16 5
-39 1 -53 -3 -13 -3 -46 0 -73 4 -26 3 -50 -2 -53 -5 -3 -4 -12 3 -20 7 -9 8
-14 1 -14 -7 0 -8 -10 -3 -27 4 -16 5 -39 1 -53 -3 -13 -3 -46 0 -73 4 -26 3
-50 -2 -53 -5 -3 -4 -12 3 -20 7 -9 8 -14 1 -14 -7 0 -8 -10 -2 -29 4 -16 6
-32 3 -34 -4 -4 -5 -71 -2 -127 1 -33 -10 -128 -22 -175 -28 -114 -78 -181
-164 -221 -108 -50 -291 -47 -394 6 -64 32 -133 127 -147 203 -2 12 -8 45 -13
72 -8 42 -10 214 -11 996 l0 65 -100 0 c-63 1 -100 -3 -103 -10z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

19
public/site.webmanifest Normal file
View file

@ -0,0 +1,19 @@
{
"name": "Lyon's Exceptional Tool for University",
"short_name": "L'ETU",
"icons": [
{
"src": "/images/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/images/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

View file

@ -5,6 +5,14 @@ html
link(href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet")
link(rel="stylesheet", href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css")
link(rel="stylesheet", href="/stylesheets/style.css")
link(rel="icon" type="image/png" href="/images/favicon.ico")
link(rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png")
link(rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png")
link(rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png")
link(rel="manifest" href="/site.webmanifest")
link(rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5")
meta(name="msapplication-TileColor" content="#da532c")
meta(name="theme-color" content="#ffffff")
script(src="/socket.io/socket.io.js")
body
- let student = true

View file

@ -2,12 +2,13 @@ extends layout
block navbar
ul#slide-out.sidenav
if student === true
if session.user.permissions === 1
li
.user-view.student
p
span.white-text.name=session.user.firstName + " " + session.user.lastName
p
if session.user.Groups[session.user.Groups.length-1]
if session.user.Groups[session.user.Groups.length-1].number.startsWith("G")
span.white-text.name=session.user.Groups[session.user.Groups.length-1].number + session.user.Groups[session.user.Groups.length-1].Semester.name
else
@ -28,7 +29,7 @@ block navbar
li
a(href="/viescol" class="waves-effect") School and student life
if teacher === true
if session.user.permissions === 2
li
.user-view.teacher
p(href='#name')
@ -48,7 +49,7 @@ block navbar
li
a(href="/viescol" class="waves-effect") School and student life
if admin === true
if session.user.permissions === 3
li
.user-view.admin
p(href='#name')