ed
This commit is contained in:
parent
48a36209b5
commit
884f3df7cf
262 changed files with 223207 additions and 2 deletions
7933
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/all.css
Normal file
7933
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/all.css
Normal file
File diff suppressed because it is too large
Load diff
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/all.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/all.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/brands.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/brands.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6356
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/fontawesome.css
vendored
Normal file
6356
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/fontawesome.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/fontawesome.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,19 @@
|
|||
/*!
|
||||
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2022 Fonticons, Inc.
|
||||
*/
|
||||
:root, :host {
|
||||
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; }
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: block;
|
||||
src: url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.ttf") format("truetype"); }
|
||||
|
||||
.far,
|
||||
.fa-regular {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-weight: 400; }
|
||||
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/regular.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/regular.min.css
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*!
|
||||
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2022 Fonticons, Inc.
|
||||
*/
|
||||
:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-family:"Font Awesome 6 Free";font-weight:400}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
/*!
|
||||
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2022 Fonticons, Inc.
|
||||
*/
|
||||
:root, :host {
|
||||
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; }
|
||||
|
||||
@font-face {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
font-display: block;
|
||||
src: url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.ttf") format("truetype"); }
|
||||
|
||||
.fas,
|
||||
.fa-solid {
|
||||
font-family: 'Font Awesome 6 Free';
|
||||
font-weight: 900; }
|
||||
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/solid.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/solid.min.css
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*!
|
||||
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2022 Fonticons, Inc.
|
||||
*/
|
||||
:host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-family:"Font Awesome 6 Free";font-weight:900}
|
||||
|
|
@ -0,0 +1,634 @@
|
|||
/*!
|
||||
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2022 Fonticons, Inc.
|
||||
*/
|
||||
:root, :host {
|
||||
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
||||
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
|
||||
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
|
||||
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
|
||||
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
||||
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; }
|
||||
|
||||
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
||||
overflow: visible;
|
||||
box-sizing: content-box; }
|
||||
|
||||
.svg-inline--fa {
|
||||
display: var(--fa-display, inline-block);
|
||||
height: 1em;
|
||||
overflow: visible;
|
||||
vertical-align: -.125em; }
|
||||
.svg-inline--fa.fa-2xs {
|
||||
vertical-align: 0.1em; }
|
||||
.svg-inline--fa.fa-xs {
|
||||
vertical-align: 0em; }
|
||||
.svg-inline--fa.fa-sm {
|
||||
vertical-align: -0.07143em; }
|
||||
.svg-inline--fa.fa-lg {
|
||||
vertical-align: -0.2em; }
|
||||
.svg-inline--fa.fa-xl {
|
||||
vertical-align: -0.25em; }
|
||||
.svg-inline--fa.fa-2xl {
|
||||
vertical-align: -0.3125em; }
|
||||
.svg-inline--fa.fa-pull-left {
|
||||
margin-right: var(--fa-pull-margin, 0.3em);
|
||||
width: auto; }
|
||||
.svg-inline--fa.fa-pull-right {
|
||||
margin-left: var(--fa-pull-margin, 0.3em);
|
||||
width: auto; }
|
||||
.svg-inline--fa.fa-li {
|
||||
width: var(--fa-li-width, 2em);
|
||||
top: 0.25em; }
|
||||
.svg-inline--fa.fa-fw {
|
||||
width: var(--fa-fw-width, 1.25em); }
|
||||
|
||||
.fa-layers svg.svg-inline--fa {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0; }
|
||||
|
||||
.fa-layers-text, .fa-layers-counter {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
text-align: center; }
|
||||
|
||||
.fa-layers {
|
||||
display: inline-block;
|
||||
height: 1em;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
vertical-align: -.125em;
|
||||
width: 1em; }
|
||||
.fa-layers svg.svg-inline--fa {
|
||||
-webkit-transform-origin: center center;
|
||||
transform-origin: center center; }
|
||||
|
||||
.fa-layers-text {
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
-webkit-transform-origin: center center;
|
||||
transform-origin: center center; }
|
||||
|
||||
.fa-layers-counter {
|
||||
background-color: var(--fa-counter-background-color, #ff253a);
|
||||
border-radius: var(--fa-counter-border-radius, 1em);
|
||||
box-sizing: border-box;
|
||||
color: var(--fa-inverse, #fff);
|
||||
line-height: var(--fa-counter-line-height, 1);
|
||||
max-width: var(--fa-counter-max-width, 5em);
|
||||
min-width: var(--fa-counter-min-width, 1.5em);
|
||||
overflow: hidden;
|
||||
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
||||
right: var(--fa-right, 0);
|
||||
text-overflow: ellipsis;
|
||||
top: var(--fa-top, 0);
|
||||
-webkit-transform: scale(var(--fa-counter-scale, 0.25));
|
||||
transform: scale(var(--fa-counter-scale, 0.25));
|
||||
-webkit-transform-origin: top right;
|
||||
transform-origin: top right; }
|
||||
|
||||
.fa-layers-bottom-right {
|
||||
bottom: var(--fa-bottom, 0);
|
||||
right: var(--fa-right, 0);
|
||||
top: auto;
|
||||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||||
transform: scale(var(--fa-layers-scale, 0.25));
|
||||
-webkit-transform-origin: bottom right;
|
||||
transform-origin: bottom right; }
|
||||
|
||||
.fa-layers-bottom-left {
|
||||
bottom: var(--fa-bottom, 0);
|
||||
left: var(--fa-left, 0);
|
||||
right: auto;
|
||||
top: auto;
|
||||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||||
transform: scale(var(--fa-layers-scale, 0.25));
|
||||
-webkit-transform-origin: bottom left;
|
||||
transform-origin: bottom left; }
|
||||
|
||||
.fa-layers-top-right {
|
||||
top: var(--fa-top, 0);
|
||||
right: var(--fa-right, 0);
|
||||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||||
transform: scale(var(--fa-layers-scale, 0.25));
|
||||
-webkit-transform-origin: top right;
|
||||
transform-origin: top right; }
|
||||
|
||||
.fa-layers-top-left {
|
||||
left: var(--fa-left, 0);
|
||||
right: auto;
|
||||
top: var(--fa-top, 0);
|
||||
-webkit-transform: scale(var(--fa-layers-scale, 0.25));
|
||||
transform: scale(var(--fa-layers-scale, 0.25));
|
||||
-webkit-transform-origin: top left;
|
||||
transform-origin: top left; }
|
||||
|
||||
.fa-1x {
|
||||
font-size: 1em; }
|
||||
|
||||
.fa-2x {
|
||||
font-size: 2em; }
|
||||
|
||||
.fa-3x {
|
||||
font-size: 3em; }
|
||||
|
||||
.fa-4x {
|
||||
font-size: 4em; }
|
||||
|
||||
.fa-5x {
|
||||
font-size: 5em; }
|
||||
|
||||
.fa-6x {
|
||||
font-size: 6em; }
|
||||
|
||||
.fa-7x {
|
||||
font-size: 7em; }
|
||||
|
||||
.fa-8x {
|
||||
font-size: 8em; }
|
||||
|
||||
.fa-9x {
|
||||
font-size: 9em; }
|
||||
|
||||
.fa-10x {
|
||||
font-size: 10em; }
|
||||
|
||||
.fa-2xs {
|
||||
font-size: 0.625em;
|
||||
line-height: 0.1em;
|
||||
vertical-align: 0.225em; }
|
||||
|
||||
.fa-xs {
|
||||
font-size: 0.75em;
|
||||
line-height: 0.08333em;
|
||||
vertical-align: 0.125em; }
|
||||
|
||||
.fa-sm {
|
||||
font-size: 0.875em;
|
||||
line-height: 0.07143em;
|
||||
vertical-align: 0.05357em; }
|
||||
|
||||
.fa-lg {
|
||||
font-size: 1.25em;
|
||||
line-height: 0.05em;
|
||||
vertical-align: -0.075em; }
|
||||
|
||||
.fa-xl {
|
||||
font-size: 1.5em;
|
||||
line-height: 0.04167em;
|
||||
vertical-align: -0.125em; }
|
||||
|
||||
.fa-2xl {
|
||||
font-size: 2em;
|
||||
line-height: 0.03125em;
|
||||
vertical-align: -0.1875em; }
|
||||
|
||||
.fa-fw {
|
||||
text-align: center;
|
||||
width: 1.25em; }
|
||||
|
||||
.fa-ul {
|
||||
list-style-type: none;
|
||||
margin-left: var(--fa-li-margin, 2.5em);
|
||||
padding-left: 0; }
|
||||
.fa-ul > li {
|
||||
position: relative; }
|
||||
|
||||
.fa-li {
|
||||
left: calc(var(--fa-li-width, 2em) * -1);
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
width: var(--fa-li-width, 2em);
|
||||
line-height: inherit; }
|
||||
|
||||
.fa-border {
|
||||
border-color: var(--fa-border-color, #eee);
|
||||
border-radius: var(--fa-border-radius, 0.1em);
|
||||
border-style: var(--fa-border-style, solid);
|
||||
border-width: var(--fa-border-width, 0.08em);
|
||||
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); }
|
||||
|
||||
.fa-pull-left {
|
||||
float: left;
|
||||
margin-right: var(--fa-pull-margin, 0.3em); }
|
||||
|
||||
.fa-pull-right {
|
||||
float: right;
|
||||
margin-left: var(--fa-pull-margin, 0.3em); }
|
||||
|
||||
.fa-beat {
|
||||
-webkit-animation-name: fa-beat;
|
||||
animation-name: fa-beat;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||||
animation-timing-function: var(--fa-animation-timing, ease-in-out); }
|
||||
|
||||
.fa-bounce {
|
||||
-webkit-animation-name: fa-bounce;
|
||||
animation-name: fa-bounce;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
||||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); }
|
||||
|
||||
.fa-fade {
|
||||
-webkit-animation-name: fa-fade;
|
||||
animation-name: fa-fade;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
||||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); }
|
||||
|
||||
.fa-beat-fade {
|
||||
-webkit-animation-name: fa-beat-fade;
|
||||
animation-name: fa-beat-fade;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
||||
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); }
|
||||
|
||||
.fa-flip {
|
||||
-webkit-animation-name: fa-flip;
|
||||
animation-name: fa-flip;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
||||
animation-timing-function: var(--fa-animation-timing, ease-in-out); }
|
||||
|
||||
.fa-shake {
|
||||
-webkit-animation-name: fa-shake;
|
||||
animation-name: fa-shake;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
||||
animation-timing-function: var(--fa-animation-timing, linear); }
|
||||
|
||||
.fa-spin {
|
||||
-webkit-animation-name: fa-spin;
|
||||
animation-name: fa-spin;
|
||||
-webkit-animation-delay: var(--fa-animation-delay, 0);
|
||||
animation-delay: var(--fa-animation-delay, 0);
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
||||
animation-duration: var(--fa-animation-duration, 2s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
||||
animation-timing-function: var(--fa-animation-timing, linear); }
|
||||
|
||||
.fa-spin-reverse {
|
||||
--fa-animation-direction: reverse; }
|
||||
|
||||
.fa-pulse,
|
||||
.fa-spin-pulse {
|
||||
-webkit-animation-name: fa-spin;
|
||||
animation-name: fa-spin;
|
||||
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
||||
animation-direction: var(--fa-animation-direction, normal);
|
||||
-webkit-animation-duration: var(--fa-animation-duration, 1s);
|
||||
animation-duration: var(--fa-animation-duration, 1s);
|
||||
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
||||
-webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
|
||||
animation-timing-function: var(--fa-animation-timing, steps(8)); }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.fa-beat,
|
||||
.fa-bounce,
|
||||
.fa-fade,
|
||||
.fa-beat-fade,
|
||||
.fa-flip,
|
||||
.fa-pulse,
|
||||
.fa-shake,
|
||||
.fa-spin,
|
||||
.fa-spin-pulse {
|
||||
-webkit-animation-delay: -1ms;
|
||||
animation-delay: -1ms;
|
||||
-webkit-animation-duration: 1ms;
|
||||
animation-duration: 1ms;
|
||||
-webkit-animation-iteration-count: 1;
|
||||
animation-iteration-count: 1;
|
||||
transition-delay: 0s;
|
||||
transition-duration: 0s; } }
|
||||
|
||||
@-webkit-keyframes fa-beat {
|
||||
0%, 90% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
45% {
|
||||
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
||||
transform: scale(var(--fa-beat-scale, 1.25)); } }
|
||||
|
||||
@keyframes fa-beat {
|
||||
0%, 90% {
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
45% {
|
||||
-webkit-transform: scale(var(--fa-beat-scale, 1.25));
|
||||
transform: scale(var(--fa-beat-scale, 1.25)); } }
|
||||
|
||||
@-webkit-keyframes fa-bounce {
|
||||
0% {
|
||||
-webkit-transform: scale(1, 1) translateY(0);
|
||||
transform: scale(1, 1) translateY(0); }
|
||||
10% {
|
||||
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
||||
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); }
|
||||
30% {
|
||||
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
||||
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); }
|
||||
50% {
|
||||
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
||||
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); }
|
||||
57% {
|
||||
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
||||
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); }
|
||||
64% {
|
||||
-webkit-transform: scale(1, 1) translateY(0);
|
||||
transform: scale(1, 1) translateY(0); }
|
||||
100% {
|
||||
-webkit-transform: scale(1, 1) translateY(0);
|
||||
transform: scale(1, 1) translateY(0); } }
|
||||
|
||||
@keyframes fa-bounce {
|
||||
0% {
|
||||
-webkit-transform: scale(1, 1) translateY(0);
|
||||
transform: scale(1, 1) translateY(0); }
|
||||
10% {
|
||||
-webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
||||
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); }
|
||||
30% {
|
||||
-webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
||||
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); }
|
||||
50% {
|
||||
-webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
||||
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); }
|
||||
57% {
|
||||
-webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
||||
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); }
|
||||
64% {
|
||||
-webkit-transform: scale(1, 1) translateY(0);
|
||||
transform: scale(1, 1) translateY(0); }
|
||||
100% {
|
||||
-webkit-transform: scale(1, 1) translateY(0);
|
||||
transform: scale(1, 1) translateY(0); } }
|
||||
|
||||
@-webkit-keyframes fa-fade {
|
||||
50% {
|
||||
opacity: var(--fa-fade-opacity, 0.4); } }
|
||||
|
||||
@keyframes fa-fade {
|
||||
50% {
|
||||
opacity: var(--fa-fade-opacity, 0.4); } }
|
||||
|
||||
@-webkit-keyframes fa-beat-fade {
|
||||
0%, 100% {
|
||||
opacity: var(--fa-beat-fade-opacity, 0.4);
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
50% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
||||
transform: scale(var(--fa-beat-fade-scale, 1.125)); } }
|
||||
|
||||
@keyframes fa-beat-fade {
|
||||
0%, 100% {
|
||||
opacity: var(--fa-beat-fade-opacity, 0.4);
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1); }
|
||||
50% {
|
||||
opacity: 1;
|
||||
-webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
|
||||
transform: scale(var(--fa-beat-fade-scale, 1.125)); } }
|
||||
|
||||
@-webkit-keyframes fa-flip {
|
||||
50% {
|
||||
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
||||
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } }
|
||||
|
||||
@keyframes fa-flip {
|
||||
50% {
|
||||
-webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
||||
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); } }
|
||||
|
||||
@-webkit-keyframes fa-shake {
|
||||
0% {
|
||||
-webkit-transform: rotate(-15deg);
|
||||
transform: rotate(-15deg); }
|
||||
4% {
|
||||
-webkit-transform: rotate(15deg);
|
||||
transform: rotate(15deg); }
|
||||
8%, 24% {
|
||||
-webkit-transform: rotate(-18deg);
|
||||
transform: rotate(-18deg); }
|
||||
12%, 28% {
|
||||
-webkit-transform: rotate(18deg);
|
||||
transform: rotate(18deg); }
|
||||
16% {
|
||||
-webkit-transform: rotate(-22deg);
|
||||
transform: rotate(-22deg); }
|
||||
20% {
|
||||
-webkit-transform: rotate(22deg);
|
||||
transform: rotate(22deg); }
|
||||
32% {
|
||||
-webkit-transform: rotate(-12deg);
|
||||
transform: rotate(-12deg); }
|
||||
36% {
|
||||
-webkit-transform: rotate(12deg);
|
||||
transform: rotate(12deg); }
|
||||
40%, 100% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg); } }
|
||||
|
||||
@keyframes fa-shake {
|
||||
0% {
|
||||
-webkit-transform: rotate(-15deg);
|
||||
transform: rotate(-15deg); }
|
||||
4% {
|
||||
-webkit-transform: rotate(15deg);
|
||||
transform: rotate(15deg); }
|
||||
8%, 24% {
|
||||
-webkit-transform: rotate(-18deg);
|
||||
transform: rotate(-18deg); }
|
||||
12%, 28% {
|
||||
-webkit-transform: rotate(18deg);
|
||||
transform: rotate(18deg); }
|
||||
16% {
|
||||
-webkit-transform: rotate(-22deg);
|
||||
transform: rotate(-22deg); }
|
||||
20% {
|
||||
-webkit-transform: rotate(22deg);
|
||||
transform: rotate(22deg); }
|
||||
32% {
|
||||
-webkit-transform: rotate(-12deg);
|
||||
transform: rotate(-12deg); }
|
||||
36% {
|
||||
-webkit-transform: rotate(12deg);
|
||||
transform: rotate(12deg); }
|
||||
40%, 100% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg); } }
|
||||
|
||||
@-webkit-keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg); } }
|
||||
|
||||
@keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg); } }
|
||||
|
||||
.fa-rotate-90 {
|
||||
-webkit-transform: rotate(90deg);
|
||||
transform: rotate(90deg); }
|
||||
|
||||
.fa-rotate-180 {
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg); }
|
||||
|
||||
.fa-rotate-270 {
|
||||
-webkit-transform: rotate(270deg);
|
||||
transform: rotate(270deg); }
|
||||
|
||||
.fa-flip-horizontal {
|
||||
-webkit-transform: scale(-1, 1);
|
||||
transform: scale(-1, 1); }
|
||||
|
||||
.fa-flip-vertical {
|
||||
-webkit-transform: scale(1, -1);
|
||||
transform: scale(1, -1); }
|
||||
|
||||
.fa-flip-both,
|
||||
.fa-flip-horizontal.fa-flip-vertical {
|
||||
-webkit-transform: scale(-1, -1);
|
||||
transform: scale(-1, -1); }
|
||||
|
||||
.fa-rotate-by {
|
||||
-webkit-transform: rotate(var(--fa-rotate-angle, none));
|
||||
transform: rotate(var(--fa-rotate-angle, none)); }
|
||||
|
||||
.fa-stack {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 2em;
|
||||
position: relative;
|
||||
width: 2.5em; }
|
||||
|
||||
.fa-stack-1x,
|
||||
.fa-stack-2x {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: var(--fa-stack-z-index, auto); }
|
||||
|
||||
.svg-inline--fa.fa-stack-1x {
|
||||
height: 1em;
|
||||
width: 1.25em; }
|
||||
|
||||
.svg-inline--fa.fa-stack-2x {
|
||||
height: 2em;
|
||||
width: 2.5em; }
|
||||
|
||||
.fa-inverse {
|
||||
color: var(--fa-inverse, #fff); }
|
||||
|
||||
.sr-only,
|
||||
.fa-sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border-width: 0; }
|
||||
|
||||
.sr-only-focusable:not(:focus),
|
||||
.fa-sr-only-focusable:not(:focus) {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border-width: 0; }
|
||||
|
||||
.svg-inline--fa .fa-primary {
|
||||
fill: var(--fa-primary-color, currentColor);
|
||||
opacity: var(--fa-primary-opacity, 1); }
|
||||
|
||||
.svg-inline--fa .fa-secondary {
|
||||
fill: var(--fa-secondary-color, currentColor);
|
||||
opacity: var(--fa-secondary-opacity, 0.4); }
|
||||
|
||||
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
||||
opacity: var(--fa-secondary-opacity, 0.4); }
|
||||
|
||||
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
||||
opacity: var(--fa-primary-opacity, 1); }
|
||||
|
||||
.svg-inline--fa mask .fa-primary,
|
||||
.svg-inline--fa mask .fa-secondary {
|
||||
fill: black; }
|
||||
|
||||
.fad.fa-inverse,
|
||||
.fa-duotone.fa-inverse {
|
||||
color: var(--fa-inverse, #fff); }
|
||||
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/svg-with-js.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/svg-with-js.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/v4-font-face.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/v4-font-face.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/v4-shims.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/v4-shims.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,22 @@
|
|||
/*!
|
||||
* Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
* Copyright 2022 Fonticons, Inc.
|
||||
*/
|
||||
@font-face {
|
||||
font-family: "Font Awesome 5 Brands";
|
||||
font-display: block;
|
||||
font-weight: 400;
|
||||
src: url("../webfonts/fa-brands-400.woff2") format("woff2"), url("../webfonts/fa-brands-400.ttf") format("truetype"); }
|
||||
|
||||
@font-face {
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-display: block;
|
||||
font-weight: 900;
|
||||
src: url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.ttf") format("truetype"); }
|
||||
|
||||
@font-face {
|
||||
font-family: "Font Awesome 5 Free";
|
||||
font-display: block;
|
||||
font-weight: 400;
|
||||
src: url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.ttf") format("truetype"); }
|
||||
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/v5-font-face.min.css
vendored
Normal file
6
resources/[jobs]/[mdt]/myEmergency/html/css/Fontawesome/css/v5-font-face.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
After Width: | Height: | Size: 730 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,801 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
||||
<metadata>
|
||||
Created by FontForge 20201107 at Wed Aug 4 12:25:29 2021
|
||||
By Robert Madole
|
||||
Copyright (c) Font Awesome
|
||||
</metadata>
|
||||
<!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<font id="FontAwesome5Free-Regular" horiz-adv-x="512" >
|
||||
<font-face
|
||||
font-family="Font Awesome 5 Free Regular"
|
||||
font-weight="400"
|
||||
font-stretch="normal"
|
||||
units-per-em="512"
|
||||
panose-1="2 0 5 3 0 0 0 0 0 0"
|
||||
ascent="448"
|
||||
descent="-64"
|
||||
bbox="-0.0663408 -64.0662 640.004 448.1"
|
||||
underline-thickness="25"
|
||||
underline-position="-50"
|
||||
unicode-range="U+0020-F5C8"
|
||||
/>
|
||||
<missing-glyph />
|
||||
<glyph glyph-name="heart" unicode=""
|
||||
d="M458.4 383.7c75.2998 -63.4004 64.0996 -166.601 10.5996 -221.3l-175.4 -178.7c-10 -10.2002 -23.2998 -15.7998 -37.5996 -15.7998c-14.2002 0 -27.5996 5.69922 -37.5996 15.8994l-175.4 178.7c-53.5996 54.7002 -64.5996 157.9 10.5996 221.2
|
||||
c57.8008 48.7002 147.101 41.2998 202.4 -15c55.2998 56.2998 144.6 63.5996 202.4 15zM434.8 196.2c36.2002 36.8994 43.7998 107.7 -7.2998 150.8c-38.7002 32.5996 -98.7002 27.9004 -136.5 -10.5996l-35 -35.7002l-35 35.7002
|
||||
c-37.5996 38.2998 -97.5996 43.1992 -136.5 10.5c-51.2002 -43.1006 -43.7998 -113.5 -7.2998 -150.7l175.399 -178.7c2.40039 -2.40039 4.40039 -2.40039 6.80078 0z" />
|
||||
<glyph glyph-name="star" unicode="" horiz-adv-x="576"
|
||||
d="M528.1 276.5c26.2002 -3.7998 36.7002 -36.0996 17.7002 -54.5996l-105.7 -103l25 -145.5c4.5 -26.3008 -23.1992 -45.9004 -46.3994 -33.7002l-130.7 68.7002l-130.7 -68.7002c-23.2002 -12.2998 -50.8994 7.39941 -46.3994 33.7002l25 145.5l-105.7 103
|
||||
c-19 18.5 -8.5 50.7998 17.7002 54.5996l146.1 21.2998l65.2998 132.4c11.7998 23.8994 45.7002 23.5996 57.4004 0l65.2998 -132.4zM388.6 135.7l100.601 98l-139 20.2002l-62.2002 126l-62.2002 -126l-139 -20.2002l100.601 -98l-23.7002 -138.4l124.3 65.2998
|
||||
l124.3 -65.2998z" />
|
||||
<glyph glyph-name="user" unicode="" horiz-adv-x="448"
|
||||
d="M313.6 144c74.2002 0 134.4 -60.2002 134.4 -134.4v-25.5996c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v25.5996c0 74.2002 60.2002 134.4 134.4 134.4c28.7998 0 42.5 -16 89.5996 -16s60.9004 16 89.5996 16zM400 -16v25.5996
|
||||
c0 47.6006 -38.7998 86.4004 -86.4004 86.4004c-14.6992 0 -37.8994 -16 -89.5996 -16c-51.2998 0 -75 16 -89.5996 16c-47.6006 0 -86.4004 -38.7998 -86.4004 -86.4004v-25.5996h352zM224 160c-79.5 0 -144 64.5 -144 144s64.5 144 144 144s144 -64.5 144 -144
|
||||
s-64.5 -144 -144 -144zM224 400c-52.9004 0 -96 -43.0996 -96 -96s43.0996 -96 96 -96s96 43.0996 96 96s-43.0996 96 -96 96z" />
|
||||
<glyph glyph-name="clock" unicode=""
|
||||
d="M256 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM256 -8c110.5 0 200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200s89.5 -200 200 -200zM317.8 96.4004l-84.8994 61.6992
|
||||
c-3.10059 2.30078 -4.90039 5.90039 -4.90039 9.7002v164.2c0 6.59961 5.40039 12 12 12h32c6.59961 0 12 -5.40039 12 -12v-141.7l66.7998 -48.5996c5.40039 -3.90039 6.5 -11.4004 2.60059 -16.7998l-18.8008 -25.9004c-3.89941 -5.2998 -11.3994 -6.5 -16.7998 -2.59961z
|
||||
" />
|
||||
<glyph glyph-name="list-alt" unicode=""
|
||||
d="M464 416c26.5098 0 48 -21.4902 48 -48v-352c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v352c0 26.5098 21.4902 48 48 48h416zM458 16c3.31152 0 6 2.68848 6 6v340c0 3.31152 -2.68848 6 -6 6h-404c-3.31152 0 -6 -2.68848 -6 -6v-340
|
||||
c0 -3.31152 2.68848 -6 6 -6h404zM416 108v-24c0 -6.62695 -5.37305 -12 -12 -12h-200c-6.62695 0 -12 5.37305 -12 12v24c0 6.62695 5.37305 12 12 12h200c6.62695 0 12 -5.37305 12 -12zM416 204v-24c0 -6.62695 -5.37305 -12 -12 -12h-200c-6.62695 0 -12 5.37305 -12 12
|
||||
v24c0 6.62695 5.37305 12 12 12h200c6.62695 0 12 -5.37305 12 -12zM416 300v-24c0 -6.62695 -5.37305 -12 -12 -12h-200c-6.62695 0 -12 5.37305 -12 12v24c0 6.62695 5.37305 12 12 12h200c6.62695 0 12 -5.37305 12 -12zM164 288c0 -19.8818 -16.1182 -36 -36 -36
|
||||
s-36 16.1182 -36 36s16.1182 36 36 36s36 -16.1182 36 -36zM164 192c0 -19.8818 -16.1182 -36 -36 -36s-36 16.1182 -36 36s16.1182 36 36 36s36 -16.1182 36 -36zM164 96c0 -19.8818 -16.1182 -36 -36 -36s-36 16.1182 -36 36s16.1182 36 36 36s36 -16.1182 36 -36z" />
|
||||
<glyph glyph-name="flag" unicode=""
|
||||
d="M336.174 368c35.4668 0 73.0195 12.6914 108.922 28.1797c31.6406 13.6514 66.9043 -9.65723 66.9043 -44.1162v-239.919c0 -16.1953 -8.1543 -31.3057 -21.7129 -40.1631c-26.5762 -17.3643 -70.0693 -39.9814 -128.548 -39.9814c-68.6084 0 -112.781 32 -161.913 32
|
||||
c-56.5674 0 -89.957 -11.2803 -127.826 -28.5566v-83.4434c0 -8.83691 -7.16309 -16 -16 -16h-16c-8.83691 0 -16 7.16309 -16 16v406.438c-14.3428 8.2998 -24 23.7979 -24 41.5615c0 27.5693 23.2422 49.71 51.2012 47.8965
|
||||
c22.9658 -1.49023 41.8662 -19.4717 44.4805 -42.3379c0.213867 -1.83398 0.308594 -3.65918 0.308594 -5.5498c0 -5.30273 -0.860352 -10.4053 -2.4502 -15.1768c22.418 8.68555 49.4199 15.168 80.7207 15.168c68.6084 0 112.781 -32 161.913 -32zM464 112v240
|
||||
c-31.5059 -14.6338 -84.5547 -32 -127.826 -32c-59.9111 0 -101.968 32 -161.913 32c-41.4365 0 -80.4766 -16.5879 -102.261 -32v-232c31.4473 14.5967 84.4648 24 127.826 24c59.9111 0 101.968 -32 161.913 -32c41.4365 0 80.4775 16.5879 102.261 32z" />
|
||||
<glyph glyph-name="bookmark" unicode="" horiz-adv-x="384"
|
||||
d="M336 448c26.5098 0 48 -21.4902 48 -48v-464l-192 112l-192 -112v464c0 26.5098 21.4902 48 48 48h288zM336 19.5703v374.434c0 3.31348 -2.68555 5.99609 -6 5.99609h-276c-3.31152 0 -6 -2.68848 -6 -6v-374.43l144 84z" />
|
||||
<glyph glyph-name="image" unicode=""
|
||||
d="M464 384c26.5098 0 48 -21.4902 48 -48v-288c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v288c0 26.5098 21.4902 48 48 48h416zM458 48c3.31152 0 6 2.68848 6 6v276c0 3.31152 -2.68848 6 -6 6h-404c-3.31152 0 -6 -2.68848 -6 -6v-276
|
||||
c0 -3.31152 2.68848 -6 6 -6h404zM128 296c22.0908 0 40 -17.9092 40 -40s-17.9092 -40 -40 -40s-40 17.9092 -40 40s17.9092 40 40 40zM96 96v48l39.5137 39.5146c4.6875 4.68652 12.2852 4.68652 16.9717 0l39.5146 -39.5146l119.514 119.515
|
||||
c4.6875 4.68652 12.2852 4.68652 16.9717 0l87.5146 -87.5146v-80h-320z" />
|
||||
<glyph glyph-name="edit" unicode="" horiz-adv-x="576"
|
||||
d="M402.3 103.1l32 32c5 5 13.7002 1.5 13.7002 -5.69922v-145.4c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h273.5c7.09961 0 10.7002 -8.59961 5.7002 -13.7002l-32 -32c-1.5 -1.5 -3.5 -2.2998 -5.7002 -2.2998h-241.5v-352h352
|
||||
v113.5c0 2.09961 0.799805 4.09961 2.2998 5.59961zM558.9 304.9l-262.601 -262.601l-90.3994 -10c-26.2002 -2.89941 -48.5 19.2002 -45.6006 45.6006l10 90.3994l262.601 262.601c22.8994 22.8994 59.8994 22.8994 82.6992 0l43.2002 -43.2002
|
||||
c22.9004 -22.9004 22.9004 -60 0.100586 -82.7998zM460.1 274l-58.0996 58.0996l-185.8 -185.899l-7.2998 -65.2998l65.2998 7.2998zM524.9 353.7l-43.2002 43.2002c-4.10059 4.09961 -10.7998 4.09961 -14.7998 0l-30.9004 -30.9004l58.0996 -58.0996l30.9004 30.8994
|
||||
c4 4.2002 4 10.7998 -0.0996094 14.9004z" />
|
||||
<glyph glyph-name="times-circle" unicode=""
|
||||
d="M256 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM256 -8c110.5 0 200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200s89.5 -200 200 -200zM357.8 254.2l-62.2002 -62.2002l62.2002 -62.2002
|
||||
c4.7002 -4.7002 4.7002 -12.2998 0 -17l-22.5996 -22.5996c-4.7002 -4.7002 -12.2998 -4.7002 -17 0l-62.2002 62.2002l-62.2002 -62.2002c-4.7002 -4.7002 -12.2998 -4.7002 -17 0l-22.5996 22.5996c-4.7002 4.7002 -4.7002 12.2998 0 17l62.2002 62.2002l-62.2002 62.2002
|
||||
c-4.7002 4.7002 -4.7002 12.2998 0 17l22.5996 22.5996c4.7002 4.7002 12.2998 4.7002 17 0l62.2002 -62.2002l62.2002 62.2002c4.7002 4.7002 12.2998 4.7002 17 0l22.5996 -22.5996c4.7002 -4.7002 4.7002 -12.2998 0 -17z" />
|
||||
<glyph glyph-name="check-circle" unicode=""
|
||||
d="M256 440c136.967 0 248 -111.033 248 -248s-111.033 -248 -248 -248s-248 111.033 -248 248s111.033 248 248 248zM256 392c-110.549 0 -200 -89.4678 -200 -200c0 -110.549 89.4678 -200 200 -200c110.549 0 200 89.4678 200 200c0 110.549 -89.4678 200 -200 200z
|
||||
M396.204 261.733c4.66699 -4.70508 4.63672 -12.3037 -0.0673828 -16.9717l-172.589 -171.204c-4.70508 -4.66797 -12.3027 -4.63672 -16.9697 0.0683594l-90.7812 91.5156c-4.66797 4.70605 -4.63672 12.3047 0.0683594 16.9717l22.7188 22.5361
|
||||
c4.70508 4.66699 12.3027 4.63574 16.9697 -0.0693359l59.792 -60.2773l141.353 140.216c4.70508 4.66797 12.3027 4.6377 16.9697 -0.0673828z" />
|
||||
<glyph glyph-name="question-circle" unicode=""
|
||||
d="M256 440c136.957 0 248 -111.083 248 -248c0 -136.997 -111.043 -248 -248 -248s-248 111.003 -248 248c0 136.917 111.043 248 248 248zM256 -8c110.569 0 200 89.4697 200 200c0 110.529 -89.5088 200 -200 200c-110.528 0 -200 -89.5049 -200 -200
|
||||
c0 -110.569 89.4678 -200 200 -200zM363.244 247.2c0 -67.0518 -72.4209 -68.084 -72.4209 -92.8633v-6.33691c0 -6.62695 -5.37305 -12 -12 -12h-45.6475c-6.62695 0 -12 5.37305 -12 12v8.65918c0 35.7451 27.1006 50.0342 47.5791 61.5156
|
||||
c17.5615 9.84473 28.3242 16.541 28.3242 29.5791c0 17.2461 -21.999 28.6934 -39.7842 28.6934c-23.1885 0 -33.8936 -10.9775 -48.9424 -29.9697c-4.05664 -5.11914 -11.46 -6.07031 -16.666 -2.12402l-27.8232 21.0986
|
||||
c-5.10742 3.87207 -6.25098 11.0654 -2.64453 16.3633c23.627 34.6934 53.7217 54.1846 100.575 54.1846c49.0713 0 101.45 -38.3037 101.45 -88.7998zM298 80c0 -23.1592 -18.8408 -42 -42 -42s-42 18.8408 -42 42s18.8408 42 42 42s42 -18.8408 42 -42z" />
|
||||
<glyph glyph-name="eye" unicode="" horiz-adv-x="576"
|
||||
d="M288 304c0.114258 0 0.240234 -0.0175781 0.354492 -0.0175781c61.6543 0 111.71 -50.0557 111.71 -111.71s-50.0557 -111.71 -111.71 -111.71s-111.71 50.0557 -111.71 111.71c0 10.7422 1.51953 21.1328 4.35547 30.9678
|
||||
c7.95898 -4.52637 17.2129 -7.17188 27 -7.24023c30.9072 0 56 25.0928 56 56c-0.0683594 9.78711 -2.71387 19.041 -7.24023 27c9.88379 3.07617 20.3896 4.83008 31.2402 5zM572.52 206.6c2.21387 -4.37793 3.46094 -9.38965 3.46094 -14.626
|
||||
c0 -5.2373 -1.24707 -10.1855 -3.46094 -14.5635c-54.1992 -105.771 -161.59 -177.41 -284.52 -177.41s-230.29 71.5898 -284.52 177.4c-2.21387 4.37793 -3.46094 9.38965 -3.46094 14.626c0 5.2373 1.24707 10.1855 3.46094 14.5635
|
||||
c54.1992 105.771 161.59 177.41 284.52 177.41s230.29 -71.5898 284.52 -177.4zM288 48c98.6602 0 189.1 55 237.93 144c-48.8398 89 -139.27 144 -237.93 144s-189.09 -55 -237.93 -144c48.8398 -89 139.279 -144 237.93 -144z" />
|
||||
<glyph glyph-name="eye-slash" unicode="" horiz-adv-x="640"
|
||||
d="M634 -23c3.66895 -2.93262 6.00391 -7.45117 6.00391 -12.5088c0 -3.7832 -1.31543 -7.26074 -3.51367 -10.001l-10 -12.4902c-2.93359 -3.66309 -7.44824 -5.99414 -12.502 -5.99414c-3.77637 0 -7.25 1.31152 -9.98828 3.50391l-598 467.49
|
||||
c-3.66895 2.93262 -6.00391 7.45117 -6.00391 12.5088c0 3.7832 1.31543 7.26074 3.51367 10.001l10 12.4902c2.93359 3.66309 7.44824 5.99414 12.502 5.99414c3.77637 0 7.25 -1.31152 9.98828 -3.50391zM296.79 301.53c7.51172 1.60254 15.2266 2.45508 23.21 2.46973
|
||||
c60.4805 0 109.36 -47.9102 111.58 -107.85zM343.21 82.46c-7.51367 -1.59375 -15.2285 -2.44336 -23.21 -2.45996c-60.4697 0 -109.35 47.9102 -111.58 107.84zM320 336c-19.8799 0 -39.2803 -2.7998 -58.2197 -7.09961l-46.4102 36.29
|
||||
c32.9199 11.8096 67.9297 18.8096 104.63 18.8096c122.93 0 230.29 -71.5898 284.57 -177.4c2.21289 -4.37793 3.45996 -9.38965 3.45996 -14.626c0 -5.2373 -1.24707 -10.1855 -3.45996 -14.5635c-14.1924 -27.5625 -31.9229 -52.6689 -52.9004 -75.1104l-37.7402 29.5
|
||||
c17.2305 18.0527 31.9385 38.1318 44 60.2002c-48.8398 89 -139.279 144 -237.93 144zM320 48c19.8896 0 39.2803 2.7998 58.2197 7.08984l46.4102 -36.2803c-32.9199 -11.7598 -67.9297 -18.8096 -104.63 -18.8096c-122.92 0 -230.28 71.5898 -284.51 177.4
|
||||
c-2.21387 4.37793 -3.46094 9.38965 -3.46094 14.626c0 5.2373 1.24707 10.1855 3.46094 14.5635c14.1885 27.5586 31.916 52.6621 52.8896 75.1006l37.7402 -29.5c-17.249 -18.0469 -31.9727 -38.1221 -44.0498 -60.1904c48.8496 -89 139.279 -144 237.93 -144z" />
|
||||
<glyph glyph-name="calendar-alt" unicode="" horiz-adv-x="448"
|
||||
d="M148 160h-40c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12zM256 172c0 -6.59961 -5.40039 -12 -12 -12h-40c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40
|
||||
c6.59961 0 12 -5.40039 12 -12v-40zM352 172c0 -6.59961 -5.40039 -12 -12 -12h-40c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40zM256 76c0 -6.59961 -5.40039 -12 -12 -12h-40c-6.59961 0 -12 5.40039 -12 12v40
|
||||
c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40zM160 76c0 -6.59961 -5.40039 -12 -12 -12h-40c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40zM352 76c0 -6.59961 -5.40039 -12 -12 -12h-40
|
||||
c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40zM448 336v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h48v52c0 6.59961 5.40039 12 12 12h40
|
||||
c6.59961 0 12 -5.40039 12 -12v-52h128v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h48c26.5 0 48 -21.5 48 -48zM400 -10v298h-352v-298c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="comment" unicode=""
|
||||
d="M256 416c141.4 0 256 -93.0996 256 -208s-114.6 -208 -256 -208c-32.7998 0 -64 5.2002 -92.9004 14.2998c-29.0996 -20.5996 -77.5996 -46.2998 -139.1 -46.2998c-9.59961 0 -18.2998 5.7002 -22.0996 14.5c-3.80078 8.7998 -2 19 4.59961 26
|
||||
c0.5 0.400391 31.5 33.7998 46.4004 73.2002c-33 35.0996 -52.9004 78.7002 -52.9004 126.3c0 114.9 114.6 208 256 208zM256 48c114.7 0 208 71.7998 208 160s-93.2998 160 -208 160s-208 -71.7998 -208 -160c0 -42.2002 21.7002 -74.0996 39.7998 -93.4004
|
||||
l20.6006 -21.7998l-10.6006 -28.0996c-5.5 -14.5 -12.5996 -28.1006 -19.8994 -40.2002c23.5996 7.59961 43.1992 18.9004 57.5 29l19.5 13.7998l22.6992 -7.2002c25.3008 -8 51.7002 -12.0996 78.4004 -12.0996z" />
|
||||
<glyph glyph-name="folder" unicode=""
|
||||
d="M464 320c26.5098 0 48 -21.4902 48 -48v-224c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v288c0 26.5098 21.4902 48 48 48h146.74c8.49023 0 16.6299 -3.37012 22.6299 -9.37012l54.6299 -54.6299h192zM464 48v224h-198.62
|
||||
c-8.49023 0 -16.6299 3.37012 -22.6299 9.37012l-54.6299 54.6299h-140.12v-288h416z" />
|
||||
<glyph glyph-name="folder-open" unicode="" horiz-adv-x="576"
|
||||
d="M527.9 224c37.6992 0 60.6992 -41.5 40.6992 -73.4004l-79.8994 -128c-8.7998 -14.0996 -24.2002 -22.5996 -40.7002 -22.5996h-400c-26.5 0 -48 21.5 -48 48v288c0 26.5 21.5 48 48 48h160l64 -64h160c26.5 0 48 -21.5 48 -48v-48h47.9004zM48 330v-233.4l62.9004 104.2
|
||||
c8.69922 14.4004 24.2998 23.2002 41.0996 23.2002h280v42c0 3.2998 -2.7002 6 -6 6h-173.9l-64 64h-134.1c-3.2998 0 -6 -2.7002 -6 -6zM448 48l80 128h-378.8l-77.2002 -128h376z" />
|
||||
<glyph glyph-name="chart-bar" unicode=""
|
||||
d="M396.8 96c-6.39941 0 -12.7998 6.40039 -12.7998 12.7998v230.4c0 6.39941 6.40039 12.7998 12.7998 12.7998h22.4004c6.39941 0 12.7998 -6.40039 12.7998 -12.7998v-230.4c0 -6.39941 -6.40039 -12.7998 -12.7998 -12.7998h-22.4004zM204.8 96
|
||||
c-6.39941 0 -12.7998 6.40039 -12.7998 12.7998v198.4c0 6.39941 6.40039 12.7998 12.7998 12.7998h22.4004c6.39941 0 12.7998 -6.40039 12.7998 -12.7998v-198.4c0 -6.39941 -6.40039 -12.7998 -12.7998 -12.7998h-22.4004zM300.8 96
|
||||
c-6.39941 0 -12.7998 6.40039 -12.7998 12.7998v134.4c0 6.39941 6.40039 12.7998 12.7998 12.7998h22.4004c6.39941 0 12.7998 -6.40039 12.7998 -12.7998v-134.4c0 -6.39941 -6.40039 -12.7998 -12.7998 -12.7998h-22.4004zM496 48c8.83984 0 16 -7.16016 16 -16v-16
|
||||
c0 -8.83984 -7.16016 -16 -16 -16h-464c-17.6699 0 -32 14.3301 -32 32v336c0 8.83984 7.16016 16 16 16h16c8.83984 0 16 -7.16016 16 -16v-320h448zM108.8 96c-6.39941 0 -12.7998 6.40039 -12.7998 12.7998v70.4004c0 6.39941 6.40039 12.7998 12.7998 12.7998h22.4004
|
||||
c6.39941 0 12.7998 -6.40039 12.7998 -12.7998v-70.4004c0 -6.39941 -6.40039 -12.7998 -12.7998 -12.7998h-22.4004z" />
|
||||
<glyph glyph-name="comments" unicode="" horiz-adv-x="576"
|
||||
d="M532 61.7998c15.2998 -30.7002 37.4004 -54.5 37.7998 -54.7998c6.2998 -6.7002 8 -16.5 4.40039 -25c-3.7002 -8.5 -12 -14 -21.2002 -14c-53.5996 0 -96.7002 20.2998 -125.2 38.7998c-19 -4.39941 -39 -6.7998 -59.7998 -6.7998
|
||||
c-86.2002 0 -159.9 40.4004 -191.3 97.7998c-9.7002 1.2002 -19.2002 2.7998 -28.4004 4.90039c-28.5 -18.6006 -71.7002 -38.7998 -125.2 -38.7998c-9.19922 0 -17.5996 5.5 -21.1992 14c-3.7002 8.5 -1.90039 18.2998 4.39941 25
|
||||
c0.400391 0.399414 22.4004 24.1992 37.7002 54.8994c-27.5 27.2002 -44 61.2002 -44 98.2002c0 88.4004 93.0996 160 208 160c86.2998 0 160.3 -40.5 191.8 -98.0996c99.7002 -11.8008 176.2 -77.9004 176.2 -157.9c0 -37.0996 -16.5 -71.0996 -44 -98.2002zM139.2 154.1
|
||||
l19.7998 -4.5c16 -3.69922 32.5 -5.59961 49 -5.59961c86.7002 0 160 51.2998 160 112s-73.2998 112 -160 112s-160 -51.2998 -160 -112c0 -28.7002 16.2002 -50.5996 29.7002 -64l24.7998 -24.5l-15.5 -31.0996c-2.59961 -5.10059 -5.2998 -10.1006 -8 -14.8008
|
||||
c14.5996 5.10059 29 12.3008 43.0996 21.4004zM498.3 96c13.5 13.4004 29.7002 35.2998 29.7002 64c0 49.2002 -48.2998 91.5 -112.7 106c0.299805 -3.2998 0.700195 -6.59961 0.700195 -10c0 -80.9004 -78 -147.5 -179.3 -158.3
|
||||
c29.0996 -29.6006 77.2998 -49.7002 131.3 -49.7002c16.5 0 33 1.90039 49 5.59961l19.9004 4.60059l17.0996 -11.1006c14.0996 -9.09961 28.5 -16.2998 43.0996 -21.3994c-2.69922 4.7002 -5.39941 9.7002 -8 14.7998l-15.5 31.0996z" />
|
||||
<glyph glyph-name="star-half" unicode="" horiz-adv-x="576"
|
||||
d="M288 62.7002v-54.2998l-130.7 -68.6006c-23.3994 -12.2998 -50.8994 7.60059 -46.3994 33.7002l25 145.5l-105.7 103c-19 18.5 -8.5 50.7998 17.7002 54.5996l146.1 21.2002l65.2998 132.4c5.90039 11.8994 17.2998 17.7998 28.7002 17.7998v-68.0996l-62.2002 -126
|
||||
l-139 -20.2002l100.601 -98l-23.7002 -138.4z" />
|
||||
<glyph glyph-name="lemon" unicode=""
|
||||
d="M484.112 420.111c28.1221 -28.123 35.9434 -68.0039 19.0215 -97.0547c-23.0576 -39.584 50.1436 -163.384 -82.3311 -295.86c-132.301 -132.298 -256.435 -59.3594 -295.857 -82.3291c-29.0459 -16.917 -68.9219 -9.11426 -97.0576 19.0205
|
||||
c-28.1221 28.1221 -35.9434 68.0029 -19.0215 97.0547c23.0566 39.5859 -50.1436 163.386 82.3301 295.86c132.308 132.309 256.407 59.3496 295.862 82.332c29.0498 16.9219 68.9307 9.09863 97.0537 -19.0234zM461.707 347.217
|
||||
c13.5166 23.2031 -27.7578 63.7314 -50.4883 50.4912c-66.6025 -38.7939 -165.646 45.5898 -286.081 -74.8457c-120.444 -120.445 -36.0449 -219.472 -74.8447 -286.08c-13.542 -23.2471 27.8145 -63.6953 50.4932 -50.4883
|
||||
c66.6006 38.7949 165.636 -45.5996 286.076 74.8428c120.444 120.445 36.0449 219.472 74.8447 286.08zM291.846 338.481c1.37012 -10.96 -6.40332 -20.957 -17.3643 -22.3271c-54.8467 -6.85547 -135.779 -87.7871 -142.636 -142.636
|
||||
c-1.37305 -10.9883 -11.3984 -18.7334 -22.3262 -17.3643c-10.9609 1.37012 -18.7344 11.3652 -17.3643 22.3262c9.16211 73.2852 104.167 168.215 177.364 177.364c10.9531 1.36816 20.9561 -6.40234 22.3262 -17.3633z" />
|
||||
<glyph glyph-name="credit-card" unicode="" horiz-adv-x="576"
|
||||
d="M527.9 416c26.5996 0 48.0996 -21.5 48.0996 -48v-352c0 -26.5 -21.5 -48 -48.0996 -48h-479.801c-26.5996 0 -48.0996 21.5 -48.0996 48v352c0 26.5 21.5 48 48.0996 48h479.801zM54.0996 368c-3.2998 0 -6 -2.7002 -6 -6v-42h479.801v42c0 3.2998 -2.7002 6 -6 6
|
||||
h-467.801zM521.9 16c3.2998 0 6 2.7002 6 6v170h-479.801v-170c0 -3.2998 2.7002 -6 6 -6h467.801zM192 116v-40c0 -6.59961 -5.40039 -12 -12 -12h-72c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h72c6.59961 0 12 -5.40039 12 -12zM384 116v-40
|
||||
c0 -6.59961 -5.40039 -12 -12 -12h-136c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h136c6.59961 0 12 -5.40039 12 -12z" />
|
||||
<glyph glyph-name="hdd" unicode="" horiz-adv-x="576"
|
||||
d="M567.403 212.358c5.59668 -8.04688 8.59668 -17.6113 8.59668 -27.4121v-136.946c0 -26.5098 -21.4902 -48 -48 -48h-480c-26.5098 0 -48 21.4902 -48 48v136.946c0 10.167 3.19531 19.6465 8.59668 27.4121l105.08 151.053
|
||||
c8.67383 12.4678 23.0791 20.5889 39.4043 20.5889h269.838c16.3252 0 30.7305 -8.12109 39.4043 -20.5889zM153.081 336l-77.9131 -112h425.664l-77.9131 112h-269.838zM528 48v128h-480v-128h480zM496 112c0 -17.6729 -14.3271 -32 -32 -32s-32 14.3271 -32 32
|
||||
s14.3271 32 32 32s32 -14.3271 32 -32zM400 112c0 -17.6729 -14.3271 -32 -32 -32s-32 14.3271 -32 32s14.3271 32 32 32s32 -14.3271 32 -32z" />
|
||||
<glyph glyph-name="hand-point-right" unicode=""
|
||||
d="M428.8 310.4c45.0996 0 83.2002 -38.1016 83.2002 -83.2002c0 -45.6162 -37.7646 -83.2002 -83.2002 -83.2002h-35.6475c-1.71387 -7.70605 -4.43555 -15.2051 -7.92969 -22.0645c2.50586 -22.0059 -3.50293 -44.9775 -15.9844 -62.791
|
||||
c-1.14062 -52.4863 -37.3984 -91.1445 -99.9404 -91.1445h-21.2988c-60.0635 0 -98.5117 40 -127.2 40h-2.67871c-5.74707 -4.95215 -13.5361 -8 -22.1201 -8h-64c-17.6729 0 -32 12.8936 -32 28.7998v230.4c0 15.9062 14.3271 28.7998 32 28.7998h64.001
|
||||
c8.58398 0 16.373 -3.04785 22.1201 -8h2.67871c6.96387 0 14.8623 6.19336 30.1816 23.6689l0.128906 0.148438l0.130859 0.145508c8.85645 9.93652 18.1162 20.8398 25.8506 33.2529c18.7051 30.2471 30.3936 78.7842 75.707 78.7842c56.9277 0 92 -35.2861 92 -83.2002
|
||||
c0 -0.0283203 0 0.0361328 0 0.0078125c0 -7.66602 -0.748047 -15.1582 -2.17578 -22.4072h86.1768zM428.8 192c18.9756 0 35.2002 16.2246 35.2002 35.2002c0 18.7002 -16.7754 35.2002 -35.2002 35.2002h-158.399c0 17.3242 26.3994 35.1992 26.3994 70.3994
|
||||
c0 26.4004 -20.625 35.2002 -44 35.2002c-8.79395 0 -20.4443 -32.7119 -34.9258 -56.0996c-9.07422 -14.5752 -19.5244 -27.2256 -30.7988 -39.875c-16.1094 -18.374 -33.8359 -36.6328 -59.0752 -39.5967v-176.753c42.79 -3.7627 74.5088 -39.6758 120 -39.6758h21.2988
|
||||
c40.5244 0 57.124 22.1973 50.6006 61.3252c14.6113 8.00098 24.1514 33.9785 12.9248 53.625c19.3652 18.2246 17.7871 46.3809 4.9502 61.0498h91.0254zM88 64c0 13.2549 -10.7451 24 -24 24s-24 -10.7451 -24 -24s10.7451 -24 24 -24s24 10.7451 24 24z" />
|
||||
<glyph glyph-name="hand-point-left" unicode=""
|
||||
d="M0 227.2c0 45.0986 38.1006 83.2002 83.2002 83.2002h86.1758c-1.3623 6.91016 -2.17578 14.374 -2.17578 22.3994c0 47.9141 35.0723 83.2002 92 83.2002c45.3135 0 57.002 -48.5371 75.7061 -78.7852c7.73438 -12.4121 16.9951 -23.3154 25.8506 -33.2529
|
||||
l0.130859 -0.145508l0.128906 -0.148438c15.3213 -17.4746 23.2197 -23.668 30.1836 -23.668h2.67871c5.74707 4.95215 13.5361 8 22.1201 8h64c17.6729 0 32 -12.8936 32 -28.7998v-230.4c0 -15.9062 -14.3271 -28.7998 -32 -28.7998h-64
|
||||
c-8.58398 0 -16.373 3.04785 -22.1201 8h-2.67871c-28.6885 0 -67.1367 -40 -127.2 -40h-21.2988c-62.542 0 -98.8008 38.6582 -99.9404 91.1445c-12.4814 17.8135 -18.4922 40.7852 -15.9844 62.791c-3.49414 6.85938 -6.21582 14.3584 -7.92969 22.0645h-35.6465
|
||||
c-45.4355 0 -83.2002 37.584 -83.2002 83.2002zM48 227.2c0 -18.9756 16.2246 -35.2002 35.2002 -35.2002h91.0244c-12.8369 -14.6689 -14.415 -42.8252 4.9502 -61.0498c-11.2256 -19.6465 -1.68652 -45.624 12.9248 -53.625
|
||||
c-6.52246 -39.1279 10.0771 -61.3252 50.6016 -61.3252h21.2988c45.4912 0 77.21 35.9131 120 39.6768v176.752c-25.2393 2.96289 -42.9658 21.2227 -59.0752 39.5967c-11.2744 12.6494 -21.7246 25.2998 -30.7988 39.875
|
||||
c-14.4814 23.3877 -26.1318 56.0996 -34.9258 56.0996c-23.375 0 -44 -8.7998 -44 -35.2002c0 -35.2002 26.3994 -53.0752 26.3994 -70.3994h-158.399c-18.4248 0 -35.2002 -16.5 -35.2002 -35.2002zM448 88c-13.2549 0 -24 -10.7451 -24 -24s10.7451 -24 24 -24
|
||||
s24 10.7451 24 24s-10.7451 24 -24 24z" />
|
||||
<glyph glyph-name="hand-point-up" unicode="" horiz-adv-x="448"
|
||||
d="M105.6 364.8c0 45.0996 38.1016 83.2002 83.2002 83.2002c45.6162 0 83.2002 -37.7646 83.2002 -83.2002v-35.6465c7.70605 -1.71387 15.2051 -4.43555 22.0645 -7.92969c22.0059 2.50684 44.9775 -3.50293 62.791 -15.9844
|
||||
c52.4863 -1.14062 91.1445 -37.3984 91.1445 -99.9404v-21.2988c0 -60.0635 -40 -98.5117 -40 -127.2v-2.67871c4.95215 -5.74707 8 -13.5361 8 -22.1201v-64c0 -17.6729 -12.8936 -32 -28.7998 -32h-230.4c-15.9062 0 -28.7998 14.3271 -28.7998 32v64
|
||||
c0 8.58398 3.04785 16.373 8 22.1201v2.67871c0 6.96387 -6.19336 14.8623 -23.6689 30.1816l-0.148438 0.128906l-0.145508 0.130859c-9.93652 8.85645 -20.8398 18.1162 -33.2529 25.8506c-30.2471 18.7051 -78.7842 30.3936 -78.7842 75.707
|
||||
c0 56.9277 35.2861 92 83.2002 92c0.0283203 0 -0.0361328 0 -0.0078125 0c7.66602 0 15.1582 -0.748047 22.4072 -2.17578v86.1768zM224 364.8c0 18.9756 -16.2246 35.2002 -35.2002 35.2002c-18.7002 0 -35.2002 -16.7754 -35.2002 -35.2002v-158.399
|
||||
c-17.3242 0 -35.1992 26.3994 -70.3994 26.3994c-26.4004 0 -35.2002 -20.625 -35.2002 -44c0 -8.79395 32.7119 -20.4443 56.0996 -34.9258c14.5752 -9.07422 27.2256 -19.5244 39.875 -30.7988c18.374 -16.1094 36.6328 -33.8359 39.5967 -59.0752h176.753
|
||||
c3.7627 42.79 39.6758 74.5088 39.6758 120v21.2988c0 40.5244 -22.1973 57.124 -61.3252 50.6006c-8.00098 14.6113 -33.9785 24.1514 -53.625 12.9248c-18.2246 19.3652 -46.3809 17.7871 -61.0498 4.9502v91.0254zM352 24c-13.2549 0 -24 -10.7451 -24 -24
|
||||
s10.7451 -24 24 -24s24 10.7451 24 24s-10.7451 24 -24 24z" />
|
||||
<glyph glyph-name="hand-point-down" unicode="" horiz-adv-x="448"
|
||||
d="M188.8 -64c-45.0986 0 -83.2002 38.1006 -83.2002 83.2002v86.1758c-6.91016 -1.3623 -14.374 -2.17578 -22.3994 -2.17578c-47.9141 0 -83.2002 35.0723 -83.2002 92c0 45.3135 48.5371 57.002 78.7852 75.707c12.4121 7.73438 23.3154 16.9951 33.2529 25.8506
|
||||
l0.145508 0.130859l0.148438 0.128906c17.4746 15.3213 23.668 23.2197 23.668 30.1836v2.67871c-4.95215 5.74707 -8 13.5361 -8 22.1201v64c0 17.6729 12.8936 32 28.7998 32h230.4c15.9062 0 28.7998 -14.3271 28.7998 -32v-64.001
|
||||
c0 -8.58398 -3.04785 -16.373 -8 -22.1201v-2.67871c0 -28.6885 40 -67.1367 40 -127.2v-21.2988c0 -62.542 -38.6582 -98.8008 -91.1445 -99.9404c-17.8135 -12.4814 -40.7852 -18.4922 -62.791 -15.9844c-6.85938 -3.49414 -14.3584 -6.21582 -22.0645 -7.92969v-35.6465
|
||||
c0 -45.4355 -37.584 -83.2002 -83.2002 -83.2002zM188.8 -16c18.9756 0 35.2002 16.2246 35.2002 35.2002v91.0244c14.6689 -12.8369 42.8252 -14.415 61.0498 4.9502c19.6465 -11.2256 45.624 -1.68652 53.625 12.9248c39.1279 -6.52246 61.3252 10.0771 61.3252 50.6016
|
||||
v21.2988c0 45.4912 -35.9131 77.21 -39.6768 120h-176.752c-2.96289 -25.2393 -21.2227 -42.9658 -39.5967 -59.0752c-12.6494 -11.2744 -25.2998 -21.7246 -39.875 -30.7988c-23.3877 -14.4814 -56.0996 -26.1318 -56.0996 -34.9258c0 -23.375 8.7998 -44 35.2002 -44
|
||||
c35.2002 0 53.0752 26.3994 70.3994 26.3994v-158.399c0 -18.4248 16.5 -35.2002 35.2002 -35.2002zM328 384c0 -13.2549 10.7451 -24 24 -24s24 10.7451 24 24s-10.7451 24 -24 24s-24 -10.7451 -24 -24z" />
|
||||
<glyph glyph-name="copy" unicode="" horiz-adv-x="448"
|
||||
d="M433.941 382.059c8.68848 -8.68848 14.0586 -20.6943 14.0586 -33.9404v-268.118c0 -26.5098 -21.4902 -48 -48 -48h-80v-48c0 -26.5098 -21.4902 -48 -48 -48h-224c-26.5098 0 -48 21.4902 -48 48v320c0 26.5098 21.4902 48 48 48h80v48c0 26.5098 21.4902 48 48 48
|
||||
h172.118c13.2461 0 25.252 -5.37012 33.9404 -14.0586zM266 -16c3.31152 0 6 2.68848 6 6v42h-96c-26.5098 0 -48 21.4902 -48 48v224h-74c-3.31152 0 -6 -2.68848 -6 -6v-308c0 -3.31152 2.68848 -6 6 -6h212zM394 80c3.31152 0 6 2.68848 6 6v202h-88
|
||||
c-13.2549 0 -24 10.7451 -24 24v88h-106c-3.31152 0 -6 -2.68848 -6 -6v-308c0 -3.31152 2.68848 -6 6 -6h212zM400 336v9.63184c0 1.65527 -0.670898 3.15723 -1.75684 4.24316l-48.3682 48.3682c-1.12598 1.125 -2.65234 1.75684 -4.24316 1.75684h-9.63184v-64h64z" />
|
||||
<glyph glyph-name="save" unicode="" horiz-adv-x="448"
|
||||
d="M433.941 318.059c8.68848 -8.68848 14.0586 -20.6943 14.0586 -33.9404v-268.118c0 -26.5098 -21.4902 -48 -48 -48h-352c-26.5098 0 -48 21.4902 -48 48v352c0 26.5098 21.4902 48 48 48h268.118c13.2461 0 25.252 -5.37012 33.9404 -14.0586zM272 368h-128v-80h128v80z
|
||||
M394 16c3.31152 0 6 2.68848 6 6v259.632c0 1.65527 -0.670898 3.15723 -1.75684 4.24316l-78.2432 78.2432v-100.118c0 -13.2549 -10.7451 -24 -24 -24h-176c-13.2549 0 -24 10.7451 -24 24v104h-42c-3.31152 0 -6 -2.68848 -6 -6v-340c0 -3.31152 2.68848 -6 6 -6h340z
|
||||
M224 216c48.5234 0 88 -39.4766 88 -88s-39.4766 -88 -88 -88s-88 39.4766 -88 88s39.4766 88 88 88zM224 88c22.0557 0 40 17.9443 40 40s-17.9443 40 -40 40s-40 -17.9443 -40 -40s17.9443 -40 40 -40z" />
|
||||
<glyph glyph-name="square" unicode="" horiz-adv-x="448"
|
||||
d="M400 416c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h352zM394 16c3.2998 0 6 2.7002 6 6v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h340z" />
|
||||
<glyph glyph-name="envelope" unicode=""
|
||||
d="M464 384c26.5098 0 48 -21.4902 48 -48v-288c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v288c0 26.5098 21.4902 48 48 48h416zM464 336h-416v-40.8047c22.4248 -18.2627 58.1797 -46.6602 134.587 -106.49
|
||||
c16.834 -13.2422 50.2051 -45.0762 73.4131 -44.7012c23.2119 -0.371094 56.5723 31.4541 73.4131 44.7012c76.4189 59.8389 112.165 88.2305 134.587 106.49v40.8047zM48 48h416v185.601c-22.915 -18.252 -55.4189 -43.8691 -104.947 -82.6523
|
||||
c-22.5439 -17.748 -60.3359 -55.1787 -103.053 -54.9473c-42.9277 -0.231445 -81.2051 37.75 -103.062 54.9551c-49.5293 38.7842 -82.0244 64.3945 -104.938 82.6455v-185.602z" />
|
||||
<glyph glyph-name="lightbulb" unicode="" horiz-adv-x="352"
|
||||
d="M176 368c8.83984 0 16 -7.16016 16 -16s-7.16016 -16 -16 -16c-35.2803 0 -64 -28.7002 -64 -64c0 -8.83984 -7.16016 -16 -16 -16s-16 7.16016 -16 16c0 52.9404 43.0596 96 96 96zM96.0596 -11.1699l-0.0400391 43.1797h159.961l-0.0507812 -43.1797
|
||||
c-0.00976562 -3.13965 -0.939453 -6.21973 -2.67969 -8.83984l-24.5098 -36.8398c-2.95996 -4.45996 -7.95996 -7.14062 -13.3203 -7.14062h-78.8496c-5.35059 0 -10.3506 2.68066 -13.3203 7.14062l-24.5098 36.8398c-1.75 2.62012 -2.68066 5.68945 -2.68066 8.83984z
|
||||
M176 448c97.2002 0 176 -78.7998 176 -176c0 -44.3701 -16.4502 -84.8496 -43.5498 -115.79c-16.6406 -18.9795 -42.7402 -58.79 -52.4199 -92.1602v-0.0498047h-48v0.0996094c0.00488281 4.98145 0.790039 9.78809 2.21973 14.3008
|
||||
c5.67969 17.9893 22.9902 64.8496 62.0996 109.46c20.4102 23.29 31.6504 53.1699 31.6504 84.1396c0 70.5801 -57.4199 128 -128 128c-68.2803 0 -128.15 -54.3604 -127.95 -128c0.0898438 -30.9902 11.0703 -60.71 31.6104 -84.1396
|
||||
c39.3496 -44.9004 56.5801 -91.8604 62.1699 -109.67c1.42969 -4.56055 2.13965 -9.30078 2.15039 -14.0703v-0.120117h-48v0.0595703c-9.68066 33.3604 -35.7803 73.1709 -52.4209 92.1602c-27.1094 30.9307 -43.5596 71.4102 -43.5596 115.78
|
||||
c0 93.0303 73.7197 176 176 176z" />
|
||||
<glyph glyph-name="bell" unicode="" horiz-adv-x="448"
|
||||
d="M439.39 85.71c6 -6.44043 8.66016 -14.1602 8.61035 -21.71c-0.0996094 -16.4004 -12.9805 -32 -32.0996 -32h-383.801c-19.1191 0 -31.9893 15.5996 -32.0996 32c-0.0498047 7.5498 2.61035 15.2598 8.61035 21.71c19.3193 20.7598 55.4697 51.9902 55.4697 154.29
|
||||
c0 77.7002 54.4795 139.9 127.939 155.16v20.8398c0 17.6699 14.3203 32 31.9805 32s31.9805 -14.3301 31.9805 -32v-20.8398c73.46 -15.2598 127.939 -77.46 127.939 -155.16c0 -102.3 36.1504 -133.53 55.4697 -154.29zM67.5303 80h312.939
|
||||
c-21.2197 27.96 -44.4199 74.3203 -44.5293 159.42c0 0.200195 0.0595703 0.379883 0.0595703 0.580078c0 61.8604 -50.1396 112 -112 112s-112 -50.1396 -112 -112c0 -0.200195 0.0595703 -0.379883 0.0595703 -0.580078
|
||||
c-0.109375 -85.0898 -23.3096 -131.45 -44.5293 -159.42zM224 -64c-35.3203 0 -63.9697 28.6504 -63.9697 64h127.939c0 -35.3496 -28.6494 -64 -63.9697 -64z" />
|
||||
<glyph glyph-name="hospital" unicode="" horiz-adv-x="448"
|
||||
d="M128 204v40c0 6.62695 5.37305 12 12 12h40c6.62695 0 12 -5.37305 12 -12v-40c0 -6.62695 -5.37305 -12 -12 -12h-40c-6.62695 0 -12 5.37305 -12 12zM268 192c-6.62695 0 -12 5.37305 -12 12v40c0 6.62695 5.37305 12 12 12h40c6.62695 0 12 -5.37305 12 -12v-40
|
||||
c0 -6.62695 -5.37305 -12 -12 -12h-40zM192 108c0 -6.62695 -5.37305 -12 -12 -12h-40c-6.62695 0 -12 5.37305 -12 12v40c0 6.62695 5.37305 12 12 12h40c6.62695 0 12 -5.37305 12 -12v-40zM268 96c-6.62695 0 -12 5.37305 -12 12v40c0 6.62695 5.37305 12 12 12h40
|
||||
c6.62695 0 12 -5.37305 12 -12v-40c0 -6.62695 -5.37305 -12 -12 -12h-40zM448 -28v-36h-448v36c0 6.62695 5.37305 12 12 12h19.5v378.965c0 11.6172 10.7451 21.0352 24 21.0352h88.5v40c0 13.2549 10.7451 24 24 24h112c13.2549 0 24 -10.7451 24 -24v-40h88.5
|
||||
c13.2549 0 24 -9.41797 24 -21.0352v-378.965h19.5c6.62695 0 12 -5.37305 12 -12zM79.5 -15h112.5v67c0 6.62695 5.37305 12 12 12h40c6.62695 0 12 -5.37305 12 -12v-67h112.5v351h-64.5v-24c0 -13.2549 -10.7451 -24 -24 -24h-112c-13.2549 0 -24 10.7451 -24 24v24
|
||||
h-64.5v-351zM266 384h-26v26c0 3.31152 -2.68848 6 -6 6h-20c-3.31152 0 -6 -2.68848 -6 -6v-26h-26c-3.31152 0 -6 -2.68848 -6 -6v-20c0 -3.31152 2.68848 -6 6 -6h26v-26c0 -3.31152 2.68848 -6 6 -6h20c3.31152 0 6 2.68848 6 6v26h26c3.31152 0 6 2.68848 6 6v20
|
||||
c0 3.31152 -2.68848 6 -6 6z" />
|
||||
<glyph glyph-name="plus-square" unicode="" horiz-adv-x="448"
|
||||
d="M352 208v-32c0 -6.59961 -5.40039 -12 -12 -12h-88v-88c0 -6.59961 -5.40039 -12 -12 -12h-32c-6.59961 0 -12 5.40039 -12 12v88h-88c-6.59961 0 -12 5.40039 -12 12v32c0 6.59961 5.40039 12 12 12h88v88c0 6.59961 5.40039 12 12 12h32c6.59961 0 12 -5.40039 12 -12
|
||||
v-88h88c6.59961 0 12 -5.40039 12 -12zM448 368v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h352c26.5 0 48 -21.5 48 -48zM400 22v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340
|
||||
c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="circle" unicode=""
|
||||
d="M256 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM256 -8c110.5 0 200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200s89.5 -200 200 -200z" />
|
||||
<glyph glyph-name="smile" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32
|
||||
s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM332 135.4c8.5 10.1992 23.7002 11.5 33.7998 3.09961c10.2002 -8.5 11.6006 -23.5996 3.10059 -33.7998
|
||||
c-30 -36 -74.1006 -56.6006 -120.9 -56.6006s-90.9004 20.6006 -120.9 56.6006c-8.39941 10.2002 -7.09961 25.2998 3.10059 33.7998c10.0996 8.40039 25.2998 7.09961 33.7998 -3.09961c20.7998 -25.1006 51.5 -39.4004 84 -39.4004s63.2002 14.4004 84 39.4004z" />
|
||||
<glyph glyph-name="frown" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32
|
||||
s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM248 144c40.2002 0 78 -17.7002 103.8 -48.5996c8.40039 -10.2002 7.10059 -25.3008 -3.09961 -33.8008
|
||||
c-10.7002 -8.7998 -25.7002 -6.59961 -33.7998 3.10059c-16.6006 20 -41 31.3994 -66.9004 31.3994s-50.2998 -11.5 -66.9004 -31.3994c-8.5 -10.2002 -23.5996 -11.5 -33.7998 -3.10059c-10.2002 8.5 -11.5996 23.6006 -3.09961 33.8008
|
||||
c25.7998 30.8994 63.5996 48.5996 103.8 48.5996z" />
|
||||
<glyph glyph-name="meh" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32
|
||||
s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM336 128c13.2002 0 24 -10.7998 24 -24s-10.7998 -24 -24 -24h-176c-13.2002 0 -24 10.7998 -24 24s10.7998 24 24 24h176z
|
||||
" />
|
||||
<glyph glyph-name="keyboard" unicode="" horiz-adv-x="576"
|
||||
d="M528 384c26.5098 0 48 -21.4902 48 -48v-288c0 -26.5098 -21.4902 -48 -48 -48h-480c-26.5098 0 -48 21.4902 -48 48v288c0 26.5098 21.4902 48 48 48h480zM536 48v288c0 4.41113 -3.58887 8 -8 8h-480c-4.41113 0 -8 -3.58887 -8 -8v-288c0 -4.41113 3.58887 -8 8 -8
|
||||
h480c4.41113 0 8 3.58887 8 8zM170 178c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM266 178c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28
|
||||
c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM362 178c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM458 178c0 -6.62695 -5.37305 -12 -12 -12h-28
|
||||
c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM122 96c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM506 96
|
||||
c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM122 260c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28
|
||||
c6.62695 0 12 -5.37305 12 -12v-28zM218 260c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM314 260c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28
|
||||
c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM410 260c0 -6.62695 -5.37305 -12 -12 -12h-28c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM506 260c0 -6.62695 -5.37305 -12 -12 -12h-28
|
||||
c-6.62695 0 -12 5.37305 -12 12v28c0 6.62695 5.37305 12 12 12h28c6.62695 0 12 -5.37305 12 -12v-28zM408 102c0 -6.62695 -5.37305 -12 -12 -12h-216c-6.62695 0 -12 5.37305 -12 12v16c0 6.62695 5.37305 12 12 12h216c6.62695 0 12 -5.37305 12 -12v-16z" />
|
||||
<glyph glyph-name="calendar" unicode="" horiz-adv-x="448"
|
||||
d="M400 384c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h48v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h128v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12
|
||||
v-52h48zM394 -16c3.2998 0 6 2.7002 6 6v298h-352v-298c0 -3.2998 2.7002 -6 6 -6h340z" />
|
||||
<glyph glyph-name="play-circle" unicode=""
|
||||
d="M371.7 210c16.3994 -9.2002 16.3994 -32.9004 0 -42l-176 -101c-15.9004 -8.7998 -35.7002 2.59961 -35.7002 21v208c0 18.5 19.9004 29.7998 35.7002 21zM504 192c0 -137 -111 -248 -248 -248s-248 111 -248 248s111 248 248 248s248 -111 248 -248zM56 192
|
||||
c0 -110.5 89.5 -200 200 -200s200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200z" />
|
||||
<glyph glyph-name="minus-square" unicode="" horiz-adv-x="448"
|
||||
d="M108 164c-6.59961 0 -12 5.40039 -12 12v32c0 6.59961 5.40039 12 12 12h232c6.59961 0 12 -5.40039 12 -12v-32c0 -6.59961 -5.40039 -12 -12 -12h-232zM448 368v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h352
|
||||
c26.5 0 48 -21.5 48 -48zM400 22v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="check-square" unicode="" horiz-adv-x="448"
|
||||
d="M400 416c26.5098 0 48 -21.4902 48 -48v-352c0 -26.5098 -21.4902 -48 -48 -48h-352c-26.5098 0 -48 21.4902 -48 48v352c0 26.5098 21.4902 48 48 48h352zM400 16v352h-352v-352h352zM364.136 257.724l-172.589 -171.204
|
||||
c-4.70508 -4.66699 -12.3027 -4.63672 -16.9697 0.0683594l-90.7812 91.5156c-4.66699 4.70508 -4.63672 12.3037 0.0693359 16.9717l22.7188 22.5361c4.70508 4.66699 12.3027 4.63672 16.9697 -0.0693359l59.792 -60.2773l141.353 140.217
|
||||
c4.70508 4.66699 12.3027 4.63672 16.9697 -0.0683594l22.5361 -22.7178c4.66699 -4.70605 4.63672 -12.3047 -0.0683594 -16.9717z" />
|
||||
<glyph glyph-name="share-square" unicode="" horiz-adv-x="576"
|
||||
d="M561.938 289.94c18.75 -18.7402 18.75 -49.1406 0 -67.8809l-143.998 -144c-29.9727 -29.9727 -81.9404 -9.05273 -81.9404 33.9404v53.7998c-101.266 -7.83691 -99.625 -31.6406 -84.1104 -78.7598c14.2285 -43.0889 -33.4736 -79.248 -71.0195 -55.7402
|
||||
c-51.6924 32.3057 -84.8701 83.0635 -84.8701 144.76c0 39.3408 12.2197 72.7402 36.3301 99.3008c19.8398 21.8398 47.7402 38.4697 82.9102 49.4199c36.7295 11.4395 78.3096 16.1094 120.76 17.9893v57.1982c0 42.9355 51.9258 63.9541 81.9404 33.9404zM384 112l144 144
|
||||
l-144 144v-104.09c-110.86 -0.90332 -240 -10.5166 -240 -119.851c0 -52.1396 32.79 -85.6094 62.3096 -104.06c-39.8174 120.65 48.999 141.918 177.69 143.84v-103.84zM408.74 27.5068c7.4375 2.125 14.5508 5.30566 20.9736 9.30273
|
||||
c7.97656 4.95215 18.2861 -0.825195 18.2861 -10.2139v-42.5957c0 -26.5098 -21.4902 -48 -48 -48h-352c-26.5098 0 -48 21.4902 -48 48v352c0 26.5098 21.4902 48 48 48h132c6.62695 0 12 -5.37305 12 -12v-4.48633c0 -4.91699 -2.9873 -9.36914 -7.56934 -11.1514
|
||||
c-13.7021 -5.33105 -26.3955 -11.5371 -38.0498 -18.585c-1.82715 -1.11523 -3.98633 -1.76953 -6.28027 -1.77734h-86.1006c-3.31152 0 -6 -2.68848 -6 -6v-340c0 -3.31152 2.68848 -6 6 -6h340c3.31152 0 6 2.68848 6 6v25.9658c0 5.37012 3.5791 10.0596 8.74023 11.541z
|
||||
" />
|
||||
<glyph glyph-name="compass" unicode="" horiz-adv-x="496"
|
||||
d="M347.94 318.14c16.6592 7.61035 33.8096 -9.54004 26.1992 -26.1992l-65.9697 -144.341c-3.19238 -6.9834 -8.78613 -12.5771 -15.7695 -15.7695l-144.341 -65.9697c-16.6592 -7.61035 -33.8096 9.5498 -26.1992 26.1992l65.9697 144.341
|
||||
c3.19238 6.9834 8.78613 12.5771 15.7695 15.7695zM270.58 169.42c12.4697 12.4697 12.4697 32.6904 0 45.1602s-32.6904 12.4697 -45.1602 0s-12.4697 -32.6904 0 -45.1602s32.6904 -12.4697 45.1602 0zM248 440c136.97 0 248 -111.03 248 -248s-111.03 -248 -248 -248
|
||||
s-248 111.03 -248 248s111.03 248 248 248zM248 -8c110.28 0 200 89.7197 200 200s-89.7197 200 -200 200s-200 -89.7197 -200 -200s89.7197 -200 200 -200z" />
|
||||
<glyph glyph-name="caret-square-down" unicode="" horiz-adv-x="448"
|
||||
d="M125.1 240h197.801c10.6992 0 16.0996 -13 8.5 -20.5l-98.9004 -98.2998c-4.7002 -4.7002 -12.2002 -4.7002 -16.9004 0l-98.8994 98.2998c-7.7002 7.5 -2.2998 20.5 8.39941 20.5zM448 368v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352
|
||||
c0 26.5 21.5 48 48 48h352c26.5 0 48 -21.5 48 -48zM400 22v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="caret-square-up" unicode="" horiz-adv-x="448"
|
||||
d="M322.9 144h-197.801c-10.6992 0 -16.0996 13 -8.5 20.5l98.9004 98.2998c4.7002 4.7002 12.2002 4.7002 16.9004 0l98.8994 -98.2998c7.7002 -7.5 2.2998 -20.5 -8.39941 -20.5zM448 368v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352
|
||||
c0 26.5 21.5 48 48 48h352c26.5 0 48 -21.5 48 -48zM400 22v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="caret-square-right" unicode="" horiz-adv-x="448"
|
||||
d="M176 93.0996v197.801c0 10.6992 13 16.0996 20.5 8.5l98.2998 -98.9004c4.7002 -4.7002 4.7002 -12.2002 0 -16.9004l-98.2998 -98.8994c-7.5 -7.7002 -20.5 -2.2998 -20.5 8.39941zM448 368v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352
|
||||
c0 26.5 21.5 48 48 48h352c26.5 0 48 -21.5 48 -48zM400 22v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="file" unicode="" horiz-adv-x="384"
|
||||
d="M369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM332.1 320l-76.0996 76.0996v-76.0996h76.0996zM48 -16h288v288
|
||||
h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416z" />
|
||||
<glyph glyph-name="file-alt" unicode="" horiz-adv-x="384"
|
||||
d="M288 200v-28c0 -6.59961 -5.40039 -12 -12 -12h-168c-6.59961 0 -12 5.40039 -12 12v28c0 6.59961 5.40039 12 12 12h168c6.59961 0 12 -5.40039 12 -12zM276 128c6.59961 0 12 -5.40039 12 -12v-28c0 -6.59961 -5.40039 -12 -12 -12h-168c-6.59961 0 -12 5.40039 -12 12
|
||||
v28c0 6.59961 5.40039 12 12 12h168zM384 316.1v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996l83.9004 -83.9004c9 -8.90039 14.0996 -21.2002 14.0996 -33.9004z
|
||||
M256 396.1v-76.0996h76.0996zM336 -16v288h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416h288z" />
|
||||
<glyph glyph-name="thumbs-up" unicode=""
|
||||
d="M466.27 161.31c4.6748 -22.6465 0.864258 -44.5371 -8.98926 -62.9893c2.95898 -23.8682 -4.02148 -48.5654 -17.3398 -66.9902c-0.954102 -55.9072 -35.8232 -95.3301 -112.94 -95.3301c-7 0 -15 0.00976562 -22.2197 0.00976562
|
||||
c-102.742 0 -133.293 38.9395 -177.803 39.9404c-3.56934 -13.7764 -16.085 -23.9502 -30.9775 -23.9502h-64c-17.6729 0 -32 14.3271 -32 32v240c0 17.6729 14.3271 32 32 32h98.7598c19.1455 16.9531 46.0137 60.6533 68.7598 83.4004
|
||||
c13.667 13.667 10.1533 108.6 71.7607 108.6c57.5801 0 95.2695 -31.9355 95.2695 -104.73c0 -18.4092 -3.92969 -33.7295 -8.84961 -46.5391h36.4795c48.6025 0 85.8203 -41.5654 85.8203 -85.5801c0 -19.1504 -4.95996 -34.9902 -13.7305 -49.8408zM404.52 107.48
|
||||
c21.5811 20.3838 18.6992 51.0645 5.21094 65.6191c9.44922 0 22.3594 18.9102 22.2695 37.8105c-0.0898438 18.9102 -16.71 37.8203 -37.8203 37.8203h-103.989c0 37.8193 28.3594 55.3691 28.3594 94.5391c0 23.75 0 56.7305 -47.2695 56.7305
|
||||
c-18.9102 -18.9102 -9.45996 -66.1797 -37.8203 -94.54c-26.5596 -26.5703 -66.1797 -97.46 -94.54 -97.46h-10.9199v-186.17c53.6113 0 100.001 -37.8203 171.64 -37.8203h37.8203c35.5117 0 60.8203 17.1201 53.1201 65.9004
|
||||
c15.2002 8.16016 26.5 36.4395 13.9395 57.5703zM88 16c0 13.2549 -10.7451 24 -24 24s-24 -10.7451 -24 -24s10.7451 -24 24 -24s24 10.7451 24 24z" />
|
||||
<glyph glyph-name="thumbs-down" unicode=""
|
||||
d="M466.27 222.69c8.77051 -14.8506 13.7305 -30.6904 13.7305 -49.8408c0 -44.0146 -37.2178 -85.5801 -85.8203 -85.5801h-36.4795c4.91992 -12.8096 8.84961 -28.1299 8.84961 -46.5391c0 -72.7949 -37.6895 -104.73 -95.2695 -104.73
|
||||
c-61.6074 0 -58.0938 94.9326 -71.7607 108.6c-22.7461 22.7471 -49.6133 66.4473 -68.7598 83.4004h-7.05176c-5.5332 -9.56152 -15.8662 -16 -27.708 -16h-64c-17.6729 0 -32 14.3271 -32 32v240c0 17.6729 14.3271 32 32 32h64c8.11328 0 15.5146 -3.02539 21.1553 -8
|
||||
h10.8447c40.9971 0 73.1953 39.9902 176.78 39.9902c7.21973 0 15.2197 0.00976562 22.2197 0.00976562c77.1172 0 111.986 -39.4229 112.94 -95.3301c13.3184 -18.4248 20.2979 -43.1221 17.3398 -66.9902c9.85352 -18.4521 13.6641 -40.3428 8.98926 -62.9893zM64 152
|
||||
c13.2549 0 24 10.7451 24 24s-10.7451 24 -24 24s-24 -10.7451 -24 -24s10.7451 -24 24 -24zM394.18 135.27c21.1104 0 37.7305 18.9102 37.8203 37.8203c0.0898438 18.9004 -12.8203 37.8105 -22.2695 37.8105c13.4883 14.5547 16.3701 45.2354 -5.21094 65.6191
|
||||
c12.5605 21.1309 1.26074 49.4102 -13.9395 57.5703c7.7002 48.7803 -17.6084 65.9004 -53.1201 65.9004h-37.8203c-71.6387 0 -118.028 -37.8203 -171.64 -37.8203v-186.17h10.9199c28.3604 0 67.9805 -70.8896 94.54 -97.46
|
||||
c28.3604 -28.3604 18.9102 -75.6299 37.8203 -94.54c47.2695 0 47.2695 32.9805 47.2695 56.7305c0 39.1699 -28.3594 56.7197 -28.3594 94.5391h103.989z" />
|
||||
<glyph glyph-name="sun" unicode=""
|
||||
d="M494.2 226.1c11.2002 -7.59961 17.7998 -20.0996 17.8994 -33.6992c0 -13.4004 -6.69922 -26 -17.7998 -33.5l-59.7998 -40.5l13.7002 -71c2.5 -13.2002 -1.60059 -26.8008 -11.1006 -36.3008s-22.8994 -13.7998 -36.2998 -11.0996l-70.8994 13.7002l-40.4004 -59.9004
|
||||
c-7.5 -11.0996 -20.0996 -17.7998 -33.5 -17.7998s-26 6.7002 -33.5 17.9004l-40.4004 59.8994l-70.7998 -13.7002c-13.3994 -2.59961 -26.7998 1.60059 -36.2998 11.1006s-13.7002 23.0996 -11.0996 36.2998l13.6992 71l-59.7998 40.5
|
||||
c-11.0996 7.5 -17.7998 20 -17.7998 33.5s6.59961 26 17.7998 33.5996l59.7998 40.5l-13.6992 71c-2.60059 13.2002 1.59961 26.7002 11.0996 36.3008c9.5 9.59961 23 13.6992 36.2998 11.1992l70.7998 -13.6992l40.4004 59.8994c15.0996 22.2998 51.9004 22.2998 67 0
|
||||
l40.4004 -59.8994l70.8994 13.6992c13 2.60059 26.6006 -1.59961 36.2002 -11.0996c9.5 -9.59961 13.7002 -23.2002 11.0996 -36.4004l-13.6992 -71zM381.3 140.5l76.7998 52.0996l-76.7998 52l17.6006 91.1006l-91 -17.6006l-51.9004 76.9004l-51.7998 -76.7998
|
||||
l-91 17.5996l17.5996 -91.2002l-76.7998 -52l76.7998 -52l-17.5996 -91.1992l90.8994 17.5996l51.9004 -77l51.9004 76.9004l91 -17.6006zM256 296c57.2998 0 104 -46.7002 104 -104s-46.7002 -104 -104 -104s-104 46.7002 -104 104s46.7002 104 104 104zM256 136
|
||||
c30.9004 0 56 25.0996 56 56s-25.0996 56 -56 56s-56 -25.0996 -56 -56s25.0996 -56 56 -56z" />
|
||||
<glyph glyph-name="moon" unicode=""
|
||||
d="M279.135 -64c-141.424 0 -256 114.64 -256 256c0 141.425 114.641 256 256 256c16.0342 -0.00292969 31.5078 -1.46875 46.7354 -4.27734c44.0205 -8.13086 53.7666 -66.8691 15.0215 -88.9189c-41.374 -23.5439 -67.4336 -67.4121 -67.4336 -115.836
|
||||
c0 -83.5234 75.9238 -146.475 158.272 -130.792c43.6904 8.32129 74.5186 -42.5693 46.248 -77.4004c-47.8613 -58.9717 -120.088 -94.7754 -198.844 -94.7754zM279.135 400c-114.875 0 -208 -93.125 -208 -208s93.125 -208 208 -208
|
||||
c65.2314 0 123.439 30.0361 161.575 77.0244c-111.611 -21.2568 -215.252 64.0957 -215.252 177.943c0 67.5127 36.9326 126.392 91.6934 157.555c-12.3271 2.27637 -25.0312 3.47754 -38.0166 3.47754z" />
|
||||
<glyph glyph-name="caret-square-left" unicode="" horiz-adv-x="448"
|
||||
d="M272 290.9v-197.801c0 -10.6992 -13 -16.0996 -20.5 -8.5l-98.2998 98.9004c-4.7002 4.7002 -4.7002 12.2002 0 16.9004l98.2998 98.8994c7.5 7.7002 20.5 2.2998 20.5 -8.39941zM448 368v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352
|
||||
c0 26.5 21.5 48 48 48h352c26.5 0 48 -21.5 48 -48zM400 22v340c0 3.2998 -2.7002 6 -6 6h-340c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="dot-circle" unicode=""
|
||||
d="M256 392c-110.549 0 -200 -89.4678 -200 -200c0 -110.549 89.4678 -200 200 -200c110.549 0 200 89.4678 200 200c0 110.549 -89.4678 200 -200 200zM256 440c136.967 0 248 -111.033 248 -248s-111.033 -248 -248 -248s-248 111.033 -248 248s111.033 248 248 248z
|
||||
M256 272c44.1826 0 80 -35.8174 80 -80s-35.8174 -80 -80 -80s-80 35.8174 -80 80s35.8174 80 80 80z" />
|
||||
<glyph glyph-name="building" unicode="" horiz-adv-x="448"
|
||||
d="M128 300v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12h-40c-6.59961 0 -12 5.40039 -12 12zM268 288c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40
|
||||
c0 -6.59961 -5.40039 -12 -12 -12h-40zM140 192c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12h-40zM268 192c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40
|
||||
c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12h-40zM192 108c0 -6.59961 -5.40039 -12 -12 -12h-40c-6.59961 0 -12 5.40039 -12 12v40c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40zM268 96c-6.59961 0 -12 5.40039 -12 12v40
|
||||
c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12h-40zM448 -28v-36h-448v36c0 6.59961 5.40039 12 12 12h19.5v440c0 13.2998 10.7002 24 24 24h337c13.2998 0 24 -10.7002 24 -24v-440h19.5
|
||||
c6.59961 0 12 -5.40039 12 -12zM79.5 -15h112.5v67c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-67h112.5v414l-288.5 1z" />
|
||||
<glyph glyph-name="file-pdf" unicode="" horiz-adv-x="384"
|
||||
d="M369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM332.1 320l-76.0996 76.0996v-76.0996h76.0996zM48 -16h288v288
|
||||
h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416zM298.2 127.7c10.5 -10.5 8 -38.7002 -17.5 -38.7002c-14.7998 0 -36.9004 6.7998 -55.7998 17c-21.6006 -3.59961 -46 -12.7002 -68.4004 -20.0996c-50.0996 -86.4004 -79.4004 -47 -76.0996 -31.2002
|
||||
c4 20 31 35.8994 51 46.2002c10.5 18.3994 25.3994 50.5 35.3994 74.3994c-7.39941 28.6006 -11.3994 51 -7 67.1006c4.7998 17.6992 38.4004 20.2998 42.6006 -5.90039c4.69922 -15.4004 -1.5 -39.9004 -5.40039 -56c8.09961 -21.2998 19.5996 -35.7998 36.7998 -46.2998
|
||||
c17.4004 2.2002 52.2002 5.5 64.4004 -6.5zM100.1 49.9004c0 -0.700195 11.4004 4.69922 30.4004 35c-5.90039 -5.5 -25.2998 -21.3008 -30.4004 -35zM181.7 240.5c-2.5 0 -2.60059 -26.9004 1.7998 -40.7998c4.90039 8.7002 5.59961 40.7998 -1.7998 40.7998zM157.3 103.9
|
||||
c15.9004 6.09961 34 14.8994 54.7998 19.1992c-11.1992 8.30078 -21.7998 20.4004 -30.0996 35.5c-6.7002 -17.6992 -15 -37.7998 -24.7002 -54.6992zM288.9 108.9c3.59961 2.39941 -2.2002 10.3994 -37.3008 7.7998c32.3008 -13.7998 37.3008 -7.7998 37.3008 -7.7998z" />
|
||||
<glyph glyph-name="file-word" unicode="" horiz-adv-x="384"
|
||||
d="M369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM332.1 320l-76.0996 76.0996v-76.0996h76.0996zM48 -16h288v288
|
||||
h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416zM268.1 192v0.200195h15.8008c7.7998 0 13.5 -7.2998 11.5996 -14.9004c-4.2998 -17 -13.7002 -54.0996 -34.5 -136c-1.2998 -5.39941 -6.09961 -9.09961 -11.5996 -9.09961h-24.7002
|
||||
c-5.5 0 -10.2998 3.7998 -11.6006 9.09961c-5.2998 20.9004 -17.7998 71 -17.8994 71.4004l-2.90039 17.2998c-0.5 -5.2998 -1.5 -11.0996 -3 -17.2998l-17.8994 -71.4004c-1.30078 -5.39941 -6.10059 -9.09961 -11.6006 -9.09961h-25.2002
|
||||
c-5.59961 0 -10.3994 3.7002 -11.6992 9.09961c-6.5 26.5 -25.2002 103.4 -33.2002 136c-1.7998 7.5 3.89941 14.7998 11.7002 14.7998h16.7998c5.7998 0 10.7002 -4.09961 11.7998 -9.69922c5 -25.7002 18.4004 -93.8008 19.0996 -99
|
||||
c0.300781 -1.7002 0.400391 -3.10059 0.5 -4.2002c0.800781 7.5 0.400391 4.7002 24.8008 103.7c1.39941 5.2998 6.19922 9.09961 11.6992 9.09961h13.3008c5.59961 0 10.3994 -3.7998 11.6992 -9.2002c23.9004 -99.7002 22.8008 -94.3994 23.6006 -99.5
|
||||
c0.299805 -1.7002 0.5 -3.09961 0.700195 -4.2998c0.599609 8.09961 0.399414 5.7998 21 103.5c1.09961 5.5 6 9.5 11.6992 9.5z" />
|
||||
<glyph glyph-name="file-excel" unicode="" horiz-adv-x="384"
|
||||
d="M369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM332.1 320l-76.0996 76.0996v-76.0996h76.0996zM48 -16h288v288
|
||||
h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416zM260 224c9.2002 0 15 -10 10.2998 -18c-16 -27.5 -45.5996 -76.9004 -46.2998 -78l46.4004 -78c4.59961 -8 -1.10059 -18 -10.4004 -18h-28.7998c-4.40039 0 -8.5 2.40039 -10.6006 6.2998
|
||||
c-22.6992 41.7998 -13.6992 27.5 -28.5996 57.7002c-5.59961 -12.7002 -6.90039 -17.7002 -28.5996 -57.7002c-2.10059 -3.89941 -6.10059 -6.2998 -10.5 -6.2998h-28.9004c-9.2998 0 -15.0996 10 -10.4004 18l46.3008 78l-46.3008 78c-4.59961 8 1.10059 18 10.4004 18
|
||||
h28.9004c4.39941 0 8.5 -2.40039 10.5996 -6.2998c21.7002 -40.4004 14.7002 -28.6006 28.5996 -57.7002c6.40039 15.2998 10.6006 24.5996 28.6006 57.7002c2.09961 3.89941 6.09961 6.2998 10.5 6.2998h28.7998z" />
|
||||
<glyph glyph-name="file-powerpoint" unicode="" horiz-adv-x="384"
|
||||
d="M369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM332.1 320l-76.0996 76.0996v-76.0996h76.0996zM48 -16h288v288
|
||||
h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416zM120 44v168c0 6.59961 5.40039 12 12 12h69.2002c36.7002 0 62.7998 -27 62.7998 -66.2998c0 -74.2998 -68.7002 -66.5 -95.5 -66.5v-47.2002c0 -6.59961 -5.40039 -12 -12 -12h-24.5c-6.59961 0 -12 5.40039 -12 12z
|
||||
M168.5 131.4h23c7.90039 0 13.9004 2.39941 18.0996 7.19922c8.5 9.80078 8.40039 28.5 0.100586 37.8008c-4.10059 4.59961 -9.90039 7 -17.4004 7h-23.8994v-52h0.0996094z" />
|
||||
<glyph glyph-name="file-image" unicode="" horiz-adv-x="384"
|
||||
d="M369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM332.1 320l-76.0996 76.0996v-76.0996h76.0996zM48 -16h288v288
|
||||
h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416zM80 32v64l39.5 39.5c4.7002 4.7002 12.2998 4.7002 17 0l39.5 -39.5l87.5 87.5c4.7002 4.7002 12.2998 4.7002 17 0l23.5 -23.5v-128h-224zM128 272c26.5 0 48 -21.5 48 -48s-21.5 -48 -48 -48s-48 21.5 -48 48
|
||||
s21.5 48 48 48z" />
|
||||
<glyph glyph-name="file-archive" unicode="" horiz-adv-x="384"
|
||||
d="M128.3 288h32v-32h-32v32zM192.3 384v-32h-32v32h32zM128.3 352h32v-32h-32v32zM192.3 320v-32h-32v32h32zM369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1
|
||||
c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM256 396.1v-76.0996h76.0996zM336 -16v288h-104c-13.2998 0 -24 10.7002 -24 24v104h-48.2998v-16h-32v16h-79.7002v-416h288zM194.2 182.3l17.2998 -87.7002c6.40039 -32.3994 -18.4004 -62.5996 -51.5 -62.5996
|
||||
c-33.2002 0 -58 30.4004 -51.4004 62.9004l19.7002 97.0996v32h32v-32h22.1006c5.7998 0 10.6992 -4.09961 11.7998 -9.7002zM160.3 57.9004c17.9004 0 32.4004 12.0996 32.4004 27c0 14.8994 -14.5 27 -32.4004 27c-17.8994 0 -32.3994 -12.1006 -32.3994 -27
|
||||
c0 -14.9004 14.5 -27 32.3994 -27zM192.3 256v-32h-32v32h32z" />
|
||||
<glyph glyph-name="file-audio" unicode="" horiz-adv-x="384"
|
||||
d="M369.941 350.059c8.68848 -8.68848 14.0586 -20.6943 14.0586 -33.9404v-332.118c0 -26.5098 -21.4902 -48 -48 -48h-288c-26.5098 0 -48 21.4902 -48 48v416c0 26.5098 21.4902 48 48 48h204.118c13.2461 0 25.252 -5.37012 33.9404 -14.0586zM332.118 320
|
||||
l-76.1182 76.1182v-76.1182h76.1182zM48 -16h288v288h-104c-13.2549 0 -24 10.7451 -24 24v104h-160v-416zM192 60.0244c0 -10.6914 -12.9258 -16.0459 -20.4854 -8.48535l-35.5146 35.9746h-28c-6.62695 0 -12 5.37305 -12 12v56c0 6.62695 5.37305 12 12 12h28
|
||||
l35.5146 36.9473c7.56055 7.56055 20.4854 2.20605 20.4854 -8.48535v-135.951zM233.201 107.154c9.05078 9.29688 9.05957 24.1328 0.000976562 33.4385c-22.1494 22.752 12.2344 56.2461 34.3945 33.4814c27.1982 -27.9404 27.2119 -72.4443 0.000976562 -100.401
|
||||
c-21.793 -22.3857 -56.9463 10.3154 -34.3965 33.4814z" />
|
||||
<glyph glyph-name="file-video" unicode="" horiz-adv-x="384"
|
||||
d="M369.941 350.059c8.68848 -8.68848 14.0586 -20.6943 14.0586 -33.9404v-332.118c0 -26.5098 -21.4902 -48 -48 -48h-288c-26.5098 0 -48 21.4902 -48 48v416c0 26.5098 21.4902 48 48 48h204.118c13.2461 0 25.252 -5.37012 33.9404 -14.0586zM332.118 320
|
||||
l-76.1182 76.1182v-76.1182h76.1182zM48 -16h288v288h-104c-13.2549 0 -24 10.7451 -24 24v104h-160v-416zM276.687 195.303c10.0049 10.0049 27.3135 2.99707 27.3135 -11.3135v-111.976c0 -14.2939 -17.2959 -21.332 -27.3135 -11.3135l-52.6865 52.6738v-37.374
|
||||
c0 -11.0459 -8.9541 -20 -20 -20h-104c-11.0459 0 -20 8.9541 -20 20v104c0 11.0459 8.9541 20 20 20h104c11.0459 0 20 -8.9541 20 -20v-37.374z" />
|
||||
<glyph glyph-name="file-code" unicode="" horiz-adv-x="384"
|
||||
d="M149.9 98.9004c3.5 -3.30078 3.69922 -8.90039 0.399414 -12.4004l-17.3994 -18.5996c-1.60059 -1.80078 -4 -2.80078 -6.40039 -2.80078c-2.2002 0 -4.40039 0.900391 -6 2.40039l-57.7002 54.0996c-3.7002 3.40039 -3.7002 9.30078 0 12.8008l57.7002 54.0996
|
||||
c3.40039 3.2998 9 3.2002 12.4004 -0.400391l17.3994 -18.5996l0.200195 -0.200195c3.2002 -3.59961 2.7998 -9.2002 -0.799805 -12.3994l-32.7998 -28.9004l32.7998 -28.9004zM369.9 350.1c9 -9 14.0996 -21.2998 14.0996 -34v-332.1c0 -26.5 -21.5 -48 -48 -48h-288
|
||||
c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48.0996h204.1c12.7002 0 24.9004 -5.09961 33.9004 -14.0996zM256 396.1v-76.0996h76.0996zM336 -16v288h-104c-13.2998 0 -24 10.7002 -24 24v104h-160v-416h288zM209.6 234l24.4004 -7
|
||||
c4.7002 -1.2998 7.40039 -6.2002 6 -10.9004l-54.7002 -188.199c-1.2998 -4.60059 -6.2002 -7.40039 -10.8994 -6l-24.4004 7.09961c-4.7002 1.2998 -7.40039 6.2002 -6 10.9004l54.7002 188.1c1.39941 4.7002 6.2002 7.40039 10.8994 6zM234.1 157.1
|
||||
c-3.5 3.30078 -3.69922 8.90039 -0.399414 12.4004l17.3994 18.5996c3.30078 3.60059 8.90039 3.7002 12.4004 0.400391l57.7002 -54.0996c3.7002 -3.40039 3.7002 -9.30078 0 -12.8008l-57.7002 -54.0996c-3.5 -3.2998 -9.09961 -3.09961 -12.4004 0.400391
|
||||
l-17.3994 18.5996l-0.200195 0.200195c-3.2002 3.59961 -2.7998 9.2002 0.799805 12.3994l32.7998 28.9004l-32.7998 28.9004z" />
|
||||
<glyph glyph-name="life-ring" unicode=""
|
||||
d="M256 -56c-136.967 0 -248 111.033 -248 248s111.033 248 248 248s248 -111.033 248 -248s-111.033 -248 -248 -248zM152.602 20.7197c63.2178 -38.3184 143.579 -38.3184 206.797 0l-53.4111 53.4111c-31.8467 -13.5215 -68.168 -13.5059 -99.9746 0zM336 192
|
||||
c0 44.1123 -35.8877 80 -80 80s-80 -35.8877 -80 -80s35.8877 -80 80 -80s80 35.8877 80 80zM427.28 88.6016c38.3184 63.2178 38.3184 143.579 0 206.797l-53.4111 -53.4111c13.5215 -31.8467 13.5049 -68.168 0 -99.9746zM359.397 363.28
|
||||
c-63.2168 38.3184 -143.578 38.3184 -206.796 0l53.4111 -53.4111c31.8457 13.5215 68.167 13.5049 99.9736 0zM84.7197 295.398c-38.3184 -63.2178 -38.3184 -143.579 0 -206.797l53.4111 53.4111c-13.5215 31.8467 -13.5059 68.168 0 99.9746z" />
|
||||
<glyph glyph-name="paper-plane" unicode=""
|
||||
d="M440 441.5c34.5996 19.9004 77.5996 -8.7998 71.5 -48.9004l-59.4004 -387.199c-2.2998 -14.5 -11.0996 -27.3008 -23.8994 -34.5c-7.2998 -4.10059 -15.4004 -6.2002 -23.6006 -6.2002c-6.19922 0 -12.3994 1.2002 -18.2998 3.59961l-111.899 46.2002l-43.8008 -59.0996
|
||||
c-27.3994 -36.9004 -86.5996 -17.8008 -86.5996 28.5996v84.4004l-114.3 47.2998c-36.7998 15.0996 -40.1006 66 -5.7002 85.8994zM192 -16l36.5996 49.5l-36.5996 15.0996v-64.5996zM404.6 12.7002l59.4004 387.3l-416 -240l107.8 -44.5996l211.5 184.3
|
||||
c14.2002 12.2998 34.4004 -5.7002 23.7002 -21.2002l-140.2 -202.3z" />
|
||||
<glyph glyph-name="futbol" unicode="" horiz-adv-x="496"
|
||||
d="M483.8 268.6c42.2998 -130.199 -29 -270.1 -159.2 -312.399c-25.5 -8.2998 -51.2998 -12.2002 -76.6992 -12.2002c-104.5 0 -201.7 66.5996 -235.7 171.4c-42.2998 130.199 29 270.1 159.2 312.399c25.5 8.2998 51.2998 12.2002 76.6992 12.2002
|
||||
c104.5 0 201.7 -66.5996 235.7 -171.4zM409.3 74.9004c6.10059 8.39941 12.1006 16.8994 16.7998 26.1992c14.3008 28.1006 21.5 58.5 21.7002 89.2002l-38.8994 36.4004l-71.1006 -22.1006l-24.3994 -75.1992l43.6992 -60.9004zM409.3 310.3
|
||||
c-24.5 33.4004 -58.7002 58.4004 -97.8994 71.4004l-47.4004 -26.2002v-73.7998l64.2002 -46.5l70.7002 22zM184.9 381.6c-39.9004 -13.2998 -73.5 -38.5 -97.8008 -71.8994l10.1006 -52.5l70.5996 -22l64.2002 46.5v73.7998zM139 68.5l43.5 61.7002l-24.2998 74.2998
|
||||
l-71.1006 22.2002l-39 -36.4004c0.5 -55.7002 23.4004 -95.2002 37.8008 -115.3zM187.2 1.5c64.0996 -20.4004 115.5 -1.7998 121.7 0l22.3994 48.0996l-44.2998 61.7002h-78.5996l-43.6006 -61.7002z" />
|
||||
<glyph glyph-name="newspaper" unicode="" horiz-adv-x="576"
|
||||
d="M552 384c13.2549 0 24 -10.7451 24 -24v-336c0 -13.2549 -10.7451 -24 -24 -24h-496c-30.9277 0 -56 25.0723 -56 56v272c0 13.2549 10.7451 24 24 24h42.752c6.60547 18.623 24.3896 32 45.248 32h440zM48 56c0 -4.41113 3.58887 -8 8 -8s8 3.58887 8 8v248h-16v-248z
|
||||
M528 48v288h-416v-280c0 -2.7168 -0.204102 -5.38574 -0.578125 -8h416.578zM172 168c-6.62695 0 -12 5.37305 -12 12v96c0 6.62695 5.37305 12 12 12h136c6.62695 0 12 -5.37305 12 -12v-96c0 -6.62695 -5.37305 -12 -12 -12h-136zM200 248v-40h80v40h-80zM160 108v24
|
||||
c0 6.62695 5.37305 12 12 12h136c6.62695 0 12 -5.37305 12 -12v-24c0 -6.62695 -5.37305 -12 -12 -12h-136c-6.62695 0 -12 5.37305 -12 12zM352 108v24c0 6.62695 5.37305 12 12 12h104c6.62695 0 12 -5.37305 12 -12v-24c0 -6.62695 -5.37305 -12 -12 -12h-104
|
||||
c-6.62695 0 -12 5.37305 -12 12zM352 252v24c0 6.62695 5.37305 12 12 12h104c6.62695 0 12 -5.37305 12 -12v-24c0 -6.62695 -5.37305 -12 -12 -12h-104c-6.62695 0 -12 5.37305 -12 12zM352 180v24c0 6.62695 5.37305 12 12 12h104c6.62695 0 12 -5.37305 12 -12v-24
|
||||
c0 -6.62695 -5.37305 -12 -12 -12h-104c-6.62695 0 -12 5.37305 -12 12z" />
|
||||
<glyph glyph-name="bell-slash" unicode="" horiz-adv-x="640"
|
||||
d="M633.99 -23.0195c6.91016 -5.52051 8.01953 -15.5908 2.5 -22.4902l-10 -12.4902c-5.53027 -6.88965 -15.5898 -8.00977 -22.4902 -2.49023l-598 467.51c-6.90039 5.52051 -8.01953 15.5908 -2.49023 22.4902l10 12.4902
|
||||
c5.52051 6.90039 15.5898 8.00977 22.4902 2.49023zM163.53 80h182.84l61.3994 -48h-279.659c-19.1201 0 -31.9902 15.5996 -32.1006 32c-0.0498047 7.5498 2.61035 15.2598 8.61035 21.71c18.3701 19.7402 51.5703 49.6904 54.8398 140.42l45.4697 -35.5498
|
||||
c-6.91992 -54.7803 -24.6895 -88.5498 -41.3994 -110.58zM320 352c-23.3496 0 -45 -7.17969 -62.9404 -19.4004l-38.1699 29.8408c19.6807 15.7793 43.1104 27.3096 69.1299 32.7197v20.8398c0 17.6699 14.3203 32 31.9805 32s31.9805 -14.3301 31.9805 -32v-20.8398
|
||||
c73.46 -15.2598 127.939 -77.46 127.939 -155.16c0 -41.3604 6.03027 -70.7197 14.3398 -92.8496l-59.5293 46.54c-1.63086 13.96 -2.77051 28.8896 -2.79004 45.7295c0 0.200195 0.0595703 0.379883 0.0595703 0.580078c0 61.8604 -50.1396 112 -112 112zM320 -64
|
||||
c-35.3203 0 -63.9697 28.6504 -63.9697 64h127.939c0 -35.3496 -28.6494 -64 -63.9697 -64z" />
|
||||
<glyph glyph-name="copyright" unicode=""
|
||||
d="M256 440c136.967 0 248 -111.033 248 -248s-111.033 -248 -248 -248s-248 111.033 -248 248s111.033 248 248 248zM256 -8c110.549 0 200 89.4678 200 200c0 110.549 -89.4678 200 -200 200c-110.549 0 -200 -89.4688 -200 -200c0 -110.549 89.4678 -200 200 -200z
|
||||
M363.351 93.0645c-9.61328 -9.71289 -45.5293 -41.3965 -104.064 -41.3965c-82.4297 0 -140.484 61.4248 -140.484 141.567c0 79.1514 60.2754 139.4 139.763 139.4c55.5303 0 88.7373 -26.6201 97.5928 -34.7783c2.37793 -2.1875 3.86914 -5.3252 3.86914 -8.80762
|
||||
c0 -2.39746 -0.717773 -4.64258 -1.93359 -6.51465l-18.1543 -28.1133c-3.8418 -5.9502 -11.9668 -7.28223 -17.499 -2.9209c-8.5957 6.77637 -31.8145 22.5381 -61.708 22.5381c-48.3037 0 -77.916 -35.3301 -77.916 -80.082c0 -41.5889 26.8877 -83.6924 78.2764 -83.6924
|
||||
c32.6572 0 56.8428 19.0391 65.7266 27.2256c5.26953 4.85645 13.5957 4.03906 17.8193 -1.73828l19.8652 -27.1699c1.45996 -1.98145 2.32422 -4.42969 2.32422 -7.07715c0 -3.28809 -1.32422 -6.2793 -3.47656 -8.44043z" />
|
||||
<glyph glyph-name="closed-captioning" unicode=""
|
||||
d="M464 384c26.5 0 48 -21.5 48 -48v-288c0 -26.5 -21.5 -48 -48 -48h-416c-26.5 0 -48 21.5 -48 48v288c0 26.5 21.5 48 48 48h416zM458 48c3.2998 0 6 2.7002 6 6v276c0 3.2998 -2.7002 6 -6 6h-404c-3.2998 0 -6 -2.7002 -6 -6v-276c0 -3.2998 2.7002 -6 6 -6h404z
|
||||
M246.9 133.7c1.69922 -2.40039 1.5 -5.60059 -0.5 -7.7002c-53.6006 -56.7998 -172.801 -32.0996 -172.801 67.9004c0 97.2998 121.7 119.5 172.5 70.0996c2.10059 -2 2.5 -3.2002 1 -5.7002l-17.5 -30.5c-1.89941 -3.09961 -6.19922 -4 -9.09961 -1.7002
|
||||
c-40.7998 32 -94.5996 14.9004 -94.5996 -31.1992c0 -48 51 -70.5 92.1992 -32.6006c2.80078 2.5 7.10059 2.10059 9.2002 -0.899414zM437.3 133.7c1.7002 -2.40039 1.5 -5.60059 -0.5 -7.7002c-53.5996 -56.9004 -172.8 -32.0996 -172.8 67.9004
|
||||
c0 97.2998 121.7 119.5 172.5 70.0996c2.09961 -2 2.5 -3.2002 1 -5.7002l-17.5 -30.5c-1.90039 -3.09961 -6.2002 -4 -9.09961 -1.7002c-40.8008 32 -94.6006 14.9004 -94.6006 -31.1992c0 -48 51 -70.5 92.2002 -32.6006c2.7998 2.5 7.09961 2.10059 9.2002 -0.899414z
|
||||
" />
|
||||
<glyph glyph-name="object-group" unicode=""
|
||||
d="M500 320h-12v-256h12c6.62695 0 12 -5.37305 12 -12v-72c0 -6.62695 -5.37305 -12 -12 -12h-72c-6.62695 0 -12 5.37305 -12 12v12h-320v-12c0 -6.62695 -5.37305 -12 -12 -12h-72c-6.62695 0 -12 5.37305 -12 12v72c0 6.62695 5.37305 12 12 12h12v256h-12
|
||||
c-6.62695 0 -12 5.37305 -12 12v72c0 6.62695 5.37305 12 12 12h72c6.62695 0 12 -5.37305 12 -12v-12h320v12c0 6.62695 5.37305 12 12 12h72c6.62695 0 12 -5.37305 12 -12v-72c0 -6.62695 -5.37305 -12 -12 -12zM448 384v-32h32v32h-32zM32 384v-32h32v32h-32zM64 0v32
|
||||
h-32v-32h32zM480 0v32h-32v-32h32zM440 64v256h-12c-6.62695 0 -12 5.37305 -12 12v12h-320v-12c0 -6.62695 -5.37305 -12 -12 -12h-12v-256h12c6.62695 0 12 -5.37305 12 -12v-12h320v12c0 6.62695 5.37305 12 12 12h12zM404 256c6.62695 0 12 -5.37207 12 -12v-168
|
||||
c0 -6.62793 -5.37305 -12 -12 -12h-200c-6.62695 0 -12 5.37207 -12 12v52h-84c-6.62695 0 -12 5.37207 -12 12v168c0 6.62793 5.37305 12 12 12h200c6.62695 0 12 -5.37207 12 -12v-52h84zM136 280v-112h144v112h-144zM376 104v112h-56v-76
|
||||
c0 -6.62793 -5.37305 -12 -12 -12h-76v-24h144z" />
|
||||
<glyph glyph-name="object-ungroup" unicode="" horiz-adv-x="576"
|
||||
d="M564 224h-12v-160h12c6.62695 0 12 -5.37305 12 -12v-72c0 -6.62695 -5.37305 -12 -12 -12h-72c-6.62695 0 -12 5.37305 -12 12v12h-224v-12c0 -6.62695 -5.37305 -12 -12 -12h-72c-6.62695 0 -12 5.37305 -12 12v72c0 6.62695 5.37305 12 12 12h12v24h-88v-12
|
||||
c0 -6.62695 -5.37305 -12 -12 -12h-72c-6.62695 0 -12 5.37305 -12 12v72c0 6.62695 5.37305 12 12 12h12v160h-12c-6.62695 0 -12 5.37305 -12 12v72c0 6.62695 5.37305 12 12 12h72c6.62695 0 12 -5.37305 12 -12v-12h224v12c0 6.62695 5.37305 12 12 12h72
|
||||
c6.62695 0 12 -5.37305 12 -12v-72c0 -6.62695 -5.37305 -12 -12 -12h-12v-24h88v12c0 6.62695 5.37305 12 12 12h72c6.62695 0 12 -5.37305 12 -12v-72c0 -6.62695 -5.37305 -12 -12 -12zM352 384v-32h32v32h-32zM352 128v-32h32v32h-32zM64 96v32h-32v-32h32zM64 352v32
|
||||
h-32v-32h32zM96 136h224v12c0 6.62695 5.37305 12 12 12h12v160h-12c-6.62695 0 -12 5.37305 -12 12v12h-224v-12c0 -6.62695 -5.37305 -12 -12 -12h-12v-160h12c6.62695 0 12 -5.37305 12 -12v-12zM224 0v32h-32v-32h32zM504 64v160h-12c-6.62695 0 -12 5.37305 -12 12v12
|
||||
h-88v-88h12c6.62695 0 12 -5.37305 12 -12v-72c0 -6.62695 -5.37305 -12 -12 -12h-72c-6.62695 0 -12 5.37305 -12 12v12h-88v-24h12c6.62695 0 12 -5.37305 12 -12v-12h224v12c0 6.62695 5.37305 12 12 12h12zM544 0v32h-32v-32h32zM544 256v32h-32v-32h32z" />
|
||||
<glyph glyph-name="sticky-note" unicode="" horiz-adv-x="448"
|
||||
d="M448 99.8936c0 -13.2451 -5.37012 -25.252 -14.0586 -33.9404l-83.8828 -83.8818c-8.68848 -8.68848 -20.6943 -14.0596 -33.9404 -14.0596h-268.118c-26.5098 0 -48 21.4902 -48 48v351.988c0 26.5098 21.4902 48 48 48h352c26.5098 0 48 -21.4902 48 -48v-268.106z
|
||||
M320 19.8936l76.1182 76.1182h-76.1182v-76.1182zM400 368h-352v-351.988h224v104c0 13.2549 10.7451 24 24 24h104v223.988z" />
|
||||
<glyph glyph-name="clone" unicode=""
|
||||
d="M464 448c26.5098 0 48 -21.4902 48 -48v-320c0 -26.5098 -21.4902 -48 -48 -48h-48v-48c0 -26.5098 -21.4902 -48 -48 -48h-320c-26.5098 0 -48 21.4902 -48 48v320c0 26.5098 21.4902 48 48 48h48v48c0 26.5098 21.4902 48 48 48h320zM362 -16c3.31152 0 6 2.68848 6 6
|
||||
v42h-224c-26.5098 0 -48 21.4902 -48 48v224h-42c-3.31152 0 -6 -2.68848 -6 -6v-308c0 -3.31152 2.68848 -6 6 -6h308zM458 80c3.31152 0 6 2.68848 6 6v308c0 3.31152 -2.68848 6 -6 6h-308c-3.31152 0 -6 -2.68848 -6 -6v-308c0 -3.31152 2.68848 -6 6 -6h308z" />
|
||||
<glyph glyph-name="hourglass" unicode="" horiz-adv-x="384"
|
||||
d="M368 400c0 -80.0996 -31.8984 -165.619 -97.1797 -208c64.9912 -42.1934 97.1797 -127.436 97.1797 -208h4c6.62695 0 12 -5.37305 12 -12v-24c0 -6.62695 -5.37305 -12 -12 -12h-360c-6.62695 0 -12 5.37305 -12 12v24c0 6.62695 5.37305 12 12 12h4
|
||||
c0 80.0996 31.8994 165.619 97.1797 208c-64.9912 42.1934 -97.1797 127.436 -97.1797 208h-4c-6.62695 0 -12 5.37305 -12 12v24c0 6.62695 5.37305 12 12 12h360c6.62695 0 12 -5.37305 12 -12v-24c0 -6.62695 -5.37305 -12 -12 -12h-4zM64 400
|
||||
c0 -101.621 57.3066 -184 128 -184s128 82.3799 128 184h-256zM320 -16c0 101.62 -57.3076 184 -128 184s-128 -82.3799 -128 -184h256z" />
|
||||
<glyph glyph-name="hand-rock" unicode=""
|
||||
d="M408.864 368.948c48.8213 20.751 103.136 -15.0723 103.136 -67.9111v-114.443c0 -15.3955 -3.08887 -30.3906 -9.18262 -44.5674l-42.835 -99.6562c-4.99707 -11.625 -3.98242 -18.8574 -3.98242 -42.3701c0 -17.6729 -14.3271 -32 -32 -32h-252
|
||||
c-17.6729 0 -32 14.3271 -32 32c0 27.3301 1.1416 29.2012 -3.11035 32.9033l-97.71 85.0811c-24.8994 21.6797 -39.1797 52.8926 -39.1797 85.6338v56.9531c0 47.4277 44.8457 82.0215 91.0459 71.1807c1.96094 55.751 63.5107 87.8262 110.671 60.8057
|
||||
c29.1895 31.0713 78.8604 31.4473 108.334 -0.0214844c32.7051 18.6846 76.4121 10.3096 98.8135 -23.5879zM464 186.594v114.445c0 34.29 -52 33.8232 -52 0.676758c0 -8.83594 -7.16309 -16 -16 -16h-7c-8.83691 0 -16 7.16406 -16 16v26.751
|
||||
c0 34.457 -52 33.707 -52 0.676758v-27.4287c0 -8.83594 -7.16309 -16 -16 -16h-7c-8.83691 0 -16 7.16406 -16 16v40.4658c0 34.3525 -52 33.8115 -52 0.677734v-41.1436c0 -8.83594 -7.16406 -16 -16 -16h-7c-8.83594 0 -16 7.16406 -16 16v26.751
|
||||
c0 34.4023 -52 33.7744 -52 0.676758v-116.571c0 -8.83105 -7.17773 -15.9961 -16.0078 -15.9961c-4.0166 0 -7.68848 1.48242 -10.499 3.92969l-7 6.09473c-3.37012 2.93457 -5.49316 7.25293 -5.49316 12.0674v41.2275c0 34.2148 -52 33.8857 -52 0.677734v-56.9531
|
||||
c0 -18.8555 8.27441 -36.874 22.7002 -49.4365l97.71 -85.0801c12.4502 -10.8398 19.5898 -26.4463 19.5898 -42.8164v-10.2861h220v7.07617c0 13.21 2.65332 26.0791 7.88281 38.25l42.835 99.6553c3.37891 7.82715 5.28223 16.501 5.28223 25.5625v0.0498047z" />
|
||||
<glyph glyph-name="hand-paper" unicode="" horiz-adv-x="448"
|
||||
d="M372.57 335.359c39.9062 5.63281 75.4297 -25.7393 75.4297 -66.3594v-131.564c-0.00292969 -15.7393 -1.80566 -30.9482 -5.19531 -45.666l-30.1836 -130.958c-3.34668 -14.5234 -16.2783 -24.8125 -31.1816 -24.8125h-222.897
|
||||
c-10.7539 0 -20.2588 5.28613 -26.0615 13.4316l-119.97 168.415c-21.2441 29.8203 -14.8047 71.3574 14.5498 93.1533c18.7754 13.9395 42.1309 16.2979 62.083 8.87109v126.13c0 44.0547 41.125 75.5439 82.4053 64.9834c23.8926 48.1963 92.3535 50.2471 117.982 0.74707
|
||||
c42.5186 11.1445 83.0391 -21.9346 83.0391 -65.5469v-10.8242zM399.997 137.437l-0.00195312 131.563c0 24.9492 -36.5703 25.5508 -36.5703 -0.691406v-76.3086c0 -8.83691 -7.16309 -16 -16 -16h-6.85645c-8.83691 0 -16 7.16309 -16 16v154.184
|
||||
c0 25.501 -36.5703 26.3633 -36.5703 0.691406v-154.875c0 -8.83691 -7.16309 -16 -16 -16h-6.85645c-8.83691 0 -16 7.16309 -16 16v188.309c0 25.501 -36.5703 26.3545 -36.5703 0.691406v-189c0 -8.83691 -7.16309 -16 -16 -16h-6.85645c-8.83691 0 -16 7.16309 -16 16
|
||||
v153.309c0 25.501 -36.5713 26.3359 -36.5713 0.691406v-206.494c0 -15.5703 -20.0352 -21.9092 -29.0303 -9.2832l-27.1279 38.0791c-14.3711 20.1709 -43.833 -2.33496 -29.3945 -22.6045l115.196 -161.697h201.92l27.3252 118.551
|
||||
c2.63086 11.417 3.96484 23.1553 3.96484 34.8857z" />
|
||||
<glyph glyph-name="hand-scissors" unicode=""
|
||||
d="M256 -32c-44.9561 0 -77.3428 43.2627 -64.0244 85.8535c-21.6484 13.71 -34.0156 38.7617 -30.3408 65.0068h-87.6348c-40.8037 0 -74 32.8105 -74 73.1406c0 40.3291 33.1963 73.1396 74 73.1396l94 -9.14062l-78.8496 18.6787
|
||||
c-38.3076 14.7422 -57.04 57.4707 -41.9424 95.1123c15.0303 37.4736 57.7549 55.7803 95.6416 41.2012l144.929 -55.7568c24.9551 30.5566 57.8086 43.9932 92.2178 24.7324l97.999 -54.8525c20.9746 -11.7393 34.0049 -33.8457 34.0049 -57.6904v-205.702
|
||||
c0 -30.7422 -21.4404 -57.5576 -51.7979 -64.5537l-118.999 -27.4268c-4.97168 -1.14648 -10.0889 -1.72949 -15.2031 -1.72949zM256 16.0127l70 -0.000976562c1.52441 0 2.99707 0.174805 4.42285 0.501953l119.001 27.4277
|
||||
c8.58203 1.97754 14.5762 9.29102 14.5762 17.7812v205.701c0 6.4873 -3.62109 12.542 -9.44922 15.8047l-98 54.8545c-8.13965 4.55566 -18.668 2.61914 -24.4873 -4.50781l-21.7646 -26.6475c-2.93457 -3.59375 -7.40332 -5.87305 -12.4004 -5.87305
|
||||
c-2.02246 0 -3.95703 0.375977 -5.73828 1.06152l-166.549 64.0908c-32.6543 12.5664 -50.7744 -34.5771 -19.2227 -46.7168l155.357 -59.7852c6 -2.30859 10.2539 -8.12402 10.2539 -14.9326v-11.6328c0 -8.83691 -7.16309 -16 -16 -16h-182
|
||||
c-34.375 0 -34.4297 -50.2803 0 -50.2803h182c8.83691 0 16 -7.16309 16 -16v-6.85645c0 -8.83691 -7.16309 -16 -16 -16h-28c-25.1221 0 -25.1592 -36.5674 0 -36.5674h28c8.83691 0 16 -7.16211 16 -16v-6.85547c0 -8.83691 -7.16309 -16 -16 -16
|
||||
c-25.1201 0 -25.1602 -36.5674 0 -36.5674z" />
|
||||
<glyph glyph-name="hand-lizard" unicode="" horiz-adv-x="576"
|
||||
d="M556.686 157.458c12.6357 -19.4863 19.3145 -42.0615 19.3145 -65.2871v-124.171h-224v71.582l-99.751 38.7871c-2.7832 1.08203 -5.70996 1.63086 -8.69727 1.63086h-131.552c-30.8789 0 -56 25.1211 -56 56c0 48.5234 39.4766 88 88 88h113.709l18.333 48h-196.042
|
||||
c-44.1123 0 -80 35.8877 -80 80v8c0 30.8779 25.1211 56 56 56h293.917c24.5 0 47.084 -12.2725 60.4111 -32.8291zM528 16v76.1709c0 0.0166016 -0.0439453 0.106445 -0.0439453 0.12207c0 14.3945 -4.24219 27.8057 -11.5439 39.0498l-146.358 225.715
|
||||
c-4.44336 6.85254 -11.9707 10.9424 -20.1367 10.9424h-293.917c-4.41113 0 -8 -3.58887 -8 -8v-8c0 -17.6445 14.3555 -32 32 -32h213.471c25.2021 0 42.626 -25.293 33.6299 -48.8457l-24.5518 -64.2812c-7.05371 -18.4658 -25.0732 -30.873 -44.8398 -30.873h-113.709
|
||||
c-22.0557 0 -40 -17.9443 -40 -40c0 -4.41113 3.58887 -8 8 -8h131.552c0.0175781 0 0.0712891 -0.0273438 0.0888672 -0.0273438c9.16992 0 17.9404 -1.72461 26.0039 -4.86621l99.752 -38.7881c18.5898 -7.22852 30.6035 -24.7881 30.6035 -44.7363v-23.582h128z" />
|
||||
<glyph glyph-name="hand-spock" unicode=""
|
||||
d="M501.03 331.824c6.92773 -11.1826 10.9697 -24.4053 10.9697 -38.5146c0 -5.92676 -0.706055 -11.6885 -2.03809 -17.208l-57.623 -241.963c-13.2236 -56.1904 -63.707 -98.1387 -123.908 -98.1387h-0.352539h-107.455
|
||||
c-0.0761719 0 -0.193359 0.00195312 -0.270508 0.00195312c-40.9248 0 -78.1475 15.9814 -105.761 42.0391l-91.3652 85.9766c-14.3076 13.4434 -23.2246 32.5547 -23.2246 53.7168c0 19.5254 7.61035 37.2861 20.0254 50.4766
|
||||
c5.31836 5.66406 29.875 29.3926 68.1152 21.8477l-24.3594 82.1973c-1.97363 6.64844 -2.97656 13.6836 -2.97656 20.9688c0 38.6953 29.8926 70.4639 67.8262 73.4531c-0.246094 2.45117 -0.34082 4.85547 -0.34082 7.37207c0 34.4199 23.585 63.376 55.4619 71.5752
|
||||
c43.248 10.9785 80.5645 -17.7012 89.6602 -53.0723l13.6836 -53.207l4.64648 22.6602c6.99023 33.5186 36.6826 58.8037 72.2373 58.916c8.73438 0 56.625 -3.26953 70.7383 -54.0801c15.0664 0.710938 46.9199 -3.50977 66.3105 -35.0176zM463.271 287.219
|
||||
c7.86914 32.9844 -42.1211 45.2695 -50.0859 11.9219l-24.8008 -104.146c-4.38867 -18.4141 -31.7783 -11.8926 -28.0557 6.2168l28.5479 139.166c7.39844 36.0703 -43.3076 45.0703 -50.1182 11.9629l-31.791 -154.971
|
||||
c-3.54883 -17.3086 -28.2832 -18.0469 -32.7109 -0.804688l-47.3262 184.035c-8.43359 32.8105 -58.3691 20.2676 -49.8652 -12.8359l42.4414 -165.039c4.81641 -18.7207 -23.3711 -26.9121 -28.9648 -8.00781l-31.3438 105.779
|
||||
c-9.6875 32.6465 -59.1191 18.2578 -49.3867 -14.625l36.0137 -121.539c6.59375 -22.2441 10.1777 -45.7803 10.1777 -70.1523c0 -6.54297 -8.05664 -10.9355 -13.4824 -5.82617l-51.123 48.1074c-24.7852 23.4082 -60.0527 -14.1875 -35.2793 -37.4902l91.3691 -85.9805
|
||||
c19.0469 -17.9736 44.75 -28.998 72.9795 -28.998h0.157227h107.455c0.0732422 0 0.138672 0.0429688 0.212891 0.0429688c37.5791 0 69.1016 26.1416 77.3564 61.2168z" />
|
||||
<glyph glyph-name="hand-pointer" unicode="" horiz-adv-x="448"
|
||||
d="M358.182 268.639c43.1934 16.6348 89.8184 -15.7949 89.8184 -62.6387v-84c-0.000976562 -5.24023 -0.600586 -10.3037 -1.72754 -15.2041l-27.4297 -118.999c-6.98242 -30.2969 -33.7549 -51.7969 -64.5566 -51.7969h-178.286
|
||||
c-21.2588 0 -41.3682 10.4102 -53.791 27.8457l-109.699 154.001c-21.2432 29.8193 -14.8047 71.3574 14.5498 93.1523c18.8115 13.9658 42.1748 16.2822 62.083 8.87207v161.129c0 36.9443 29.7363 67 66.2861 67s66.2861 -30.0557 66.2861 -67v-73.6338
|
||||
c20.4131 2.85742 41.4678 -3.94238 56.5947 -19.6289c27.1934 12.8467 60.3799 5.66992 79.8721 -19.0986zM80.9854 168.303c-14.4004 20.2119 -43.8008 -2.38281 -29.3945 -22.6055l109.712 -154c3.43457 -4.81934 8.92871 -7.69727 14.6973 -7.69727h178.285
|
||||
c8.49219 0 15.8037 5.99414 17.7822 14.5762l27.4297 119.001c0.333008 1.44629 0.501953 2.93457 0.501953 4.42285v84c0 25.1602 -36.5713 25.1211 -36.5713 0c0 -8.83594 -7.16309 -16 -16 -16h-6.85645c-8.83691 0 -16 7.16406 -16 16v21
|
||||
c0 25.1602 -36.5713 25.1201 -36.5713 0v-21c0 -8.83594 -7.16309 -16 -16 -16h-6.85938c-8.83691 0 -16 7.16406 -16 16v35c0 25.1602 -36.5703 25.1201 -36.5703 0v-35c0 -8.83594 -7.16309 -16 -16 -16h-6.85742c-8.83691 0 -16 7.16406 -16 16v175
|
||||
c0 25.1602 -36.5713 25.1201 -36.5713 0v-241.493c0 -15.5703 -20.0352 -21.9092 -29.0303 -9.2832zM176.143 48v96c0 8.83691 6.26855 16 14 16h6c7.73242 0 14 -7.16309 14 -16v-96c0 -8.83691 -6.26758 -16 -14 -16h-6c-7.73242 0 -14 7.16309 -14 16zM251.571 48v96
|
||||
c0 8.83691 6.26758 16 14 16h6c7.73145 0 14 -7.16309 14 -16v-96c0 -8.83691 -6.26855 -16 -14 -16h-6c-7.73242 0 -14 7.16309 -14 16zM327 48v96c0 8.83691 6.26758 16 14 16h6c7.73242 0 14 -7.16309 14 -16v-96c0 -8.83691 -6.26758 -16 -14 -16h-6
|
||||
c-7.73242 0 -14 7.16309 -14 16z" />
|
||||
<glyph glyph-name="hand-peace" unicode="" horiz-adv-x="448"
|
||||
d="M362.146 256.024c42.5908 13.3184 85.8535 -19.0684 85.8535 -64.0244l-0.0117188 -70.001c-0.000976562 -5.24023 -0.600586 -10.3027 -1.72949 -15.2031l-27.4268 -118.999c-6.99707 -30.3564 -33.8105 -51.7969 -64.5547 -51.7969h-205.702
|
||||
c-23.8447 0 -45.9502 13.0303 -57.6904 34.0059l-54.8525 97.999c-19.2607 34.4092 -5.82422 67.2617 24.7324 92.2178l-55.7568 144.928c-14.5791 37.8867 3.72754 80.6113 41.2012 95.6416c37.6406 15.0977 80.3691 -3.63477 95.1123 -41.9424l18.6787 -78.8496
|
||||
l-9.14062 94c0 40.8037 32.8096 74 73.1396 74s73.1406 -33.1963 73.1406 -74v-87.6348c26.2451 3.6748 51.2959 -8.69238 65.0068 -30.3408zM399.987 122l-0.000976562 70c0 25.1602 -36.5674 25.1201 -36.5674 0c0 -8.83691 -7.16309 -16 -16 -16h-6.85547
|
||||
c-8.83789 0 -16 7.16309 -16 16v28c0 25.1592 -36.5674 25.1221 -36.5674 0v-28c0 -8.83691 -7.16309 -16 -16 -16h-6.85645c-8.83691 0 -16 7.16309 -16 16v182c0 34.4297 -50.2803 34.375 -50.2803 0v-182c0 -8.83691 -7.16309 -16 -16 -16h-11.6328
|
||||
c-6.80859 0 -12.624 4.25391 -14.9326 10.2539l-59.7842 155.357c-12.1396 31.5518 -59.2842 13.4326 -46.7168 -19.2227l64.0898 -166.549c0.685547 -1.78125 1.07812 -3.71875 1.07812 -5.74121c0 -4.99707 -2.2959 -9.46289 -5.88965 -12.3975l-26.6475 -21.7646
|
||||
c-7.12695 -5.81934 -9.06445 -16.3467 -4.50781 -24.4873l54.8535 -98c3.26367 -5.82812 9.31934 -9.44922 15.8057 -9.44922h205.701c8.49121 0 15.8037 5.99414 17.7812 14.5762l27.4277 119.001c0.333008 1.44629 0.501953 2.93457 0.501953 4.42285z" />
|
||||
<glyph glyph-name="registered" unicode=""
|
||||
d="M256 440c136.967 0 248 -111.033 248 -248s-111.033 -248 -248 -248s-248 111.033 -248 248s111.033 248 248 248zM256 -8c110.549 0 200 89.4678 200 200c0 110.549 -89.4678 200 -200 200c-110.549 0 -200 -89.4688 -200 -200c0 -110.549 89.4678 -200 200 -200z
|
||||
M366.442 73.791c4.40332 -7.99219 -1.37012 -17.791 -10.5107 -17.791h-42.8096c-0.00488281 0 -0.000976562 -0.0126953 -0.00585938 -0.0126953c-4.58594 0 -8.57422 2.58301 -10.5869 6.37305l-47.5156 89.3027h-31.958v-83.6631c0 -6.61719 -5.38281 -12 -12 -12
|
||||
h-38.5674c-6.61719 0 -12 5.38281 -12 12v248.304c0 6.61719 5.38281 12 12 12h78.667c71.251 0 101.498 -32.749 101.498 -85.252c0 -31.6123 -15.2148 -59.2969 -39.4824 -73.1758c3.02148 -4.61719 0.225586 0.199219 53.2715 -96.085zM256.933 208.094
|
||||
c20.9131 0 32.4307 11.5186 32.4316 32.4316c0 19.5752 -6.5127 31.709 -38.9297 31.709h-27.377v-64.1406h33.875z" />
|
||||
<glyph glyph-name="calendar-plus" unicode="" horiz-adv-x="448"
|
||||
d="M336 156v-24c0 -6.59961 -5.40039 -12 -12 -12h-76v-76c0 -6.59961 -5.40039 -12 -12 -12h-24c-6.59961 0 -12 5.40039 -12 12v76h-76c-6.59961 0 -12 5.40039 -12 12v24c0 6.59961 5.40039 12 12 12h76v76c0 6.59961 5.40039 12 12 12h24c6.59961 0 12 -5.40039 12 -12
|
||||
v-76h76c6.59961 0 12 -5.40039 12 -12zM448 336v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h48v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h128v52c0 6.59961 5.40039 12 12 12h40
|
||||
c6.59961 0 12 -5.40039 12 -12v-52h48c26.5 0 48 -21.5 48 -48zM400 -10v298h-352v-298c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="calendar-minus" unicode="" horiz-adv-x="448"
|
||||
d="M124 120c-6.59961 0 -12 5.40039 -12 12v24c0 6.59961 5.40039 12 12 12h200c6.59961 0 12 -5.40039 12 -12v-24c0 -6.59961 -5.40039 -12 -12 -12h-200zM448 336v-352c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h48v52
|
||||
c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h128v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h48c26.5 0 48 -21.5 48 -48zM400 -10v298h-352v-298c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="calendar-times" unicode="" horiz-adv-x="448"
|
||||
d="M311.7 73.2998l-17 -17c-4.7002 -4.7002 -12.2998 -4.7002 -17 0l-53.7002 53.7998l-53.7002 -53.6992c-4.7002 -4.7002 -12.2998 -4.7002 -17 0l-17 17c-4.7002 4.69922 -4.7002 12.2998 0 17l53.7002 53.6992l-53.7002 53.7002c-4.7002 4.7002 -4.7002 12.2998 0 17
|
||||
l17 17c4.7002 4.7002 12.2998 4.7002 17 0l53.7002 -53.7002l53.7002 53.7002c4.7002 4.7002 12.2998 4.7002 17 0l17 -17c4.7002 -4.7002 4.7002 -12.2998 0 -17l-53.7998 -53.7998l53.6992 -53.7002c4.80078 -4.7002 4.80078 -12.2998 0.100586 -17zM448 336v-352
|
||||
c0 -26.5 -21.5 -48 -48 -48h-352c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h48v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h128v52c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-52h48c26.5 0 48 -21.5 48 -48zM400 -10
|
||||
v298h-352v-298c0 -3.2998 2.7002 -6 6 -6h340c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="calendar-check" unicode="" horiz-adv-x="448"
|
||||
d="M400 384c26.5098 0 48 -21.4902 48 -48v-352c0 -26.5098 -21.4902 -48 -48 -48h-352c-26.5098 0 -48 21.4902 -48 48v352c0 26.5098 21.4902 48 48 48h48v52c0 6.62695 5.37305 12 12 12h40c6.62695 0 12 -5.37305 12 -12v-52h128v52c0 6.62695 5.37305 12 12 12h40
|
||||
c6.62695 0 12 -5.37305 12 -12v-52h48zM394 -16c3.31152 0 6 2.68848 6 6v298h-352v-298c0 -3.31152 2.68848 -6 6 -6h340zM341.151 184.65l-142.31 -141.169c-4.70508 -4.66699 -12.3027 -4.6377 -16.9707 0.0673828l-75.0908 75.6992
|
||||
c-4.66699 4.70508 -4.6377 12.3027 0.0673828 16.9707l22.7197 22.5361c4.70508 4.66699 12.3027 4.63672 16.9697 -0.0693359l44.1035 -44.4609l111.072 110.182c4.70508 4.66699 12.3027 4.63672 16.9707 -0.0683594l22.5361 -22.7178
|
||||
c4.66699 -4.70508 4.63672 -12.3027 -0.0683594 -16.9697z" />
|
||||
<glyph glyph-name="map" unicode="" horiz-adv-x="576"
|
||||
d="M560.02 416c8.4502 0 15.9805 -6.83008 15.9805 -16.0195v-346.32c0 -13.4707 -8.32422 -24.9951 -20.1201 -29.71l-151.83 -52.8105c-6.23242 -2.02832 -12.9023 -3.12305 -19.8076 -3.12305c-7.07324 0 -13.8799 1.15039 -20.2422 3.27344l-172 60.71l-170.05 -62.8398
|
||||
c-1.99023 -0.790039 -4 -1.16016 -5.95996 -1.16016c-8.45996 0 -15.9902 6.83008 -15.9902 16.0195v346.32c0.00292969 13.4697 8.32617 24.9932 20.1201 29.71l151.83 52.8105c6.43945 2.08984 13.1201 3.13965 19.8096 3.13965
|
||||
c7.06641 -0.00292969 13.8789 -1.16602 20.2402 -3.28027l172 -60.7197h0.00976562l170.05 62.8398c1.98047 0.790039 4 1.16016 5.95996 1.16016zM224 357.58v-285.97l128 -45.1904v285.97zM48 29.9502l127.36 47.0801l0.639648 0.229492v286.2l-128 -44.5303v-288.979z
|
||||
M528 65.0801v288.97l-127.36 -47.0693l-0.639648 -0.240234v-286.19z" />
|
||||
<glyph glyph-name="comment-alt" unicode=""
|
||||
d="M448 448c35.2998 0 64 -28.7002 64 -64v-288c0 -35.2998 -28.7002 -64 -64 -64h-144l-124.9 -93.5996c-2.19922 -1.7002 -4.69922 -2.40039 -7.09961 -2.40039c-6.2002 0 -12 4.90039 -12 12v84h-96c-35.2998 0 -64 28.7002 -64 64v288c0 35.2998 28.7002 64 64 64h384z
|
||||
M464 96v288c0 8.7998 -7.2002 16 -16 16h-384c-8.7998 0 -16 -7.2002 -16 -16v-288c0 -8.7998 7.2002 -16 16 -16h144v-60l67.2002 50.4004l12.7998 9.59961h160c8.7998 0 16 7.2002 16 16z" />
|
||||
<glyph glyph-name="pause-circle" unicode=""
|
||||
d="M256 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM256 -8c110.5 0 200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200s89.5 -200 200 -200zM352 272v-160c0 -8.7998 -7.2002 -16 -16 -16h-48
|
||||
c-8.7998 0 -16 7.2002 -16 16v160c0 8.7998 7.2002 16 16 16h48c8.7998 0 16 -7.2002 16 -16zM240 272v-160c0 -8.7998 -7.2002 -16 -16 -16h-48c-8.7998 0 -16 7.2002 -16 16v160c0 8.7998 7.2002 16 16 16h48c8.7998 0 16 -7.2002 16 -16z" />
|
||||
<glyph glyph-name="stop-circle" unicode=""
|
||||
d="M504 192c0 -137 -111 -248 -248 -248s-248 111 -248 248s111 248 248 248s248 -111 248 -248zM56 192c0 -110.5 89.5 -200 200 -200s200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200zM352 272v-160c0 -8.7998 -7.2002 -16 -16 -16h-160
|
||||
c-8.7998 0 -16 7.2002 -16 16v160c0 8.7998 7.2002 16 16 16h160c8.7998 0 16 -7.2002 16 -16z" />
|
||||
<glyph glyph-name="handshake" unicode="" horiz-adv-x="640"
|
||||
d="M519.2 320.1h120.8v-255.699h-64c-17.5 0 -31.7998 14.1992 -31.9004 31.6992h-57.8994c-1.7998 -8.19922 -5.2998 -16.0996 -10.9004 -23l-26.2002 -32.2998c-15.7998 -19.3994 -41.8994 -25.5 -64 -16.7998c-13.5 -16.5996 -30.5996 -24 -48.7998 -24
|
||||
c-15.0996 0 -28.5996 5.09961 -41.0996 15.9004c-31.7998 -21.9004 -74.7002 -21.3008 -105.601 3.7998l-84.5996 76.3994h-9.09961c-0.100586 -17.5 -14.3008 -31.6992 -31.9004 -31.6992h-64v255.699h118l47.5996 47.6006c10.5 10.3994 24.8008 16.2998 39.6006 16.2998
|
||||
h226.8c15.4326 0 29.4326 -6.22168 39.5996 -16.2998zM48 96.4004c8.7998 0 16 7.09961 16 16c0 8.7998 -7.2002 16 -16 16s-16 -7.2002 -16 -16c0 -8.80078 7.2002 -16 16 -16zM438 103.3c2.7002 3.40039 2.2002 8.5 -1.2002 11.2998l-108.2 87.8008l-8.19922 -7.5
|
||||
c-40.3008 -36.8008 -86.7002 -11.8008 -101.5 4.39941c-26.7002 29 -25 74.4004 4.39941 101.3l38.7002 35.5h-56.7002c-2 -0.799805 -3.7002 -1.5 -5.7002 -2.2998l-61.6992 -61.5996h-41.9004v-128.101h27.7002l97.2998 -88
|
||||
c16.0996 -13.0996 41.4004 -10.5 55.2998 6.60059l15.6006 19.2002l36.7998 -31.5c3 -2.40039 12 -4.90039 18 2.39941l30 36.5l23.8994 -19.3994c3.5 -2.80078 8.5 -2.2002 11.3008 1.19922zM544 144.1v128h-44.7002l-61.7002 61.6006
|
||||
c-1.39941 1.5 -3.39941 2.2998 -5.5 2.2998l-83.6992 -0.200195c-10 0 -19.6006 -3.7002 -27 -10.5l-65.6006 -60.0996c-9.7002 -8.7998 -10.5 -24 -1.2002 -33.9004c8.90039 -9.39941 25.1006 -8.7002 34.6006 0l55.2002 50.6006c6.5 5.89941 16.5996 5.5 22.5996 -1
|
||||
l10.9004 -11.7002c6 -6.5 5.5 -16.6006 -1 -22.6006l-12.5 -11.3994l102.699 -83.4004c2.80078 -2.2998 5.40039 -4.89941 7.7002 -7.7002h69.2002zM592 96.4004c8.7998 0 16 7.09961 16 16c0 8.7998 -7.2002 16 -16 16s-16 -7.2002 -16 -16c0 -8.80078 7.2002 -16 16 -16z
|
||||
" />
|
||||
<glyph glyph-name="envelope-open" unicode=""
|
||||
d="M494.586 283.484c10.6523 -8.80762 17.4141 -22.1064 17.4141 -36.9932v-262.491c0 -26.5098 -21.4902 -48 -48 -48h-416c-26.5098 0 -48 21.4902 -48 48v262.515c0 14.9355 6.80469 28.2705 17.5146 37.0771c4.08008 3.35449 110.688 89.0996 135.15 108.549
|
||||
c22.6992 18.1426 60.1299 55.8594 103.335 55.8594c43.4365 0 81.2314 -38.1914 103.335 -55.8594c23.5283 -18.707 130.554 -104.773 135.251 -108.656zM464 -10v253.632c0 0.00195312 0.00390625 0.000976562 0.00390625 0.00292969
|
||||
c0 1.88184 -0.869141 3.56152 -2.22754 4.66016c-15.8633 12.8232 -108.793 87.5752 -132.366 106.316c-17.5527 14.0195 -49.7168 45.3887 -73.4102 45.3887c-23.6016 0 -55.2451 -30.8799 -73.4102 -45.3887c-23.5713 -18.7393 -116.494 -93.4795 -132.364 -106.293
|
||||
c-1.40918 -1.13965 -2.22559 -2.85254 -2.22559 -4.66504v-253.653c0 -3.31152 2.68848 -6 6 -6h404c3.31152 0 6 2.68848 6 6zM432.009 177.704c4.24902 -5.15918 3.46484 -12.7949 -1.74512 -16.9814c-28.9746 -23.2822 -59.2734 -47.5967 -70.9287 -56.8623
|
||||
c-22.6992 -18.1436 -60.1299 -55.8604 -103.335 -55.8604c-43.4521 0 -81.2871 38.2373 -103.335 55.8604c-11.2793 8.9668 -41.7441 33.4131 -70.9268 56.8643c-5.20996 4.1875 -5.99316 11.8223 -1.74512 16.9814l15.2578 18.5283
|
||||
c4.17773 5.07227 11.6572 5.84277 16.7793 1.72559c28.6182 -23.001 58.5654 -47.0352 70.5596 -56.5713c17.5527 -14.0195 49.7168 -45.3887 73.4102 -45.3887c23.6016 0 55.2461 30.8799 73.4102 45.3887c11.9941 9.53516 41.9434 33.5703 70.5625 56.5684
|
||||
c5.12207 4.11621 12.6016 3.3457 16.7783 -1.72656z" />
|
||||
<glyph glyph-name="address-book" unicode="" horiz-adv-x="448"
|
||||
d="M436 288h-20v-64h20c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12h-20v-64h20c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12h-20v-48c0 -26.5 -21.5 -48 -48 -48h-320c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48
|
||||
h320c26.5 0 48 -21.5 48 -48v-48h20c6.59961 0 12 -5.40039 12 -12v-40c0 -6.59961 -5.40039 -12 -12 -12zM368 -16v416h-320v-416h320zM208 192c-35.2998 0 -64 28.7002 -64 64s28.7002 64 64 64s64 -28.7002 64 -64s-28.7002 -64 -64 -64zM118.4 64
|
||||
c-12.4004 0 -22.4004 8.59961 -22.4004 19.2002v19.2002c0 31.7998 30.0996 57.5996 67.2002 57.5996c11.3994 0 17.8994 -8 44.7998 -8c26.0996 0 34 8 44.7998 8c37.1006 0 67.2002 -25.7998 67.2002 -57.5996v-19.2002c0 -10.6006 -10 -19.2002 -22.4004 -19.2002
|
||||
h-179.199z" />
|
||||
<glyph glyph-name="address-card" unicode="" horiz-adv-x="576"
|
||||
d="M528 416c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-480c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h480zM528 16v352h-480v-352h480zM208 192c-35.2998 0 -64 28.7002 -64 64s28.7002 64 64 64s64 -28.7002 64 -64s-28.7002 -64 -64 -64z
|
||||
M118.4 64c-12.4004 0 -22.4004 8.59961 -22.4004 19.2002v19.2002c0 31.7998 30.0996 57.5996 67.2002 57.5996c11.3994 0 17.8994 -8 44.7998 -8c26.0996 0 34 8 44.7998 8c37.1006 0 67.2002 -25.7998 67.2002 -57.5996v-19.2002
|
||||
c0 -10.6006 -10 -19.2002 -22.4004 -19.2002h-179.199zM360 128c-4.40039 0 -8 3.59961 -8 8v16c0 4.40039 3.59961 8 8 8h112c4.40039 0 8 -3.59961 8 -8v-16c0 -4.40039 -3.59961 -8 -8 -8h-112zM360 192c-4.40039 0 -8 3.59961 -8 8v16c0 4.40039 3.59961 8 8 8h112
|
||||
c4.40039 0 8 -3.59961 8 -8v-16c0 -4.40039 -3.59961 -8 -8 -8h-112zM360 256c-4.40039 0 -8 3.59961 -8 8v16c0 4.40039 3.59961 8 8 8h112c4.40039 0 8 -3.59961 8 -8v-16c0 -4.40039 -3.59961 -8 -8 -8h-112z" />
|
||||
<glyph glyph-name="user-circle" unicode="" horiz-adv-x="496"
|
||||
d="M248 344c53 0 96 -43 96 -96s-43 -96 -96 -96s-96 43 -96 96s43 96 96 96zM248 200c26.5 0 48 21.5 48 48s-21.5 48 -48 48s-48 -21.5 -48 -48s21.5 -48 48 -48zM248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8
|
||||
c49.7002 0 95.0996 18.2998 130.1 48.4004c-14.8994 23 -40.3994 38.5 -69.5996 39.5c-20.7998 -6.5 -40.5996 -9.60059 -60.5 -9.60059s-39.7002 3.2002 -60.5 9.60059c-29.2002 -0.900391 -54.7002 -16.5 -69.5996 -39.5c35 -30.1006 80.3994 -48.4004 130.1 -48.4004z
|
||||
M410.7 76.0996c23.3994 32.7002 37.2998 72.7002 37.2998 115.9c0 110.3 -89.7002 200 -200 200s-200 -89.7002 -200 -200c0 -43.2002 13.9004 -83.2002 37.2998 -115.9c24.5 31.4004 62.2002 51.9004 105.101 51.9004c10.1992 0 26.0996 -9.59961 57.5996 -9.59961
|
||||
c31.5996 0 47.4004 9.59961 57.5996 9.59961c43 0 80.7002 -20.5 105.101 -51.9004z" />
|
||||
<glyph glyph-name="id-badge" unicode="" horiz-adv-x="384"
|
||||
d="M336 448c26.5 0 48 -21.5 48 -48v-416c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v416c0 26.5 21.5 48 48 48h288zM336 -16v416h-288v-416h288zM144 336c-8.7998 0 -16 7.2002 -16 16s7.2002 16 16 16h96c8.7998 0 16 -7.2002 16 -16s-7.2002 -16 -16 -16
|
||||
h-96zM192 160c-35.2998 0 -64 28.7002 -64 64s28.7002 64 64 64s64 -28.7002 64 -64s-28.7002 -64 -64 -64zM102.4 32c-12.4004 0 -22.4004 8.59961 -22.4004 19.2002v19.2002c0 31.7998 30.0996 57.5996 67.2002 57.5996c11.3994 0 17.8994 -8 44.7998 -8
|
||||
c26.0996 0 34 8 44.7998 8c37.1006 0 67.2002 -25.7998 67.2002 -57.5996v-19.2002c0 -10.6006 -10 -19.2002 -22.4004 -19.2002h-179.199z" />
|
||||
<glyph glyph-name="id-card" unicode="" horiz-adv-x="576"
|
||||
d="M528 416c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-480c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h480zM528 16v288h-480v-288h32.7998c-1 4.5 -0.799805 -3.59961 -0.799805 22.4004c0 31.7998 30.0996 57.5996 67.2002 57.5996
|
||||
c11.3994 0 17.8994 -8 44.7998 -8c26.0996 0 34 8 44.7998 8c37.1006 0 67.2002 -25.7998 67.2002 -57.5996c0 -26 0.0996094 -17.9004 -0.799805 -22.4004h224.8zM360 96c-4.40039 0 -8 3.59961 -8 8v16c0 4.40039 3.59961 8 8 8h112c4.40039 0 8 -3.59961 8 -8v-16
|
||||
c0 -4.40039 -3.59961 -8 -8 -8h-112zM360 160c-4.40039 0 -8 3.59961 -8 8v16c0 4.40039 3.59961 8 8 8h112c4.40039 0 8 -3.59961 8 -8v-16c0 -4.40039 -3.59961 -8 -8 -8h-112zM360 224c-4.40039 0 -8 3.59961 -8 8v16c0 4.40039 3.59961 8 8 8h112
|
||||
c4.40039 0 8 -3.59961 8 -8v-16c0 -4.40039 -3.59961 -8 -8 -8h-112zM192 128c-35.2998 0 -64 28.7002 -64 64s28.7002 64 64 64s64 -28.7002 64 -64s-28.7002 -64 -64 -64z" />
|
||||
<glyph glyph-name="window-maximize" unicode=""
|
||||
d="M464 416c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-416c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h416zM464 22v234h-416v-234c0 -3.2998 2.7002 -6 6 -6h404c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="window-minimize" unicode=""
|
||||
d="M480 -32h-448c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32h448c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32z" />
|
||||
<glyph glyph-name="window-restore" unicode=""
|
||||
d="M464 448c26.5 0 48 -21.5 48 -48v-320c0 -26.5 -21.5 -48 -48 -48h-48v-48c0 -26.5 -21.5 -48 -48 -48h-320c-26.5 0 -48 21.5 -48 48v320c0 26.5 21.5 48 48 48h48v48c0 26.5 21.5 48 48 48h320zM368 -16v208h-320v-208h320zM464 80v320h-320v-48h224
|
||||
c26.5 0 48 -21.5 48 -48v-224h48z" />
|
||||
<glyph glyph-name="snowflake" unicode="" horiz-adv-x="448"
|
||||
d="M440.1 92.7998c7.60059 -4.39941 10.1006 -14.2002 5.5 -21.7002l-7.89941 -13.8994c-4.40039 -7.7002 -14 -10.2998 -21.5 -5.90039l-39.2002 23l9.09961 -34.7002c2.30078 -8.5 -2.69922 -17.2998 -11.0996 -19.5996l-15.2002 -4.09961
|
||||
c-8.39941 -2.30078 -17.0996 2.7998 -19.2998 11.2998l-21.2998 81l-71.9004 42.2002v-84.5l58.2998 -59.3008c6.10059 -6.19922 6.10059 -16.3994 0 -22.5996l-11.0996 -11.2998c-6.09961 -6.2002 -16.0996 -6.2002 -22.2002 0l-24.8994 25.3994v-46.0996
|
||||
c0 -8.7998 -7 -16 -15.7002 -16h-15.7002c-8.7002 0 -15.7002 7.2002 -15.7002 16v45.9004l-24.8994 -25.4004c-6.10059 -6.2002 -16.1006 -6.2002 -22.2002 0l-11.1006 11.2998c-6.09961 6.2002 -6.09961 16.4004 0 22.6006l58.3008 59.2998v84.5l-71.9004 -42.2002
|
||||
l-21.2998 -81c-2.2998 -8.5 -10.9004 -13.5996 -19.2998 -11.2998l-15.2002 4.09961c-8.40039 2.2998 -13.2998 11.1006 -11.1006 19.6006l9.10059 34.6992l-39.2002 -23c-7.5 -4.39941 -17.2002 -1.7998 -21.5 5.90039l-7.90039 13.9004
|
||||
c-4.2998 7.69922 -1.69922 17.5 5.80078 21.8994l39.1992 23l-34.0996 9.2998c-8.40039 2.30078 -13.2998 11.1006 -11.0996 19.6006l4.09961 15.5c2.2998 8.5 10.9004 13.5996 19.2998 11.2998l79.7002 -21.7002l71.9004 42.2002l-71.9004 42.2002l-79.7002 -21.7002
|
||||
c-8.39941 -2.2998 -17.0996 2.7998 -19.2998 11.2998l-4.09961 15.5c-2.30078 8.5 2.69922 17.2998 11.0996 19.6006l34.0996 9.09961l-39.1992 23c-7.60059 4.5 -10.1006 14.2002 -5.80078 21.9004l7.90039 13.8994c4.40039 7.7002 14 10.2998 21.5 5.90039l39.2002 -23
|
||||
l-9.10059 34.7002c-2.2998 8.5 2.7002 17.2998 11.1006 19.5996l15.2002 4.09961c8.39941 2.30078 17.0996 -2.7998 19.2998 -11.2998l21.2998 -81l71.9004 -42.2002v84.5l-58.3008 59.3008c-6.09961 6.19922 -6.09961 16.3994 0 22.5996l11.5 11.2998
|
||||
c6.10059 6.2002 16.1006 6.2002 22.2002 0l24.9004 -25.3994v46.0996c0 8.7998 7 16 15.7002 16h15.6992c8.7002 0 15.7002 -7.2002 15.7002 -16v-45.9004l24.9004 25.4004c6.09961 6.2002 16.0996 6.2002 22.2002 0l11.0996 -11.2998
|
||||
c6.09961 -6.2002 6.09961 -16.4004 0 -22.6006l-58.2998 -59.2998v-84.5l71.8994 42.2002l21.3008 81c2.2998 8.5 10.8994 13.5996 19.2998 11.2998l15.2002 -4.09961c8.39941 -2.2998 13.2998 -11.1006 11.0996 -19.6006l-9.09961 -34.6992l39.1992 23
|
||||
c7.5 4.39941 17.2002 1.7998 21.5 -5.90039l7.90039 -13.9004c4.2998 -7.69922 1.7002 -17.5 -5.7998 -21.8994l-39.2002 -23l34.0996 -9.2998c8.40039 -2.30078 13.3008 -11.1006 11.1006 -19.6006l-4.10059 -15.5c-2.2998 -8.5 -10.8994 -13.5996 -19.2998 -11.2998
|
||||
l-79.7002 21.7002l-71.8994 -42.2002l71.7998 -42.2002l79.7002 21.7002c8.39941 2.2998 17.0996 -2.7998 19.2998 -11.2998l4.09961 -15.5c2.30078 -8.5 -2.69922 -17.2998 -11.0996 -19.6006l-34.0996 -9.2998z" />
|
||||
<glyph glyph-name="trash-alt" unicode="" horiz-adv-x="448"
|
||||
d="M268 32c-6.62305 0 -12 5.37695 -12 12v216c0 6.62305 5.37695 12 12 12h24c6.62305 0 12 -5.37695 12 -12v-216c0 -6.62305 -5.37695 -12 -12 -12h-24zM432 368c8.83105 0 16 -7.16895 16 -16v-16c0 -8.83105 -7.16895 -16 -16 -16h-16v-336
|
||||
c0 -26.4922 -21.5078 -48 -48 -48h-288c-26.4922 0 -48 21.5078 -48 48v336h-16c-8.83105 0 -16 7.16895 -16 16v16c0 8.83105 7.16895 16 16 16h82.4102l34.0195 56.7002c8.39258 13.9844 23.6777 23.2998 41.1602 23.2998h100.82
|
||||
c0.0078125 0 -0.015625 0.0517578 -0.0078125 0.0517578c17.4824 0 32.7949 -9.36719 41.1875 -23.3516l34 -56.7002h82.4102zM171.84 397.09l-17.4502 -29.0898h139.221l-17.46 29.0898c-1.0498 1.74707 -2.95898 2.91016 -5.14355 2.91016h-0.00683594h-94
|
||||
c-0.00585938 0 -0.00683594 0.00683594 -0.0126953 0.00683594c-2.18457 0 -4.09766 -1.16992 -5.14746 -2.91699zM368 -16v336h-288v-336h288zM156 32c-6.62305 0 -12 5.37695 -12 12v216c0 6.62305 5.37695 12 12 12h24c6.62305 0 12 -5.37695 12 -12v-216
|
||||
c0 -6.62305 -5.37695 -12 -12 -12h-24z" />
|
||||
<glyph glyph-name="images" unicode="" horiz-adv-x="576"
|
||||
d="M480 32v-16c0 -26.5098 -21.4902 -48 -48 -48h-384c-26.5098 0 -48 21.4902 -48 48v256c0 26.5098 21.4902 48 48 48h16v-48h-10c-3.31152 0 -6 -2.68848 -6 -6v-244c0 -3.31152 2.68848 -6 6 -6h372c3.31152 0 6 2.68848 6 6v10h48zM522 368h-372
|
||||
c-3.31152 0 -6 -2.68848 -6 -6v-244c0 -3.31152 2.68848 -6 6 -6h372c3.31152 0 6 2.68848 6 6v244c0 3.31152 -2.68848 6 -6 6zM528 416c26.5098 0 48 -21.4902 48 -48v-256c0 -26.5098 -21.4902 -48 -48 -48h-384c-26.5098 0 -48 21.4902 -48 48v256
|
||||
c0 26.5098 21.4902 48 48 48h384zM264 304c0 -22.0908 -17.9092 -40 -40 -40s-40 17.9092 -40 40s17.9092 40 40 40s40 -17.9092 40 -40zM192 208l39.5146 39.5146c4.68652 4.68652 12.2842 4.68652 16.9717 0l39.5137 -39.5146l103.515 103.515
|
||||
c4.68652 4.68652 12.2842 4.68652 16.9717 0l71.5137 -71.5146v-80h-288v48z" />
|
||||
<glyph glyph-name="clipboard" unicode="" horiz-adv-x="384"
|
||||
d="M336 384c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-288c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h80c0 35.2998 28.7002 64 64 64s64 -28.7002 64 -64h80zM192 408c-13.2998 0 -24 -10.7002 -24 -24s10.7002 -24 24 -24s24 10.7002 24 24
|
||||
s-10.7002 24 -24 24zM336 -10v340c0 3.2998 -2.7002 6 -6 6h-42v-36c0 -6.59961 -5.40039 -12 -12 -12h-168c-6.59961 0 -12 5.40039 -12 12v36h-42c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h276c3.2998 0 6 2.7002 6 6z" />
|
||||
<glyph glyph-name="arrow-alt-circle-down" unicode=""
|
||||
d="M256 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM256 -8c110.5 0 200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200s89.5 -200 200 -200zM224 308c0 6.59961 5.40039 12 12 12h40c6.59961 0 12 -5.40039 12 -12v-116
|
||||
h67c10.7002 0 16.0996 -12.9004 8.5 -20.5l-99 -99c-4.7002 -4.7002 -12.2998 -4.7002 -17 0l-99 99c-7.5 7.59961 -2.2002 20.5 8.5 20.5h67v116z" />
|
||||
<glyph glyph-name="arrow-alt-circle-left" unicode=""
|
||||
d="M8 192c0 137 111 248 248 248s248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248zM456 192c0 110.5 -89.5 200 -200 200s-200 -89.5 -200 -200s89.5 -200 200 -200s200 89.5 200 200zM384 212v-40c0 -6.59961 -5.40039 -12 -12 -12h-116v-67
|
||||
c0 -10.7002 -12.9004 -16 -20.5 -8.5l-99 99c-4.7002 4.7002 -4.7002 12.2998 0 17l99 99c7.59961 7.59961 20.5 2.2002 20.5 -8.5v-67h116c6.59961 0 12 -5.40039 12 -12z" />
|
||||
<glyph glyph-name="arrow-alt-circle-right" unicode=""
|
||||
d="M504 192c0 -137 -111 -248 -248 -248s-248 111 -248 248s111 248 248 248s248 -111 248 -248zM56 192c0 -110.5 89.5 -200 200 -200s200 89.5 200 200s-89.5 200 -200 200s-200 -89.5 -200 -200zM128 172v40c0 6.59961 5.40039 12 12 12h116v67
|
||||
c0 10.7002 12.9004 16 20.5 8.5l99 -99c4.7002 -4.7002 4.7002 -12.2998 0 -17l-99 -99c-7.59961 -7.59961 -20.5 -2.2002 -20.5 8.5v67h-116c-6.59961 0 -12 5.40039 -12 12z" />
|
||||
<glyph glyph-name="arrow-alt-circle-up" unicode=""
|
||||
d="M256 -56c-137 0 -248 111 -248 248s111 248 248 248s248 -111 248 -248s-111 -248 -248 -248zM256 392c-110.5 0 -200 -89.5 -200 -200s89.5 -200 200 -200s200 89.5 200 200s-89.5 200 -200 200zM276 64h-40c-6.59961 0 -12 5.40039 -12 12v116h-67
|
||||
c-10.7002 0 -16 12.9004 -8.5 20.5l99 99c4.7002 4.7002 12.2998 4.7002 17 0l99 -99c7.59961 -7.59961 2.2002 -20.5 -8.5 -20.5h-67v-116c0 -6.59961 -5.40039 -12 -12 -12z" />
|
||||
<glyph glyph-name="gem" unicode="" horiz-adv-x="576"
|
||||
d="M464 448c4.09961 0 7.7998 -2 10.0996 -5.40039l99.9004 -147.199c2.90039 -4.40039 2.59961 -10.1006 -0.700195 -14.2002l-276 -340.8c-4.7998 -5.90039 -13.7998 -5.90039 -18.5996 0l-276 340.8c-3.2998 4 -3.60059 9.7998 -0.700195 14.2002l100 147.199
|
||||
c2.2002 3.40039 6 5.40039 10 5.40039h352zM444.7 400h-56.7998l51.6992 -96h68.4004zM242.6 400l-51.5996 -96h194l-51.7002 96h-90.7002zM131.3 400l-63.2998 -96h68.4004l51.6992 96h-56.7998zM88.2998 256l119.7 -160l-68.2998 160h-51.4004zM191.2 256l96.7998 -243.3
|
||||
l96.7998 243.3h-193.6zM368 96l119.6 160h-51.3994z" />
|
||||
<glyph glyph-name="money-bill-alt" unicode="" horiz-adv-x="640"
|
||||
d="M320 304c53.0195 0 96 -50.1396 96 -112c0 -61.8701 -43 -112 -96 -112c-53.0195 0 -96 50.1504 -96 112c0 61.8604 42.9805 112 96 112zM360 136v16c0 4.41992 -3.58008 8 -8 8h-16v88c0 4.41992 -3.58008 8 -8 8h-13.5801
|
||||
c-4.91113 0 -9.50586 -1.49316 -13.3096 -4.03027l-15.3301 -10.2197c-2.15332 -1.43262 -3.55957 -3.88379 -3.55957 -6.66113c0 -1.6377 0.493164 -3.16113 1.33887 -4.42871l8.88086 -13.3105c1.43164 -2.15234 3.88379 -3.55957 6.66113 -3.55957
|
||||
c1.6377 0 3.16016 0.494141 4.42871 1.33984l0.469727 0.310547v-55.4404h-16c-4.41992 0 -8 -3.58008 -8 -8v-16c0 -4.41992 3.58008 -8 8 -8h64c4.41992 0 8 3.58008 8 8zM608 384c17.6699 0 32 -14.3301 32 -32v-320c0 -17.6699 -14.3301 -32 -32 -32h-576
|
||||
c-17.6699 0 -32 14.3301 -32 32v320c0 17.6699 14.3301 32 32 32h576zM592 112v160c-35.3496 0 -64 28.6504 -64 64h-416c0 -35.3496 -28.6504 -64 -64 -64v-160c35.3496 0 64 -28.6504 64 -64h416c0 35.3496 28.6504 64 64 64z" />
|
||||
<glyph glyph-name="window-close" unicode=""
|
||||
d="M464 416c26.5 0 48 -21.5 48 -48v-352c0 -26.5 -21.5 -48 -48 -48h-416c-26.5 0 -48 21.5 -48 48v352c0 26.5 21.5 48 48 48h416zM464 22v340c0 3.2998 -2.7002 6 -6 6h-404c-3.2998 0 -6 -2.7002 -6 -6v-340c0 -3.2998 2.7002 -6 6 -6h404c3.2998 0 6 2.7002 6 6z
|
||||
M356.5 253.4l-61.4004 -61.4004l61.4004 -61.4004c4.59961 -4.59961 4.59961 -12.0996 0 -16.7998l-22.2998 -22.2998c-4.60059 -4.59961 -12.1006 -4.59961 -16.7998 0l-61.4004 61.4004l-61.4004 -61.4004c-4.59961 -4.59961 -12.0996 -4.59961 -16.7998 0
|
||||
l-22.2998 22.2998c-4.59961 4.60059 -4.59961 12.1006 0 16.7998l61.4004 61.4004l-61.4004 61.4004c-4.59961 4.59961 -4.59961 12.0996 0 16.7998l22.2998 22.2998c4.60059 4.59961 12.1006 4.59961 16.7998 0l61.4004 -61.4004l61.4004 61.4004
|
||||
c4.59961 4.59961 12.0996 4.59961 16.7998 0l22.2998 -22.2998c4.7002 -4.60059 4.7002 -12.1006 0 -16.7998z" />
|
||||
<glyph glyph-name="comment-dots" unicode=""
|
||||
d="M144 240c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM256 240c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM368 240c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32
|
||||
s-32 14.2998 -32 32s14.2998 32 32 32zM256 416c141.4 0 256 -93.0996 256 -208s-114.6 -208 -256 -208c-32.7998 0 -64 5.2002 -92.9004 14.2998c-29.0996 -20.5996 -77.5996 -46.2998 -139.1 -46.2998c-9.59961 0 -18.2998 5.7002 -22.0996 14.5
|
||||
c-3.80078 8.7998 -2 19 4.59961 26c0.5 0.400391 31.5 33.7998 46.4004 73.2002c-33 35.0996 -52.9004 78.7002 -52.9004 126.3c0 114.9 114.6 208 256 208zM256 48c114.7 0 208 71.7998 208 160s-93.2998 160 -208 160s-208 -71.7998 -208 -160
|
||||
c0 -42.2002 21.7002 -74.0996 39.7998 -93.4004l20.6006 -21.7998l-10.6006 -28.0996c-5.5 -14.5 -12.5996 -28.1006 -19.8994 -40.2002c23.5996 7.59961 43.1992 18.9004 57.5 29l19.5 13.7998l22.6992 -7.2002c25.3008 -8 51.7002 -12.0996 78.4004 -12.0996z" />
|
||||
<glyph glyph-name="smile-wink" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM365.8 138.4c10.2002 -8.5 11.6006 -23.6006 3.10059 -33.8008
|
||||
c-30 -36 -74.1006 -56.5996 -120.9 -56.5996s-90.9004 20.5996 -120.9 56.5996c-8.39941 10.2002 -7.09961 25.3008 3.10059 33.8008c10.0996 8.39941 25.2998 7.09961 33.7998 -3.10059c20.7998 -25.0996 51.5 -39.3994 84 -39.3994s63.2002 14.3994 84 39.3994
|
||||
c8.5 10.2002 23.5996 11.6006 33.7998 3.10059zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 268c25.7002 0 55.9004 -16.9004 59.7002 -42.0996c1.7998 -11.1006 -11.2998 -18.2002 -19.7998 -10.8008l-9.5 8.5
|
||||
c-14.8008 13.2002 -46.2002 13.2002 -61 0l-9.5 -8.5c-8.30078 -7.39941 -21.5 -0.399414 -19.8008 10.8008c4 25.1992 34.2002 42.0996 59.9004 42.0996z" />
|
||||
<glyph glyph-name="angry" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM248 136c33.5996 0 65.2002 -14.7998 86.7998 -40.5996
|
||||
c8.40039 -10.2002 7.10059 -25.3008 -3.09961 -33.8008c-10.6006 -8.89941 -25.7002 -6.69922 -33.7998 3c-24.8008 29.7002 -75 29.7002 -99.8008 0c-8.5 -10.1992 -23.5996 -11.5 -33.7998 -3s-11.5996 23.6006 -3.09961 33.8008
|
||||
c21.5996 25.7998 53.2002 40.5996 86.7998 40.5996zM200 208c0 -17.7002 -14.2998 -32.0996 -32 -32.0996s-32 14.2998 -32 32c0 6.19922 2.2002 11.6992 5.2998 16.5996l-28.2002 8.5c-12.6992 3.7998 -19.8994 17.2002 -16.0996 29.9004
|
||||
c3.7998 12.6992 17.0996 20 29.9004 16.0996l80 -24c12.6992 -3.7998 19.8994 -17.2002 16.0996 -29.9004c-3.09961 -10.3994 -12.7002 -17.0996 -23 -17.0996zM399 262.9c3.7998 -12.7002 -3.40039 -26.1006 -16.0996 -29.8008l-28.2002 -8.5
|
||||
c3.09961 -4.89941 5.2998 -10.3994 5.2998 -16.5996c0 -17.7002 -14.2998 -32 -32 -32s-32 14.2998 -32 32c-10.2998 0 -19.9004 6.7002 -23 17.0996c-3.7998 12.7002 3.40039 26.1006 16.0996 29.9004l80 24c12.8008 3.7998 26.1006 -3.40039 29.9004 -16.0996z" />
|
||||
<glyph glyph-name="dizzy" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM214.2 209.9
|
||||
c-7.90039 -7.90039 -20.5 -7.90039 -28.4004 -0.200195l-17.7998 17.7998l-17.7998 -17.7998c-7.7998 -7.7998 -20.5 -7.7998 -28.2998 0c-7.80078 7.7998 -7.80078 20.5 0 28.2998l17.8994 17.9004l-17.8994 17.8994c-7.80078 7.7998 -7.80078 20.5 0 28.2998
|
||||
c7.7998 7.80078 20.5 7.80078 28.2998 0l17.7998 -17.7998l17.9004 17.9004c7.7998 7.7998 20.5 7.7998 28.2998 0s7.7998 -20.5 0 -28.2998l-17.9004 -17.9004l17.9004 -17.7998c7.7998 -7.7998 7.7998 -20.5 0 -28.2998zM374.2 302.1
|
||||
c7.7002 -7.7998 7.7002 -20.3994 0 -28.1992l-17.9004 -17.9004l17.7998 -18c7.80078 -7.7998 7.80078 -20.5 0 -28.2998c-7.7998 -7.7998 -20.5 -7.7998 -28.2998 0l-17.7998 17.7998l-17.7998 -17.7998c-7.7998 -7.7998 -20.5 -7.7998 -28.2998 0
|
||||
c-7.80078 7.7998 -7.80078 20.5 0 28.2998l17.8994 17.9004l-17.8994 17.8994c-7.80078 7.7998 -7.80078 20.5 0 28.2998c7.7998 7.80078 20.5 7.80078 28.2998 0l17.7998 -17.7998l17.9004 17.7998c7.7998 7.80078 20.5 7.80078 28.2998 0zM248 176
|
||||
c35.2998 0 64 -28.7002 64 -64s-28.7002 -64 -64 -64s-64 28.7002 -64 64s28.7002 64 64 64z" />
|
||||
<glyph glyph-name="flushed" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM344 304c44.2002 0 80 -35.7998 80 -80s-35.7998 -80 -80 -80
|
||||
s-80 35.7998 -80 80s35.7998 80 80 80zM344 176c26.5 0 48 21.5 48 48s-21.5 48 -48 48s-48 -21.5 -48 -48s21.5 -48 48 -48zM344 248c13.2998 0 24 -10.7002 24 -24s-10.7002 -24 -24 -24s-24 10.7002 -24 24s10.7002 24 24 24zM232 224c0 -44.2002 -35.7998 -80 -80 -80
|
||||
s-80 35.7998 -80 80s35.7998 80 80 80s80 -35.7998 80 -80zM152 176c26.5 0 48 21.5 48 48s-21.5 48 -48 48s-48 -21.5 -48 -48s21.5 -48 48 -48zM152 248c13.2998 0 24 -10.7002 24 -24s-10.7002 -24 -24 -24s-24 10.7002 -24 24s10.7002 24 24 24zM312 104
|
||||
c13.2002 0 24 -10.7998 24 -24s-10.7998 -24 -24 -24h-128c-13.2002 0 -24 10.7998 -24 24s10.7998 24 24 24h128z" />
|
||||
<glyph glyph-name="frown-open" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM200 240c0 -17.7002 -14.2998 -32 -32 -32s-32 14.2998 -32 32
|
||||
s14.2998 32 32 32s32 -14.2998 32 -32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM248 160c35.5996 0 88.7998 -21.2998 95.7998 -61.2002c2 -11.7998 -9.09961 -21.5996 -20.5 -18.0996
|
||||
c-31.2002 9.59961 -59.3994 15.2998 -75.2998 15.2998s-44.0996 -5.7002 -75.2998 -15.2998c-11.5 -3.40039 -22.5 6.2998 -20.5 18.0996c7 39.9004 60.2002 61.2002 95.7998 61.2002z" />
|
||||
<glyph glyph-name="grimace" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32
|
||||
s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM344 192c26.5 0 48 -21.5 48 -48v-32c0 -26.5 -21.5 -48 -48 -48h-192c-26.5 0 -48 21.5 -48 48v32c0 26.5 21.5 48 48 48
|
||||
h192zM176 96v24h-40v-8c0 -8.7998 7.2002 -16 16 -16h24zM176 136v24h-24c-8.7998 0 -16 -7.2002 -16 -16v-8h40zM240 96v24h-48v-24h48zM240 136v24h-48v-24h48zM304 96v24h-48v-24h48zM304 136v24h-48v-24h48zM360 112v8h-40v-24h24c8.7998 0 16 7.2002 16 16zM360 136v8
|
||||
c0 8.7998 -7.2002 16 -16 16h-24v-24h40z" />
|
||||
<glyph glyph-name="grin" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM353.6 143.4c10 3.09961 19.3008 -5.5 17.7002 -15.3008
|
||||
c-8 -47.0996 -71.2998 -80 -123.3 -80s-115.4 32.9004 -123.3 80c-1.7002 9.90039 7.7998 18.4004 17.7002 15.3008c26 -8.30078 64.3994 -13.1006 105.6 -13.1006s79.7002 4.7998 105.6 13.1006zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32
|
||||
s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32z" />
|
||||
<glyph glyph-name="grin-alt" unicode="" horiz-adv-x="496"
|
||||
d="M200.3 200c-7.5 -11.4004 -24.5996 -12 -32.7002 0c-12.3994 18.7002 -15.1992 37.2998 -15.6992 56c0.599609 18.7002 3.2998 37.2998 15.6992 56c7.60059 11.4004 24.7002 12 32.7002 0c12.4004 -18.7002 15.2002 -37.2998 15.7002 -56
|
||||
c-0.599609 -18.7002 -3.2998 -37.2998 -15.7002 -56zM328.3 200c-7.5 -11.4004 -24.5996 -12 -32.7002 0c-12.3994 18.7002 -15.1992 37.2998 -15.6992 56c0.599609 18.7002 3.2998 37.2998 15.6992 56c7.60059 11.4004 24.7002 12 32.7002 0
|
||||
c12.4004 -18.7002 15.2002 -37.2998 15.7002 -56c-0.599609 -18.7002 -3.2998 -37.2998 -15.7002 -56zM248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200
|
||||
s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM353.6 143.4c10 3.09961 19.3008 -5.5 17.7002 -15.3008c-8 -47.0996 -71.2998 -80 -123.3 -80s-115.4 32.8008 -123.3 80c-1.7002 10 7.7998 18.4004 17.7002 15.3008c26 -8.30078 64.3994 -13.1006 105.6 -13.1006
|
||||
s79.7002 4.7998 105.6 13.1006z" />
|
||||
<glyph glyph-name="grin-beam" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM353.6 143.4c10 3.09961 19.3008 -5.5 17.7002 -15.3008
|
||||
c-8 -47.0996 -71.2998 -80 -123.3 -80s-115.4 32.9004 -123.3 80c-1.7002 10 7.89941 18.4004 17.7002 15.3008c26 -8.30078 64.3994 -13.1006 105.6 -13.1006s79.7002 4.7998 105.6 13.1006zM117.7 216.3c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998
|
||||
c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998c-3.09961 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996s-23.7998 -7.89941 -31.5 -21.5996
|
||||
l-9.5 -17c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002zM277.7 216.3c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998
|
||||
c-3.09961 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996s-23.7998 -7.89941 -31.5 -21.5996l-9.5 -17c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002z" />
|
||||
<glyph glyph-name="grin-beam-sweat" unicode="" horiz-adv-x="496"
|
||||
d="M440 288c-29.5 0 -53.2998 26.2998 -53.2998 58.7002c0 25 31.7002 75.5 46.2002 97.2998c3.5 5.2998 10.5996 5.2998 14.1992 0c14.5 -21.7998 46.2002 -72.2998 46.2002 -97.2998c0 -32.4004 -23.7998 -58.7002 -53.2998 -58.7002zM248 48
|
||||
c-51.9004 0 -115.3 32.9004 -123.3 80c-1.7002 10 7.89941 18.4004 17.7002 15.2998c26 -8.2998 64.3994 -13.0996 105.6 -13.0996s79.7002 4.7998 105.6 13.0996c10 3.2002 19.4004 -5.39941 17.7002 -15.2998c-8 -47.0996 -71.3994 -80 -123.3 -80zM378.3 216.3
|
||||
c-3.09961 -0.899414 -7.2002 0.100586 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996s-23.7998 -7.89941 -31.5 -21.5996l-9.5 -17c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998
|
||||
c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998zM483.6 269.2c8 -24.2998 12.4004 -50.2002 12.4004 -77.2002c0 -137 -111 -248 -248 -248s-248 111 -248 248s111 248 248 248
|
||||
c45.7002 0 88.4004 -12.5996 125.2 -34.2002c-10.9004 -21.5996 -15.5 -36.2002 -17.2002 -45.7002c-31.2002 20.1006 -68.2002 31.9004 -108 31.9004c-110.3 0 -200 -89.7002 -200 -200s89.7002 -200 200 -200s200 89.7002 200 200
|
||||
c0 22.5 -3.90039 44.0996 -10.7998 64.2998c0.399414 0 21.7998 -2.7998 46.3994 12.9004zM168 258.6c-12.2998 0 -23.7998 -7.7998 -31.5 -21.5996l-9.5 -17c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998
|
||||
c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998c-3.09961 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996z" />
|
||||
<glyph glyph-name="grin-hearts" unicode="" horiz-adv-x="496"
|
||||
d="M353.6 143.4c10 3.09961 19.3008 -5.5 17.7002 -15.3008c-8 -47.0996 -71.2998 -80 -123.3 -80s-115.4 32.8008 -123.3 80c-1.7002 10 7.89941 18.4004 17.7002 15.3008c26 -8.30078 64.3994 -13.1006 105.6 -13.1006s79.7002 4.7998 105.6 13.1006zM200.8 192.3
|
||||
l-70.2002 18.1006c-20.3994 5.2998 -31.8994 27 -24.1992 47.1992c6.69922 17.7002 26.6992 26.7002 44.8994 22l7.10059 -1.89941l2 7.09961c5.09961 18.1006 22.8994 30.9004 41.5 27.9004c21.3994 -3.40039 34.3994 -24.2002 28.7998 -44.5l-19.4004 -69.9004
|
||||
c-1.2998 -4.5 -6 -7.2002 -10.5 -6zM389.6 257.6c7.7002 -20.1992 -3.7998 -41.7998 -24.1992 -47.0996l-70.2002 -18.2002c-4.60059 -1.2002 -9.2998 1.5 -10.5 6l-19.4004 69.9004c-5.59961 20.2998 7.40039 41.0996 28.7998 44.5c18.7002 3 36.5 -9.7998 41.5 -27.9004
|
||||
l2 -7.09961l7.10059 1.89941c18.2002 4.7002 38.2002 -4.39941 44.8994 -22zM248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200
|
||||
s89.7002 -200 200 -200z" />
|
||||
<glyph glyph-name="grin-squint" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM353.6 143.4c10 3.09961 19.3008 -5.5 17.7002 -15.3008
|
||||
c-8 -47.0996 -71.2998 -80 -123.3 -80s-115.4 32.9004 -123.3 80c-1.7002 9.90039 7.7998 18.4004 17.7002 15.3008c26 -8.30078 64.3994 -13.1006 105.6 -13.1006s79.7002 4.7998 105.6 13.1006zM118.9 184.2c-3.80078 4.39941 -3.90039 11 -0.100586 15.5l33.6006 40.2998
|
||||
l-33.6006 40.2998c-3.7002 4.5 -3.7002 11 0.100586 15.5c3.89941 4.40039 10.1992 5.5 15.2998 2.5l80 -48c3.59961 -2.2002 5.7998 -6.09961 5.7998 -10.2998s-2.2002 -8.09961 -5.7998 -10.2998l-80 -48c-5.40039 -3.2002 -11.7002 -1.7002 -15.2998 2.5zM361.8 181.7
|
||||
l-80 48c-3.59961 2.2002 -5.7998 6.09961 -5.7998 10.2998s2.2002 8.09961 5.7998 10.2998l80 48c5.10059 2.90039 11.5 1.90039 15.2998 -2.5c3.80078 -4.5 3.90039 -11 0.100586 -15.5l-33.6006 -40.2998l33.6006 -40.2998c3.7002 -4.5 3.7002 -11 -0.100586 -15.5
|
||||
c-3.59961 -4.2002 -9.89941 -5.7002 -15.2998 -2.5z" />
|
||||
<glyph glyph-name="grin-squint-tears" unicode=""
|
||||
d="M117.1 63.9004c6.30078 0.899414 11.7002 -4.5 10.9004 -10.9004c-3.7002 -25.7998 -13.7002 -84 -30.5996 -100.9c-22 -21.8994 -57.9004 -21.5 -80.3008 0.900391c-22.3994 22.4004 -22.7998 58.4004 -0.899414 80.2998
|
||||
c16.8994 16.9004 75.0996 26.9004 100.899 30.6006zM75.9004 105.6c-19.6006 -3.89941 -35.1006 -8.09961 -47.3008 -12.1992c-39.2998 90.5996 -22.0996 199.899 52 274c48.5 48.3994 111.9 72.5996 175.4 72.5996c38.9004 0 77.7998 -9.2002 113.2 -27.4004
|
||||
c-4 -12.1992 -8.2002 -28 -12 -48.2998c-30.4004 17.9004 -65 27.7002 -101.2 27.7002c-53.4004 0 -103.6 -20.7998 -141.4 -58.5996c-61.5996 -61.5 -74.2998 -153.4 -38.6992 -227.801zM428.2 293.2c20.2998 3.89941 36.2002 8 48.5 12
|
||||
c47.8994 -93.2002 32.8994 -210.5 -45.2002 -288.601c-48.5 -48.3994 -111.9 -72.5996 -175.4 -72.5996c-33.6992 0 -67.2998 7 -98.6992 20.5996c4.19922 12.2002 8.2998 27.7002 12.1992 47.2002c26.6006 -12.7998 55.9004 -19.7998 86.4004 -19.7998
|
||||
c53.4004 0 103.6 20.7998 141.4 58.5996c65.6992 65.7002 75.7998 166 30.7998 242.601zM394.9 320.1c-6.30078 -0.899414 -11.7002 4.5 -10.9004 10.9004c3.7002 25.7998 13.7002 84 30.5996 100.9c22 21.8994 57.9004 21.5 80.3008 -0.900391
|
||||
c22.3994 -22.4004 22.7998 -58.4004 0.899414 -80.2998c-16.8994 -16.9004 -75.0996 -26.9004 -100.899 -30.6006zM207.9 211.8c3 -3 4.19922 -7.2998 3.19922 -11.5l-22.5996 -90.5c-1.40039 -5.39941 -6.2002 -9.09961 -11.7002 -9.09961h-0.899414
|
||||
c-5.80078 0.5 -10.5 5.09961 -11 10.8994l-4.80078 52.3008l-52.2998 4.7998c-5.7998 0.5 -10.3994 5.2002 -10.8994 11c-0.400391 5.89941 3.39941 11.2002 9.09961 12.5996l90.5 22.7002c4.2002 1 8.40039 -0.200195 11.4004 -3.2002zM247.6 236.9
|
||||
c-0.0996094 0 -6.39941 -1.80078 -11.3994 3.19922c-3 3 -4.2002 7.30078 -3.2002 11.4004l22.5996 90.5c1.40039 5.7002 7 9.2002 12.6006 9.09961c5.7998 -0.5 10.5 -5.09961 11 -10.8994l4.7998 -52.2998l52.2998 -4.80078c5.7998 -0.5 10.4004 -5.19922 10.9004 -11
|
||||
c0.399414 -5.89941 -3.40039 -11.1992 -9.10059 -12.5996zM299.6 148.4c29.1006 29.0996 53 59.5996 65.3008 83.7998c4.89941 9.2998 17.5996 9.89941 23.3994 1.7002c27.7002 -38.9004 6.10059 -106.9 -30.5996 -143.7s-104.8 -58.2998 -143.7 -30.6006
|
||||
c-8.2998 5.90039 -7.5 18.6006 1.7002 23.4004c24.2002 12.5 54.7998 36.2998 83.8994 65.4004z" />
|
||||
<glyph glyph-name="grin-stars" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM353.6 143.4c10 3.09961 19.3008 -5.5 17.7002 -15.3008
|
||||
c-8 -47.0996 -71.2998 -80 -123.3 -80s-115.4 32.8008 -123.3 80c-1.7002 10 7.89941 18.4004 17.7002 15.3008c26 -8.30078 64.3994 -13.1006 105.6 -13.1006s79.7002 4.7998 105.6 13.1006zM125.7 200.9l6.09961 34.8994l-25.3994 24.6006
|
||||
c-4.60059 4.59961 -1.90039 12.2998 4.2998 13.1992l34.8994 5l15.5 31.6006c2.90039 5.7998 11 5.7998 13.9004 0l15.5 -31.6006l34.9004 -5c6.19922 -1 8.7998 -8.69922 4.2998 -13.1992l-25.4004 -24.6006l6 -34.8994c1 -6.2002 -5.39941 -11 -11 -7.90039
|
||||
l-31.2998 16.2998l-31.2998 -16.2998c-5.60059 -3.09961 -12 1.7002 -11 7.90039zM385.4 273.6c6.19922 -1 8.89941 -8.59961 4.39941 -13.1992l-25.3994 -24.6006l6 -34.8994c1 -6.2002 -5.40039 -11 -11 -7.90039l-31.3008 16.2998l-31.2998 -16.2998
|
||||
c-5.59961 -3.09961 -12 1.7002 -11 7.90039l6 34.8994l-25.3994 24.6006c-4.60059 4.59961 -1.90039 12.2998 4.2998 13.1992l34.8994 5l15.5 31.6006c2.90039 5.7998 11 5.7998 13.9004 0l15.5 -31.6006z" />
|
||||
<glyph glyph-name="grin-tears" unicode="" horiz-adv-x="640"
|
||||
d="M117.1 191.9c6.30078 0.899414 11.7002 -4.5 10.9004 -10.9004c-3.7002 -25.7998 -13.7002 -84 -30.5996 -100.9c-22 -21.8994 -57.9004 -21.5 -80.3008 0.900391c-22.3994 22.4004 -22.7998 58.4004 -0.899414 80.2998c16.8994 16.9004 75.0996 26.9004 100.899 30.6006
|
||||
zM623.8 161.3c21.9004 -21.8994 21.5 -57.8994 -0.799805 -80.2002c-22.4004 -22.3994 -58.4004 -22.7998 -80.2998 -0.899414c-16.9004 16.8994 -26.9004 75.0996 -30.6006 100.899c-0.899414 6.30078 4.5 11.7002 10.8008 10.8008
|
||||
c25.7998 -3.7002 84 -13.7002 100.899 -30.6006zM497.2 99.5996c12.3994 -37.2998 25.0996 -43.7998 28.2998 -46.5c-44.5996 -65.7998 -120 -109.1 -205.5 -109.1s-160.9 43.2998 -205.5 109.1c3.09961 2.60059 15.7998 9.10059 28.2998 46.5
|
||||
c33.4004 -63.8994 100.3 -107.6 177.2 -107.6s143.8 43.7002 177.2 107.6zM122.7 223.5c-2.40039 0.299805 -5 2.5 -49.5 -6.90039c12.3994 125.4 118.1 223.4 246.8 223.4s234.4 -98 246.8 -223.5c-44.2998 9.40039 -47.3994 7.2002 -49.5 7
|
||||
c-15.2002 95.2998 -97.7998 168.5 -197.3 168.5s-182.1 -73.2002 -197.3 -168.5zM320 48c-51.9004 0 -115.3 32.9004 -123.3 80c-1.7002 10 7.89941 18.4004 17.7002 15.2998c26 -8.2998 64.3994 -13.0996 105.6 -13.0996s79.7002 4.7998 105.6 13.0996
|
||||
c10 3.2002 19.4004 -5.39941 17.7002 -15.2998c-8 -47.0996 -71.3994 -80 -123.3 -80zM450.3 216.3c-3.09961 -0.899414 -7.2002 0.100586 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996s-23.7998 -7.89941 -31.5 -21.5996l-9.5 -17
|
||||
c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998zM240 258.6
|
||||
c-12.2998 0 -23.7998 -7.7998 -31.5 -21.5996l-9.5 -17c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004
|
||||
c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998c-3.09961 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996z" />
|
||||
<glyph glyph-name="grin-tongue" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM312 40h0.0996094v43.7998l-17.6992 8.7998c-15.1006 7.60059 -31.5 -1.69922 -34.9004 -16.5l-2.7998 -12.0996c-2.10059 -9.2002 -15.2002 -9.2002 -17.2998 0
|
||||
l-2.80078 12.0996c-3.39941 14.8008 -19.8994 24 -34.8994 16.5l-17.7002 -8.7998v-42.7998c0 -35.2002 28 -64.5 63.0996 -65c35.8008 -0.5 64.9004 28.4004 64.9004 64zM340.2 14.7002c64 33.3994 107.8 100.3 107.8 177.3c0 110.3 -89.7002 200 -200 200
|
||||
s-200 -89.7002 -200 -200c0 -77 43.7998 -143.9 107.8 -177.3c-2.2002 8.09961 -3.7998 16.5 -3.7998 25.2998v43.5c-14.2002 12.4004 -24.4004 27.5 -27.2998 44.5c-1.7002 10 7.7998 18.4004 17.7002 15.2998c26 -8.2998 64.3994 -13.0996 105.6 -13.0996
|
||||
s79.7002 4.7998 105.6 13.0996c10 3.2002 19.4004 -5.39941 17.7002 -15.2998c-2.89941 -17 -13.0996 -32.0996 -27.2998 -44.5v-43.5c0 -8.7998 -1.59961 -17.2002 -3.7998 -25.2998zM168 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32
|
||||
s14.2998 32 32 32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32z" />
|
||||
<glyph glyph-name="grin-tongue-squint" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM312 40h0.0996094v43.7998l-17.6992 8.7998c-15.1006 7.60059 -31.5 -1.69922 -34.9004 -16.5l-2.7998 -12.0996c-2.10059 -9.2002 -15.2002 -9.2002 -17.2998 0
|
||||
l-2.80078 12.0996c-3.39941 14.8008 -19.8994 24 -34.8994 16.5l-17.7002 -8.7998v-42.7998c0 -35.2002 28 -64.5 63.0996 -65c35.8008 -0.5 64.9004 28.4004 64.9004 64zM340.2 14.7002c64 33.3994 107.8 100.3 107.8 177.3c0 110.3 -89.7002 200 -200 200
|
||||
s-200 -89.7002 -200 -200c0 -77 43.7998 -143.9 107.8 -177.3c-2.2002 8.09961 -3.7998 16.5 -3.7998 25.2998v43.5c-14.2002 12.4004 -24.4004 27.5 -27.2998 44.5c-1.7002 10 7.7998 18.4004 17.7002 15.2998c26 -8.2998 64.3994 -13.0996 105.6 -13.0996
|
||||
s79.7002 4.7998 105.6 13.0996c10 3.2002 19.4004 -5.39941 17.7002 -15.2998c-2.89941 -17 -13.0996 -32.0996 -27.2998 -44.5v-43.5c0 -8.7998 -1.59961 -17.2002 -3.7998 -25.2998zM377.1 295.8c3.80078 -4.39941 3.90039 -11 0.100586 -15.5l-33.6006 -40.2998
|
||||
l33.6006 -40.2998c3.7002 -4.5 3.7002 -11 -0.100586 -15.5c-3.59961 -4.2002 -9.89941 -5.7002 -15.2998 -2.5l-80 48c-3.59961 2.2002 -5.7998 6.09961 -5.7998 10.2998s2.2002 8.09961 5.7998 10.2998l80 48c5 3 11.5 1.90039 15.2998 -2.5zM214.2 250.3
|
||||
c3.59961 -2.2002 5.7998 -6.09961 5.7998 -10.2998s-2.2002 -8.09961 -5.7998 -10.2998l-80 -48c-5.40039 -3.2002 -11.7002 -1.7002 -15.2998 2.5c-3.80078 4.5 -3.90039 11 -0.100586 15.5l33.6006 40.2998l-33.6006 40.2998c-3.7002 4.5 -3.7002 11 0.100586 15.5
|
||||
c3.89941 4.5 10.2998 5.5 15.2998 2.5z" />
|
||||
<glyph glyph-name="grin-tongue-wink" unicode="" horiz-adv-x="496"
|
||||
d="M152 268c25.7002 0 55.9004 -16.9004 59.7998 -42.0996c0.799805 -5 -1.7002 -10 -6.09961 -12.4004c-5.7002 -3.09961 -11.2002 -0.599609 -13.7002 1.59961l-9.5 8.5c-14.7998 13.2002 -46.2002 13.2002 -61 0l-9.5 -8.5
|
||||
c-3.7998 -3.39941 -9.2998 -4 -13.7002 -1.59961c-4.39941 2.40039 -6.89941 7.40039 -6.09961 12.4004c3.89941 25.1992 34.0996 42.0996 59.7998 42.0996zM328 320c44.2002 0 80 -35.7998 80 -80s-35.7998 -80 -80 -80s-80 35.7998 -80 80s35.7998 80 80 80zM328 192
|
||||
c26.5 0 48 21.5 48 48s-21.5 48 -48 48s-48 -21.5 -48 -48s21.5 -48 48 -48zM328 264c13.2998 0 24 -10.7002 24 -24s-10.7002 -24 -24 -24s-24 10.7002 -24 24s10.7002 24 24 24zM248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248z
|
||||
M312 40h0.0996094v43.7998l-17.6992 8.7998c-15.1006 7.60059 -31.5 -1.69922 -34.9004 -16.5l-2.7998 -12.0996c-2.10059 -9.2002 -15.2002 -9.2002 -17.2998 0l-2.80078 12.0996c-3.39941 14.8008 -19.8994 24 -34.8994 16.5l-17.7002 -8.7998v-42.7998
|
||||
c0 -35.2002 28 -64.5 63.0996 -65c35.8008 -0.5 64.9004 28.4004 64.9004 64zM340.2 14.7002c64 33.3994 107.8 100.3 107.8 177.3c0 110.3 -89.7002 200 -200 200s-200 -89.7002 -200 -200c0 -77 43.7998 -143.9 107.8 -177.3
|
||||
c-2.2002 8.09961 -3.7998 16.5 -3.7998 25.2998v43.5c-14.2002 12.4004 -24.4004 27.5 -27.2998 44.5c-1.7002 10 7.7998 18.4004 17.7002 15.2998c26 -8.2998 64.3994 -13.0996 105.6 -13.0996s79.7002 4.7998 105.6 13.0996c10 3.2002 19.4004 -5.39941 17.7002 -15.2998
|
||||
c-2.89941 -17 -13.0996 -32.0996 -27.2998 -44.5v-43.5c0 -8.7998 -1.59961 -17.2002 -3.7998 -25.2998z" />
|
||||
<glyph glyph-name="grin-wink" unicode="" horiz-adv-x="496"
|
||||
d="M328 268c25.6904 0 55.8799 -16.9199 59.8701 -42.1201c1.72949 -11.0898 -11.3506 -18.2695 -19.8301 -10.8398l-9.5498 8.47949c-14.8105 13.1904 -46.1602 13.1904 -60.9707 0l-9.5498 -8.47949c-8.33008 -7.40039 -21.5801 -0.379883 -19.8301 10.8398
|
||||
c3.98047 25.2002 34.1699 42.1201 59.8604 42.1201zM168 208c-17.6699 0 -32 14.3301 -32 32s14.3301 32 32 32s32 -14.3301 32 -32s-14.3301 -32 -32 -32zM353.55 143.36c10.04 3.13965 19.3906 -5.4502 17.71 -15.3408
|
||||
c-7.92969 -47.1494 -71.3193 -80.0195 -123.26 -80.0195s-115.33 32.8701 -123.26 80.0195c-1.69043 9.9707 7.76953 18.4707 17.71 15.3408c25.9297 -8.31055 64.3994 -13.0605 105.55 -13.0605s79.6201 4.75977 105.55 13.0605zM248 440c136.97 0 248 -111.03 248 -248
|
||||
s-111.03 -248 -248 -248s-248 111.03 -248 248s111.03 248 248 248zM248 -8c110.28 0 200 89.7197 200 200s-89.7197 200 -200 200s-200 -89.7197 -200 -200s89.7197 -200 200 -200z" />
|
||||
<glyph glyph-name="kiss" unicode="" horiz-adv-x="496"
|
||||
d="M168 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM304 140c0 -13 -13.4004 -27.2998 -35.0996 -36.4004c21.7998 -8.69922 35.1992 -23 35.1992 -36c0 -19.1992 -28.6992 -41.5 -71.5 -44h-0.5
|
||||
c-3.69922 0 -7 2.60059 -7.7998 6.2002c-0.899414 3.7998 1.10059 7.7002 4.7002 9.2002l17 7.2002c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.2002c-6 2.59961 -5.7002 12.3994 0 14.7998l17 7.2002
|
||||
c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.19922c-3.59961 1.5 -5.59961 5.40039 -4.7002 9.2002c0.799805 3.7998 4.40039 6.60059 8.2002 6.2002c42.7002 -2.5 71.5 -24.7998 71.5 -44zM248 440c137 0 248 -111 248 -248
|
||||
s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32z
|
||||
" />
|
||||
<glyph glyph-name="kiss-beam" unicode="" horiz-adv-x="496"
|
||||
d="M168 296c23.7998 0 52.7002 -29.2998 55.7998 -71.4004c0.299805 -3.7998 -2 -7.19922 -5.59961 -8.2998c-3.10059 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996c-12.3008 0 -23.8008 -7.89941 -31.5 -21.5996l-9.5 -17
|
||||
c-1.80078 -3.2002 -5.80078 -4.7002 -9.30078 -3.7002c-3.59961 1.10059 -5.89941 4.60059 -5.59961 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004zM248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8
|
||||
c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM304 140c0 -13 -13.4004 -27.2998 -35.0996 -36.4004c21.7998 -8.69922 35.1992 -23 35.1992 -36c0 -19.1992 -28.6992 -41.5 -71.5 -44h-0.5
|
||||
c-3.69922 0 -7 2.60059 -7.7998 6.2002c-0.899414 3.7998 1.10059 7.7002 4.7002 9.2002l17 7.2002c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.2002c-6 2.59961 -5.7002 12.3994 0 14.7998l17 7.2002
|
||||
c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.19922c-3.59961 1.5 -5.59961 5.40039 -4.7002 9.2002c0.799805 3.7998 4.40039 6.60059 8.2002 6.2002c42.7002 -2.5 71.5 -24.7998 71.5 -44zM328 296
|
||||
c23.7998 0 52.7002 -29.2998 55.7998 -71.4004c0.299805 -3.7998 -2 -7.19922 -5.59961 -8.2998c-3.10059 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996c-12.3008 0 -23.8008 -7.89941 -31.5 -21.5996l-9.5 -17
|
||||
c-1.80078 -3.2002 -5.80078 -4.7002 -9.30078 -3.7002c-3.59961 1.10059 -5.89941 4.60059 -5.59961 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004z" />
|
||||
<glyph glyph-name="kiss-wink-heart" unicode="" horiz-adv-x="504"
|
||||
d="M304 139.5c0 -13 -13.4004 -27.2998 -35.0996 -36.4004c21.7998 -8.69922 35.1992 -23 35.1992 -36c0 -19.1992 -28.6992 -41.5 -71.5 -44h-0.5c-3.69922 0 -7 2.60059 -7.7998 6.2002c-0.899414 3.7998 1.10059 7.7002 4.7002 9.2002l17 7.2002
|
||||
c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.2002c-6 2.59961 -5.7002 12.3994 0 14.7998l17 7.2002c12.9004 5.5 20.7002 13.5 20.7002 21.5s-7.7998 16 -20.7998 21.5l-16.9004 7.19922c-3.59961 1.5 -5.59961 5.40039 -4.7002 9.2002
|
||||
c0.799805 3.7998 4.40039 6.60059 8.2002 6.2002c42.7002 -2.5 71.5 -24.7998 71.5 -44zM374.5 223c-14.7998 13.2002 -46.2002 13.2002 -61 0l-9.5 -8.5c-2.5 -2.2998 -7.90039 -4.7002 -13.7002 -1.59961c-4.39941 2.39941 -6.89941 7.39941 -6.09961 12.3994
|
||||
c3.89941 25.2002 34.2002 42.1006 59.7998 42.1006s55.7998 -16.9004 59.7998 -42.1006c0.799805 -5 -1.7002 -10 -6.09961 -12.3994c-4.40039 -2.40039 -9.90039 -1.7002 -13.7002 1.59961zM136 239.5c0 17.7002 14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32
|
||||
s-32 14.2998 -32 32zM501.1 45.5c9.2002 -23.9004 -4.39941 -49.4004 -28.5 -55.7002l-83 -21.5c-5.39941 -1.39941 -10.8994 1.7998 -12.3994 7.10059l-22.9004 82.5996c-6.59961 24 8.7998 48.5996 34 52.5996c22 3.5 43.1006 -11.5996 49 -33l2.2998 -8.39941
|
||||
l8.40039 2.2002c21.5996 5.59961 45.0996 -5.10059 53.0996 -25.9004zM334 11.7002c17.7002 -64 10.9004 -39.5 13.4004 -46.7998c-30.5 -13.4004 -64 -20.9004 -99.4004 -20.9004c-137 0 -248 111 -248 248s111 248 248 248s248 -111 247.9 -248
|
||||
c0 -31.7998 -6.2002 -62.0996 -17.1006 -90c-6 1.5 -12.2002 2.7998 -18.5996 2.90039c-5.60059 9.69922 -13.6006 17.5 -22.6006 23.8994c6.7002 19.9004 10.4004 41.1006 10.4004 63.2002c0 110.3 -89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200
|
||||
c30.7998 0 59.9004 7.2002 86 19.7002z" />
|
||||
<glyph glyph-name="laugh" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM389.4 50.5996c37.7998 37.8008 58.5996 88 58.5996 141.4s-20.7998 103.6 -58.5996 141.4c-37.8008 37.7998 -88 58.5996 -141.4 58.5996s-103.6 -20.7998 -141.4 -58.5996
|
||||
c-37.7998 -37.8008 -58.5996 -88 -58.5996 -141.4s20.7998 -103.6 58.5996 -141.4c37.8008 -37.7998 88 -58.5996 141.4 -58.5996s103.6 20.7998 141.4 58.5996zM328 224c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM168 224
|
||||
c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM362.4 160c8.19922 0 14.5 -7 13.5 -15c-7.5 -59.2002 -58.9004 -105 -121.101 -105h-13.5996c-62.2002 0 -113.601 45.7998 -121.101 105c-1 8 5.30078 15 13.5 15h228.801z" />
|
||||
<glyph glyph-name="laugh-beam" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM389.4 50.5996c37.7998 37.8008 58.5996 88 58.5996 141.4s-20.7998 103.6 -58.5996 141.4c-37.8008 37.7998 -88 58.5996 -141.4 58.5996s-103.6 -20.7998 -141.4 -58.5996
|
||||
c-37.7998 -37.8008 -58.5996 -88 -58.5996 -141.4s20.7998 -103.6 58.5996 -141.4c37.8008 -37.7998 88 -58.5996 141.4 -58.5996s103.6 20.7998 141.4 58.5996zM328 296c23.7998 0 52.7002 -29.2998 55.7998 -71.4004c0.700195 -8.5 -10.7998 -11.8994 -14.8994 -4.5
|
||||
l-9.5 17c-7.7002 13.7002 -19.2002 21.6006 -31.5 21.6006c-12.3008 0 -23.8008 -7.90039 -31.5 -21.6006l-9.5 -17c-4.10059 -7.39941 -15.6006 -4.09961 -14.9004 4.5c3.2998 42.1006 32.2002 71.4004 56 71.4004zM127 220.1c-4.2002 -7.39941 -15.7002 -4 -15.0996 4.5
|
||||
c3.2998 42.1006 32.1992 71.4004 56 71.4004c23.7998 0 52.6992 -29.2998 56 -71.4004c0.699219 -8.5 -10.8008 -11.8994 -14.9004 -4.5l-9.5 17c-7.7002 13.7002 -19.2002 21.6006 -31.5 21.6006s-23.7998 -7.90039 -31.5 -21.6006zM362.4 160c8.19922 0 14.5 -7 13.5 -15
|
||||
c-7.5 -59.2002 -58.9004 -105 -121.101 -105h-13.5996c-62.2002 0 -113.601 45.7998 -121.101 105c-1 8 5.30078 15 13.5 15h228.801z" />
|
||||
<glyph glyph-name="laugh-squint" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM389.4 50.5996c37.7998 37.8008 58.5996 88 58.5996 141.4s-20.7998 103.6 -58.5996 141.4c-37.8008 37.7998 -88 58.5996 -141.4 58.5996s-103.6 -20.7998 -141.4 -58.5996
|
||||
c-37.7998 -37.8008 -58.5996 -88 -58.5996 -141.4s20.7998 -103.6 58.5996 -141.4c37.8008 -37.7998 88 -58.5996 141.4 -58.5996s103.6 20.7998 141.4 58.5996zM343.6 252l33.6006 -40.2998c8.59961 -10.4004 -3.90039 -24.7998 -15.4004 -18l-80 48
|
||||
c-7.7998 4.7002 -7.7998 15.8994 0 20.5996l80 48c11.6006 6.7998 24 -7.7002 15.4004 -18zM134.2 193.7c-11.6006 -6.7998 -24.1006 7.59961 -15.4004 18l33.6006 40.2998l-33.6006 40.2998c-8.59961 10.2998 3.7998 24.9004 15.4004 18l80 -48
|
||||
c7.7998 -4.7002 7.7998 -15.8994 0 -20.5996zM362.4 160c8.19922 0 14.5 -7 13.5 -15c-7.5 -59.2002 -58.9004 -105 -121.101 -105h-13.5996c-62.2002 0 -113.601 45.7998 -121.101 105c-1 8 5.30078 15 13.5 15h228.801z" />
|
||||
<glyph glyph-name="laugh-wink" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM389.4 50.5996c37.7998 37.8008 58.5996 88 58.5996 141.4s-20.7998 103.6 -58.5996 141.4c-37.8008 37.7998 -88 58.5996 -141.4 58.5996s-103.6 -20.7998 -141.4 -58.5996
|
||||
c-37.7998 -37.8008 -58.5996 -88 -58.5996 -141.4s20.7998 -103.6 58.5996 -141.4c37.8008 -37.7998 88 -58.5996 141.4 -58.5996s103.6 20.7998 141.4 58.5996zM328 284c25.7002 0 55.9004 -16.9004 59.7002 -42.0996c1.7998 -11.1006 -11.2998 -18.2002 -19.7998 -10.8008
|
||||
l-9.5 8.5c-14.8008 13.2002 -46.2002 13.2002 -61 0l-9.5 -8.5c-8.30078 -7.39941 -21.5 -0.399414 -19.8008 10.8008c4 25.1992 34.2002 42.0996 59.9004 42.0996zM168 224c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32s-14.2998 -32 -32 -32z
|
||||
M362.4 160c8.19922 0 14.5 -7 13.5 -15c-7.5 -59.2002 -58.9004 -105 -121.101 -105h-13.5996c-62.2002 0 -113.601 45.7998 -121.101 105c-1 8 5.30078 15 13.5 15h228.801z" />
|
||||
<glyph glyph-name="meh-blank" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM168 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32
|
||||
s-32 14.2998 -32 32s14.2998 32 32 32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32z" />
|
||||
<glyph glyph-name="meh-rolling-eyes" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM336 296c39.7998 0 72 -32.2002 72 -72s-32.2002 -72 -72 -72
|
||||
s-72 32.2002 -72 72s32.2002 72 72 72zM336 184c22.0996 0 40 17.9004 40 40c0 13.5996 -7.2998 25.0996 -17.7002 32.2998c1 -2.59961 1.7002 -5.39941 1.7002 -8.2998c0 -13.2998 -10.7002 -24 -24 -24s-24 10.7002 -24 24c0 3 0.700195 5.7002 1.7002 8.2998
|
||||
c-10.4004 -7.2002 -17.7002 -18.7002 -17.7002 -32.2998c0 -22.0996 17.9004 -40 40 -40zM232 224c0 -39.7998 -32.2002 -72 -72 -72s-72 32.2002 -72 72s32.2002 72 72 72s72 -32.2002 72 -72zM120 224c0 -22.0996 17.9004 -40 40 -40s40 17.9004 40 40
|
||||
c0 13.5996 -7.2998 25.0996 -17.7002 32.2998c1 -2.59961 1.7002 -5.39941 1.7002 -8.2998c0 -13.2998 -10.7002 -24 -24 -24s-24 10.7002 -24 24c0 3 0.700195 5.7002 1.7002 8.2998c-10.4004 -7.2002 -17.7002 -18.7002 -17.7002 -32.2998zM312 96
|
||||
c13.2002 0 24 -10.7998 24 -24s-10.7998 -24 -24 -24h-128c-13.2002 0 -24 10.7998 -24 24s10.7998 24 24 24h128z" />
|
||||
<glyph glyph-name="sad-cry" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM392 53.5996c34.5996 35.9004 56 84.7002 56 138.4c0 110.3 -89.7002 200 -200 200s-200 -89.7002 -200 -200c0 -53.7002 21.4004 -102.4 56 -138.4v114.4
|
||||
c0 13.2002 10.7998 24 24 24s24 -10.7998 24 -24v-151.4c28.5 -15.5996 61.2002 -24.5996 96 -24.5996s67.5 9 96 24.5996v151.4c0 13.2002 10.7998 24 24 24s24 -10.7998 24 -24v-114.4zM205.8 213.5c-5.7998 -3.2002 -11.2002 -0.700195 -13.7002 1.59961l-9.5 8.5
|
||||
c-14.7998 13.2002 -46.1992 13.2002 -61 0l-9.5 -8.5c-3.7998 -3.39941 -9.2998 -4 -13.6992 -1.59961c-4.40039 2.40039 -6.90039 7.40039 -6.10059 12.4004c3.90039 25.1992 34.2002 42.0996 59.7998 42.0996c25.6006 0 55.8008 -16.9004 59.8008 -42.0996
|
||||
c0.799805 -5 -1.7002 -10 -6.10059 -12.4004zM344 268c25.7002 0 55.9004 -16.9004 59.7998 -42.0996c0.799805 -5 -1.7002 -10 -6.09961 -12.4004c-5.7002 -3.09961 -11.2002 -0.599609 -13.7002 1.59961l-9.5 8.5c-14.7998 13.2002 -46.2002 13.2002 -61 0l-9.5 -8.5
|
||||
c-3.7998 -3.39941 -9.2002 -4 -13.7002 -1.59961c-4.39941 2.40039 -6.89941 7.40039 -6.09961 12.4004c3.89941 25.1992 34.0996 42.0996 59.7998 42.0996zM248 176c30.9004 0 56 -28.7002 56 -64s-25.0996 -64 -56 -64s-56 28.7002 -56 64s25.0996 64 56 64z" />
|
||||
<glyph glyph-name="sad-tear" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM256 144c38.0996 0 74 -16.7998 98.5 -46.0996
|
||||
c8.5 -10.2002 7.09961 -25.3008 -3.09961 -33.8008c-10.6006 -8.7998 -25.7002 -6.69922 -33.8008 3.10059c-15.2998 18.2998 -37.7998 28.7998 -61.5996 28.7998c-13.2002 0 -24 10.7998 -24 24s10.7998 24 24 24zM168 208c-17.7002 0 -32 14.2998 -32 32s14.2998 32 32 32
|
||||
s32 -14.2998 32 -32s-14.2998 -32 -32 -32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32zM162.4 173.2c2.7998 3.7002 8.39941 3.7002 11.1992 0c11.4004 -15.2998 36.4004 -50.6006 36.4004 -68.1006
|
||||
c0 -22.6992 -18.7998 -41.0996 -42 -41.0996s-42 18.4004 -42 41.0996c0 17.5 25 52.8008 36.4004 68.1006z" />
|
||||
<glyph glyph-name="smile-beam" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM332 135.4c8.5 10.1992 23.5996 11.5 33.7998 3.09961
|
||||
c10.2002 -8.5 11.6006 -23.5996 3.10059 -33.7998c-30 -36 -74.1006 -56.6006 -120.9 -56.6006s-90.9004 20.6006 -120.9 56.6006c-8.39941 10.2002 -7.09961 25.2998 3.10059 33.7998c10.2002 8.40039 25.2998 7.09961 33.7998 -3.09961
|
||||
c20.7998 -25.1006 51.5 -39.4004 84 -39.4004s63.2002 14.4004 84 39.4004zM136.5 237l-9.5 -17c-1.90039 -3.2002 -5.90039 -4.7998 -9.2998 -3.7002c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004s52.7002 -29.2998 56 -71.4004
|
||||
c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998c-3.09961 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996s-23.7998 -7.89941 -31.5 -21.5996zM328 296c23.7998 0 52.7002 -29.2998 56 -71.4004
|
||||
c0.299805 -3.7998 -2.09961 -7.19922 -5.7002 -8.2998c-3.09961 -1 -7.2002 0 -9.2998 3.7002l-9.5 17c-7.7002 13.7002 -19.2002 21.5996 -31.5 21.5996s-23.7998 -7.89941 -31.5 -21.5996l-9.5 -17c-1.90039 -3.2002 -5.7998 -4.7998 -9.2998 -3.7002
|
||||
c-3.60059 1.10059 -6 4.60059 -5.7002 8.2998c3.2998 42.1006 32.2002 71.4004 56 71.4004z" />
|
||||
<glyph glyph-name="surprise" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM248 168c35.2998 0 64 -28.7002 64 -64s-28.7002 -64 -64 -64
|
||||
s-64 28.7002 -64 64s28.7002 64 64 64zM200 240c0 -17.7002 -14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32s32 -14.2998 32 -32zM328 272c17.7002 0 32 -14.2998 32 -32s-14.2998 -32 -32 -32s-32 14.2998 -32 32s14.2998 32 32 32z" />
|
||||
<glyph glyph-name="tired" unicode="" horiz-adv-x="496"
|
||||
d="M248 440c137 0 248 -111 248 -248s-111 -248 -248 -248s-248 111 -248 248s111 248 248 248zM248 -8c110.3 0 200 89.7002 200 200s-89.7002 200 -200 200s-200 -89.7002 -200 -200s89.7002 -200 200 -200zM377.1 295.8c3.80078 -4.39941 3.90039 -11 0.100586 -15.5
|
||||
l-33.6006 -40.2998l33.6006 -40.2998c3.7998 -4.5 3.7002 -11 -0.100586 -15.5c-3.5 -4.10059 -9.89941 -5.7002 -15.2998 -2.5l-80 48c-3.59961 2.2002 -5.7998 6.09961 -5.7998 10.2998s2.2002 8.09961 5.7998 10.2998l80 48c5 2.90039 11.5 1.90039 15.2998 -2.5z
|
||||
M220 240c0 -4.2002 -2.2002 -8.09961 -5.7998 -10.2998l-80 -48c-5.40039 -3.2002 -11.7998 -1.60059 -15.2998 2.5c-3.80078 4.5 -3.90039 11 -0.100586 15.5l33.6006 40.2998l-33.6006 40.2998c-3.7998 4.5 -3.7002 11 0.100586 15.5
|
||||
c3.7998 4.40039 10.2998 5.5 15.2998 2.5l80 -48c3.59961 -2.2002 5.7998 -6.09961 5.7998 -10.2998zM248 176c45.4004 0 100.9 -38.2998 107.8 -93.2998c1.5 -11.9004 -7 -21.6006 -15.5 -17.9004c-22.7002 9.7002 -56.2998 15.2002 -92.2998 15.2002
|
||||
s-69.5996 -5.5 -92.2998 -15.2002c-8.60059 -3.7002 -17 6.10059 -15.5 17.9004c6.89941 55 62.3994 93.2998 107.8 93.2998z" />
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
After Width: | Height: | Size: 141 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
After Width: | Height: | Size: 898 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
244
resources/[jobs]/[mdt]/myEmergency/html/css/app.css
Normal file
244
resources/[jobs]/[mdt]/myEmergency/html/css/app.css
Normal file
|
|
@ -0,0 +1,244 @@
|
|||
*::-webkit-scrollbar {
|
||||
width: 9px;
|
||||
}
|
||||
*::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(155, 155, 155, 0.5);
|
||||
border-radius: 30px;
|
||||
border: transparent;
|
||||
}
|
||||
|
||||
/*
|
||||
* {
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
*::-webkit-scrollbar{
|
||||
display: none;
|
||||
}
|
||||
*/
|
||||
|
||||
:root{
|
||||
--bodycolor: white;
|
||||
|
||||
--activeColor:0 91% 71%;;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme:dark){
|
||||
:root{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme:light){
|
||||
:root{
|
||||
--bodycolor:black;
|
||||
}
|
||||
}
|
||||
[data-theme=dark]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=synthwave]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=halloween]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=forest]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=aqua]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=black]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=luxury]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=dracula]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=business]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=night]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=coffee]{
|
||||
--bodycolor:#E0E0E0
|
||||
}
|
||||
[data-theme=light]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=cupcake]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=bumblebee]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=emerald]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=corporate]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=retro]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=cyberpunk]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=valentine]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=garden]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=lofi]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=pastel]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=fantasy]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=wireframe]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=cmyk]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=autumn]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=acid]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=lemonade]{
|
||||
--bodycolor:black
|
||||
}
|
||||
[data-theme=winter]{
|
||||
--bodycolor:black
|
||||
}
|
||||
|
||||
|
||||
.human-body {
|
||||
width: 207px;
|
||||
position: relative;
|
||||
padding-top: 240px;
|
||||
height: 260px;
|
||||
display: block;
|
||||
margin: 0px auto 40px auto;
|
||||
}
|
||||
|
||||
.human-body-height{
|
||||
height:460px;
|
||||
}
|
||||
|
||||
.human-body svg:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.human-body svg:hover path {
|
||||
fill: #ff7d16;
|
||||
}
|
||||
|
||||
.human-body svg path.active{
|
||||
fill:hsl(var(--activeColor)/1)
|
||||
}
|
||||
|
||||
|
||||
|
||||
.human-body svg {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
|
||||
fill: var(--bodycolor) !important;
|
||||
}
|
||||
|
||||
.human-body svg.head {
|
||||
margin-left: -28.5px;
|
||||
top: -6px;
|
||||
}
|
||||
|
||||
.human-body svg.left-shoulder {
|
||||
margin-left: -53.5px;
|
||||
top: 69px;
|
||||
}
|
||||
|
||||
.human-body svg.right-shoulder {
|
||||
margin-left: 13.5px;
|
||||
top: 69px;
|
||||
}
|
||||
|
||||
.human-body svg.left-arm {
|
||||
margin-left: -78px;
|
||||
top: 112px;
|
||||
}
|
||||
|
||||
.human-body svg.right-arm {
|
||||
margin-left: 38px;
|
||||
top: 112px;
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
.human-body svg.chest {
|
||||
margin-left: -43.5px;
|
||||
top: 88px;
|
||||
}
|
||||
|
||||
.human-body svg.stomach {
|
||||
margin-left: -37.5px;
|
||||
top: 130px;
|
||||
}
|
||||
|
||||
.human-body svg.left-leg {
|
||||
margin-left: -46.5px;
|
||||
top: 205px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.human-body svg.right-leg {
|
||||
margin-left: 1.5px;
|
||||
top: 205px;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.human-body svg.left-hand {
|
||||
margin-left: -102.5px;
|
||||
top: 224px;
|
||||
}
|
||||
|
||||
.human-body svg.right-hand {
|
||||
margin-left: 66.5px;
|
||||
top: 224px;
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.human-body svg.left-foot {
|
||||
margin-left: -35.5px;
|
||||
top: 455px;
|
||||
}
|
||||
|
||||
.human-body svg.right-foot {
|
||||
margin-left: 5.5px;
|
||||
top: 455px;
|
||||
}
|
||||
|
||||
.camHidden{
|
||||
background:transparent !important;
|
||||
}
|
||||
|
||||
.camHidden:before{
|
||||
background-color:transparent !important;
|
||||
}
|
||||
.camHidden:after{
|
||||
background-color:transparent !important;
|
||||
}
|
||||
71645
resources/[jobs]/[mdt]/myEmergency/html/css/daisyui.css
Normal file
71645
resources/[jobs]/[mdt]/myEmergency/html/css/daisyui.css
Normal file
File diff suppressed because it is too large
Load diff
1
resources/[jobs]/[mdt]/myEmergency/html/css/tailwind.css
Normal file
1
resources/[jobs]/[mdt]/myEmergency/html/css/tailwind.css
Normal file
File diff suppressed because one or more lines are too long
173
resources/[jobs]/[mdt]/myEmergency/html/index.html
Normal file
173
resources/[jobs]/[mdt]/myEmergency/html/index.html
Normal file
|
|
@ -0,0 +1,173 @@
|
|||
<!DOCTYPE html>
|
||||
<html data-theme="dark">
|
||||
|
||||
<head>
|
||||
<title>myCopnet</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link href="./css/daisyui.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/tailwind.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/fontawesome/css/all.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="./css/app.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="main" class="" style="display:none;">
|
||||
|
||||
<div id="root" class="mockup-phone" style="position:absolute; top:10%;left:10%; height:80%;width:80%;opacity: 1;">
|
||||
<div class="camera camHidden"></div>
|
||||
<div class="display" style="height:100%;">
|
||||
<div class="drawer drawer-mobile" style="height:100%;">
|
||||
<input id="left-sidebar-drawer" type="checkbox" class="drawer-toggle">
|
||||
<div class="drawer-content flex flex-col ">
|
||||
<div class="navbar flex justify-between bg-base-100 z-10 shadow-md ">
|
||||
<div class="">
|
||||
<label for="left-sidebar-drawer" class="btn btn-primary drawer-button lg:hidden">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
|
||||
stroke="currentColor" aria-hidden="true" class="h-5 inline-block w-5">
|
||||
<path stroke-linecap="round" stroke-linejoin="round"
|
||||
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5">
|
||||
</path>
|
||||
</svg>
|
||||
</label>
|
||||
<h1 class="text-2xl font-semibold ml-2" id="current_page_name">{{currentpage}}</h1>
|
||||
</div>
|
||||
</div>
|
||||
<main class="flex-1 overflow-y-auto pt-4 px-6 bg-base-200" id="currentpage-content">
|
||||
Loading..
|
||||
<progress class="progress progress-accent w-100 "></progress>
|
||||
|
||||
<div class="h-16">
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<!-- drawer -->
|
||||
<div class="drawer-side ">
|
||||
<label for="left-sidebar-drawer" class="drawer-overlay">
|
||||
</label>
|
||||
<ul class="menu menu-compact pt-2 w-80 bg-base-100 text-base-content" id="main_navigation">
|
||||
<li class="mb-2 font-semibold noremoveonrebuild">
|
||||
<a class="bg-primary text-xl uppercase" href="#" id="main_navigation_copname">CopName</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fixed overflow-hidden z-20 bg-gray-900 bg-opacity-25 inset-0 transform ease-in-out transition-all delay-500 opacity-0 translate-x-full">
|
||||
<section class="w-80 md:w-96 right-0 absolute bg-base-100 h-full shadow-xl delay-400 duration-500 ease-in-out transition-all transform translate-x-full ">
|
||||
<div class="relative pb-5 flex flex-col h-full">
|
||||
<div class="navbar flex pl-4 pr-4 shadow-md ">
|
||||
<button class="float-left btn btn-circle btn-outline btn-sm">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"
|
||||
aria-hidden="true" class="h-5 w-5">
|
||||
<path fill-rule="evenodd"
|
||||
d="M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z"
|
||||
clip-rule="evenodd">
|
||||
</path>
|
||||
</svg>
|
||||
</button>
|
||||
<span class="ml-2 font-bold text-xl">
|
||||
</span>
|
||||
</div>
|
||||
<div class="overflow-y-scroll pl-4 pr-4">
|
||||
<div class="flex flex-col w-full"></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class=" w-screen h-full cursor-pointer ">
|
||||
</section>
|
||||
</div>
|
||||
<div class="modal ">
|
||||
<div class="modal-box ">
|
||||
<button class="btn btn-sm btn-circle absolute right-2 top-2">✕</button>
|
||||
<h3 class="font-semibold text-2xl pb-6 text-center">
|
||||
</h3>
|
||||
<div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="checkbox" id="delete-modal" class="modal-toggle" />
|
||||
<div class="modal modal-bottom sm:modal-middle">
|
||||
<div class="modal-box">
|
||||
<h3 class="font-bold text-lg" id="delete-modal-title">{{del}}</h3>
|
||||
<p class="py-4" id="delete-modal-message">{{really_delete}}</p>
|
||||
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6">
|
||||
<label for="delete-modal" id="delete-modal-cancel" class="btn btn-error">{{cancel}}</label>
|
||||
<button type="button" id="delete-modal-delete" class="btn btn-primary">{{delete}}</label>
|
||||
</div">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="position:absolute;background : rgba(32,32,32, 0.80) !important; display:none; width:200px;height:auto;max-height:50%;overflow-y: auto;" id="radiostates" class="p-2 rounded-xl">
|
||||
<!--<div style="position:absolute;top: 15%;right: 1%; background : rgba(32,32,32, 0.80) !important; display:none; width:200px;height:auto;max-height:50%;overflow-y: auto;" id="radiostates" class="p-2 rounded-xl">-->
|
||||
|
||||
<div id="radiostates_info" class="px-2"></div>
|
||||
<div id="radiostates_actions" class="px-2"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript" src="./js/locale/translations.js"></script>
|
||||
|
||||
<script type="text/javascript" src="./js/conf/nav.js"></script>
|
||||
|
||||
<script type="text/javascript" src="./js/classes/delay.js"></script>
|
||||
<script type="text/javascript" src="./js/classes/radioHud.js"></script>
|
||||
<script type="text/javascript" src="./js/classes/menu.js"></script>
|
||||
<script type="text/javascript" src="./js/classes/form.js"></script>
|
||||
<script type="text/javascript" src="./js/classes/rights.js"></script>
|
||||
<script type="text/javascript" src="./js/classes/sync.js"></script>
|
||||
|
||||
<script type="text/javascript" src="./js/modules/ControlCentre.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/ControlCentreEmergancyVehicles.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/ControlCentreEmployees.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/CriminalComplaint.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Dashboard.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EmergencyVehicle.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EmergencyVehicleRadio.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EmployeeRadio.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Employees.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EmployeesEntry.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EmployeesTraining.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EmployeeVehicles.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/FileEntry.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Files.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Investigation.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/InvestigationEntry.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/LawBooks.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/LawBookLaws.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Licenses.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Manhunt.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/MissionReport.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/RadioState.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/RankManagement.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/RankManagementRights.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/RegVehicle.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/RegVehicleImpounded.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/RegWeapons.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/SharedFiles.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Trainings.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/TrainingsParticipants.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/SpeedcamsMobile.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/SpeedcamsProfit.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Notes.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EvidenceRooms.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EvidenceRoomArticles.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/EvidenceRoomArticlesDestroyed.js"></script>
|
||||
<script type="text/javascript" src="./js/modules/Prison.js"></script>
|
||||
|
||||
<script type="text/javascript" src="./js/system.js"></script>
|
||||
<script type="text/javascript" src="./js/script.js"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
14
resources/[jobs]/[mdt]/myEmergency/html/js/classes/delay.js
Normal file
14
resources/[jobs]/[mdt]/myEmergency/html/js/classes/delay.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
class FileSearch{
|
||||
constructor(){
|
||||
this.timeout = null
|
||||
}
|
||||
|
||||
startTimer(value, element){
|
||||
if(this.timeout != null){
|
||||
clearTimeout(this.timeout);
|
||||
}
|
||||
this.timeout = setTimeout(function(){
|
||||
SearchFiles(element)
|
||||
},value);
|
||||
}
|
||||
}
|
||||
732
resources/[jobs]/[mdt]/myEmergency/html/js/classes/form.js
Normal file
732
resources/[jobs]/[mdt]/myEmergency/html/js/classes/form.js
Normal file
|
|
@ -0,0 +1,732 @@
|
|||
class Form{
|
||||
constructor(){
|
||||
}
|
||||
static TextBox(mandatory, translation_key, value){
|
||||
let validateClass = "";
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation"
|
||||
}
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<input id="input-${translation_key}" type="text" placeholder="" class="input input-sm input-bordered ${validateClass}" value="${value}" />
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
static Hidden(translation_key, value){
|
||||
return `
|
||||
<div class="form-control" style="display:none">
|
||||
<input id="input-${translation_key}" type="text" placeholder="" class="input input-sm input-bordered" value="${value}" />
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static NumberField(mandatory, translation_key, value, field_class = "", readonly = false, includeLabel = true){
|
||||
let validateClass = "";
|
||||
let disabled = "";
|
||||
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation"
|
||||
}
|
||||
if(field_class != ""){
|
||||
field_class = " " + field_class;
|
||||
}
|
||||
if(readonly){
|
||||
disabled = " disabled";
|
||||
}
|
||||
|
||||
|
||||
let disabledKeys = ["+", "." , "-", ","];
|
||||
let step = "1";
|
||||
|
||||
let onkeydownkeyCodes = "";
|
||||
for(var i=0; i < disabledKeys.length;i++){
|
||||
onkeydownkeyCodes += (onkeydownkeyCodes == "" ? "" : " || " ) + "event.key==='"+disabledKeys[i]+"'";
|
||||
}
|
||||
|
||||
|
||||
if(includeLabel){
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<input id="input-${translation_key}" type="number" onpaste="return false;" onkeydown="if(${onkeydownkeyCodes}){event.preventDefault();}" placeholder="" class="input input-sm input-bordered ${validateClass} ${field_class}" value="${value}" ${disabled}/>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
else{
|
||||
return `
|
||||
<div class="form-control">
|
||||
<input id="input-${translation_key}" type="number" onpaste="return false;" onkeydown="if(${onkeydownkeyCodes}){event.preventDefault();}" placeholder="" class="input input-sm input-bordered ${validateClass} ${field_class}" value="${value}" ${disabled}/>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static Float(mandatory, translation_key, value){
|
||||
let validateClass = "";
|
||||
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation"
|
||||
}
|
||||
|
||||
let disabledKeys = ["+", "-", ","];
|
||||
let step = "1";
|
||||
|
||||
let onkeydownkeyCodes = "";
|
||||
for(var i=0; i < disabledKeys.length;i++){
|
||||
onkeydownkeyCodes += (onkeydownkeyCodes == "" ? "" : " || " ) + "event.key==='"+disabledKeys[i]+"'";
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<input id="input-${translation_key}" type="number" onpaste="return false;" onkeydown="if(${onkeydownkeyCodes}){event.preventDefault();}" placeholder="" class="input input-sm input-bordered ${validateClass}" value="${value}" />
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static TextAreaGrow(){
|
||||
Array.from(document.querySelectorAll(".ta-autogrow")).forEach(function(ta){
|
||||
ta.style.height='auto';
|
||||
ta.style.height = (ta.scrollHeight + 2) + 'px';
|
||||
});
|
||||
}
|
||||
|
||||
static TextArea(mandatory, translation_key, value, autogrow = false, rows = 3){
|
||||
let validateClass = "";
|
||||
let onInput = "";
|
||||
let autoGrowClass = "";
|
||||
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation"
|
||||
}
|
||||
|
||||
|
||||
if(autogrow){
|
||||
onInput = `onInput="this.style.height='auto'; this.style.height = (this.scrollHeight + 2) + 'px';"`;
|
||||
autoGrowClass = " ta-autogrow";
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<textarea rows="${rows}" id="input-${translation_key}" type="text" placeholder="" ${onInput} class="textarea textarea-sm textarea-bordered ${validateClass}${autoGrowClass}" >${value}</textarea>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static DateField(mandatory, translation_key, value){
|
||||
let validateClass = "";
|
||||
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation"
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<input id="input-${translation_key}" type="date" placeholder=""class="input input-sm input-bordered ${validateClass}" value="${value}" />
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static Combobox(mandatory, translation_key, value, options, field_class){
|
||||
let validateClass = "";
|
||||
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation";
|
||||
}
|
||||
|
||||
if(field_class != ""){
|
||||
field_class = " " + field_class;
|
||||
}
|
||||
|
||||
|
||||
let optionsHtml = ``;
|
||||
for(let i=0; i<options.length; i++){
|
||||
let selected = "";
|
||||
if(options[i].id == value){
|
||||
selected = " selected";
|
||||
}
|
||||
|
||||
optionsHtml += `<option value="${options[i].id}" ${selected}>${options[i].name}</option>`;
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<select id="input-${translation_key}" class="select select-sm select-bordered ${validateClass} ${field_class}" value="${value}">
|
||||
${optionsHtml}
|
||||
</select>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static refillFilesDropDown(element, data){
|
||||
data = data.data
|
||||
|
||||
let filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
,{"id":-2, "name":getTranslation("new_file"), "show_extra_field":true}
|
||||
];
|
||||
|
||||
if(sync.isActive("files")){
|
||||
filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
];
|
||||
}
|
||||
|
||||
data = [...filesOptions, ...data];
|
||||
|
||||
|
||||
let parentDiv = element.parentElement;
|
||||
|
||||
let buttonLabel = "...";
|
||||
let mandatory = element.getAttribute("data-mandatory") == "true";
|
||||
let translation_key = element.getAttribute("data-translationkey");
|
||||
|
||||
let li = parentDiv.getElementsByTagName("li");
|
||||
|
||||
while (li[0]){
|
||||
parentDiv.removeChild(li[0])
|
||||
}
|
||||
|
||||
|
||||
for(let i=0; i<data.length; i++){
|
||||
let selected = "";
|
||||
if(data[i].id == -1){
|
||||
buttonLabel = data[i].name;
|
||||
selected = " active"
|
||||
}
|
||||
|
||||
let el = document.createElement("li");
|
||||
el.setAttribute("data-validate", mandatory);
|
||||
el.setAttribute("parentId", `input-${translation_key}`);
|
||||
el.setAttribute("value", data[i].id);
|
||||
el.setAttribute("show-childtext", data[i].show_extra_field ?? "false");
|
||||
el.innerHTML = `<a class="${selected}">${data[i].name}</a>`;
|
||||
|
||||
el.onclick = function(){
|
||||
if(!this.classList.contains("active")){
|
||||
Array.from(this.parentElement.querySelectorAll(".active")).forEach(function(itm){
|
||||
itm.classList.remove("active");
|
||||
});
|
||||
|
||||
Array.from(this.getElementsByTagName("a")).forEach(function(itm){
|
||||
itm.classList.add("active");
|
||||
});
|
||||
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").value = "";
|
||||
document.getElementById(this.getAttribute("parentId") + "-button").innerText = this.innerText;
|
||||
document.getElementById(this.getAttribute("parentId") + "-dropdown").blur();
|
||||
document.getElementById(this.getAttribute("parentId")).value = this.getAttribute("value");
|
||||
|
||||
if(this.getAttribute("show-childtext") == "true"){
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").style.display = "";
|
||||
if(this.getAttribute("data-validate") == "true"){
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").classList.add("needs-validation");
|
||||
}
|
||||
}
|
||||
else{
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").style.display = "none";
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").classList.remove("needs-validation");
|
||||
}
|
||||
}
|
||||
Form.validate();
|
||||
}
|
||||
|
||||
|
||||
parentDiv.appendChild(el)
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
static initSearchComboboxes(){
|
||||
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".filterablecombobox-search")).forEach(function(item){
|
||||
item.onkeyup = function(){
|
||||
globalFileSearcher.startTimer(500, this)
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".filterablecombobox")).forEach(function(item){
|
||||
//get children
|
||||
let childs = item.getElementsByTagName("li");
|
||||
for(let i=0; i<childs.length; i++){
|
||||
childs[i].onclick = function(){
|
||||
if(!this.classList.contains("active")){
|
||||
Array.from(this.parentElement.querySelectorAll(".active")).forEach(function(itm){
|
||||
itm.classList.remove("active");
|
||||
});
|
||||
|
||||
Array.from(this.getElementsByTagName("a")).forEach(function(itm){
|
||||
itm.classList.add("active");
|
||||
});
|
||||
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").value = "";
|
||||
document.getElementById(this.getAttribute("parentId") + "-button").innerText = this.innerText;
|
||||
document.getElementById(this.getAttribute("parentId") + "-dropdown").blur();
|
||||
document.getElementById(this.getAttribute("parentId")).value = this.getAttribute("value");
|
||||
|
||||
if(this.getAttribute("show-childtext") == "true"){
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").style.display = "";
|
||||
if(this.getAttribute("data-validate") == "true"){
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").classList.add("needs-validation");
|
||||
}
|
||||
}
|
||||
else{
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").style.display = "none";
|
||||
document.getElementById(this.getAttribute("parentId") + "-new-name").classList.remove("needs-validation");
|
||||
}
|
||||
}
|
||||
Form.validate();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
static SearchCombobox(mandatory, translation_key, value, options, database_id){
|
||||
let validateClass = "";
|
||||
|
||||
if(mandatory){
|
||||
validateClass = " needs-validation";
|
||||
}
|
||||
let optionsHtml = ``;
|
||||
let buttonLabel = "..."
|
||||
|
||||
let activeFound = false;
|
||||
|
||||
for(let i=0; i<options.length; i++){
|
||||
let selected = "";
|
||||
|
||||
if(options[i].id == value){
|
||||
buttonLabel = options[i].name;
|
||||
selected = " active"
|
||||
activeFound = true;
|
||||
|
||||
|
||||
}
|
||||
optionsHtml += `<li data-validate="${mandatory}" parentId="input-${translation_key}" value="${options[i].id}" show-childtext="${options[i].show_extra_field ?? "false"}"><a class="${selected}">${options[i].name}</a></li>`;
|
||||
}
|
||||
|
||||
|
||||
return `
|
||||
<div class="form-control">
|
||||
<label class="label">
|
||||
<span class="label-text">${getTranslation(translation_key)}</span>
|
||||
</label>
|
||||
<div class="dropdown" >
|
||||
<button tabindex="0" class="select select-sm select-bordered w-full filterabledropdownbutton" id="input-${translation_key}-button">${buttonLabel}</button>
|
||||
|
||||
|
||||
<ul tabindex="0" id="input-${translation_key}-dropdown" class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52 filterablecombobox">
|
||||
<input type="text" class="input input-sm input-bordered filterablecombobox-search" data-parentid = "${database_id}" data-mandatory="${mandatory}" data-translationkey="${translation_key}" placeholder="Search..">
|
||||
${optionsHtml}
|
||||
</ul>
|
||||
</div>
|
||||
<input type="text" style="display:none" class="input input-sm input-bordered" id="input-${translation_key}-new-name">
|
||||
<input type="text" style="display:none" class="input input-sm input-bordered input-searchableDropDown ${validateClass}" id="input-${translation_key}" value="${value}" >
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static Divier(text = ""){
|
||||
return `
|
||||
<div class="divider">${text}</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
static validate(){
|
||||
if(document.getElementById("input-save-button")){
|
||||
let valid = true;
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".needs-validation")).forEach(function(el){
|
||||
if(el.value.trim() === ""){
|
||||
valid = false;
|
||||
if(!el.classList.contains("text-pink-600")){
|
||||
el.classList.add("text-pink-600");
|
||||
el.classList.add("border-pink-500");
|
||||
}
|
||||
}
|
||||
else{
|
||||
if(el.classList.contains("text-pink-600")){
|
||||
el.classList.remove("text-pink-600");
|
||||
el.classList.remove("border-pink-500");
|
||||
}
|
||||
}
|
||||
});
|
||||
document.getElementById("input-save-button").disabled = !valid;
|
||||
}
|
||||
}
|
||||
|
||||
static initValidation(){
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("input")).forEach(function(el){
|
||||
if(!el.classList.contains("filterablecombobox-search")){
|
||||
el.onkeyup = function(){
|
||||
if(el.classList.contains("lawbook_laws_calc_penalty")){
|
||||
FileEntry.ValidateAndCalcLawBookLaws();
|
||||
}
|
||||
else{
|
||||
Form.validate();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("input")).forEach(function(el){
|
||||
el.onchange = function(){
|
||||
Form.validate();
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("textarea")).forEach(function(el){
|
||||
el.onkeyup = function(){
|
||||
Form.validate();
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("select")).forEach(function(el){
|
||||
el.onchange = function(){
|
||||
|
||||
if(el.classList.contains("police_fileentry_type_of_entry")){
|
||||
FileEntry.ToggleLawBooks();
|
||||
}
|
||||
else{
|
||||
Form.validate();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
static getFormData(){
|
||||
let retval = {};
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("input")).forEach(function(el){
|
||||
if(!el.classList.contains("filterablecombobox-search")){
|
||||
let key = el.id.replace("input-","");
|
||||
|
||||
if(el.type != "checkbox"){
|
||||
retval[key] = el.value;
|
||||
}
|
||||
else{
|
||||
retval[key] = el.checked ? 1 : 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("textarea")).forEach(function(el){
|
||||
let key = el.id.replace("input-","");
|
||||
retval[key] = el.value;
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("onchange")).forEach(function(el){
|
||||
let key = el.id.replace("input-","");
|
||||
retval[key] = el.value;
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("select")).forEach(function(el){
|
||||
let key = el.id.replace("input-","");
|
||||
retval[key] = el.value;
|
||||
});
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static disableAll(){
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("input")).forEach(function(el){
|
||||
if(!el.classList.contains("ignore-readonly")){
|
||||
el.readOnly = true;
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("textarea")).forEach(function(el){
|
||||
if(!el.classList.contains("ignore-readonly")){
|
||||
el.readOnly = true;
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll("select")).forEach(function(el){
|
||||
if(!el.classList.contains("ignore-readonly")){
|
||||
el.disabled = true;
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".filterabledropdownbutton")).forEach(function(el){
|
||||
if(!el.classList.contains("ignore-readonly")){
|
||||
el.disabled = true;
|
||||
el.readOnly = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
static cancelButton(source, destination, destination_id){
|
||||
return `<button id="input-cancel-button" data-destination="${destination}" data-destination-id="${destination_id}" class="btn btn-error btn-sm">${getTranslation("cancel")}</button>`;
|
||||
}
|
||||
static saveButton(source, destination, uid, destination_id){
|
||||
return `<button id="input-save-button" class="btn btn-primary btn-sm" data-destination="${destination}" data-destination-id="${destination_id}" data-uid="${uid}" data-source="${source}" disabled>${getTranslation("save")}</button>`;
|
||||
}
|
||||
|
||||
static initSaveButtons(){
|
||||
document.getElementById("input-cancel-button").onclick = function(){
|
||||
loadData(
|
||||
this.getAttribute("data-destination"),
|
||||
this.getAttribute("data-destination-id"),
|
||||
true
|
||||
)
|
||||
}
|
||||
document.getElementById("input-save-button").onclick = function(){
|
||||
saveData(
|
||||
this.getAttribute("data-source"),
|
||||
this.getAttribute("data-destination"),
|
||||
this.getAttribute("data-uid"),
|
||||
this.getAttribute("data-destination-id")
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
static initViewModeTopButtons(){
|
||||
if(document.getElementById("input-back-button")){
|
||||
document.getElementById("input-back-button").onclick=function(){
|
||||
loadPage(this.getAttribute("data-destination"), this.getAttribute("data-destinationId"), "true");
|
||||
}
|
||||
}
|
||||
if(document.getElementById("input-edit-button")){
|
||||
document.getElementById("input-edit-button").onclick=function(){
|
||||
loadPage(this.getAttribute("data-destination"), this.getAttribute("data-destinationId"));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static BackEditBtn(backDestination, editDest, editId, allowEditButton, backDestinationId = -1 ){
|
||||
let editBtn = ``;
|
||||
if(allowEditButton){
|
||||
editBtn = `<button id="input-edit-button" data-destination="${editDest}" data-destinationId="${editId}" class="btn btn-sm btn-warning">${getTranslation("edit")}</button>`;
|
||||
}
|
||||
return `
|
||||
<div class="text-xl font-semibold inline-block mb-6">
|
||||
<button id="input-back-button" data-destination="${backDestination}" data-destinationId="${backDestinationId}" class="btn btn-sm btn-error"><i class="fa-solid fa-arrow-left"></i></button>
|
||||
${editBtn}
|
||||
</div>
|
||||
`;
|
||||
|
||||
}
|
||||
|
||||
static getViewButtonIcon(recordid, destination){
|
||||
return `
|
||||
<button class="btn btn-sm btn-accent table-viewbutton" data-id="${recordid}" data-destination="${destination}">
|
||||
<i class="fa-solid fa-circle-info"></i>
|
||||
</button>
|
||||
`;
|
||||
}
|
||||
|
||||
static getIsWantedButton(recordid, destination, isWanted){
|
||||
|
||||
let disabled = isWanted ? " disabled" : ""
|
||||
|
||||
return `
|
||||
<button class="btn btn-sm btn-secondary table-iswantedbutton" data-id="${recordid}" data-destination="${destination}" ${disabled}>
|
||||
<i class="fa-solid fa-handcuffs"></i>
|
||||
</button>
|
||||
`;
|
||||
}
|
||||
|
||||
static getEditButtonIcon(recordid, destination, allowButton=true){
|
||||
if(!allowButton){
|
||||
return "";
|
||||
}
|
||||
|
||||
return `
|
||||
<button class="btn btn-sm btn-warning table-editbutton" data-id="${recordid}" data-destination="${destination}">
|
||||
<i class="fa-solid fa-pen-to-square"></i>
|
||||
</button>
|
||||
`;
|
||||
}
|
||||
|
||||
static getDeleteButtonIcon(recordid, delete_destination , allowButton=true){
|
||||
if(!allowButton){
|
||||
return ``;
|
||||
}
|
||||
return `
|
||||
<button class="btn btn-sm btn-error table-deletebutton" data-deleteDestination="${delete_destination}" data-id="${recordid}">
|
||||
<i class="fa-solid fa-trash-can"></i>
|
||||
</button>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
static overviewHeadline(destination, inclSearch = true, allowAddNew = true){
|
||||
let search = "";
|
||||
if(inclSearch){
|
||||
|
||||
let addBtn = "";
|
||||
if(allowAddNew){
|
||||
addBtn = `<button class="btn px-6 btn-sm normal-case btn-primary table-addbutton mr-1" data-destination="${destination}"><i class="fa-solid fa-circle-plus"></i></button>`;
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<div class="input-group">
|
||||
${addBtn}
|
||||
<input id="global-searchbar" type="text" placeholder="${getTranslation("search")}" class="input input-sm input-bordered w-72 mr-1" value="${document.body.getAttribute("data-quicksearch") ?? ""}" />
|
||||
<button id="global-searchbar-start" class="btn btn-sm btn-square">
|
||||
<i class="fa-solid fa-magnifying-glass"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
else{
|
||||
if(allowAddNew){
|
||||
return `
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
||||
<div class="text-left">
|
||||
<button class="btn px-6 btn-sm normal-case btn-primary table-addbutton" data-destination="${destination}"><i class="fa-solid fa-circle-plus"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
else{
|
||||
return ``;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
static getPageChanger(curPage, maxPage){
|
||||
curPage = curPage + 1;
|
||||
let nextDisabled = "";
|
||||
let prevDisabled = "";
|
||||
if(curPage == 1){
|
||||
prevDisabled = " disabled";
|
||||
}
|
||||
if(curPage >= maxPage){
|
||||
nextDisabled = " disabled";
|
||||
}
|
||||
|
||||
|
||||
document.body.setAttribute("data-cur-pageNum", curPage);
|
||||
|
||||
return `
|
||||
<div class="btn-group">
|
||||
<button id="global-previous-page" class="btn btn-primary btn-sm" ${prevDisabled}>«</button>
|
||||
<button class="btn btn-ghost btn-sm" data-currentpage="${curPage}" id="global-page-current">${curPage}</button>
|
||||
<button id="global-next-page" class="btn btn-primary btn-sm" ${nextDisabled}>»</button>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static initPageChange(){
|
||||
if(document.getElementById("global-previous-page")){
|
||||
document.getElementById("global-previous-page").onclick=function(){
|
||||
let curpage = document.body.getAttribute("data-cur-pageNum");
|
||||
curpage = 1*curpage;
|
||||
let destPage = curpage-1;
|
||||
document.body.setAttribute("data-cur-pageNum", destPage);
|
||||
reload();
|
||||
}
|
||||
}
|
||||
|
||||
if(document.getElementById("global-next-page")){
|
||||
document.getElementById("global-next-page").onclick=function(){
|
||||
let curpage = document.body.getAttribute("data-cur-pageNum");
|
||||
curpage = 1*curpage;
|
||||
let destPage = curpage+1;
|
||||
|
||||
document.body.setAttribute("data-cur-pageNum", destPage);
|
||||
|
||||
reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static openDeleteModal(id, source){
|
||||
|
||||
document.getElementById("delete-modal-title").innerHTML = getTranslation("delete");
|
||||
document.getElementById("delete-modal-message").innerHTML = getTranslation("delete_message");
|
||||
document.getElementById("delete-modal-cancel").innerHTML = getTranslation("cancel");
|
||||
document.getElementById("delete-modal-delete").innerHTML = getTranslation("delete");
|
||||
|
||||
document.getElementById("delete-modal").setAttribute("data-id", id);
|
||||
document.getElementById("delete-modal").setAttribute("data-delete-destination", source);
|
||||
document.getElementById("delete-modal").checked = true;
|
||||
}
|
||||
|
||||
|
||||
static initTableButtons(){
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".table-deletebutton")).forEach(function(el){
|
||||
el.onclick = function(){
|
||||
Form.openDeleteModal(this.getAttribute("data-id"), this.getAttribute("data-deleteDestination"));
|
||||
}
|
||||
});
|
||||
|
||||
if(document.getElementById("global-searchbar")){
|
||||
document.getElementById("global-searchbar").focus();
|
||||
document.getElementById("global-searchbar").setSelectionRange(document.getElementById("global-searchbar").value.length, document.getElementById("global-searchbar").value.length);
|
||||
|
||||
document.getElementById("global-searchbar").onkeyup = function(e){
|
||||
if(e.key.toLowerCase() == "enter"){
|
||||
resetPageNum();
|
||||
reload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(document.getElementById("global-searchbar-start")){
|
||||
document.getElementById("global-searchbar-start").onclick=function(){
|
||||
resetPageNum();
|
||||
reload();
|
||||
}
|
||||
}
|
||||
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".table-addbutton")).forEach(function(el){
|
||||
el.onclick = function(){
|
||||
loadPage(this.getAttribute("data-destination"), -1);
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".table-editbutton")).forEach(function(el){
|
||||
el.onclick = function(){
|
||||
loadPage(this.getAttribute("data-destination"), this.getAttribute("data-id"));
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".table-viewbutton")).forEach(function(el){
|
||||
el.onclick = function(){
|
||||
loadPage(this.getAttribute("data-destination"), this.getAttribute("data-id"));
|
||||
}
|
||||
});
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".table-iswantedbutton")).forEach(function(el){
|
||||
el.onclick = function(){
|
||||
|
||||
|
||||
let fromObj = this.getAttribute("data-destination").toLowerCase();
|
||||
let fromId = this.getAttribute("data-id");
|
||||
|
||||
if(fromObj == "regvehicle" || fromObj == "regvehicleimpounded"){
|
||||
changeDataInColumn(fromObj, "is_wanted", fromId, 1, true);
|
||||
}
|
||||
else if(fromObj == "regweapons"){
|
||||
changeDataInColumn(fromObj, "is_wanted", fromId, 1, true);
|
||||
}
|
||||
else if(fromObj == "files"){
|
||||
loadPage('fileentry.add',fromId,'true')
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
78
resources/[jobs]/[mdt]/myEmergency/html/js/classes/menu.js
Normal file
78
resources/[jobs]/[mdt]/myEmergency/html/js/classes/menu.js
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
class NavMenu{
|
||||
|
||||
constructor(navigation, cursystem){
|
||||
this.navid = "main_navigation";
|
||||
|
||||
let navEl = document.getElementById(this.navid);
|
||||
|
||||
Array.from(navEl.getElementsByTagName("li")).forEach(function(itm){
|
||||
if(!itm.classList.contains("noremoveonrebuild")){
|
||||
itm.remove();
|
||||
}
|
||||
|
||||
});
|
||||
Array.from(navEl.querySelectorAll(".divider")).forEach(function(itm){
|
||||
itm.remove();
|
||||
});
|
||||
|
||||
if(!navigation[cursystem]){
|
||||
cursystem = "default";
|
||||
}
|
||||
|
||||
if(navigation[cursystem]){
|
||||
|
||||
navigation = navigation[cursystem]
|
||||
Object.keys(navigation).forEach(key=>{
|
||||
|
||||
if(key !== "none"){
|
||||
navEl.innerHTML+=`<div class="divider no-translation nav-checkfor-nextelements mt-1 mb-1" data-tkey="${key}">{{${key}}}</div>`
|
||||
}
|
||||
|
||||
Object.keys(navigation[key]).forEach(subKey=>{
|
||||
let skeyname = navigation[key][subKey].key;
|
||||
let destination = navigation[key][subKey].destination;
|
||||
let forceReload = navigation[key][subKey].forceReload;
|
||||
navEl.innerHTML+=`
|
||||
<li id="menuItem-li-${skeyname}" class="nav-checkrights divier-${key}" data-rightkey="${navigation[key][subKey].rightkey ?? ""}">
|
||||
<a id="menuitem-${skeyname}" class="font-normal no-translation is-navigation-link" data-iconclasses="${navigation[key][subKey].img}" data-tkey="${destination}" data-destination="${destination}", data-forceReload="${forceReload}">
|
||||
<i class="${navigation[key][subKey].img}"></i>
|
||||
{{${skeyname}}}
|
||||
</a>
|
||||
</li>
|
||||
`;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Array.from(document.getElementById(this.navid).querySelectorAll(".is-navigation-link")).forEach(function(item){
|
||||
|
||||
item.onclick=function(){
|
||||
handleMenuItemClick(this);
|
||||
}
|
||||
});
|
||||
|
||||
Array.from(document.getElementById(this.navid).querySelectorAll(".no-translation")).forEach(function(item){
|
||||
let icon = "";
|
||||
if(item.getAttribute("data-iconclasses") !== null){
|
||||
icon = `<i class="${item.getAttribute("data-iconclasses")}"></i> `;
|
||||
}
|
||||
|
||||
item.innerHTML = icon + Translations[locale][item.getAttribute("data-tkey")];
|
||||
item.classList.remove("no-translation");
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
setItemActive(item){
|
||||
Array.from(document.getElementById(this.navid).querySelectorAll(".bordered")).forEach(function(currentitem){
|
||||
currentitem.classList.remove("bordered");
|
||||
});
|
||||
item.parentElement.classList.add("bordered");
|
||||
|
||||
setCurrentPageHeadLine(item.innerText);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
class RadioHud{
|
||||
constructor(){
|
||||
this.DefaultMargin = 1.5;
|
||||
}
|
||||
|
||||
SetLocation(value){
|
||||
this.location = value;
|
||||
if(value.vertical == "left"){
|
||||
document.getElementById("radiostates").style.left = 0;
|
||||
}
|
||||
else if(value.vertical == "middle"){
|
||||
document.getElementById("radiostates").style.right = 0;
|
||||
document.getElementById("radiostates").style.left = 0;
|
||||
document.getElementById("radiostates").style.marginLeft = "auto";
|
||||
document.getElementById("radiostates").style.marginRight = "auto";
|
||||
}
|
||||
else{
|
||||
document.getElementById("radiostates").style.right = 0;
|
||||
}
|
||||
|
||||
if(value.horizontal == "top"){
|
||||
document.getElementById("radiostates").style.top = 0;
|
||||
}
|
||||
else if(value.horizontal == "middle"){
|
||||
document.getElementById("radiostates").style.top = 0;
|
||||
document.getElementById("radiostates").style.bottom = 0;
|
||||
document.getElementById("radiostates").style.marginTop = "auto";
|
||||
document.getElementById("radiostates").style.marginBottom = "auto";
|
||||
}
|
||||
else{
|
||||
document.getElementById("radiostates").style.bottom = 0;
|
||||
}
|
||||
}
|
||||
|
||||
SetExtraMargins(value){
|
||||
if(this.location.vertical != "middle"){
|
||||
document.getElementById("radiostates").style.marginLeft = value.left + this.DefaultMargin + "%";
|
||||
document.getElementById("radiostates").style.marginRight = value.right + this.DefaultMargin + "%";
|
||||
}
|
||||
if(this.location.horizontal != "middle"){
|
||||
document.getElementById("radiostates").style.marginTop = value.top + this.DefaultMargin + "%";
|
||||
document.getElementById("radiostates").style.marginBottom = value.bottom + this.DefaultMargin + "%";
|
||||
}
|
||||
}
|
||||
|
||||
DrawInfo(radioDetails){
|
||||
document.getElementById("radiostates_info").innerHTML = `
|
||||
<table class="text-white">
|
||||
<tr>
|
||||
<td>
|
||||
<i class="fa-solid fa-car-on pr-1"></i>
|
||||
</td>
|
||||
<td>
|
||||
${radioDetails.vehicle ?? ""}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<i class="fa-solid fa-tower-broadcast pr-1"></i>
|
||||
</td>
|
||||
<td>
|
||||
${radioDetails.radio ?? radioDetails.radio_default}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
DrawButtons(radiostates, current_id, default_state){
|
||||
let buttons = ``;
|
||||
|
||||
if(current_id != -1){
|
||||
buttons += `<button onclick="SetRadioStateShortcut(-1)" class="btn btn-block btn-sm btn-primary my-1">${default_state}</button>`;
|
||||
}
|
||||
|
||||
if(radiostates.length > 0){
|
||||
radiostates.forEach(function(element){
|
||||
if(current_id != element.id){
|
||||
let bgcolor = element.color;
|
||||
let FgColor = System.GetFgColorByBgColor(bgcolor);
|
||||
|
||||
buttons += `<button onclick="SetRadioStateShortcut(${element.id})" class="btn btn-block btn-sm my-1" style="background-color:${bgcolor}; color:${FgColor}">${element.short_name}</button>`;
|
||||
}
|
||||
});
|
||||
}
|
||||
document.getElementById("radiostates_actions").innerHTML = buttons;
|
||||
}
|
||||
|
||||
}
|
||||
20
resources/[jobs]/[mdt]/myEmergency/html/js/classes/rights.js
Normal file
20
resources/[jobs]/[mdt]/myEmergency/html/js/classes/rights.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
class Rights{
|
||||
constructor(rights){
|
||||
this.fullright = "*"
|
||||
this.rights = rights;
|
||||
}
|
||||
|
||||
has(right_key){
|
||||
let retval = false;
|
||||
|
||||
if(this.rights[right_key] !== undefined){
|
||||
retval = this.rights[right_key];
|
||||
}
|
||||
|
||||
if(!retval && this.rights["*"] !== undefined){
|
||||
retval = this.rights["*"]
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
22
resources/[jobs]/[mdt]/myEmergency/html/js/classes/sync.js
Normal file
22
resources/[jobs]/[mdt]/myEmergency/html/js/classes/sync.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
class Sync{
|
||||
constructor(syncData){
|
||||
this.sync = {}
|
||||
|
||||
this.sync.licenses = syncData.LicensesSync
|
||||
|
||||
if(syncData.MainSync.active){
|
||||
this.sync.files = syncData.MainSync.types.Users
|
||||
this.sync.files_licenses = syncData.MainSync.types.Users && syncData.MainSync.types.UserLicenses
|
||||
this.sync.regvehicle = syncData.MainSync.types.Vehicles
|
||||
}
|
||||
}
|
||||
|
||||
isActive(key){
|
||||
let retval = false;
|
||||
|
||||
if(this.sync[key] !== undefined){
|
||||
retval = this.sync[key];
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
85
resources/[jobs]/[mdt]/myEmergency/html/js/conf/nav.js
Normal file
85
resources/[jobs]/[mdt]/myEmergency/html/js/conf/nav.js
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
const navigation = {
|
||||
"police" : {
|
||||
"none":[
|
||||
{key:"dashboard", img:"fa-solid fa-chart-line","destination":"dashboard.dataload", "forceReload":true, "rightkey" :null },
|
||||
{key:"notes", img:"fa-solid fa-circle-info","destination":"notes.dataload", "forceReload":true, "rightkey" :null }
|
||||
],
|
||||
"files":[
|
||||
{key:"files", img:"fa-regular fa-file", "destination":"files.overview", "forceReload":true, "rightkey" :"files.view"},
|
||||
{key:"criminalcomplaint", img:"fa-regular fa-file", "destination":"criminalcomplaint.overview", "forceReload":true, "rightkey" :"criminalcomplaint.view"},
|
||||
{key:"manhunt", img:"fa-solid fa-magnifying-glass", "destination":"manhunt.dataload", "forceReload":true, "rightkey" :"manhunt.view"},
|
||||
{key:"regvehicle", img:"fa-solid fa-car","destination":"regvehicle.overview", "forceReload":true, "rightkey" :"regvehicles.view"},
|
||||
{key:"regvehicleimpounded", img:"fa-solid fa-car","destination":"regvehicleimpounded.overview", "forceReload":true, "rightkey" :"regvehicles.view"},
|
||||
{key:"regweapons", img:"fa-solid fa-gun","destination":"regweapons.overview", "forceReload":true, "rightkey" :"regweapons.view"},
|
||||
{key:"evidencerooms", img:"fa-solid fa-box-archive","destination":"evidencerooms.dataload", "forceReload":true, "rightkey" :"evidencerooms.view"},
|
||||
{key:"prison", img:"fa-solid fa-handcuffs","destination":"prison.overview", "forceReload":true, "rightkey" :"prison.view"},
|
||||
{key:"sharedfiles", img:"fa-solid fa-share-nodes","destination":"sharedfiles.overview", "forceReload":true, "rightkey" :"sharedfiles.view"},
|
||||
],
|
||||
"speedcams":[
|
||||
{key:"speedcamsmobile", img:"fa-solid fa-camera","destination":"speedcamsmobile.overview", "forceReload":true, "rightkey" :"speedcams.view"},
|
||||
{key:"speedcamsprofit", img:"fa-solid fa-hand-holding-dollar","destination":"speedcamsprofit.overview", "forceReload":true, "rightkey" :"speedcamsprofit.view"},
|
||||
],
|
||||
"employees":[
|
||||
{key:"employees", img:"fa-solid fa-people-group","destination":"employees.overview", "forceReload":true, "rightkey" :"employees.view"},
|
||||
{key:"trainings", img:"fa-solid fa-graduation-cap","destination":"trainings.overview", "forceReload":true, "rightkey" :"trainings.view"},
|
||||
{key:"missionreport", img:"fa-solid fa-file-lines","destination":"missionreport.overview", "forceReload":true, "rightkey" :"missionreport.view"},
|
||||
],
|
||||
"administration":[
|
||||
{key:"lawbooks", img:"fa-solid fa-section","destination":"lawbooks.dataload", "forceReload":true, "rightkey" :"lawbooks.view"},
|
||||
{key:"investigation", img:"fa-solid fa-book-atlas", "destination":"investigation.overview", "forceReload":true, "rightkey" :"investigation.view"},
|
||||
],
|
||||
"radiotraffic":[
|
||||
{key:"radiostate", img:"fa-solid fa-tower-broadcast","destination":"radiostate.overview", "forceReload":true, "rightkey" :null},
|
||||
{key:"emergencyvehicle", img:"fa-solid fa-car-on","destination":"emergencyvehicle.overview", "forceReload":true, "rightkey" :null},
|
||||
{key:"controlcentre", "img":"fa-solid fa-building-flag", "destination":"controlcentre.dataload", "forceReload":true, "rightkey" :"controlcentre.view"},
|
||||
],
|
||||
"system":[
|
||||
{key:"licenses", img:"fa-solid fa-id-card","destination":"licenses.overview", "forceReload":true, "rightkey" :"licenses.view"},
|
||||
{key:"rankmanagement", img:"fa-solid fa-user-group","destination":"rankmanagement.dataload", "forceReload":true, "rightkey" :"isboss"},
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
,"medic":{
|
||||
"none":[
|
||||
{key:"dashboard", img:"fa-solid fa-chart-line","destination":"dashboard.dataload", "forceReload":true, "rightkey" :null },
|
||||
{key:"notes", img:"fa-solid fa-circle-info","destination":"notes.dataload", "forceReload":true, "rightkey" :null }
|
||||
],
|
||||
"files":[
|
||||
{key:"files", img:"fa-regular fa-file", "destination":"files.overview", "forceReload":true, "rightkey" :"files.view"},
|
||||
{key:"sharedfiles", img:"fa-solid fa-share-nodes","destination":"sharedfiles.overview", "forceReload":true, "rightkey" :"sharedfiles.view"},
|
||||
],
|
||||
"employees":[
|
||||
{key:"employees", img:"fa-solid fa-people-group","destination":"employees.overview", "forceReload":true, "rightkey" :"employees.view"},
|
||||
{key:"trainings", img:"fa-solid fa-graduation-cap","destination":"trainings.overview", "forceReload":true, "rightkey" :"trainings.view"},
|
||||
{key:"missionreport", img:"fa-solid fa-file-lines","destination":"missionreport.overview", "forceReload":true, "rightkey" :"missionreport.view"},
|
||||
],
|
||||
"radiotraffic":[
|
||||
{key:"radiostate", img:"fa-solid fa-tower-broadcast","destination":"radiostate.overview", "forceReload":true, "rightkey" :null},
|
||||
{key:"emergencyvehicle", img:"fa-solid fa-car-on","destination":"emergencyvehicle.overview", "forceReload":true, "rightkey" :null},
|
||||
{key:"controlcentre", "img":"fa-solid fa-building-flag", "destination":"controlcentre.dataload", "forceReload":true, "rightkey" :"controlcentre.view"},
|
||||
],
|
||||
"system":[
|
||||
{key:"licenses", img:"fa-solid fa-id-card","destination":"licenses.overview", "forceReload":true, "rightkey" :"licenses.view"},
|
||||
{key:"rankmanagement", img:"fa-solid fa-user-group","destination":"rankmanagement.dataload", "forceReload":true, "rightkey" :"isboss"},
|
||||
]
|
||||
}
|
||||
,"default":{
|
||||
"none":[
|
||||
{key:"dashboard", img:"fa-solid fa-chart-line","destination":"dashboard.dataload", "forceReload":true, "rightkey" :null }
|
||||
],
|
||||
"employees":[
|
||||
{key:"employees", img:"fa-solid fa-people-group","destination":"employees.overview", "forceReload":true, "rightkey" :"employees.view"},
|
||||
{key:"trainings", img:"fa-solid fa-graduation-cap","destination":"trainings.overview", "forceReload":true, "rightkey" :"trainings.view"},
|
||||
{key:"missionreport", img:"fa-solid fa-file-lines","destination":"missionreport.overview", "forceReload":true, "rightkey" :"missionreport.view"},
|
||||
],
|
||||
"radiotraffic":[
|
||||
{key:"radiostate", img:"fa-solid fa-tower-broadcast","destination":"radiostate.overview", "forceReload":true, "rightkey" :null},
|
||||
{key:"emergencyvehicle", img:"fa-solid fa-car-on","destination":"emergencyvehicle.overview", "forceReload":true, "rightkey" :null},
|
||||
{key:"controlcentre", "img":"fa-solid fa-building-flag", "destination":"controlcentre.dataload", "forceReload":true, "rightkey" :"controlcentre.view"},
|
||||
],
|
||||
"system":[
|
||||
{key:"rankmanagement", img:"fa-solid fa-user-group","destination":"rankmanagement.dataload", "forceReload":true, "rightkey" :"isboss"},
|
||||
]
|
||||
}
|
||||
};
|
||||
2114
resources/[jobs]/[mdt]/myEmergency/html/js/locale/translations.js
Normal file
2114
resources/[jobs]/[mdt]/myEmergency/html/js/locale/translations.js
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,79 @@
|
|||
class ControlCentre{
|
||||
constructor(){
|
||||
this.name = "controlcentre";
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static allowTake(){
|
||||
return userrights.has("controlcentre.take");
|
||||
}
|
||||
|
||||
static CreateCustom(data){
|
||||
let buttons = ``;
|
||||
|
||||
if(this.allowTake()){
|
||||
if(data.data.control_centre.is_taken){
|
||||
buttons = `<button onclick="takeControlCentre(true)" class="btn btn-sm btn-error">${getTranslation("current_control_centre_reset")}</button>`
|
||||
buttons += `<button onclick="takeControlCentre(false)" class="btn btn-sm btn-primary">${getTranslation("current_control_centre_take")}</button>`
|
||||
}
|
||||
else{
|
||||
buttons = `<button onclick="takeControlCentre(false)" class="btn btn-sm btn-primary">${getTranslation("current_control_centre_take")}</button>`
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML = `
|
||||
<div class="card w-full bg-info text-info-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${getTranslation("current_control_centre")}</h2>
|
||||
<p><strong>${data.data.control_centre.is_taken ? System.buildEmployeeName(data.data.control_centre.name) : getTranslation("no_control_centre") }</strong></p>
|
||||
<p></p>
|
||||
<div class="card-actions justify-start">
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML += `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("emergencyvehicle.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
${System.GetTable(ControlCentreEmergancyVehicles, data.data.emergency_vehicles)}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
document.getElementById("currentpage-content").innerHTML += `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("employees.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
${System.GetTable(ControlCentreEmployees, data.data.employees)}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
,"short_name": {
|
||||
"val" : data.short_name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
class ControlCentreEmergancyVehicles{
|
||||
constructor(){
|
||||
this.name = "controlcentreemployees";
|
||||
}
|
||||
|
||||
static allowEdit(){
|
||||
return userrights.has("controlcentre.take");
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["short_name","name","employees","radio_short_name","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
let FgColor = System.GetFgColorByBgColor(row["radio_color"]);
|
||||
|
||||
if(row["radio_color"] == ""){
|
||||
row["radio_color"] = "#FFFFFF";
|
||||
}
|
||||
|
||||
if(key == "id"){
|
||||
if(this.allowEdit()){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["radio_color"]}">
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="resetVehicle('${row["id"]}')">
|
||||
<i class="fa-solid fa-delete-left"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-sm btn-warning" onclick="loadPage('emergencyvehicleradio.edit','${row["id"]}')">
|
||||
<i class="fa-solid fa-tower-broadcast"></i>
|
||||
</button>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return ``;
|
||||
}
|
||||
}
|
||||
else if(key == "radio_short_name"){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["radio_color"]}">
|
||||
${row[key] == "" ? getTranslation("emergency_vehicles_no_radio") : row[key]}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "employees"){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["radio_color"]}">
|
||||
${System.buildEmployeeName(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else {
|
||||
return `<td style="color:${FgColor}; background:${row["radio_color"]}">${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
class ControlCentreEmployees{
|
||||
constructor(){
|
||||
this.name = "controlcentreemployees";
|
||||
}
|
||||
|
||||
static allowEdit(){
|
||||
return userrights.has("controlcentre.take");
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","radio_short_name","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
let FgColor = System.GetFgColorByBgColor(row["radio_color"]);
|
||||
|
||||
if(row["radio_color"] == ""){
|
||||
row["radio_color"] = "#FFFFFF";
|
||||
}
|
||||
|
||||
if(key == "id"){
|
||||
if(!this.allowEdit()){
|
||||
return `<td></td>`
|
||||
}
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["radio_color"]}">
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="resetEmployeeRadio('${row["id"]}')">
|
||||
<i class="fa-solid fa-delete-left"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-sm btn-warning" onclick="loadPage('employeevehicle.edit', '${row["id"]}')">
|
||||
<i class="fa-solid fa-car-on"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-sm btn-warning" onclick="loadPage('employeeradio.edit', '${row["id"]}')">
|
||||
<i class="fa-solid fa-tower-broadcast"></i>
|
||||
</button>
|
||||
</td>`;
|
||||
}
|
||||
|
||||
else if(key == "radio_short_name"){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["radio_color"]}">
|
||||
${row[key] == "" ? getTranslation("emergency_vehicles_no_radio") : row[key]}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "name"){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["radio_color"]}">
|
||||
${row["serviceno"] ?? System.getServiceNo(row.id)} - ${System.buildEmployeeName(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else {
|
||||
return `<td style="color:${FgColor}; background:${row["radio_color"]}">${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
class CriminalComplaint{
|
||||
constructor(){
|
||||
this.name = "criminalcomplaint";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("criminalcomplaint.edit")
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("criminalcomplaint.edit")
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("criminalcomplaint.delete")
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["charge_from","perpetrator","state","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "state"){
|
||||
|
||||
let complaint = System.GetComplaintByID(row[key]);
|
||||
|
||||
return `
|
||||
<td>
|
||||
<div class="badge font-bold ${complaint.color ?? ""}">${complaint.name ?? ""}</div>
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "charge_from" || key == "perpetrator"){
|
||||
|
||||
let val = row[key];
|
||||
if(val == ""){
|
||||
val = getTranslation("unknown");
|
||||
}
|
||||
|
||||
|
||||
return `
|
||||
<td>
|
||||
${val}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
|
||||
let filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
,{"id":-2, "name":getTranslation("new_file"), "show_extra_field":true}
|
||||
];
|
||||
|
||||
if(sync.isActive("files")){
|
||||
filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
];
|
||||
}
|
||||
|
||||
let perpetrators = [...filesOptions, ...data.extraData.perpetrators];
|
||||
let charge_froms = [...filesOptions, ...data.extraData.charge_froms];
|
||||
|
||||
return {
|
||||
"charge_from": {
|
||||
"val" : data.charge_from_id ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":true
|
||||
,options:charge_froms
|
||||
}
|
||||
,"perpetrator": {
|
||||
"val" : data.perpetrator_id ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":true
|
||||
,options:perpetrators
|
||||
}
|
||||
,"perpetrator_description":{
|
||||
"val" : data.perpetrator_description ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,autogrow: false
|
||||
,rows:3
|
||||
}
|
||||
,"state": {
|
||||
"val" : data.state ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,options:System.GetCompaintStateOptions()
|
||||
}
|
||||
,"act_of_crime":{
|
||||
"val" : data.act_of_crime ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: false
|
||||
,rows:3
|
||||
}
|
||||
,"notes":{
|
||||
"val" : data.notes ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: false
|
||||
,rows:3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
167
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Dashboard.js
Normal file
167
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Dashboard.js
Normal file
|
|
@ -0,0 +1,167 @@
|
|||
class Dashboard{
|
||||
constructor(){
|
||||
this.name = "dashboard";
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static CreateCustom(data){
|
||||
|
||||
let controlCenterBg = "";
|
||||
if(data.data.control_centre == ""){
|
||||
controlCenterBg = "error"
|
||||
data.data.control_centre = getTranslation("no_control_centre");
|
||||
}
|
||||
else{
|
||||
data.data.control_centre = System.buildEmployeeName(data.data.control_centre)
|
||||
}
|
||||
|
||||
let possibleStats = [];
|
||||
let stats = [];
|
||||
|
||||
|
||||
if(currentSystem == "police"){
|
||||
|
||||
|
||||
|
||||
let entries_per_file = 0;
|
||||
if(data.data.info[0].files > 0 && data.data.info[0].fileentry){
|
||||
entries_per_file = data.data.info[0].fileentry/data.data.info[0].files;
|
||||
}
|
||||
|
||||
|
||||
possibleStats = [
|
||||
[
|
||||
{name:"files.overview", navItem: "files", text : data.data.info[0].files, goto:"files.overview", "gotoAllowed":userrights.has("files.view")},
|
||||
{name:"fileentry.overview", navItem: "files", text : data.data.info[0].fileentry},
|
||||
{name:"avg_files_entry", navItem: "files", text : "Ø " + (entries_per_file).toFixed(2) },
|
||||
],
|
||||
[
|
||||
{name:"control_centre", navItem: "controlcentre", text : data.data.control_centre, bg:controlCenterBg, goto:"controlcentre.dataload", "gotoAllowed":userrights.has("controlcentre.view")},
|
||||
{name:"employees.overview", navItem: "employees", text : data.data.info[0].employees, goto:"employees.overview","gotoAllowed":userrights.has("employees.view")},
|
||||
{name:"count_employees_available", navItem: "employees", text : data.data.info[0].employees_available},
|
||||
],
|
||||
[
|
||||
{name:"regvehicle.overview", navItem: "regvehicle", text : data.data.info[0].regvehicle, goto:"regvehicle.overview","gotoAllowed":userrights.has("regvehicles.view")},
|
||||
{name:"regweapons.overview", navItem: "regweapons", forceHide: useWeaponRegister, text : data.data.info[0].regweapons, goto:"regweapons.overview","gotoAllowed":userrights.has("regweapons.view")},
|
||||
{name:"investigation.overview", navItem: "investigation", text : data.data.info[0].investigation, goto:"investigation.overview","gotoAllowed":userrights.has("investigation.view")},
|
||||
{name:"investigation.overview", navItem: "investigation", "nameextra":getTranslation("state_open"), text : data.data.info[0].investigation_open},
|
||||
],
|
||||
[
|
||||
{name:"active_manhunt", navItem: "manhunt", text : data.data.info[0].manhunt_files + data.data.info[0].manhunt_regvehicle + data.data.info[0].manhunt_regweapons, bg:"warning", goto: "manhunt.dataload","gotoAllowed":userrights.has("manhunt.view")},
|
||||
{name:"files.overview", navItem: "files", "nameextra":getTranslation("tag_is_wanted"), text : data.data.info[0].manhunt_files, bg:"warning", goto: "manhunt.dataload","gotoAllowed":userrights.has("manhunt.view")},
|
||||
{name:"regvehicle.overview", navItem: "regvehicle", "nameextra":getTranslation("tag_is_wanted"), text : data.data.info[0].manhunt_regvehicle, bg:"warning", goto: "manhunt.dataload","gotoAllowed":userrights.has("manhunt.view")},
|
||||
{name:"regweapons.overview", navItem: "regweapons", forceHide: useWeaponRegister, "nameextra":getTranslation("tag_is_wanted"), text : data.data.info[0].manhunt_regweapons, bg:"warning", goto: "manhunt.dataload","gotoAllowed":userrights.has("manhunt.view")},
|
||||
]
|
||||
];
|
||||
}
|
||||
else if(currentSystem == "medic"){
|
||||
let entries_per_file = 0;
|
||||
if(data.data.info[0].files > 0 && data.data.info[0].fileentry){
|
||||
entries_per_file = data.data.info[0].fileentry/data.data.info[0].files;
|
||||
}
|
||||
|
||||
possibleStats = [
|
||||
[
|
||||
{name:"files.overview", navItem: "files", text : data.data.info[0].files, goto:"files.overview", "gotoAllowed":userrights.has("files.view")},
|
||||
{name:"fileentry.overview", navItem: "files", text : data.data.info[0].fileentry},
|
||||
{name:"avg_files_entry", navItem: "files", text : "Ø " + (entries_per_file).toFixed(2) },
|
||||
],
|
||||
[
|
||||
{name:"control_centre", navItem: "controlcentre", text : data.data.control_centre, bg:controlCenterBg, goto:"controlcentre.dataload", "gotoAllowed":userrights.has("controlcentre.view")},
|
||||
{name:"employees.overview", navItem: "employees", text : data.data.info[0].employees, goto:"employees.overview","gotoAllowed":userrights.has("employees.view")},
|
||||
{name:"count_employees_available", navItem: "employees", text : data.data.info[0].employees_available},
|
||||
],
|
||||
];
|
||||
}
|
||||
else{
|
||||
possibleStats = [
|
||||
[
|
||||
{name:"control_centre", navItem: "controlcentre", text : data.data.control_centre, bg:controlCenterBg, goto:"controlcentre.dataload", "gotoAllowed":userrights.has("controlcentre.view")},
|
||||
{name:"employees.overview", navItem: "employees", text : data.data.info[0].employees, goto:"employees.overview","gotoAllowed":userrights.has("employees.view")},
|
||||
{name:"count_employees_available", navItem: "employees", text : data.data.info[0].employees_available},
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
|
||||
for(let i=0; i<possibleStats.length; i++){
|
||||
|
||||
stats[i] = [];
|
||||
|
||||
for(let j=0; j<possibleStats[i].length; j++){
|
||||
let statEl = possibleStats[i][j];
|
||||
let display = false;
|
||||
|
||||
if(statEl.navItem == undefined || statEl.navItem == null){
|
||||
display = true;
|
||||
}
|
||||
else{
|
||||
let navItem = document.getElementById("menuItem-li-" + statEl.navItem);
|
||||
let forceHide = statEl.forceHide;
|
||||
|
||||
if(navItem !== null && forceHide != true){
|
||||
display = true;
|
||||
}
|
||||
}
|
||||
|
||||
if(display){
|
||||
stats[i].push(statEl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
let statsHTML = ``;
|
||||
for(let i=0; i<stats.length; i++){
|
||||
if (stats[i].length == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
statsHTML += `<div class="grid pt-8 md:grid-cols-${stats[i].length} grid-cols-1 gap-6">`
|
||||
|
||||
for(let j=0; j<stats[i].length; j++){
|
||||
let btn = ``;
|
||||
let bgClasses = "";
|
||||
let txtclasses = null;
|
||||
let txtExtra = "";
|
||||
|
||||
if(stats[i][j].goto !== undefined && stats[i][j].goto !== null && stats[i][j].goto != ""){
|
||||
let allowed = stats[i][j].gotoAllowed ?? true
|
||||
|
||||
if(allowed){
|
||||
btn = `<button class="btn btn-xs" onclick="loadPage('${stats[i][j].goto}',-1)">${getTranslation("goto")} ${getTranslation(stats[i][j].goto)}</button>`
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
if(stats[i][j].nameextra !== undefined && stats[i][j].nameextra !== null && stats[i][j].nameextra != ""){
|
||||
txtExtra = ` (${stats[i][j].nameextra})`
|
||||
}
|
||||
|
||||
if(stats[i][j].bg !== undefined && stats[i][j].bg !== null && stats[i][j].bg != ""){
|
||||
bgClasses = `bg-${stats[i][j].bg}`
|
||||
txtclasses = `text-${stats[i][j].bg}-content`
|
||||
}
|
||||
|
||||
let textclass2="text-primary"
|
||||
textclass2 = "";
|
||||
|
||||
statsHTML += `
|
||||
<div class="stats shadow ${bgClasses}">
|
||||
<div class="stat">
|
||||
<div class="stat-title ${txtclasses}">${getTranslation(stats[i][j].name)}${txtExtra}</div>
|
||||
<div class="stat-value ${txtclasses ?? textclass2}">${stats[i][j].text}</div>
|
||||
<div class="stat-actions">${btn}</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
statsHTML += `</div>`
|
||||
}
|
||||
document.getElementById("currentpage-content").innerHTML = statsHTML;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
class EmergencyVehicle{
|
||||
constructor(){
|
||||
this.name = "emergencyvehicle";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("emergencyvehicle.edit")
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("emergencyvehicle.edit")
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("emergencyvehicle.delete")
|
||||
}
|
||||
|
||||
|
||||
static GetExtraForOverview(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
let currentVehicle = getTranslation("no_current_vehicle");
|
||||
|
||||
if(data.current_vehicle!== undefined && data.current_vehicle.length > 0 && data.current_vehicle[0].id !== undefined && data.current_vehicle[0].id > -1){
|
||||
currentVehicle = data.current_vehicle[0].short_name + " - " + data.current_vehicle[0].name
|
||||
|
||||
buttons = `
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="SetVehicle(-1,'emergencyvehicle.overview')">${getTranslation("leave_patrol")}</button>
|
||||
`
|
||||
}
|
||||
|
||||
retval.top = `
|
||||
<div class="alert alert-info shadow-lg mb-4">
|
||||
<div>
|
||||
<div>${getTranslation("current_vehicle")}: <strong>${currentVehicle}</strong></div>
|
||||
<div>
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","short_name","vehicle","action","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "action"){
|
||||
return `
|
||||
<td>
|
||||
<button type="button" class="btn btn-primary btn-sm" onclick="SetVehicle(${row["id"]}, 'emergencyvehicle.overview')">${getTranslation("set_state")}</button>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetEdit(data = {}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"short_name": {
|
||||
"val" : data.short_name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"vehicle": {
|
||||
"val" : data.vehicle ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
class EmergencyVehicleRadio{
|
||||
constructor(){
|
||||
this.name = "emergencyvehicleradio";
|
||||
}
|
||||
|
||||
static GetCustomDestination(data, dest){
|
||||
return "controlcentre.dataload";
|
||||
}
|
||||
static GetCustomDestID(data, destID){
|
||||
return -1;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return []
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
|
||||
return {
|
||||
"radio_status_id": {
|
||||
"val" : data.radio_status_id ?? "-1"
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,"options":data.extraData.radio_states
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
class EmployeeRadio{
|
||||
constructor(){
|
||||
this.name = "employeeradio";
|
||||
}
|
||||
|
||||
static GetCustomDestination(data, dest){
|
||||
return "controlcentre.dataload";
|
||||
}
|
||||
static GetCustomDestID(data, destID){
|
||||
return -1;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return []
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
|
||||
return {
|
||||
"radio_status_id": {
|
||||
"val" : data.radio_status_id ?? "-1"
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,"options":data.extraData.radio_states
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
class EmployeeVehicle{
|
||||
constructor(){
|
||||
this.name = "employeevehicle";
|
||||
}
|
||||
|
||||
static GetCustomDestination(data, dest){
|
||||
return "controlcentre.dataload";
|
||||
}
|
||||
static GetCustomDestID(data, destID){
|
||||
return -1;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return []
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
|
||||
return {
|
||||
"emegency_vehicle_id": {
|
||||
"val" : data.emegency_vehicle_id ?? "-1"
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,"options":data.extraData.vehicles
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
244
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Employees.js
Normal file
244
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Employees.js
Normal file
|
|
@ -0,0 +1,244 @@
|
|||
class Employees{
|
||||
constructor(){
|
||||
this.name = "employees";
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("employees.edit");
|
||||
}
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
|
||||
static allowSuspend(){
|
||||
return userrights.has("employees.suspend")
|
||||
}
|
||||
static allowViewEmployeeEntries(){
|
||||
return userrights.has("employeesentries.view")
|
||||
}
|
||||
static allowEditEmployeeEntries(){
|
||||
return userrights.has("employeesentries.edit")
|
||||
}
|
||||
static allowDeleteEmployeeEntries(){
|
||||
return userrights.has("employeesentries.delete")
|
||||
}
|
||||
static allowFinishEmployeeEntries(){
|
||||
return userrights.has("employeesentries.finish")
|
||||
}
|
||||
static allowViewUserTrainings(){
|
||||
return userrights.has("trainingsemployees.view")
|
||||
}
|
||||
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
let suspendedText = getTranslation("suspend");
|
||||
let suspended_new = 1;
|
||||
if(data.extraData.is_suspended !== undefined && data.extraData.is_suspended.length > 0 && data.extraData.is_suspended[0].is_suspended == true){
|
||||
suspendedText = getTranslation("unsuspend");
|
||||
suspended_new = 0;
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
if(this.allowSuspend()){
|
||||
buttons += `<button type="button" class="btn btn-sm
|
||||
|
||||
btn-warning" onclick="changeDataInColumn('employees','is_suspended','${data.id}','${suspended_new}')">${suspendedText}</button>`;
|
||||
//buttons += `<button type="button" class="btn btn-sm btn-warning" onclick="EmployeeSuspend('employees','${data.id}','${suspended_new}')">${suspendedText}</button>`;
|
||||
}
|
||||
if(this.allowEditEmployeeEntries()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-primary" onclick="loadPage('employeesentry.add',-1,'false',{data:{employee_id:'${data.id}'}})">${getTranslation("fileentry.add")}</button>`;
|
||||
}
|
||||
if(this.allowViewUserTrainings()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-primary" onclick="loadPage('employeestraining.dataload','${data.id}')">${getTranslation("employeestraining.dataload")}</button>`;
|
||||
}
|
||||
|
||||
retval.bottom += `
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 pt-6">
|
||||
${buttons}
|
||||
</div>
|
||||
`;
|
||||
|
||||
if(this.allowViewEmployeeEntries() && data.extraData.file_entries !== undefined){
|
||||
|
||||
let entryTypes = System.getEmployeeEntryTypes();
|
||||
|
||||
retval.bottom += `
|
||||
<div class="collapse collapse-arrow border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<input type="checkbox" />
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("employees_file")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6">`;
|
||||
|
||||
for(let i=0;i<data.extraData.file_entries.length;i++){
|
||||
let row = data.extraData.file_entries[i];
|
||||
|
||||
let bgColor = entryTypes[row.type_of_entry].color ?? "ghost";
|
||||
let type_name = entryTypes[row.type_of_entry].name ?? "";
|
||||
|
||||
let badges = ``;
|
||||
|
||||
badges += `<div class="badge badge-${bgColor} gap-2">${type_name}</div>`;
|
||||
|
||||
if(row.closed){
|
||||
badges += `<div class="badge badge-success gap-2">${getTranslation("entry_finished")}</div>`;
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
if(!row.closed && this.allowFinishEmployeeEntries()){
|
||||
buttons += `<button onclick="changeDataInColumn('employeesentry', 'closed', '${row.id}', 1)" class="btn btn-sm btn-primary">${getTranslation("finish_file_entry")}</button>`;
|
||||
}
|
||||
if(this.allowDeleteEmployeeEntries()){
|
||||
buttons += `<button onclick="Form.openDeleteModal('${row.id}','employeesentry')" class="btn btn-sm btn-error">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
let temp = `
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.creationdate)}</h2>
|
||||
<h2 class="card-title uppercase font-bold">${badges}</h2>
|
||||
|
||||
<p class="border border-current rounded-xl p-1 break-all">${row.content.replace(/\n/g,"<br>")}</p>
|
||||
<p></p>
|
||||
<div class="card-actions justify-start">
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
||||
|
||||
if( i % 2 === 0){
|
||||
temp += `<div></div>`
|
||||
}
|
||||
else{
|
||||
temp = `<div></div>` + temp
|
||||
}
|
||||
|
||||
retval.bottom += temp;
|
||||
}
|
||||
|
||||
retval.bottom += `
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
}
|
||||
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
let serviceno = null;
|
||||
if(data !== null){
|
||||
if(data.extraData.serviceno !== undefined && data.extraData.serviceno !== null && data.extraData.serviceno.length > 0){
|
||||
serviceno = data.extraData.serviceno[0].serviceno ?? System.getServiceNo(data.identifier ?? data.citizenid)
|
||||
}
|
||||
else{
|
||||
serviceno = System.getServiceNo(data.identifier ?? data.citizenid);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
"serviceno": {
|
||||
"val" : serviceno ?? ""
|
||||
,"type" : "text"
|
||||
,isRow:true
|
||||
,hideInEdit:false
|
||||
},
|
||||
"firstname": {
|
||||
"val" : data.firstname ?? System.getFirstName(data.charinfo ?? "")
|
||||
,"type" : "text"
|
||||
,hideInEdit:true
|
||||
},
|
||||
"lastname": {
|
||||
"val" : data.lastname ?? System.getLastName(data.charinfo ?? "")
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,hideInEdit:true
|
||||
}
|
||||
,"rank": {
|
||||
"val" : data.job_grade ?? System.getJobGrade(data.job)
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,isRow:true
|
||||
,options:System.getRankOptions()
|
||||
,hideInEdit:true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["serviceno","name","rank_name","state","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key], this.name + ".edit", this.allowEdit())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "serviceno"){
|
||||
return `
|
||||
<td>
|
||||
${row[key] ?? System.getServiceNo(row.id)}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "name"){
|
||||
return `
|
||||
<td>
|
||||
${System.buildEmployeeName(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "state"){
|
||||
if(row[key] != ""){
|
||||
return `
|
||||
<td>
|
||||
<div class="badge badge-warning font-bold">${getTranslation("state_" + row[key])}</div>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td></td>`
|
||||
}
|
||||
|
||||
}
|
||||
else if(key == "rank_name"){
|
||||
let grade = -9999
|
||||
|
||||
try {
|
||||
|
||||
if(typeof JSON.parse(row[key]) == "number"){
|
||||
grade = row[key]
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
grade = row[key]
|
||||
}
|
||||
|
||||
if(grade == -9999){
|
||||
grade = System.getJobGrade(row[key]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return `
|
||||
<td>
|
||||
${System.getLabelByRank(grade)}
|
||||
</td>
|
||||
`;
|
||||
}
|
||||
else {
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
class EmployeesEntry{
|
||||
constructor(){
|
||||
this.name = "employeesentry";
|
||||
}
|
||||
|
||||
static GetCustomDestination(data, dest){
|
||||
return (data.employee_id ?? "" != "" ? "employees.view" : "employees.overview");
|
||||
}
|
||||
|
||||
static GetCustomDestID(data, destID){
|
||||
return data.employee_id ?? destID;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return [];
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
static GetEdit(data = {}){
|
||||
return {
|
||||
"employee_id": {
|
||||
"val" : data.employee_id ?? ""
|
||||
,"type" : "hidden"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"content": {
|
||||
"val" : data.content ?? ""
|
||||
,"type" : "textarea"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,autogrow: true
|
||||
}
|
||||
,"type_of_entry": {
|
||||
"val" : data.type_of_entry ?? 0
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,"options":System.getEmployeeEntryTypesOptions()
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
class EmployeesTraining{
|
||||
constructor(){
|
||||
this.name = "employeestraining";
|
||||
}
|
||||
|
||||
|
||||
static GetCustomDestination(data, dest){
|
||||
return (data.employee_id ?? "" != "" ? "employees.view" : "employees.overview");
|
||||
}
|
||||
|
||||
static GetCustomDestID(data, destID){
|
||||
return data.employee_id ?? destID;
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","action","passed","id"]
|
||||
}
|
||||
|
||||
|
||||
static CreateCustom(data){
|
||||
document.getElementById("currentpage-content").innerHTML=Form.BackEditBtn("employees.view", "", -1, false, data.data.employee_id);
|
||||
document.getElementById("currentpage-content").innerHTML+=System.GetTable(this, data.data.trainings);
|
||||
Form.initViewModeTopButtons();
|
||||
}
|
||||
|
||||
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
if(row.passed > -1){
|
||||
return `
|
||||
<td>
|
||||
<button type="button" class="btn btn-sm btn-error" onclick="trainingPassed(-1, '${row["employee_id"]}', '${row["id"]}', true)">
|
||||
<i class="fa-solid fa-delete-left"></i>
|
||||
</button>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td></td>`;
|
||||
}
|
||||
|
||||
}
|
||||
else if(key == "action"){
|
||||
let disabled = "";
|
||||
if(row.entered > 0){
|
||||
disabled = " disabled"
|
||||
}
|
||||
let content = `<button type="button" class="btn btn-sm btn-primary" onclick="participateForTraining(${row["id"]}, '${row["employee_id"]}', true)" ${disabled}>${getTranslation("participate")}</button>`
|
||||
|
||||
return `
|
||||
<td>
|
||||
${content}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "passed"){
|
||||
let content = "";
|
||||
|
||||
if(row[key] == -1){
|
||||
content = `
|
||||
<button type="button" class="btn btn-sm btn-error" onclick="trainingPassed(0, '${row["employee_id"]}', '${row["id"]}', true)">
|
||||
<i class="fa-solid fa-xmark"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-sm btn-success" onclick="trainingPassed(1, '${row["employee_id"]}', '${row["id"]}', true)">
|
||||
<i class="fa-solid fa-check"></i>
|
||||
</button>`
|
||||
;
|
||||
}
|
||||
else if(row[key] == 0){
|
||||
content = `<i class="fa-solid fa-xmark text-error"></i>`;
|
||||
}
|
||||
else if(row[key] == 1){
|
||||
content = `<i class="fa-solid fa-check text-success"></i>`;
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${content}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,138 @@
|
|||
class EvidenceRoomArticles{
|
||||
constructor(){
|
||||
this.name = "evidenceroomarticles";
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static allowEdit(){
|
||||
return userrights.has("evidencerooms.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("evidencerooms.delete");
|
||||
}
|
||||
|
||||
static GetColumns(isReadOnly){
|
||||
if(isReadOnly == true){
|
||||
return ["name","amount","file_name","state","changedate"]
|
||||
}
|
||||
else{
|
||||
return ["name","amount","file_name","state","changedate","id"]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key,isReadOnly){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getEditButtonIcon(row[key], this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name ,this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "changedate") {
|
||||
return `<td>${row[key]}<br>${System.buildEmployeeName(row.changedby)}</td>`;
|
||||
}
|
||||
else if(key == "state"){
|
||||
let state = this.GetStateByID(row[key]);
|
||||
|
||||
|
||||
return `
|
||||
<td>
|
||||
<div class="badge font-bold ${state.color ?? ""}">${state.name ?? ""}</div>
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "file_name"){
|
||||
let val = row[key];
|
||||
if(val == ""){
|
||||
val = getTranslation("unknown");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${val}
|
||||
</td>`;
|
||||
|
||||
}
|
||||
else {
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
|
||||
let filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
,{"id":-2, "name":getTranslation("new_file"), "show_extra_field":true}
|
||||
];
|
||||
|
||||
if(sync.isActive("files")){
|
||||
filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
];
|
||||
}
|
||||
|
||||
let files = [...filesOptions, ...data.extraData.files];
|
||||
|
||||
return {
|
||||
"evidenceroom_id": {
|
||||
"val" : data.evidenceroom_id ?? "-1"
|
||||
,"type" : "hidden"
|
||||
},
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow":true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"amount": {
|
||||
"val" : data.amount ?? ""
|
||||
,"type" : "number"
|
||||
,"isRow":true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"state": {
|
||||
"val" : data.state ?? 0
|
||||
,"type" : "dropdown"
|
||||
,"isRow":true
|
||||
,"mandatory":true
|
||||
,options:this.GetStateOptions()
|
||||
}
|
||||
,"file_id": {
|
||||
"val" : data.file_id ?? -1
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
,options:files
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static GetStateOptions(){
|
||||
let retval = [];
|
||||
|
||||
let json = this.GetStates();
|
||||
Object.keys(json).forEach(function(key){
|
||||
retval.push({"id": key, "name":json[key].name })
|
||||
});
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static GetStates(){
|
||||
return {
|
||||
"0" : {name:getTranslation("state_new"), "color":"badge-primary"},
|
||||
"1" : {name:getTranslation("state_inprogress"), "color":"badge-warning"},
|
||||
"2" : {name:getTranslation("state_stored"), "color":"badge-success"},
|
||||
"3" : {name:getTranslation("state_destoyed"), "color":"badge-error"}
|
||||
}
|
||||
}
|
||||
|
||||
static GetStateByID(id){
|
||||
return this.GetStates()[id] ?? {}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
class EvidenceRoomArticlesDestroyed{
|
||||
constructor(){
|
||||
this.name = "evidenceroomarticlesdestroyed";
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static allowDelete(){
|
||||
return userrights.has("evidencerooms.delete");
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","amount","file_name","state","changedate"]
|
||||
}
|
||||
|
||||
|
||||
static CreateCustom(data){
|
||||
document.getElementById("currentpage-content").innerHTML = Form.BackEditBtn("evidencerooms.dataload", "",-1, false, -1);
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML += System.GetTable(System.getClassByName("evidenceroomarticles"), data.data, true)
|
||||
|
||||
Form.initViewModeTopButtons();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
class EvidenceRooms{
|
||||
constructor(){
|
||||
this.name = "evidencerooms";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("evidencerooms.edit");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("evidencerooms.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("evidencerooms.delete");
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static CreateCustom(data, isEditMode = false){
|
||||
|
||||
let retval = ``;
|
||||
|
||||
if(!isEditMode){
|
||||
document.getElementById("currentpage-content").innerHTML = Form.overviewHeadline(this.name.toLowerCase() + ".add", false, this.allowAddNew());
|
||||
}
|
||||
|
||||
|
||||
for(let i=0; i<data.data.length; i++){
|
||||
let row = data.data[i];
|
||||
|
||||
let buttons = ``;
|
||||
let bottomButton = ``;
|
||||
|
||||
let mbClass = "";
|
||||
let mtClass = "";
|
||||
|
||||
if(this.allowAddNew()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-success evidencerooms-add-entry" data-parentID="${row.id}">${getTranslation("add_entry")}</button>`;
|
||||
}
|
||||
if(this.allowEdit()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-warning evidencerooms-edit" data-parentID="${row.id}">${getTranslation("edit")}</button>`;
|
||||
}
|
||||
if(this.allowDelete()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-error" onclick="Form.openDeleteModal(${row.id}, 'evidencerooms')">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
|
||||
if(this.allowEdit()){
|
||||
bottomButton += `<button type="button" class="btn btn-sm btn-block btn-primary evidencerooms-history" data-parentID="${row.id}">${getTranslation("view_destroyed")}</button>`;
|
||||
}
|
||||
|
||||
if(buttons != ""){
|
||||
mbClass = "mb-2";
|
||||
}
|
||||
if(bottomButton != ""){
|
||||
mtClass = "mt-2";
|
||||
}
|
||||
|
||||
|
||||
if(!isEditMode || row.laws.length > 0){
|
||||
retval += `
|
||||
<div class="collapse collapse-arrow border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<input type="checkbox" />
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${row.name}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<div class="${mbClass}">
|
||||
${buttons}
|
||||
</div>
|
||||
${System.GetTable(System.getClassByName("evidenceroomarticles"), row.articles)}
|
||||
<div class = "${mtClass}">
|
||||
${bottomButton}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML += retval;
|
||||
Form.initTableButtons();
|
||||
|
||||
|
||||
Array.from(document.querySelectorAll(".evidencerooms-add-entry")).forEach(function(button){
|
||||
button.onclick = function(){
|
||||
let staticData = {
|
||||
data:{
|
||||
evidenceroom_id:this.getAttribute("data-parentID")
|
||||
}
|
||||
}
|
||||
loadPage("evidenceroomarticles.add",this.getAttribute("data-parentID"),"false", staticData)
|
||||
}
|
||||
});
|
||||
Array.from(document.querySelectorAll(".evidencerooms-edit")).forEach(function(button){
|
||||
button.onclick = function(){
|
||||
loadPage("evidencerooms.edit",this.getAttribute("data-parentID"),"true", {})
|
||||
}
|
||||
});
|
||||
Array.from(document.querySelectorAll(".evidencerooms-history")).forEach(function(button){
|
||||
button.onclick = function(){
|
||||
loadPage("evidenceroomarticlesdestroyed.dataload",this.getAttribute("data-parentID"),"true", {})
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
275
resources/[jobs]/[mdt]/myEmergency/html/js/modules/FileEntry.js
Normal file
275
resources/[jobs]/[mdt]/myEmergency/html/js/modules/FileEntry.js
Normal file
File diff suppressed because one or more lines are too long
777
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Files.js
Normal file
777
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Files.js
Normal file
|
|
@ -0,0 +1,777 @@
|
|||
class Files{
|
||||
constructor(){
|
||||
this.name = "files";
|
||||
}
|
||||
static allowAddNew(){
|
||||
return userrights.has("files.edit") && !sync.isActive("files");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("files.edit");
|
||||
}
|
||||
static allowDelete(ingoreSync=false){
|
||||
return userrights.has("files.delete") && (!sync.isActive("files") || ingoreSync);
|
||||
}
|
||||
static allowClose(){
|
||||
return userrights.has("files.close");
|
||||
}
|
||||
static allowBlacken(){
|
||||
return userrights.has("files.blacken");
|
||||
}
|
||||
static allowShare(){
|
||||
return userrights.has("files.share");
|
||||
}
|
||||
static allowLicenses(){
|
||||
return userrights.has("files.licenses");
|
||||
}
|
||||
static allowFinishmanhunt(){
|
||||
return userrights.has("manhunt.finish");
|
||||
}
|
||||
static allowFinishEntry(){
|
||||
return userrights.has("filesentry.finish");
|
||||
}
|
||||
|
||||
|
||||
static GetColumns(){
|
||||
if(currentSystem == "police"){
|
||||
return ["name","alias","phone","shared","state","id"];
|
||||
}
|
||||
else if(currentSystem == "medic"){
|
||||
return ["name","phone","shared","state","id"];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetPropertyHTML(data){
|
||||
if(data.extraData.properties == null || data.extraData.properties == undefined){
|
||||
return "";
|
||||
}
|
||||
else{
|
||||
let tbody = ``;
|
||||
for(let i=0; i<data.extraData.properties.length; i++){
|
||||
let row = data.extraData.properties[i];
|
||||
|
||||
tbody += `
|
||||
<tr>
|
||||
<td>
|
||||
${row.label}
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-primary btn-sm" data-entering='${row.entering}' data-is-qs-housing="${row._is_qs_housing}" data-is-my-property="${row._is_myproperty}" onclick="GenerateRoute(this, true)">
|
||||
<i class="fa-solid fa-location-dot"></i>
|
||||
<button>
|
||||
</td>
|
||||
</tr>
|
||||
`;
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("properties")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<table class="table table-compact w-full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
${getTranslation("name")}
|
||||
</th>
|
||||
<th>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${tbody}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetFileEntryHTML(data, allowButtons){
|
||||
let html = ``;
|
||||
let activeWantingRow = null;
|
||||
|
||||
|
||||
|
||||
if(data.fromsystem == "police"){
|
||||
|
||||
if(data.extraData.file_entries !== undefined){
|
||||
let entryTypes = System.getFileEntryTypes();
|
||||
|
||||
html += `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("fileentry.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6">`;
|
||||
|
||||
for(let i=0;i<data.extraData.file_entries.length;i++){
|
||||
//check if entry is even
|
||||
|
||||
let row = data.extraData.file_entries[i];
|
||||
|
||||
let bgColor = entryTypes[row.type_of_entry].color ?? "ghost";
|
||||
let type_name = entryTypes[row.type_of_entry].name ?? "";
|
||||
|
||||
let badges = ``;
|
||||
|
||||
if(row.is_wanted){
|
||||
if(row.is_wanted_done == 1){
|
||||
badges += `<div class="badge badge-warning font-bold gap-2">${getTranslation("old_manhunt")}</div>`;
|
||||
}
|
||||
else{
|
||||
if(activeWantingRow == null){
|
||||
activeWantingRow = row;
|
||||
}
|
||||
badges += `<div class="badge badge-error font-bold gap-2">${getTranslation("active_manhunt")}</div>`;
|
||||
}
|
||||
}
|
||||
|
||||
badges += `<div class="badge badge-${bgColor} gap-2 font-bold">${type_name}</div>`;
|
||||
|
||||
if(row.closed){
|
||||
badges += `<div class="badge badge-success gap-2 font-bold">${getTranslation("entry_finished")}</div>`;
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
if(!row.closed && this.allowFinishEntry() && allowButtons == true){
|
||||
buttons += `<button onclick="changeDataInColumn('fileentry','closed','${row.id}','1')" class="btn btn-primary btn-sm">${getTranslation("finish_file_entry")}</button>`;
|
||||
}
|
||||
|
||||
if(this.allowDelete(true) && allowButtons == true){
|
||||
buttons += `<button onclick="Form.openDeleteModal('${row.id}','fileentry')" class="btn btn-sm btn-error">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
|
||||
let content = row.content.replace(/\n/g,"<br>");
|
||||
|
||||
if(row.crimeData.length > 0){
|
||||
content+="<br><br>";
|
||||
content+=`<u>${getTranslation("fine_crime")}:</u><br>`;
|
||||
|
||||
let tempContent = "";
|
||||
|
||||
for(let j=0;j<row.crimeData.length;j++){
|
||||
tempContent += (tempContent == "" ? "" : "<br>");
|
||||
|
||||
let crime = row.crimeData[j];
|
||||
|
||||
if(crime["_deleted"] == 1){
|
||||
tempContent += "<s>";
|
||||
}
|
||||
|
||||
tempContent+=crime.amount + "x " + crime.lawbook_shortname + " $" + crime.paragraph +" - "+crime.crime;
|
||||
|
||||
if(crime["_deleted"] == 1){
|
||||
tempContent += "</s>";
|
||||
}
|
||||
}
|
||||
|
||||
content+=tempContent;
|
||||
}
|
||||
|
||||
|
||||
let temp = `
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${row.file_entry_id}</h2>
|
||||
<h2>${badges}</h2>
|
||||
<p><strong>${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.creationdate)}</strong></p>
|
||||
<p></p>
|
||||
<p class="border border-current rounded-xl p-1 break-all">${content}</p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p><strong>${getTranslation("fine")}: </strong>${row.fine}</p>
|
||||
<p><strong>${getTranslation("detention_time")}:</strong> ${row.detention_time}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
||||
|
||||
if( i % 2 === 0){
|
||||
temp += `<div></div>`
|
||||
}
|
||||
else{
|
||||
temp = `<div></div>` + temp
|
||||
}
|
||||
|
||||
html += temp;
|
||||
}
|
||||
|
||||
html += `
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
}
|
||||
}
|
||||
else if(data.fromsystem == "medic"){
|
||||
if(data.extraData.file_entries !== undefined){
|
||||
let injuryTypes = [
|
||||
"head"
|
||||
,"left_shoulder"
|
||||
,"left_arm"
|
||||
,"left_hand"
|
||||
,"right_shoulder"
|
||||
,"right_arm"
|
||||
,"right_hand"
|
||||
,"chest"
|
||||
,"stomach"
|
||||
,"left_leg"
|
||||
,"left_foot"
|
||||
,"right_leg"
|
||||
,"right_foot"
|
||||
];
|
||||
|
||||
html += `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("fileentry.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6">`;
|
||||
|
||||
for(let i=0;i<data.extraData.file_entries.length;i++){
|
||||
//check if entry is even
|
||||
|
||||
let row = data.extraData.file_entries[i];
|
||||
let badges = ``;
|
||||
|
||||
if(row.closed){
|
||||
badges += `<div class="badge badge-success gap-2">${getTranslation("entry_finished")}</div>`;
|
||||
}
|
||||
if(row.needs_follow_up_treatment){
|
||||
badges += `<div class="badge badge-warning gap-2">${getTranslation("needs_follow_up_treatment")}</div>`;
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
if(!row.closed && this.allowFinishEntry() && allowButtons == true){
|
||||
buttons += `<button onclick="changeDataInColumn('fileentry','closed','${row.id}','1')" class="btn btn-sm btn-primary">${getTranslation("finish_file_entry")}</button>`;
|
||||
}
|
||||
|
||||
if(this.allowDelete(true) && allowButtons == true){
|
||||
buttons += `<button onclick="Form.openDeleteModal('${row.id}','fileentry')" class="btn btn-sm btn-error">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
|
||||
let knownInjuries = "";
|
||||
|
||||
|
||||
for(let i=0; i<injuryTypes.length;i++){
|
||||
if(row[`injury_${injuryTypes[i]}`]){
|
||||
knownInjuries += `
|
||||
<li>- ${getTranslation(injuryTypes[i])}</li>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
if(knownInjuries != ""){
|
||||
knownInjuries = `
|
||||
<ul>
|
||||
${knownInjuries}
|
||||
</ul>
|
||||
`;
|
||||
}
|
||||
|
||||
let temp = `
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${row.file_entry_id}</h2>
|
||||
<h2 class="card-title uppercase font-bold">${badges}</h2>
|
||||
<p><strong>${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.creationdate)}</strong></p>
|
||||
<p></p>
|
||||
<p class="border border-current rounded-xl p-1 break-all">${row.content.replace(/\n/g,"<br>")}</p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p><strong>${getTranslation("intensity_of_wounds")}: </strong>${row.intensity_of_wounds}</p>
|
||||
<p><strong>${getTranslation("type_of_bleeding")}:</strong> ${row.type_of_bleeding}</p>
|
||||
<p><strong>${getTranslation("treatment")}:</strong> ${row.treatment}</p>
|
||||
|
||||
<div class="divider">${getTranslation("injuries")}</div>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 pt-2">
|
||||
<div>${knownInjuries}</div>
|
||||
<div class="border border-current rounded-xl p-1 col-span-2 break-all">${row.injury_summary.replace(/\n/g,"<br>")}</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card-actions justify-start">
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
||||
|
||||
if( i % 2 === 0){
|
||||
temp += `<div></div>`
|
||||
}
|
||||
else{
|
||||
temp = `<div></div>` + temp
|
||||
}
|
||||
|
||||
html += temp;
|
||||
}
|
||||
|
||||
html += `
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
}
|
||||
}
|
||||
|
||||
let retval = {
|
||||
"html": html,
|
||||
"activeWantingRow": activeWantingRow
|
||||
};
|
||||
|
||||
|
||||
return retval;
|
||||
|
||||
}
|
||||
|
||||
static GetLicensesHTML(data){
|
||||
if(this.allowLicenses()){
|
||||
let dropdown = ``;
|
||||
let table = ``;
|
||||
|
||||
|
||||
if(!sync.isActive("files_licenses") || currentSystem == "medic"){
|
||||
if(data.extraData.possible_licenses !== undefined && data.extraData.possible_licenses.length>0){
|
||||
let optionsHtml = ``;
|
||||
for(let i=0; i<data.extraData.possible_licenses.length; i++){
|
||||
optionsHtml += `<option value="${data.extraData.possible_licenses[i].id}">${data.extraData.possible_licenses[i].name}</option>`;
|
||||
}
|
||||
|
||||
dropdown = `
|
||||
<div class="w-full">
|
||||
<div class="input-group w-full">
|
||||
<select id="input-files-license" class="select select-sm select-bordered ignore-readonly">
|
||||
${optionsHtml}
|
||||
</select>
|
||||
<button type="button" onclick="addLicenseToFile('${data.id}')" class="btn btn-sm btn-success">${getTranslation("add")}</button>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if(data.extraData.given_licenses !== undefined && data.extraData.given_licenses.length>0){
|
||||
let tbody = ``;
|
||||
for(let i=0; i<data.extraData.given_licenses.length; i++){
|
||||
let row = data.extraData.given_licenses[i];
|
||||
|
||||
if(!sync.isActive("files_licenses") || currentSystem == "medic"){
|
||||
tbody += `
|
||||
<tr>
|
||||
<td>
|
||||
${row.name}
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-error btn-sm" onclick="deleteData('fileslicenses','${row.id}')">
|
||||
${getTranslation("remove_license")}
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
`;
|
||||
}
|
||||
else{
|
||||
tbody += `
|
||||
<tr>
|
||||
<td>
|
||||
${row.name}
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
`;
|
||||
}
|
||||
|
||||
tbody += `</tr>`
|
||||
}
|
||||
|
||||
table = `
|
||||
<table class="table table-compact w-full">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
${getTranslation("name")}
|
||||
</th>
|
||||
<th>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
${tbody}
|
||||
</tbody>
|
||||
</table>
|
||||
`;
|
||||
}
|
||||
|
||||
return `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("licenses.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
${dropdown}
|
||||
${table}
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:"",
|
||||
initTableButtons:false,
|
||||
}
|
||||
|
||||
if(currentSystem == "police"){
|
||||
let blackenTxt = getTranslation("blacken");
|
||||
let shareTxt = getTranslation("share");
|
||||
let closeTxt = getTranslation("close");
|
||||
let blacken_new = 1;
|
||||
let closed_new = 1;
|
||||
let shared_new = 1;
|
||||
|
||||
if(data.blackend){
|
||||
blackenTxt = getTranslation("deblacken");
|
||||
blacken_new = 0;
|
||||
}
|
||||
|
||||
if(data.closed){
|
||||
closeTxt = getTranslation("reopen");
|
||||
closed_new = 0;
|
||||
}
|
||||
|
||||
if(data.is_shared){
|
||||
shareTxt = getTranslation("unshare");
|
||||
shared_new = 0;
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
let cnt = 0;
|
||||
|
||||
if(this.allowEdit()){
|
||||
cnt++;
|
||||
//buttons += `<button type="button" class="btn btn-sm btn-success" onclick="loadPage('fileentry.add',-1,'false',{data:{file_id:'${data.id}'}})">${getTranslation("fileentry.add")}</button>`;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-success" onclick="loadPage('fileentry.add','${data.id}','true')">${getTranslation("fileentry.add")}</button>`;
|
||||
}
|
||||
if(this.allowBlacken()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-warning" onclick="changeDataInColumn('files','blackend','${data.id}','${blacken_new}')">${blackenTxt}</button>`;
|
||||
}
|
||||
if(this.allowClose()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-error" onclick="changeDataInColumn('files','closed','${data.id}','${closed_new}')">${closeTxt}</button>`;
|
||||
}
|
||||
if(this.allowShare()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-primary" onclick="changeDataInColumn('sharedfiles','is_shared','${data.id}','${shared_new}')">${shareTxt}</button>`;
|
||||
}
|
||||
|
||||
retval.bottom += `
|
||||
<div class="grid grid-cols-1 md:grid-cols-${cnt} gap-4 pt-6">
|
||||
${buttons}
|
||||
</div>
|
||||
`;
|
||||
|
||||
let activeWantingRow = null;
|
||||
|
||||
retval.bottom += this.GetLicensesHTML(data);
|
||||
|
||||
retval.bottom += this.GetPropertyHTML(data);
|
||||
|
||||
if(RegVehicle.allowView()){
|
||||
|
||||
if(data.extraData.vehicles !== undefined){
|
||||
retval.bottom += `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("regvehicle.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
${System.GetTable(RegVehicle, data.extraData.vehicles)}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
retval.initTableButtons = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
let temp = this.GetFileEntryHTML(data, true)
|
||||
retval.bottom += temp.html;
|
||||
activeWantingRow = temp.activeWantingRow;
|
||||
|
||||
if(activeWantingRow !== null){
|
||||
|
||||
let btn = ``;
|
||||
if(this.allowFinishmanhunt()){
|
||||
btn = `<button onclick="finishManhunt('filesentry','${data.id}')" class="btn btn-sm btn-primary">${getTranslation("is_wanted_end")}</button>`;
|
||||
}
|
||||
|
||||
retval.top = `
|
||||
<div class="card w-full bg-error text-error-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${getTranslation("vehicle_wanted")}</h2>
|
||||
<p><strong>${System.buildEmployeeName(activeWantingRow.creator)} - ${System.formatTimestamp(activeWantingRow.creationdate)}</strong></p>
|
||||
<p></p>
|
||||
<p class="border border-current rounded-xl p-1 break-all">${activeWantingRow.content.replace(/\n/g,"<br>")}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${btn}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}
|
||||
else if(currentSystem == "medic"){
|
||||
let blackenTxt = getTranslation("blacken");
|
||||
let closeTxt = getTranslation("close");
|
||||
let blacken_new = 1;
|
||||
let closed_new = 1;
|
||||
let shareTxt = getTranslation("share");
|
||||
let shared_new = 1;
|
||||
|
||||
if(data.blackend){
|
||||
blackenTxt = getTranslation("deblacken");
|
||||
blacken_new = 0;
|
||||
}
|
||||
|
||||
if(data.closed){
|
||||
closeTxt = getTranslation("reopen");
|
||||
closed_new = 0;
|
||||
}
|
||||
|
||||
if(data.is_shared){
|
||||
shareTxt = getTranslation("unshare");
|
||||
shared_new = 0;
|
||||
}
|
||||
|
||||
|
||||
let buttons = ``;
|
||||
let cnt = 0;
|
||||
if(this.allowEdit()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-success" onclick="loadPage('fileentry.add',-1,'false',{data:{file_id:'${data.id}'}})">${getTranslation("fileentry.add")}</button>`;
|
||||
}
|
||||
if(this.allowBlacken()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-warning" onclick="changeDataInColumn('files','blackend','${data.id}','${blacken_new}')">${blackenTxt}</button>`;
|
||||
}
|
||||
if(this.allowClose()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-error" onclick="changeDataInColumn('files','closed','${data.id}','${closed_new}')">${closeTxt}</button>`;
|
||||
}
|
||||
if(this.allowShare()){
|
||||
cnt++;
|
||||
buttons += `<button type="button" class="btn btn-sm btn-primary" onclick="changeDataInColumn('sharedfiles','is_shared','${data.id}','${shared_new}')">${shareTxt}</button>`;
|
||||
}
|
||||
|
||||
retval.bottom += `
|
||||
<div class="grid grid-cols-1 md:grid-cols-${cnt} gap-4 pt-6">
|
||||
${buttons}
|
||||
</div>
|
||||
`;
|
||||
|
||||
retval.bottom += this.GetLicensesHTML(data);
|
||||
|
||||
let temp = this.GetFileEntryHTML(data, true)
|
||||
retval.bottom += temp.html;
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "state"){
|
||||
|
||||
let badges = ``;
|
||||
|
||||
if(row[key] != ""){
|
||||
badges += `<div class="badge badge-error font-bold">${getTranslation("tag_" + row[key])}</div>`;
|
||||
}
|
||||
if(row.blackend){
|
||||
badges += `<div class="badge badge-warning font-bold">${getTranslation("tag_blackend")}</div>`;
|
||||
}
|
||||
if(row.closed){
|
||||
badges += `<div class="badge badge-info font-bold">${getTranslation("tag_closed")}</div>`;
|
||||
}
|
||||
return `<td>${badges}</td>`;
|
||||
}
|
||||
else if(key == "id"){
|
||||
let isWantedButton = ``;
|
||||
|
||||
if(currentSystem == "police"){
|
||||
if(this.allowEdit()){
|
||||
isWantedButton = Form.getIsWantedButton(row[key], this.name, row.state == "is_wanted");
|
||||
}
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${isWantedButton}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name , this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "shared"){
|
||||
if(row[key]){
|
||||
return `
|
||||
<td class="font-bold">
|
||||
<i class="fa-solid fa-check"></i>
|
||||
</td>
|
||||
`;
|
||||
}
|
||||
else{
|
||||
return `<td></td>`;
|
||||
}
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data = {}){
|
||||
if(currentSystem == "police"){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"alias": {
|
||||
"val" : data.alias ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"sex": {
|
||||
"val" : data.sex ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"options":[
|
||||
{id:0, name:getTranslation("unknown")},
|
||||
{id:1, name:getTranslation("male")},
|
||||
{id:2, name:getTranslation("female")},
|
||||
{id:3, name:getTranslation("diverse")}
|
||||
]
|
||||
}
|
||||
,"phone": {
|
||||
"val" : data.phone ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"size": {
|
||||
"val" : data.size ?? ""
|
||||
,"type" : "number"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"birth": {
|
||||
"val" : data.birth ?? ""
|
||||
,"type" : "date"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"eyecolor": {
|
||||
"val" : data.eyecolor ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"haircolor": {
|
||||
"val" : data.haircolor ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
};
|
||||
}
|
||||
else if(currentSystem == "medic"){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
,"blood_type": {
|
||||
"val" : data.blood_type ?? "A"
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,options:[
|
||||
{id:"A", name:"A+"},
|
||||
{id:"A-", name:"A-"},
|
||||
{id:"B", name:"B+"},
|
||||
{id:"B-", name:"B-"},
|
||||
{id:"AB", name:"AB+"},
|
||||
{id:"AB-", name:"AB-"},
|
||||
{id:"0", name:"0+"},
|
||||
{id:"0-", name:"0-"},
|
||||
]
|
||||
}
|
||||
,"sex": {
|
||||
"val" : data.sex ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"options":[
|
||||
{id:0, name:getTranslation("unknown")},
|
||||
{id:1, name:getTranslation("male")},
|
||||
{id:2, name:getTranslation("female")},
|
||||
{id:3, name:getTranslation("diverse")}
|
||||
]
|
||||
}
|
||||
,"phone": {
|
||||
"val" : data.phone ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"birth": {
|
||||
"val" : data.birth ?? ""
|
||||
,"type" : "date"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"size": {
|
||||
"val" : data.size ?? ""
|
||||
,"type" : "number"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"weight": {
|
||||
"val" : data.weight ?? ""
|
||||
,"type" : "number"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"allergies": {
|
||||
"val" : data.allergies ?? ""
|
||||
,"type" : "textarea"
|
||||
,"mandatory":false
|
||||
,rows:3
|
||||
}
|
||||
,"known_illnesses": {
|
||||
"val" : data.known_illnesses ?? ""
|
||||
,"type" : "textarea"
|
||||
,"mandatory":false
|
||||
,rows:3
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
class Investigation{
|
||||
constructor(){
|
||||
this.name = "investigation";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("investigation.edit");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("investigation.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("investigation.delete");
|
||||
}
|
||||
static allowClose(){
|
||||
return userrights.has("investigation.close");
|
||||
}
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
let closeTxt = getTranslation("close");
|
||||
let closedValueNew = 1;
|
||||
if(data.closed){
|
||||
closeTxt = getTranslation("reopen");
|
||||
closedValueNew = 0;
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
|
||||
if(this.allowAddNew()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-success" onclick="loadPage('investigationentry.add',-1,'false',{data:{investigation_id:'${data.id}'}})">${getTranslation("add_entry")}</button>`;
|
||||
}
|
||||
if(this.allowClose()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-primary" onclick="changeDataInColumn('investigation','closed','${data.id}','${closedValueNew}')">${closeTxt}</button>`;
|
||||
}
|
||||
|
||||
|
||||
retval.bottom += `
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6 pb-6">
|
||||
${buttons}
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
||||
if(data.extraData.entries !== undefined && data.extraData.entries !== null && data.extraData.entries.length > 0){
|
||||
retval.bottom += System.GetTable(InvestigationEntry, data.extraData.entries);
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "reason"){
|
||||
|
||||
let txt = row[key];
|
||||
|
||||
if(txt.length > 30){
|
||||
txt = txt.substr(0,30) + "..";
|
||||
}
|
||||
return `
|
||||
<td>
|
||||
${txt}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "state"){
|
||||
if(row.closed){
|
||||
return `<td><div class="badge badge-info font-bold">${getTranslation("tag_closed")}</div></td>`;
|
||||
}
|
||||
else{
|
||||
return `<td><div class="badge badge-warning font-bold">${getTranslation("state_open")}</div></td>`;
|
||||
}
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","reason","state","id"]
|
||||
}
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"reason": {
|
||||
"val" : data.reason ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
class InvestigationEntry{
|
||||
constructor(){
|
||||
this.name = "investigationentry";
|
||||
}
|
||||
|
||||
static GetCustomDestination(data, dest){
|
||||
return data.investigation_id > 0 ? "investigation.view" : dest;
|
||||
}
|
||||
static GetCustomDestID(data, destID){
|
||||
return data.investigation_id ?? destID;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "is_important_entry"){
|
||||
if(row[key]){
|
||||
return `
|
||||
<td class="font-bold">
|
||||
<i class="fa-solid fa-check"></i>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
else{
|
||||
return "<td></td>"
|
||||
}
|
||||
}
|
||||
else if(key == "creator"){
|
||||
return `<td>${System.buildEmployeeName(row[key])}</td>`;
|
||||
}
|
||||
else{
|
||||
if(row[key].includes(" ")){
|
||||
//todo everywhere
|
||||
return `<td class="whitespace-normal break-normal">${row[key].replace(/\n/g,"<br>")}</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td class="whitespace-normal break-all">${row[key].replace(/\n/g,"<br>")}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["creator","content","is_important_entry"]
|
||||
}
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"investigation_id": {
|
||||
"val" : data.investigation_id ?? "-1"
|
||||
,"type" : "hidden"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
},
|
||||
"content": {
|
||||
"val" : data.content ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_important_entry": {
|
||||
"val" : data.is_important_entry ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
class LawBookLaws{
|
||||
constructor(){
|
||||
this.name = "lawbooklaws";
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static allowEdit(){
|
||||
return userrights.has("lawbooks.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("lawbooks.delete");
|
||||
}
|
||||
|
||||
static GetColumns(isEditList){
|
||||
if(!isEditList){
|
||||
return ["paragraph","crime","minimum_penalty","detention_time","others","id"]
|
||||
}
|
||||
else{
|
||||
return ["paragraph","crime","minimum_penalty","detention_time","others","id"]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key, isEditList){
|
||||
if(!isEditList){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getEditButtonIcon(row[key], this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name ,this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "crime") {
|
||||
return `<td class="whitespace-normal">${row[key]}</td>`;
|
||||
}
|
||||
else if(key == "others") {
|
||||
return `<td class="whitespace-normal">${row[key]}</td>`;
|
||||
}
|
||||
else {
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
else{
|
||||
|
||||
if(key == "id"){
|
||||
return `<td class="edittable_row" id = "edittable_row_${row.id}">
|
||||
${Form.NumberField(false, "lawbook_laws_amount_" + row.id, "0", "lawbook_laws_calc_penalty", false, false)}
|
||||
${Form.Hidden("lawbook_laws_id_" + row.id, row[key])}
|
||||
${Form.Hidden("lawbook_laws_minimum_penalty_" + row.id, row["minimum_penalty"])}
|
||||
${Form.Hidden("lawbook_laws_detention_time_" + row.id, row["detention_time"])}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "crime") {
|
||||
return `<td class="whitespace-normal">${row[key]}</td>`;
|
||||
}
|
||||
else if(key == "others") {
|
||||
return `<td class="whitespace-normal">${row[key]}</td>`;
|
||||
}
|
||||
else {
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"lawbook_id": {
|
||||
"val" : data.lawbook_id ?? "-1"
|
||||
,"type" : "hidden"
|
||||
},
|
||||
"crime": {
|
||||
"val" : data.crime ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"paragraph": {
|
||||
"val" : data.paragraph ?? ""
|
||||
,"type" : (HandleParagraphsAsNumber ? "float" : "text")
|
||||
,"mandatory":true
|
||||
}
|
||||
,"minimum_penalty": {
|
||||
"val" : data.minimum_penalty ?? 0
|
||||
,"type" : "number"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"detention_time": {
|
||||
"val" : data.detention_time ?? 0
|
||||
,"type" : "number"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"others": {
|
||||
"val" : data.others ?? ""
|
||||
,"type" : "textarea"
|
||||
,autogrow : true
|
||||
,"mandatory":false
|
||||
,"isRow":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
118
resources/[jobs]/[mdt]/myEmergency/html/js/modules/LawBooks.js
Normal file
118
resources/[jobs]/[mdt]/myEmergency/html/js/modules/LawBooks.js
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
class LawBooks{
|
||||
constructor(){
|
||||
this.name = "lawbooks";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("lawbooks.edit");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("lawbooks.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("lawbooks.delete");
|
||||
}
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static CreateCustom(data, isEditMode = false){
|
||||
|
||||
let retval = ``;
|
||||
|
||||
if(!isEditMode){
|
||||
document.getElementById("currentpage-content").innerHTML = Form.overviewHeadline(this.name.toLowerCase() + ".add", false, this.allowAddNew());
|
||||
}
|
||||
|
||||
|
||||
for(let i=0; i<data.data.length; i++){
|
||||
let row = data.data[i];
|
||||
|
||||
let buttons = ``;
|
||||
|
||||
let mbClass = "";
|
||||
|
||||
if(!isEditMode){
|
||||
if(this.allowAddNew()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-success lawbooks-add-crime" data-parentID="${row.id}">${getTranslation("add_crime")}</button>`;
|
||||
}
|
||||
if(this.allowEdit()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-warning lawbooks-edit" data-parentID="${row.id}">${getTranslation("edit")}</button>`;
|
||||
}
|
||||
if(this.allowDelete()){
|
||||
buttons += `<button type="button" class="btn btn-sm btn-error" onclick="Form.openDeleteModal(${row.id}, 'lawbooks')">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
}
|
||||
|
||||
if(buttons != ""){
|
||||
mbClass = "mb-2";
|
||||
}
|
||||
|
||||
|
||||
if(!isEditMode || row.laws.length > 0){
|
||||
retval += `
|
||||
<div class="collapse collapse-arrow border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<input type="checkbox" />
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${row.short_name} - ${row.name}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
<div class="${mbClass}">
|
||||
${buttons}
|
||||
</div>
|
||||
${System.GetTable(System.getClassByName("lawbooklaws"), row.laws, isEditMode)}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
if(!isEditMode){
|
||||
document.getElementById("currentpage-content").innerHTML += retval;
|
||||
Form.initTableButtons();
|
||||
|
||||
|
||||
Array.from(document.querySelectorAll(".lawbooks-add-crime")).forEach(function(button){
|
||||
button.onclick = function(){
|
||||
let staticData = {
|
||||
data:{
|
||||
lawbook_id:this.getAttribute("data-parentID")
|
||||
}
|
||||
}
|
||||
loadPage("lawbooklaws.add",-1,"false", staticData)
|
||||
}
|
||||
});
|
||||
Array.from(document.querySelectorAll(".lawbooks-edit")).forEach(function(button){
|
||||
button.onclick = function(){
|
||||
loadPage("lawbooks.edit",this.getAttribute("data-parentID"),"false", {})
|
||||
}
|
||||
});
|
||||
}
|
||||
else{
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
,"short_name": {
|
||||
"val" : data.short_name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
class Licenses{
|
||||
constructor(){
|
||||
this.name = "licenses";
|
||||
}
|
||||
static GetColumns(){
|
||||
return ["name","id"]
|
||||
}
|
||||
static allowAddNew(){
|
||||
return userrights.has("licenses.edit") && (!sync.isActive("licenses") || currentSystem == "medic")
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("licenses.edit") && (!sync.isActive("licenses") || currentSystem == "medic")
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("licenses.delete") && (!sync.isActive("licenses") || currentSystem == "medic")
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
116
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Manhunt.js
Normal file
116
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Manhunt.js
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
class Manhunt{
|
||||
constructor(){
|
||||
this.name = "manhunt";
|
||||
}
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static CreateCustom(data){
|
||||
document.getElementById("currentpage-content").innerHTML = `
|
||||
<div class="card w-full p-2 bg-base-100 shadow-xl mt-2 mb-6">
|
||||
<div class="h-full w-full bg-base-100">
|
||||
<div class="overflow-x-auto w-full">
|
||||
${System.GetTable(Manhunt, data.data)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
static GetColumns(){
|
||||
return ["type","last_changed","info","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
let destination = ""
|
||||
let destinationID = row[key]
|
||||
let allowed = false;
|
||||
|
||||
if(row.type == "files"){
|
||||
destination = "files.view"
|
||||
allowed = userrights.has(destination);
|
||||
}
|
||||
else if(row.type == "vehicle"){
|
||||
destination = "regvehicle.view"
|
||||
allowed = userrights.has("regvehicles.view");
|
||||
|
||||
}
|
||||
else if(row.type == "weapon"){
|
||||
destination = "regweapons.view"
|
||||
allowed = userrights.has(destination);
|
||||
}
|
||||
|
||||
if(allowed){
|
||||
return `
|
||||
<td>
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="loadPage('${destination}','${destinationID}')">${getTranslation(destination)}</button>
|
||||
</td>`
|
||||
}
|
||||
else{
|
||||
return `<td></td>`
|
||||
}
|
||||
}
|
||||
else if(key == "last_changed"){
|
||||
return `
|
||||
<td>
|
||||
${System.formatTimestamp(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "type"){
|
||||
return `
|
||||
<td>
|
||||
${getTranslation("type_" + row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "info"){
|
||||
if(row.type == "files"){
|
||||
let displayValue = "";
|
||||
|
||||
if(row[key]){
|
||||
let tmp = row[key].split("\n");
|
||||
|
||||
for(let i=0; i<tmp.length;i++){
|
||||
let breaked = tmp[i].match(/.{1,75}/g) ?? [];
|
||||
displayValue += (displayValue=="" ? "" : "<br>") + breaked.join("<br>");
|
||||
}
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
<p><strong>${getTranslation("name")}: </strong>${row.name}</p>
|
||||
<br>
|
||||
<p class="max-w-xs break-all">${displayValue}</p>
|
||||
</td>`
|
||||
;
|
||||
|
||||
}
|
||||
else if(row.type=="vehicle"){
|
||||
return `
|
||||
<td>
|
||||
<p><strong>${getTranslation("plate")}: </strong>${row.plate}</p>
|
||||
<p><strong>${getTranslation("owner")}: </strong>${row.owner}</p>
|
||||
<p><strong>${getTranslation("veh_type")}: </strong>${row.veh_type}</p>
|
||||
<p><strong>${getTranslation("veh_model")}: </strong>${row.veh_model}</p>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
else if(row.type == "weapon"){
|
||||
return `
|
||||
<td>
|
||||
<p><strong>${getTranslation("serialno")}: </strong>${row.serialno}</p>
|
||||
<p><strong>${getTranslation("owner")}: </strong>${row.owner}</p>
|
||||
<p><strong>${getTranslation("weapontype")}: </strong>${row.weapontype}</p>
|
||||
<p><strong>${getTranslation("weaponmodel")}: </strong>${row.weaponmodel}</p>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
class MissionReport{
|
||||
constructor(){
|
||||
this.name = "missionreport";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("missionreport.edit");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("missionreport.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("missionreport.delete");
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","mission_date","createddate","createdby","changeddate","changedby","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "mission_date"){
|
||||
return `
|
||||
<td>
|
||||
${System.formatDate(row[key])}
|
||||
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "name"){
|
||||
return `
|
||||
<td class="whitespace-normal">
|
||||
${row[key]}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "createddate" || key == "changeddate"){
|
||||
return `
|
||||
<td>
|
||||
${System.formatTimestamp(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "createdby" || key == "changedby"){
|
||||
return `
|
||||
<td>
|
||||
${System.buildEmployeeName(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"mission_date": {
|
||||
"val" : data.mission_date ?? new Date().toISOString().split('T')[0]
|
||||
,"type" : "date"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"mission_location":{
|
||||
"val" : data.mission_location ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"involved_forces": {
|
||||
"val" : data.involved_forces ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"report":{
|
||||
"val" : data.report ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
133
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Notes.js
Normal file
133
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Notes.js
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
class Notes{
|
||||
constructor(){
|
||||
this.name = "notes";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("notes.edit");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("notes.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("notes.delete");
|
||||
}
|
||||
|
||||
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
return {
|
||||
"note_headline": {
|
||||
"val" : data.note_headline ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
},
|
||||
"note": {
|
||||
"val" : data.note ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_important_note": {
|
||||
"val" : data.is_important_note ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static CreateCustom(data){
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML = Form.overviewHeadline(this.name.toLowerCase() + ".add", false, this.allowAddNew());
|
||||
|
||||
let statsHTML = ``;
|
||||
|
||||
if(data.data.important_notes.length > 0 || data.data.notes.length > 0){
|
||||
let badges = ``;
|
||||
|
||||
if(data.data.important_notes.length > 0){
|
||||
let gridCols = data.data.important_notes.length;
|
||||
|
||||
if(data.data.important_notes.length > 4){
|
||||
gridCols = 4;
|
||||
}
|
||||
|
||||
statsHTML += `<div class="grid pt-8 md:grid-cols-${gridCols} grid-cols-1 gap-6">`
|
||||
for(let i = 0; i<data.data.important_notes.length; i++){
|
||||
let row = data.data.important_notes[i];
|
||||
badges = `<div class="badge badge-error gap-2 font-bold">${getTranslation("stat.is_important_note")}</div>`;
|
||||
|
||||
let buttons = ``;
|
||||
if(this.allowEdit()){
|
||||
buttons += `<button onclick="loadPage('notes.edit','${row.id}')" class="btn btn-primary btn-sm">${getTranslation("edit")}</button>`;
|
||||
}
|
||||
|
||||
if(this.allowDelete()){
|
||||
buttons += `<button onclick="Form.openDeleteModal('${row.id}','notes')" class="btn btn-sm btn-error">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
|
||||
|
||||
statsHTML += `
|
||||
<div class="card w-full bg-warning text-warning-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${row.note_headline}</h2>
|
||||
<h2>${badges}</h2>
|
||||
<p><strong>${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.creationdate)}</strong></p>
|
||||
<p class="border border-current rounded-xl p-1 break-all">${row.note.replace(/\n/g, "<br>")}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
statsHTML += `</div>`;
|
||||
}
|
||||
|
||||
if(data.data.notes.length > 0){
|
||||
statsHTML += `<div class="grid pt-8 md:grid-cols-4 grid-cols-1 gap-6">`
|
||||
|
||||
for(let i = 0; i<data.data.notes.length; i++){
|
||||
let row = data.data.notes[i];
|
||||
|
||||
let buttons = ``;
|
||||
if(this.allowEdit()){
|
||||
buttons += `<button onclick="loadPage('notes.edit','${row.id}')" class="btn btn-primary btn-sm">${getTranslation("edit")}</button>`;
|
||||
}
|
||||
|
||||
if(this.allowDelete()){
|
||||
buttons += `<button onclick="Form.openDeleteModal('${row.id}','notes')" class="btn btn-sm btn-error">${getTranslation("delete")}</button>`;
|
||||
}
|
||||
|
||||
statsHTML += `
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${row.note_headline}</h2>
|
||||
<p><strong>${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.creationdate)}</strong></p>
|
||||
<p class="border border-current rounded-xl p-1 break-all">${row.note.replace(/\n/g, "<br>")}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
statsHTML += `</div>`;
|
||||
}
|
||||
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML += statsHTML;
|
||||
}
|
||||
|
||||
Form.initTableButtons();
|
||||
}
|
||||
}
|
||||
40
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Prison.js
Normal file
40
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Prison.js
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
class Prison{
|
||||
constructor(){
|
||||
this.name = "prison";
|
||||
}
|
||||
|
||||
static allowView(){
|
||||
return userrights.has("prison.view");
|
||||
}
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
static allowEdit(){
|
||||
return false;
|
||||
}
|
||||
static allowDelete(){
|
||||
return false;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["playername","prison","reason","remainingTime","date"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "date"){
|
||||
return `
|
||||
<td>
|
||||
${row[key]}<br>${row["officerName"]}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "remainingTime"){
|
||||
return `
|
||||
<td>
|
||||
${System.convertSecondsToTime(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
118
resources/[jobs]/[mdt]/myEmergency/html/js/modules/RadioState.js
Normal file
118
resources/[jobs]/[mdt]/myEmergency/html/js/modules/RadioState.js
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
class RadioState{
|
||||
constructor(){
|
||||
this.name = "radio_state";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("radiostate.edit")
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("radiostate.edit")
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("radiostate.delete")
|
||||
}
|
||||
|
||||
|
||||
static GetExtraForOverview(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
let buttons = ``;
|
||||
|
||||
let radioDetails = System.getRadioState(data.current_state_vehicle, data.current_state_person);
|
||||
|
||||
let currentRadio = radioDetails.radio_default;
|
||||
|
||||
if(radioDetails.vehicle == null){
|
||||
if(radioDetails.radio !== null){
|
||||
currentRadio = data.current_state_person[0].state_name
|
||||
buttons = `
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="SetRadioState(-1,'radiostate.overview')">${getTranslation("emergency_vehicles_no_radio")}</button>
|
||||
`
|
||||
}
|
||||
}
|
||||
else{
|
||||
currentRadio = currentRadio + " (" + radioDetails.vehicle + ")"
|
||||
if(radioDetails.radio !== null){
|
||||
currentRadio = radioDetails.radio + " (" + radioDetails.vehicle + ")"
|
||||
buttons = `
|
||||
<button type="button" class="btn btn-sm btn-warning" onclick="SetVehicle(-1,'radiostate.overview')">${getTranslation("leave_patrol")}</button>
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="SetRadioState(-1,'radiostate.overview')">${getTranslation("emergency_vehicles_no_radio")}</button>
|
||||
`
|
||||
}
|
||||
else{
|
||||
buttons = `
|
||||
<button type="button" class="btn btn-sm btn-warning" onclick="SetVehicle(-1,'radiostate.overview')">${getTranslation("leave_patrol")}</button>
|
||||
`
|
||||
}
|
||||
}
|
||||
|
||||
retval.top = `
|
||||
<div class="alert alert-info shadow-lg mb-4">
|
||||
<div>
|
||||
<div>${getTranslation("current_state")}: <strong>${currentRadio}</strong></div>
|
||||
<div>
|
||||
${buttons}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","short_name","setstate","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
let FgColor = System.GetFgColorByBgColor(row["color"]);
|
||||
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["color"]}">
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "setstate"){
|
||||
return `
|
||||
<td style="color:${FgColor}; background:${row["color"]}">
|
||||
<button type="button" class="btn btn-sm btn-primary" onclick="SetRadioState(${row["id"]},'radiostate.overview')">${getTranslation("set_state")}</button>
|
||||
</td>`;
|
||||
}
|
||||
else if(key != "id"){
|
||||
return `<td style="color:${FgColor}; background:${row["color"]}">${row[key]}</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td style="color:${FgColor}; background:${row["color"]}">${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data = {}){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"short_name": {
|
||||
"val" : data.short_name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"color": {
|
||||
"val" : data.color ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,options:System.GetColorOptions()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
class RankManagement{
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
|
||||
static CreateCustom(data){
|
||||
data.noLimit = true;
|
||||
data.pageNum = 1;
|
||||
data.count = data.data.length;
|
||||
|
||||
let tempdata = [];
|
||||
|
||||
for(let i=0; i<data.data.length; i++){
|
||||
tempdata[data.data[i].grade] = data.data[i]
|
||||
}
|
||||
|
||||
data.data = []
|
||||
tempdata.forEach(function(element){
|
||||
data.data.push(element)
|
||||
});
|
||||
|
||||
System.CreateOverView(this, data)
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","id"]
|
||||
}
|
||||
static TableDataCreate(row, key){
|
||||
|
||||
if(key == "id"){
|
||||
let disabled = "";
|
||||
if(row.isboss){
|
||||
disabled = " disabled"
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
<button type="button" onclick="loadPage('rankmanagementrights.dataload', '${row.grade}')" class="btn btn-sm btn-primary" ${disabled}>${getTranslation("set_rights")}</button>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
class RankManagementRights{
|
||||
static isCustom(){
|
||||
return true;
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
|
||||
static CreateCustom(data){
|
||||
let thead = `
|
||||
<tr>
|
||||
<th>
|
||||
<input type="checkbox" id="toggle-all-checkboxes" class="toggle toggle-success"/>
|
||||
</th>
|
||||
<th>
|
||||
${getTranslation("name")}
|
||||
</th>
|
||||
</tr>
|
||||
`
|
||||
|
||||
let tbody = ``;
|
||||
for(let i=0; i<data.data.rights.length; i++){
|
||||
tbody += `
|
||||
<tr>
|
||||
${this.TableDataCreate(data.data.rights[i],"id")}
|
||||
${this.TableDataCreate(data.data.rights[i],"right_key")}
|
||||
</tr>
|
||||
`;
|
||||
}
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML = `
|
||||
<div class="card w-full p-2 bg-base-100 shadow-xl mt-2 mb-6">
|
||||
<div class="h-full w-full bg-base-100">
|
||||
<div class="overflow-x-auto w-full">
|
||||
<table class="table table-compact w-full">
|
||||
<thead>
|
||||
${thead}
|
||||
</thead>
|
||||
<tbody>
|
||||
${tbody}
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6">
|
||||
<button id="input-cancel-button" class="btn btn-sm btn-error">${getTranslation("cancel")}</button>
|
||||
<button id="input-save-button" data-rankid="${data.data.id}" class="btn btn-sm btn-primary">${getTranslation("save")}</button>
|
||||
</div">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
document.getElementById("toggle-all-checkboxes").onclick=function(){
|
||||
let check = this.checked;
|
||||
|
||||
Array.from(document.getElementById("currentpage-content").querySelectorAll(".toggler-input")).forEach(function(item){
|
||||
item.checked = check ?? false;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
document.getElementById("input-cancel-button").onclick=function(){
|
||||
loadPage("rankmanagement.dataload",-1)
|
||||
}
|
||||
document.getElementById("input-save-button").onclick=function(){
|
||||
|
||||
let temp = Form.getFormData();
|
||||
delete temp["toggle-all-checkboxes"];
|
||||
|
||||
let formData = {
|
||||
rank_id: this.getAttribute("data-rankid"),
|
||||
data:temp
|
||||
}
|
||||
|
||||
sendDataToAPI("rankmanagementrights", "rankmanagement.dataload",-1, -1, formData);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static GetColumns(){
|
||||
return ["name", "id"]
|
||||
}
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
let checked = "";
|
||||
if(row.active){
|
||||
checked = " checked";
|
||||
}
|
||||
|
||||
return `<td><input id="input-${row.right_key}" data-id="${row[key]}" type="checkbox" class="toggle toggle-success toggler-input" ${checked} /></td>`
|
||||
}
|
||||
else if(key == "right_key"){
|
||||
return `<td>${getTranslation(row[key])}</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
}
|
||||
}
|
||||
420
resources/[jobs]/[mdt]/myEmergency/html/js/modules/RegVehicle.js
Normal file
420
resources/[jobs]/[mdt]/myEmergency/html/js/modules/RegVehicle.js
Normal file
|
|
@ -0,0 +1,420 @@
|
|||
class RegVehicle{
|
||||
constructor(){
|
||||
this.name = "regvehicle";
|
||||
}
|
||||
|
||||
static allowView(){
|
||||
return userrights.has("regvehicles.view");
|
||||
}
|
||||
static allowAddNew(){
|
||||
return userrights.has("regvehicles.edit") && !sync.isActive("regvehicle");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("regvehicles.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("regvehicles.delete") && !sync.isActive("regvehicle");
|
||||
}
|
||||
static allowFinishmanhunt(){
|
||||
return userrights.has("manhunt.finish");
|
||||
}
|
||||
static allowSetManhunt(){
|
||||
return userrights.has("manhunt.add");
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["plate","veh_type","veh_model","owner","mot","state","id"]
|
||||
}
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
if(data.is_wanted == 1){
|
||||
|
||||
let btn = ``;
|
||||
if(this.allowFinishmanhunt()){
|
||||
btn = `<button onclick="finishManhunt('${this.name}','${data.id}')" class="btn btn-sm btn-primary">${getTranslation("is_wanted_end")}</button>`
|
||||
}
|
||||
|
||||
|
||||
retval.top = `
|
||||
<div class="card w-full bg-error text-error-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${getTranslation("vehicle_wanted")}</h2>
|
||||
<p><strong>${getTranslation("reason")}: </strong>${data.is_wanted_reason}</p>
|
||||
<p></p>
|
||||
<p>${getTranslation("is_wanted_at_sight")}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${btn}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
if(data.extraData.mot_data !== undefined && data.extraData.mot_data !== null && showLastMotDetailFromMyMechanicMDT){
|
||||
let cardContent = "";
|
||||
|
||||
if(data.extraData.mot_data.length > 0){
|
||||
|
||||
let row = data.extraData.mot_data[0];
|
||||
|
||||
let contentHtml = ``;
|
||||
if(row.note !== undefined && row.note !== null && row.note.replace(/ /g, "") != ""){
|
||||
contentHtml = `<p class="border border-current rounded-xl p-1 break-all">${row.note.replace(/\n/g,"<br>")}</p>`;
|
||||
}
|
||||
|
||||
cardContent = `
|
||||
<p><strong>${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.createddate)}</strong></p>
|
||||
<p></p>
|
||||
<p><strong>${getTranslation("passed")}</strong>: <span class="badge badge-${row.passed ? "success" : "error"} gap-2 font-bold">${getTranslation(row.passed == 1 ? "yes": "no")}</span></p>
|
||||
<p><strong>${getTranslation("new_mot")}</strong>: ${System.formatDate(row.new_mot) }</p>
|
||||
<p><strong>${getTranslation("old_mot")}</strong>: ${System.formatDate(row.old_mot) }</p>
|
||||
${contentHtml}
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>${getTranslation("mot.lights")}</th>
|
||||
<th>${getTranslation("mot.brakes_tyres")}</th>
|
||||
<th>${getTranslation("mot.windows")}</th>
|
||||
<th>${getTranslation("mot.others")}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-center"><span class="badge badge-${row.headlights ? "success" : "error"} gap-2 font-bold">${getTranslation("headlights")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.front_brakes ? "success" : "error"} gap-2 font-bold">${getTranslation("front_brakes")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.windscreen ? "success" : "error"} gap-2 font-bold">${getTranslation("windscreen")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.horn ? "success" : "error"} gap-2 font-bold">${getTranslation("horn")}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center"><span class="badge badge-${row.rear_lights ? "success" : "error"} gap-2 font-bold">${getTranslation("rear_lights")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.rear_brakes ? "success" : "error"} gap-2 font-bold">${getTranslation("rear_brakes")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.rear_window ? "success" : "error"} gap-2 font-bold">${getTranslation("rear_window")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.exhaust_system ? "success" : "error"} gap-2 font-bold">${getTranslation("exhaust_system")}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center"><span class="badge badge-${row.indicators ? "success" : "error"} gap-2 font-bold">${getTranslation("indicators")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.front_tyres ? "success" : "error"} gap-2 font-bold">${getTranslation("front_tyres")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.side_windows ? "success" : "error"} gap-2 font-bold">${getTranslation("side_windows")}</span></td>
|
||||
<td class="text-center"><span class="badge badge-${row.engine ? "success" : "error"} gap-2 font-bold">${getTranslation("engine")}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td class="text-center"><span class="badge badge-${row.rear_tyres ? "success" : "error"} gap-2 font-bold">${getTranslation("rear_tyres")}</span></td>
|
||||
<td></td>
|
||||
<td class="text-center"><span class="badge badge-${row.bodywork ? "success" : "error"} gap-2 font-bold">${getTranslation("bodywork")}</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
`;
|
||||
|
||||
}
|
||||
else{
|
||||
cardContent = `<h3>${getTranslation("no_data_found")}</h3>`
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
retval.bottom += `
|
||||
<div class="collapse border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<input type="checkbox" />
|
||||
<summary class="collapse-title text-xl font-medium">
|
||||
${getTranslation("regvehicle_mot.overview")}
|
||||
</summary>
|
||||
<div class="collapse-content">
|
||||
<div class="grid grid-cols-1 md:grid-cols-1 gap-4 pt-2">
|
||||
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
${cardContent}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
if(data.extraData.part_acceptance !== undefined && data.extraData.part_acceptance !== null && showPartAcceptanceFromMyMechanicMDT){
|
||||
let cardCols = 2;
|
||||
|
||||
if(data.extraData.part_acceptance.length == 0){
|
||||
cardCols = 1;
|
||||
}
|
||||
|
||||
|
||||
retval.bottom += `
|
||||
<div class="collapse border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<input type="checkbox" />
|
||||
<summary class="collapse-title text-xl font-medium">
|
||||
${getTranslation("regvehicle_part_acceptance.overview")}
|
||||
</summary>
|
||||
<div class="collapse-content">
|
||||
<div class="grid grid-cols-1 md:grid-cols-${cardCols} gap-4 pt-2">
|
||||
`;
|
||||
|
||||
|
||||
|
||||
|
||||
if(data.extraData.part_acceptance.length > 0){
|
||||
let i=0;
|
||||
for(const row of data.extraData.part_acceptance){
|
||||
if(i < 9999){
|
||||
let temp = `
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
<p><strong>${System.buildEmployeeName(row.creator)} - ${System.formatTimestamp(row.createddate)}</strong></p>
|
||||
|
||||
<p class="border border-current rounded-xl p-1 break-all">${row.content.replace(/\n/g,"<br>")}</p>
|
||||
<p>
|
||||
|
||||
<p class="p-1 break-all">${(row["_acceptance_name"] ?? "").replace(/\n/g,"<br>")}</p>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
retval.bottom += temp;
|
||||
}
|
||||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
else{
|
||||
retval.bottom+= `
|
||||
<div class="card w-full bg-neutral text-neutral-content">
|
||||
<div class="card-body">
|
||||
<h3>${getTranslation("no_data_found")}</h3>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
retval.bottom += `
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "state"){
|
||||
|
||||
let badges = ""
|
||||
|
||||
|
||||
if(row["Impounded"] == 1){
|
||||
badges += `<div class="badge badge-secondary font-bold">${getTranslation("tag_impounded")}</div>`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(row[key] == "1"){
|
||||
badges += `<div class="badge badge-error font-bold">${getTranslation("tag_is_wanted")}</div>`;
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${badges}
|
||||
</td>`;
|
||||
}
|
||||
|
||||
else if(key == "id"){
|
||||
|
||||
let isWantedButton = ``;
|
||||
|
||||
if(this.allowSetManhunt()){
|
||||
isWantedButton = Form.getIsWantedButton(row[key], this.name, row.state == "1");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${isWantedButton}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name , this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "owner"){
|
||||
let val = row[key];
|
||||
if(val == ""){
|
||||
val = getTranslation("unknown");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${val}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "mot"){
|
||||
if(row[key] == ""){
|
||||
return `<td></td>`;
|
||||
}
|
||||
|
||||
if(new Date(row[key]) < new Date()){
|
||||
return `
|
||||
<td>
|
||||
<div class="badge badge-error font-bold">${System.formatDate(row[key])}</div>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
else{
|
||||
return `
|
||||
<td>
|
||||
<div class="badge badge-success font-bold">${System.formatDate(row[key])}</div>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data={}, readMode = false){
|
||||
let filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
,{"id":-2, "name":getTranslation("new_file"), "show_extra_field":true}
|
||||
];
|
||||
|
||||
if(sync.isActive("files")){
|
||||
filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
];
|
||||
}
|
||||
|
||||
filesOptions = [...filesOptions, ...data.extraData.files];
|
||||
|
||||
if(!readMode && UseMotDateFromMyMechanicMDT){
|
||||
return {
|
||||
"plate": {
|
||||
"val" : data.plate ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"owner": {
|
||||
"val" : data.owner_id ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":false
|
||||
,options:filesOptions
|
||||
}
|
||||
,"veh_type": {
|
||||
"val" : data.veh_type ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
,isRow:true
|
||||
}
|
||||
,"veh_model": {
|
||||
"val" : data.veh_model ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"color": {
|
||||
"val" : data.color ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"-": {
|
||||
"type" : "divider"
|
||||
}
|
||||
,"others": {
|
||||
"val" : data.others ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_wanted": {
|
||||
"val" : (data.is_wanted ?? false ? 1 : 0)
|
||||
,"type" : (this.allowSetManhunt() ? "dropdown" : "hidden")
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,"hideInViewMode":true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
,"is_wanted_reason": {
|
||||
"val" : data.is_wanted_reason ?? ""
|
||||
,"type" : (this.allowSetManhunt() ? "text" : "hidden")
|
||||
,"isRow": true
|
||||
,"hideInViewMode":true
|
||||
,"mandatory":false
|
||||
}
|
||||
}
|
||||
}
|
||||
else{
|
||||
return {
|
||||
"plate": {
|
||||
"val" : data.plate ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"owner": {
|
||||
"val" : data.owner_id ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":false
|
||||
,options:filesOptions
|
||||
}
|
||||
,"veh_type": {
|
||||
"val" : data.veh_type ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"mot": {
|
||||
"val" : data.mot ?? ""
|
||||
,"type" : "date"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"veh_model": {
|
||||
"val" : data.veh_model ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"color": {
|
||||
"val" : data.color ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"-": {
|
||||
"type" : "divider"
|
||||
}
|
||||
,"others": {
|
||||
"val" : data.others ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_wanted": {
|
||||
"val" : (data.is_wanted ?? false ? 1 : 0)
|
||||
,"type" : (this.allowSetManhunt() ? "dropdown" : "hidden")
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,"hideInViewMode":true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
,"is_wanted_reason": {
|
||||
"val" : data.is_wanted_reason ?? ""
|
||||
,"type" : (this.allowSetManhunt() ? "text" : "hidden")
|
||||
,"isRow": true
|
||||
,"hideInViewMode":true
|
||||
,"mandatory":false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,268 @@
|
|||
class RegVehicleImpounded{
|
||||
constructor(){
|
||||
this.name = "regvehicleimpounded";
|
||||
}
|
||||
|
||||
static allowView(){
|
||||
return userrights.has("regvehicles.view");
|
||||
}
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("regvehicles.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("regvehicles.delete") && !sync.isActive("regvehicle");
|
||||
}
|
||||
static allowFinishmanhunt(){
|
||||
return userrights.has("manhunt.finish");
|
||||
}
|
||||
static allowSetManhunt(){
|
||||
return userrights.has("manhunt.add");
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["plate","veh_type","veh_model","owner","mot","state","id"]
|
||||
}
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
if(data.is_wanted == 1){
|
||||
let btn = ``;
|
||||
if(this.allowFinishmanhunt()){
|
||||
btn = `<button onclick="finishManhunt('${this.name}','${data.id}')" class="btn btn-sm btn-primary">${getTranslation("is_wanted_end")}</button>`
|
||||
}
|
||||
|
||||
|
||||
retval.top = `
|
||||
<div class="card w-full bg-error text-error-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${getTranslation("vehicle_wanted")}</h2>
|
||||
<p><strong>${getTranslation("reason")}: </strong>${data.is_wanted_reason}</p>
|
||||
<p></p>
|
||||
<p>${getTranslation("is_wanted_at_sight")}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${btn}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "state"){
|
||||
|
||||
let badges = ""
|
||||
|
||||
|
||||
if(row["Impounded"] == 1){
|
||||
badges += `<div class="badge badge-secondary font-bold">${getTranslation("tag_impounded")}</div>`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(row[key] == "1"){
|
||||
badges += `<div class="badge badge-error font-bold">${getTranslation("tag_is_wanted")}</div>`;
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${badges}
|
||||
</td>`;
|
||||
}
|
||||
|
||||
else if(key == "id"){
|
||||
|
||||
let isWantedButton = ``;
|
||||
|
||||
if(this.allowSetManhunt()){
|
||||
isWantedButton = Form.getIsWantedButton(row[key], this.name, row.state == "1");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${isWantedButton}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name , this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "owner"){
|
||||
let val = row[key];
|
||||
if(val == ""){
|
||||
val = getTranslation("unknown");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${val}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "mot"){
|
||||
if(row[key] == ""){
|
||||
return `<td></td>`;
|
||||
}
|
||||
if(new Date(row[key]) < new Date()){
|
||||
return `
|
||||
<td>
|
||||
<div class="badge badge-error font-bold">${System.formatDate(row[key])}</div>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
else{
|
||||
return `
|
||||
<td>
|
||||
<div class="badge badge-success font-bold">${System.formatDate(row[key])}</div>
|
||||
</td>`
|
||||
;
|
||||
}
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data={}, readMode = false){
|
||||
let filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
,{"id":-2, "name":getTranslation("new_file"), "show_extra_field":true}
|
||||
];
|
||||
|
||||
if(sync.isActive("files")){
|
||||
filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
];
|
||||
}
|
||||
|
||||
filesOptions = [...filesOptions, ...data.extraData.files];
|
||||
|
||||
if(!readMode && UseMotDateFromMyMechanicMDT){
|
||||
return {
|
||||
"plate": {
|
||||
"val" : data.plate ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"owner": {
|
||||
"val" : data.owner ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":false
|
||||
,options:filesOptions
|
||||
}
|
||||
,"veh_type": {
|
||||
"val" : data.veh_type ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
,isRow:true
|
||||
}
|
||||
,"veh_model": {
|
||||
"val" : data.veh_model ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"color": {
|
||||
"val" : data.color ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"-": {
|
||||
"type" : "divider"
|
||||
}
|
||||
,"others": {
|
||||
"val" : data.others ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_wanted": {
|
||||
"val" : (data.is_wanted ?? false ? 1 : 0)
|
||||
,"type" : (this.allowSetManhunt() ? "dropdown" : "hidden")
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,"hideInViewMode":true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
,"is_wanted_reason": {
|
||||
"val" : data.is_wanted_reason ?? ""
|
||||
,"type" : (this.allowSetManhunt() ? "text" : "hidden")
|
||||
,"isRow": true
|
||||
,"hideInViewMode":true
|
||||
,"mandatory":false
|
||||
}
|
||||
}
|
||||
}
|
||||
else{
|
||||
return {
|
||||
"plate": {
|
||||
"val" : data.plate ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"owner": {
|
||||
"val" : data.owner ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":false
|
||||
,options:filesOptions
|
||||
}
|
||||
,"veh_type": {
|
||||
"val" : data.veh_type ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"mot": {
|
||||
"val" : data.mot ?? ""
|
||||
,"type" : "date"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"veh_model": {
|
||||
"val" : data.veh_model ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"color": {
|
||||
"val" : data.color ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"-": {
|
||||
"type" : "divider"
|
||||
}
|
||||
,"others": {
|
||||
"val" : data.others ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_wanted": {
|
||||
"val" : (data.is_wanted ?? false ? 1 : 0)
|
||||
,"type" : (this.allowSetManhunt() ? "dropdown" : "hidden")
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,"hideInViewMode":true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
,"is_wanted_reason": {
|
||||
"val" : data.is_wanted_reason ?? ""
|
||||
,"type" : (this.allowSetManhunt() ? "text" : "hidden")
|
||||
,"isRow": true
|
||||
,"hideInViewMode":true
|
||||
,"mandatory":false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
162
resources/[jobs]/[mdt]/myEmergency/html/js/modules/RegWeapons.js
Normal file
162
resources/[jobs]/[mdt]/myEmergency/html/js/modules/RegWeapons.js
Normal file
|
|
@ -0,0 +1,162 @@
|
|||
class RegWeapons{
|
||||
constructor(){
|
||||
this.name = "regweapons";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("regweapons.edit");
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("regweapons.edit");
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("regweapons.delete");
|
||||
}
|
||||
static allowFinishmanhunt(){
|
||||
return userrights.has("manhunt.finish");
|
||||
}
|
||||
static allowSetManhunt(){
|
||||
return userrights.has("manhunt.add");
|
||||
}
|
||||
|
||||
|
||||
static GetColumns(){
|
||||
return ["serialno","weapontype","weaponmodel","owner","state","id"]
|
||||
}
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
if(data.is_wanted == 1){
|
||||
let btn = ``;
|
||||
if(this.allowFinishmanhunt()){
|
||||
btn = `<button onclick="finishManhunt('${this.name}','${data.id}')" class="btn btn-sm btn-primary">${getTranslation("is_wanted_end")}</button>`;
|
||||
}
|
||||
|
||||
retval.top = `
|
||||
<div class="card w-full bg-error text-error-content">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title uppercase font-bold">${getTranslation("vehicle_wanted")}</h2>
|
||||
<p><strong>${getTranslation("reason")}: </strong>${data.is_wanted_reason}</p>
|
||||
<p></p>
|
||||
<p>${getTranslation("is_wanted_at_sight")}</p>
|
||||
<div class="card-actions justify-start">
|
||||
${btn}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "state"){
|
||||
if(row[key] == true){
|
||||
return `<td><div class="badge badge-error font-bold">${getTranslation("tag_is_wanted")}</div></td>`;
|
||||
}
|
||||
else{
|
||||
return `<td></td>`;
|
||||
}
|
||||
}
|
||||
else if(key == "id"){
|
||||
let isWantedButton = ``;
|
||||
|
||||
if(this.allowSetManhunt()){
|
||||
isWantedButton = Form.getIsWantedButton(row[key], this.name, row.state == "1");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${isWantedButton}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
|
||||
else if(key == "owner"){
|
||||
let val = row[key];
|
||||
if(val == ""){
|
||||
val = getTranslation("unknown");
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${val}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static GetEdit(data={}){
|
||||
let filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
,{"id":-2, "name":getTranslation("new_file"), "show_extra_field":true}
|
||||
];
|
||||
if(sync.isActive("files")){
|
||||
filesOptions = [
|
||||
{"id":-1, "name":getTranslation("unknown")}
|
||||
];
|
||||
}
|
||||
|
||||
filesOptions = [...filesOptions, ...data.extraData.files];
|
||||
|
||||
return {
|
||||
"serialno": {
|
||||
"val" : data.serialno ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"owner": {
|
||||
"val" : data.owner_id ?? "-1"
|
||||
,"type" : "searchdropdown"
|
||||
,"mandatory":false
|
||||
,options:filesOptions
|
||||
}
|
||||
,"weapontype": {
|
||||
"val" : data.weapontype ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"weaponmodel": {
|
||||
"val" : data.weaponmodel ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"-": {
|
||||
"type" : "divider"
|
||||
}
|
||||
,"others": {
|
||||
"val" : data.others ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"is_wanted": {
|
||||
"val" : (data.is_wanted ?? false ? 1 : 0)
|
||||
,"type" : (this.allowSetManhunt() ? "dropdown" : "hidden")
|
||||
,"isRow": true
|
||||
,"mandatory":false
|
||||
,hideInViewMode:true
|
||||
,"options":System.GetBooleanOptions()
|
||||
}
|
||||
,"is_wanted_reason": {
|
||||
"val" : data.is_wanted_reason ?? ""
|
||||
,"type" : (this.allowSetManhunt() ? "text" : "hidden")
|
||||
,"isRow": true
|
||||
,hideInViewMode:true
|
||||
,"mandatory":false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,179 @@
|
|||
class SharedFiles{
|
||||
constructor(){
|
||||
this.name = "sharedfiles";
|
||||
}
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
static allowEdit(){
|
||||
return false;
|
||||
}
|
||||
static allowDelete(){
|
||||
return false;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["fromsystem","name","state","id"];
|
||||
}
|
||||
|
||||
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:"",
|
||||
initTableButtons:false,
|
||||
}
|
||||
|
||||
let temp = Files.GetFileEntryHTML(data, false)
|
||||
retval.bottom += temp.html;
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "state"){
|
||||
|
||||
let badges = ``;
|
||||
|
||||
if(row[key] != ""){
|
||||
badges += `<div class="badge badge-error font-bold">${getTranslation("tag_" + row[key])}</div>`;
|
||||
}
|
||||
return `<td>${badges}</td>`;
|
||||
}
|
||||
else if(key == "fromsystem"){
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
else if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key] + "|##|" + row.real_from_system, this.name + ".view")}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data = {}){
|
||||
if(data.fromsystem == "police"){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"alias": {
|
||||
"val" : data.alias ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
}
|
||||
,"sex": {
|
||||
"val" : data.sex ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"options":[
|
||||
{id:0, name:getTranslation("unknown")},
|
||||
{id:1, name:getTranslation("male")},
|
||||
{id:2, name:getTranslation("female")},
|
||||
{id:3, name:getTranslation("diverse")}
|
||||
]
|
||||
}
|
||||
,"phone": {
|
||||
"val" : data.phone ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"size": {
|
||||
"val" : data.size ?? ""
|
||||
,"type" : "number"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"birth": {
|
||||
"val" : data.birth ?? ""
|
||||
,"type" : "date"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"eyecolor": {
|
||||
"val" : data.eyecolor ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"haircolor": {
|
||||
"val" : data.haircolor ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
};
|
||||
}
|
||||
else if(data.fromsystem == "medic"){
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":true
|
||||
,"isRow":true
|
||||
}
|
||||
,"blood_type": {
|
||||
"val" : data.blood_type ?? "A"
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,options:[
|
||||
{id:"A", name:"A+"},
|
||||
{id:"A-", name:"A-"},
|
||||
{id:"B", name:"B+"},
|
||||
{id:"B-", name:"B-"},
|
||||
{id:"AB", name:"AB+"},
|
||||
{id:"AB-", name:"AB-"},
|
||||
{id:"0", name:"0+"},
|
||||
{id:"0-", name:"0-"},
|
||||
]
|
||||
}
|
||||
,"sex": {
|
||||
"val" : data.sex ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,"options":[
|
||||
{id:0, name:getTranslation("unknown")},
|
||||
{id:1, name:getTranslation("male")},
|
||||
{id:2, name:getTranslation("female")},
|
||||
{id:3, name:getTranslation("diverse")}
|
||||
]
|
||||
}
|
||||
,"phone": {
|
||||
"val" : data.phone ?? ""
|
||||
,"type" : "text"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"birth": {
|
||||
"val" : data.birth ?? ""
|
||||
,"type" : "date"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"size": {
|
||||
"val" : data.size ?? ""
|
||||
,"type" : "number"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"weight": {
|
||||
"val" : data.weight ?? ""
|
||||
,"type" : "number"
|
||||
,"mandatory":false
|
||||
}
|
||||
,"allergies": {
|
||||
"val" : data.allergies ?? ""
|
||||
,"type" : "textarea"
|
||||
,"mandatory":false
|
||||
,rows:3
|
||||
}
|
||||
,"known_illnesses": {
|
||||
"val" : data.known_illnesses ?? ""
|
||||
,"type" : "textarea"
|
||||
,"mandatory":false
|
||||
,rows:3
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
class SpeedcamsMobile{
|
||||
constructor(){
|
||||
this.name = "speedcamsmobile";
|
||||
}
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
static GetColumns(){
|
||||
return ["name","totalProfit","lastTime","lastProfit","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
|
||||
let coords = {}
|
||||
coords.x = row.positionX;
|
||||
coords.y = row.positionY;
|
||||
|
||||
coords = JSON.stringify(coords);
|
||||
|
||||
return `
|
||||
<td>
|
||||
<button type="button" class="btn btn-primary btn-sm" data-entering='${coords}' onclick="GenerateRoute(this, false)">
|
||||
<i class="fa-solid fa-location-dot"></i>
|
||||
<button>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
class SpeedcamsProfit{
|
||||
constructor(){
|
||||
this.name = "speedcamsprofit";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return false;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["state", "type", "name", "totalProfit", "lastTime", "lastProfit", "id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
|
||||
if(row.allowRoute){
|
||||
let coords = {}
|
||||
coords.x = row.positionX;
|
||||
coords.y = row.positionY;
|
||||
|
||||
coords = JSON.stringify(coords);
|
||||
|
||||
return `
|
||||
<td>
|
||||
<button type="button" class="btn btn-primary btn-sm" data-entering='${coords}' onclick="GenerateRoute(this, false)">
|
||||
<i class="fa-solid fa-location-dot"></i>
|
||||
<button>
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td></td>`;
|
||||
}
|
||||
}
|
||||
else if(key == "type"){
|
||||
|
||||
let text = getTranslation("speedcamtype." + row[key]);
|
||||
let badge = `<div class="badge badge-warning font-bold">${text}</div>`;
|
||||
if(row[key] == "mobile"){
|
||||
badge = `<div class="badge badge-primary font-bold">${text}</div>`;
|
||||
}
|
||||
|
||||
return `<td>${badge}</td>`;
|
||||
}
|
||||
else if(key == "state"){
|
||||
|
||||
let text = getTranslation("speedcam_active." + row[key]);
|
||||
let badge = `<div class="badge badge-error font-bold">${text}</div>`;
|
||||
if(row[key] == 1){
|
||||
badge = `<div class="badge badge-success font-bold">${text}</div>`;
|
||||
}
|
||||
|
||||
return `<td>${badge}</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
122
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Trainings.js
Normal file
122
resources/[jobs]/[mdt]/myEmergency/html/js/modules/Trainings.js
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
class Trainings{
|
||||
constructor(){
|
||||
this.name = "trainings";
|
||||
}
|
||||
|
||||
static allowAddNew(){
|
||||
return userrights.has("trainings.edit")
|
||||
}
|
||||
static allowEdit(){
|
||||
return userrights.has("trainings.edit")
|
||||
}
|
||||
static allowDelete(){
|
||||
return userrights.has("trainings.delete")
|
||||
}
|
||||
static allowViewEmployeeTrainings(){
|
||||
return userrights.has("trainingsemployees.view")
|
||||
}
|
||||
|
||||
static GetExtraForView(data){
|
||||
let retval = {
|
||||
top:"",
|
||||
bottom:""
|
||||
}
|
||||
|
||||
if(this.allowViewEmployeeTrainings){
|
||||
retval.bottom += `
|
||||
<div class="collapse collapse-open border border-base-300 bg-base-100 rounded-box mt-4">
|
||||
<div class="collapse-title text-xl font-medium">
|
||||
${getTranslation("trainingsparticipants.overview")}
|
||||
</div>
|
||||
<div class="collapse-content">
|
||||
${System.GetTable(TrainingsParticipants, data.extraData.participants)}
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","short_name","action","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
if(key == "id"){
|
||||
return `
|
||||
<td>
|
||||
${Form.getViewButtonIcon(row[key], this.name + ".view")}
|
||||
${Form.getEditButtonIcon(row[key] , this.name + ".edit", this.allowEdit())}
|
||||
${Form.getDeleteButtonIcon(row[key], this.name, this.allowDelete())}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "action"){
|
||||
|
||||
let content = "";
|
||||
if(row.allow_self_entry){
|
||||
let disabled = "";
|
||||
if(row.entered > 0){
|
||||
disabled = " disabled"
|
||||
}
|
||||
content = `<button type="button" class="btn btn-sm btn-primary" onclick="participateForTraining(${row["id"]})" ${disabled}>${getTranslation("participate")}</button>`
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${content}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
static GetEdit(data={}){
|
||||
for(let i=0; i<data.extraData.trainees.length; i++){
|
||||
data.extraData.trainees[i].name = System.buildEmployeeName(data.extraData.trainees[i].name)
|
||||
}
|
||||
|
||||
return {
|
||||
"name": {
|
||||
"val" : data.name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"short_name": {
|
||||
"val" : data.short_name ?? ""
|
||||
,"type" : "text"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
}
|
||||
,"content": {
|
||||
"val" : data.content ?? ""
|
||||
,"type" : "textarea"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,autogrow: true
|
||||
,rows:3
|
||||
}
|
||||
,"allow_self_entry": {
|
||||
"val" : data.allow_self_entry ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,options:System.GetBooleanOptions()
|
||||
}
|
||||
,"min_rank_id": {
|
||||
"val" : data.min_rank_id ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"mandatory":true
|
||||
,options:System.getRankOptions()
|
||||
}
|
||||
,"trainee": {
|
||||
"val" : data.trainee ?? ""
|
||||
,"type" : "dropdown"
|
||||
,"isRow": true
|
||||
,"mandatory":true
|
||||
,options:data.extraData.trainees
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
class TrainingsParticipants{
|
||||
constructor(){
|
||||
this.name = "trainingsparticipants";
|
||||
}
|
||||
|
||||
static allowEditEmployeeTrainings(){
|
||||
return userrights.has("trainingsemployees.edit")
|
||||
}
|
||||
|
||||
static GetColumns(){
|
||||
return ["name","action","passed","id"]
|
||||
}
|
||||
|
||||
static TableDataCreate(row, key){
|
||||
|
||||
if(key == "id"){
|
||||
if(row.passed > -1){
|
||||
|
||||
let btn = ``;
|
||||
if(this.allowEditEmployeeTrainings()){
|
||||
btn = `
|
||||
<button type="button" class="btn btn-sm btn-error" onclick="trainingPassed(-1, '${row["employee_id"]}', '${row["training_id"]}')">
|
||||
<i class="fa-solid fa-delete-left"></i>
|
||||
</button>
|
||||
`;
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${btn}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td></td>`;
|
||||
}
|
||||
|
||||
}
|
||||
else if(key == "action"){
|
||||
let disabled = "";
|
||||
let content = ``;
|
||||
|
||||
if(row.participate > 0){
|
||||
disabled = " disabled"
|
||||
}
|
||||
|
||||
if(this.allowEditEmployeeTrainings()){
|
||||
content = `<button type="button" class="btn btn-sm btn-primary" onclick="participateForTraining(${row["training_id"]}, '${row["employee_id"]}')" ${disabled}>${getTranslation("participate")}</button>`
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${content}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "passed"){
|
||||
let content = "";
|
||||
|
||||
if(row[key] == -1 && this.allowEditEmployeeTrainings()){
|
||||
content = `
|
||||
<button type="button" class="btn btn-sm btn-error" onclick="trainingPassed(0, '${row["employee_id"]}', '${row["training_id"]}')">
|
||||
<i class="fa-solid fa-xmark"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-sm btn-success" onclick="trainingPassed(1, '${row["employee_id"]}', '${row["training_id"]}')">
|
||||
<i class="fa-solid fa-check"></i>
|
||||
</button>`
|
||||
;
|
||||
}
|
||||
else if(row[key] == 0){
|
||||
content = `<i class="fa-solid fa-xmark text-error"></i>`;
|
||||
}
|
||||
else if(row[key] == 1){
|
||||
content = `<i class="fa-solid fa-check text-success"></i>`;
|
||||
}
|
||||
|
||||
return `
|
||||
<td>
|
||||
${content}
|
||||
</td>`;
|
||||
}
|
||||
else if(key == "name"){
|
||||
return `
|
||||
<td>
|
||||
${System.buildEmployeeName(row[key])}
|
||||
</td>`;
|
||||
}
|
||||
else{
|
||||
return `<td>${row[key]}</td>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
752
resources/[jobs]/[mdt]/myEmergency/html/js/script.js
Normal file
752
resources/[jobs]/[mdt]/myEmergency/html/js/script.js
Normal file
|
|
@ -0,0 +1,752 @@
|
|||
let locale = 'en';
|
||||
let navMenu;
|
||||
let isInit = true;
|
||||
let userrights;
|
||||
let lastjob;
|
||||
let lastjobgrade;
|
||||
let currentSystem;
|
||||
let job_grades = [];
|
||||
let sync;
|
||||
let useWeaponRegister = true;
|
||||
let useMyImpound = true;
|
||||
let useMySpeedcam = true;
|
||||
let HandleParagraphsAsNumber = false;
|
||||
let UseMotDateFromMyMechanicMDT = false;
|
||||
let showLastMotDetailFromMyMechanicMDT = false;
|
||||
let showPartAcceptanceFromMyMechanicMDT = false;
|
||||
let UseMyPrison = false;
|
||||
|
||||
let globalFileSearcher = new FileSearch()
|
||||
|
||||
const coreFile = "myMDT_core";
|
||||
|
||||
|
||||
(function(){
|
||||
|
||||
document.onkeydown = function(e){
|
||||
if(e.key.toLowerCase() == "escape"){
|
||||
closeWin();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
document.getElementById("delete-modal-delete").onclick=function(){
|
||||
let id = document.getElementById("delete-modal").getAttribute("data-id");
|
||||
let src = document.getElementById("delete-modal").getAttribute("data-delete-destination");
|
||||
deleteData(src, id);
|
||||
}
|
||||
|
||||
|
||||
window.addEventListener('message', function( event ) {
|
||||
if(event.data.message == "show"){
|
||||
document.documentElement.setAttribute("data-theme",event.data.theme)
|
||||
|
||||
useWeaponRegister = event.data.useWeaponRegister
|
||||
HandleParagraphsAsNumber = event.data.HandleParagraphsAsNumber
|
||||
UseMotDateFromMyMechanicMDT = event.data.UseMotDateFromMyMechanicMDT
|
||||
showLastMotDetailFromMyMechanicMDT = event.data.showLastMotDetailFromMyMechanicMDT
|
||||
showPartAcceptanceFromMyMechanicMDT = event.data.showPartAcceptanceFromMyMechanicMDT
|
||||
useMyImpound = event.data.useMyImpound
|
||||
useMySpeedcam = event.data.useMySpeedcam
|
||||
UseMyPrison = event.data.UseMyPrison
|
||||
|
||||
sync=new Sync(event.data.Sync)
|
||||
locale = event.data.locale
|
||||
document.getElementById("main_navigation_copname").innerHTML = System.buildEmployeeName(event.data.username);
|
||||
document.getElementById("main").style.display = "";
|
||||
document.getElementById("radiostates").style.display = "none";
|
||||
|
||||
userrights = new Rights(event.data.rights);
|
||||
job_grades = event.data.job_grades;
|
||||
|
||||
if(lastjob != event.data.job || lastjobgrade != event.data.jobgrade){
|
||||
isInit = true;
|
||||
lastjob = event.data.job;
|
||||
lastjobgrade = event.data.jobgrade;
|
||||
}
|
||||
|
||||
currentSystem = event.data.currentsystem;
|
||||
|
||||
System.SetColor(event.data.currentsystem);
|
||||
|
||||
navMenu = new NavMenu(navigation, event.data.currentsystem);
|
||||
|
||||
Array.from(document.querySelectorAll(".nav-checkrights")).forEach(function(item){
|
||||
if(item.getAttribute("data-rightkey") != ""){
|
||||
if(userrights.has(item.getAttribute("data-rightkey"))){
|
||||
item.style.display = "";
|
||||
}
|
||||
else{
|
||||
item.style.display = "none";
|
||||
}
|
||||
|
||||
if (item.id == "menuItem-li-regweapons" && !useWeaponRegister){
|
||||
item.style.display = "none";
|
||||
}
|
||||
if (item.id == "menuItem-li-prison" && !UseMyPrison){
|
||||
item.style.display = "none";
|
||||
}
|
||||
if (item.id == "menuItem-li-speedcamsmobile" && !useMySpeedcam){
|
||||
item.style.display = "none";
|
||||
}
|
||||
if (item.id == "menuItem-li-speedcamsprofit" && !useMySpeedcam){
|
||||
item.style.display = "none";
|
||||
}
|
||||
if (item.id == "menuItem-li-regvehicleimpounded" && !useMyImpound){
|
||||
item.style.display = "none";
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Array.from(document.querySelectorAll(".nav-checkfor-nextelements")).forEach(function(item){
|
||||
let itemsVisible = false;
|
||||
|
||||
Array.from(document.querySelectorAll(".divier-" + item.getAttribute("data-tkey"))).forEach(function(child){
|
||||
if(child.style.display != "none"){
|
||||
itemsVisible = true;
|
||||
}
|
||||
});
|
||||
|
||||
if(!itemsVisible){
|
||||
item.style.display="none";
|
||||
}
|
||||
else{
|
||||
item.style.display="";
|
||||
}
|
||||
});
|
||||
|
||||
if(isInit){
|
||||
loadPage("dashboard.dataload",-1);
|
||||
isInit=false;
|
||||
}
|
||||
}
|
||||
else if(event.data.message == "show-radio-states"){
|
||||
locale = event.data.locale
|
||||
document.documentElement.setAttribute("data-theme",event.data.theme)
|
||||
|
||||
document.getElementById("radiostates").style.display = "block";
|
||||
document.getElementById("main").style.display = "none";
|
||||
|
||||
let radioDetails = System.getRadioState(event.data.curstate.vehicle, event.data.curstate.person);
|
||||
|
||||
let radioHud = new RadioHud();
|
||||
|
||||
radioHud.SetLocation(event.data.config.Position);
|
||||
radioHud.SetExtraMargins(event.data.config.extraMargins);
|
||||
radioHud.DrawInfo(radioDetails);
|
||||
|
||||
radioHud.DrawButtons(event.data.data, radioDetails.radio_id, radioDetails.radio_default);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
fetch(`http://${location.host}/NuiReady`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({})
|
||||
}).then((response) => {
|
||||
response.json().then(function(retobj){});
|
||||
});
|
||||
|
||||
})();
|
||||
|
||||
|
||||
function handleMenuItemClick(item){
|
||||
navMenu.setItemActive(item);
|
||||
showLoading();
|
||||
|
||||
loadPage(item.getAttribute("data-destination"), -1, item.getAttribute("data-forceReload"));
|
||||
}
|
||||
|
||||
|
||||
function showLoading(){
|
||||
document.getElementById("currentpage-content").innerHTML = `
|
||||
Loading..
|
||||
<progress class="progress progress-accent w-100 "></progress>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
function setCurrentPageHeadLine(text){
|
||||
|
||||
document.getElementById("current_page_name").innerHTML = text;
|
||||
}
|
||||
|
||||
function changeDestination(input){
|
||||
|
||||
if(input == "lawbooklaws.dataload"){
|
||||
input = "lawbooks.dataload"
|
||||
}
|
||||
if(input == "evidenceroomarticles.dataload"){
|
||||
input = "evidencerooms.dataload"
|
||||
}
|
||||
|
||||
return input;
|
||||
}
|
||||
|
||||
|
||||
function loadPage(destination, id, force = "false", staticData={}){
|
||||
destination = changeDestination(destination);
|
||||
document.body.setAttribute("data-quicksearch","")
|
||||
|
||||
|
||||
if(destination.endsWith(".dataload") || destination.endsWith(".overview")){
|
||||
force = "true";
|
||||
|
||||
if(destination.endsWith(".overview")){
|
||||
document.body.setAttribute("data-quicksearch",document.getElementById("global-searchbar") ? document.getElementById("global-searchbar").value.trim() : "")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(destination != document.body.getAttribute("data-lastdest")){
|
||||
resetPageNum();
|
||||
document.body.setAttribute("data-quicksearch","");
|
||||
}
|
||||
else if(id != document.body.getAttribute("data-last-id")){
|
||||
resetPageNum();
|
||||
}
|
||||
|
||||
document.body.setAttribute("data-lastdest", destination);
|
||||
document.body.setAttribute("data-last-id", id);
|
||||
document.body.setAttribute("data-force-load", force);
|
||||
|
||||
|
||||
setActiveItem(destination);
|
||||
setCurrentPageHeadLine(getTranslation(destination));
|
||||
showLoading();
|
||||
|
||||
|
||||
|
||||
if(id == -1 && force == "false" && destination!="trainings.add" && destination!="criminalcomplaint.add" && destination!="evidenceroomarticles.add" && destination!="regvehicle.add" && destination!="regweapons.add"){
|
||||
if(destination.endsWith(".view") || destination.endsWith(".edit") || destination.endsWith(".add")){
|
||||
let loadtype = destination.replace(".view","").replace(".edit","").replace(".add","");
|
||||
ShowDetails(destination, loadtype, staticData);
|
||||
}
|
||||
}
|
||||
else{
|
||||
loadData(destination, id, staticData)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function reload(){
|
||||
loadPage(document.body.getAttribute("data-lastdest"),document.body.getAttribute("data-last-id"),document.body.getAttribute("data-force-load") )
|
||||
}
|
||||
|
||||
function setActiveItem(destination){
|
||||
|
||||
let type = destination.replace(".overview","").replace(".dataload","").replace(".add","").replace(".edit","").replace(".view","");
|
||||
let item;
|
||||
|
||||
|
||||
if(destination == "trainings.add" || destination == "missionreport.add"){
|
||||
type += ".add"
|
||||
}
|
||||
|
||||
if(document.getElementById("menuitem-" + type)){
|
||||
item = document.getElementById("menuitem-" + type);
|
||||
}
|
||||
|
||||
|
||||
if(item){
|
||||
navMenu.setItemActive(item);
|
||||
}
|
||||
}
|
||||
|
||||
function ShowCustom(destination, loadtype, retobj){
|
||||
let _class = System.getClassByName(loadtype);
|
||||
|
||||
|
||||
if(_class !== null){
|
||||
_class.CreateCustom(retobj);
|
||||
}
|
||||
else{
|
||||
console.log("no class defined for " + loadtype);
|
||||
}
|
||||
}
|
||||
|
||||
function ShowOverview(loadtype, data){
|
||||
let _class = System.getClassByName(loadtype);
|
||||
|
||||
|
||||
if(_class !== null){
|
||||
System.CreateOverView(
|
||||
_class
|
||||
,data
|
||||
);
|
||||
}
|
||||
else{
|
||||
console.log("no overview defined for " + loadtype)
|
||||
}
|
||||
}
|
||||
|
||||
function ShowDetails(destination, loadtype = "", data = {}){
|
||||
|
||||
let isViewMode = destination.endsWith(".view");
|
||||
loadtype = loadtype.toLocaleLowerCase();
|
||||
|
||||
let _class = System.getClassByName(loadtype);
|
||||
|
||||
if(_class !== null){
|
||||
let dest = "overview";
|
||||
|
||||
if (_class.hasOwnProperty("isCustom") && _class.isCustom()) {
|
||||
dest = "dataload";
|
||||
}
|
||||
|
||||
System.CreateEdit(
|
||||
_class
|
||||
,data.data
|
||||
,isViewMode
|
||||
,destination
|
||||
,loadtype + "." + dest
|
||||
);
|
||||
}
|
||||
else{
|
||||
console.log("no detailsview defined for " + loadtype)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
async function loadData(destination, id, staticData = {}){
|
||||
destination = changeDestination(destination);
|
||||
|
||||
setActiveItem(destination.toLowerCase());
|
||||
setCurrentPageHeadLine(getTranslation(destination.toLowerCase()));
|
||||
showLoading();
|
||||
|
||||
|
||||
destination = destination.toLowerCase()
|
||||
|
||||
let loadDest = destination;
|
||||
let loadinfo = destination;
|
||||
|
||||
if(destination.endsWith(".overview")){
|
||||
loadDest = "overview";
|
||||
loadinfo = destination.replace(".overview","");
|
||||
}
|
||||
else if(destination.endsWith(".view") || destination.endsWith(".edit") || destination.endsWith(".add")){
|
||||
loadDest = "loadDetails";
|
||||
loadinfo = destination.replace(".view","");
|
||||
loadinfo = loadinfo.replace(".edit","");
|
||||
loadinfo = loadinfo.replace(".add","");
|
||||
}
|
||||
else{
|
||||
loadDest = "custom"
|
||||
loadinfo = destination.replace(".dataload","");
|
||||
}
|
||||
|
||||
let data;
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/${loadDest}`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"pageNum": 1*((document.body.getAttribute("data-cur-pageNum")) ?? 1)-1,
|
||||
"id": id,
|
||||
"quicksearch": document.body.getAttribute("data-quicksearch"),
|
||||
"load_info": loadinfo
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
|
||||
console.log(`--------------------------------------------`)
|
||||
console.log(`info : http://${location.host}/${loadDest}`)
|
||||
console.log(`pageNum : ${1*((document.body.getAttribute("data-cur-pageNum")) ?? 1)-1}`)
|
||||
console.log(`id : ${id}`)
|
||||
console.log(`load_info : ${loadinfo}`)
|
||||
console.log(`quicksearch : ${quicksearch}`)
|
||||
console.log(`--------------------------------------------`)
|
||||
}
|
||||
|
||||
if(data){
|
||||
if(loadDest == "overview"){
|
||||
ShowOverview(loadinfo, data);
|
||||
}
|
||||
else if(loadDest == "loadDetails"){
|
||||
if(staticData.data !== undefined && staticData.data !== null){
|
||||
for (const [key, value] of Object.entries(staticData.data)) {
|
||||
if(data.data[key] == undefined){
|
||||
data.data[key] = value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ShowDetails(destination, loadinfo, data);
|
||||
}
|
||||
else if(loadDest == "custom"){
|
||||
ShowCustom(destination, loadinfo, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function sendDataToAPI(source, destination, id, destination_id, formdata){
|
||||
fetch(`http://${location.host}/save-data`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"source": source,
|
||||
"id": id,
|
||||
"formData": formdata,
|
||||
"source": source.toLowerCase()
|
||||
})
|
||||
}).then((response) => {
|
||||
response.json().then(function(retobj){
|
||||
loadPage(destination.toLowerCase(), destination_id);
|
||||
});
|
||||
});
|
||||
}
|
||||
function deleteData(source, id){
|
||||
fetch(`http://${location.host}/delete-data`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"id": id,
|
||||
"source": source.toLowerCase()
|
||||
})
|
||||
}).then((response) => {
|
||||
response.json().then(function(retobj){
|
||||
document.getElementById("delete-modal").checked = false;
|
||||
reload();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function saveData(source, destination, id, destination_id){
|
||||
sendDataToAPI(source, destination, id, destination_id, Form.getFormData())
|
||||
}
|
||||
function finishManhunt(source, id){
|
||||
fetch(`http://${location.host}/finish-manhunt`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"source": source,
|
||||
"id": id,
|
||||
"source": source.toLowerCase()
|
||||
})
|
||||
}).then((response) => {
|
||||
response.json().then(function(retobj){
|
||||
reload();
|
||||
});
|
||||
});
|
||||
}
|
||||
async function takeControlCentre(isReset){
|
||||
let data;
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/takeControlCentre`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"isReset": isReset
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
reload();
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/takeControlCentre?isReset=${isReset}`)
|
||||
}
|
||||
}
|
||||
|
||||
async function SetRadioState(newID, destinationPage){
|
||||
let data;
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/SetRadioState`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"new_state": newID
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
loadPage(destinationPage,-1)
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/SetRadioState?new_state=${newID}`)
|
||||
}
|
||||
}
|
||||
async function SetRadioStateShortcut(newID){
|
||||
let data;
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/SetRadioState`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"new_state": newID
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
closeWin()
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/SetRadioState?new_state=${newID}`)
|
||||
}
|
||||
}
|
||||
async function SetVehicle(newID, destinationPage){
|
||||
let data;
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/SetVehicle`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"new_state": newID
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
loadPage(destinationPage, -1);
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/SetVehicle?new_state=${newID}`)
|
||||
console.log(`destinationpage : ${destinationPage}`)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
async function changeDataInColumn(loadType, columnName, id, new_value){
|
||||
let formdata = {};
|
||||
formdata[columnName] = new_value
|
||||
sendDataToAPI(loadType, document.body.getAttribute("data-lastdest") ,id, document.body.getAttribute("data-last-id"), formdata)
|
||||
}
|
||||
|
||||
async function EmployeeSuspend(loadType, employeeid, value){
|
||||
let data;
|
||||
|
||||
try{
|
||||
const response = await fetch(`http://${coreFile}/employee_suspend`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"id": employeeid
|
||||
,"value": value
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
loadPage(loadType, -1);
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/employee_suspend?id=${employeeid}&value=${value}`)
|
||||
}
|
||||
}
|
||||
|
||||
async function resetVehicle(vehicleId){
|
||||
let data;
|
||||
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/resetVehicle`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"id": vehicleId
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
loadPage("controlcentre.dataload".toLowerCase(), -1);
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/resetVehicle?id=${vehicleId}`)
|
||||
}
|
||||
}
|
||||
async function resetEmployeeRadio(employeeid){
|
||||
let data;
|
||||
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/resetEmployeeRadio`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
"id": employeeid
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
loadPage("controlcentre.dataload".toLowerCase(), -1);
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error fetching data:', error);
|
||||
console.log(`info : http://${location.host}/resetEmployeeRadio?id=${vehicleId}`)
|
||||
}
|
||||
}
|
||||
async function closeWin(){
|
||||
let data;
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/closeWindow`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
document.getElementById("main").style.display = "none";
|
||||
document.getElementById("radiostates").style.display = "none";
|
||||
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error while closing');
|
||||
}
|
||||
}
|
||||
|
||||
async function participateForTraining(trainingId, employee_id = null, fromEmployee = false){
|
||||
let formdata = {};
|
||||
formdata.training_id = trainingId
|
||||
formdata.employee_id = employee_id
|
||||
|
||||
let destination = "trainings.overview";
|
||||
let destId = -1;
|
||||
if(employee_id !== null){
|
||||
destination = "trainings.view";
|
||||
destId = trainingId;
|
||||
}
|
||||
|
||||
if(!fromEmployee){
|
||||
sendDataToAPI("trainingsemployees", destination,-1, destId, formdata);
|
||||
}
|
||||
else{
|
||||
sendDataToAPI("employeestraining", "employeestraining.dataload",-1, employee_id, formdata)
|
||||
}
|
||||
}
|
||||
async function trainingPassed(passed, employee_id, training_id, fromEmployee = false){
|
||||
let formdata = {};
|
||||
formdata.training_id = training_id
|
||||
formdata.employee_id = employee_id
|
||||
formdata.passed = passed
|
||||
|
||||
if(!fromEmployee){
|
||||
sendDataToAPI("trainingsemployees", "trainings.view",-1, training_id, formdata)
|
||||
}
|
||||
else{
|
||||
sendDataToAPI("employeestraining", "employeestraining.dataload",-1, employee_id, formdata)
|
||||
}
|
||||
}
|
||||
|
||||
async function addLicenseToFile(file_id){
|
||||
let licenseid = document.getElementById("input-files-license").value;
|
||||
|
||||
let formdata = {};
|
||||
formdata.file_id = file_id
|
||||
formdata.license_id = licenseid
|
||||
|
||||
sendDataToAPI("fileslicenses", "files.view",-1, file_id, formdata)
|
||||
}
|
||||
|
||||
async function GenerateRoute(buttonEl, isProperty){
|
||||
let data;
|
||||
|
||||
let coords = buttonEl.getAttribute("data-entering");
|
||||
let parsed = JSON.parse(coords);
|
||||
let xPos;
|
||||
let yPos;
|
||||
|
||||
if(isProperty){
|
||||
let is_my_property = buttonEl.getAttribute("data-is-my-property");
|
||||
let is_qs_housing = buttonEl.getAttribute("data-is-qs-housing");
|
||||
|
||||
if(is_my_property == "1"){
|
||||
xPos = parsed.x
|
||||
yPos = parsed.y
|
||||
}
|
||||
else if(is_qs_housing == "1"){
|
||||
xPos = parsed.enter.x
|
||||
yPos = parsed.enter.y
|
||||
}
|
||||
else{
|
||||
return;
|
||||
}
|
||||
}
|
||||
else{
|
||||
xPos = parsed.x
|
||||
yPos = parsed.y
|
||||
}
|
||||
|
||||
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/GenerateRoute`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
x: xPos,
|
||||
y: yPos
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
closeWin();
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error while set route');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
async function SearchFiles(htmlEl){
|
||||
let data;
|
||||
|
||||
try{
|
||||
const response = await fetch(`http://${location.host}/filterFilesDropdown`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json; charset=UTF-8',
|
||||
},
|
||||
body: JSON.stringify({
|
||||
id: htmlEl.getAttribute("data-parentid"),
|
||||
search: htmlEl.value
|
||||
})
|
||||
});
|
||||
data = await response.json();
|
||||
|
||||
}
|
||||
catch(error){
|
||||
console.log('Error while set SearchFiles');
|
||||
}
|
||||
|
||||
|
||||
Form.refillFilesDropDown(htmlEl, data)
|
||||
|
||||
}
|
||||
|
||||
function resetPageNum(){
|
||||
document.body.setAttribute("data-cur-pageNum",1);
|
||||
}
|
||||
764
resources/[jobs]/[mdt]/myEmergency/html/js/system.js
Normal file
764
resources/[jobs]/[mdt]/myEmergency/html/js/system.js
Normal file
|
|
@ -0,0 +1,764 @@
|
|||
class System{
|
||||
static Files(){
|
||||
return Files;
|
||||
}
|
||||
static SharedFiles(){
|
||||
return SharedFiles;
|
||||
}
|
||||
static RegVehicle(){
|
||||
return RegVehicle;
|
||||
}
|
||||
static RegVehicleImpounded(){
|
||||
return RegVehicleImpounded;
|
||||
}
|
||||
static RegWeapons(){
|
||||
return RegWeapons;
|
||||
}
|
||||
static SpeedcamsMobile(){
|
||||
return SpeedcamsMobile;
|
||||
}
|
||||
static SpeedcamsProfit(){
|
||||
return SpeedcamsProfit;
|
||||
}
|
||||
static ControlCentre(){
|
||||
return ControlCentre;
|
||||
}
|
||||
static Employees(){
|
||||
return Employees;
|
||||
}
|
||||
static EmployeesEntry(){
|
||||
return EmployeesEntry;
|
||||
}
|
||||
static RankManagement(){
|
||||
return RankManagement;
|
||||
}
|
||||
static RankManagementRights(){
|
||||
return RankManagementRights;
|
||||
}
|
||||
static Manhunt(){
|
||||
return Manhunt;
|
||||
}
|
||||
static Trainings(){
|
||||
return Trainings;
|
||||
}
|
||||
static Licenses(){
|
||||
return Licenses;
|
||||
}
|
||||
static Investigation(){
|
||||
return Investigation;
|
||||
}
|
||||
static InvestigationEntry(){
|
||||
return InvestigationEntry;
|
||||
}
|
||||
static MissionReport(){
|
||||
return MissionReport;
|
||||
}
|
||||
static RadioState(){
|
||||
return RadioState;
|
||||
}
|
||||
static EmergencyVehicle(){
|
||||
return EmergencyVehicle;
|
||||
}
|
||||
static CriminalComplaint(){
|
||||
return CriminalComplaint;
|
||||
}
|
||||
static LawBooks(){
|
||||
return LawBooks;
|
||||
}
|
||||
static EvidenceRooms(){
|
||||
return EvidenceRooms;
|
||||
}
|
||||
static Prison(){
|
||||
return Prison;
|
||||
}
|
||||
static LawBookLaws(){
|
||||
return LawBookLaws;
|
||||
}
|
||||
static EvidenceRoomArticles(){
|
||||
return EvidenceRoomArticles;
|
||||
}
|
||||
static EvidenceRoomArticlesDestroyed(){
|
||||
return EvidenceRoomArticlesDestroyed;
|
||||
}
|
||||
static FileEntry(){
|
||||
return FileEntry;
|
||||
}
|
||||
static EmployeeVehicle(){
|
||||
return EmployeeVehicle;
|
||||
}
|
||||
static EmergencyVehicleRadio(){
|
||||
return EmergencyVehicleRadio;
|
||||
}
|
||||
static EmployeeRadio(){
|
||||
return EmployeeRadio;
|
||||
}
|
||||
static EmployeesTraining(){
|
||||
return EmployeesTraining;
|
||||
}
|
||||
static Dashboard(){
|
||||
return Dashboard;
|
||||
}
|
||||
static Notes(){
|
||||
return Notes;
|
||||
}
|
||||
|
||||
static getServiceNo(str){
|
||||
if(str){
|
||||
return str.toLowerCase().replace(new RegExp("[a-z]","gm"),"").replace(":","").substr(1,6)
|
||||
}
|
||||
else{
|
||||
return "error..";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static GetFgColorByBgColor(bgColor){
|
||||
let colors = this.GetColors();
|
||||
if(colors[bgColor]){
|
||||
return colors[bgColor].fgColor;
|
||||
}
|
||||
else{
|
||||
return "#000000";
|
||||
}
|
||||
}
|
||||
|
||||
static ToggleInjury(sender){
|
||||
let fieldId = sender.id.replace("injury-","input-");
|
||||
|
||||
let inputEl = document.getElementById(fieldId);
|
||||
|
||||
if(inputEl){
|
||||
if(sender.querySelector("path").classList.contains("active")){
|
||||
sender.querySelector("path").classList.remove("active");
|
||||
inputEl.value = 0;
|
||||
}
|
||||
else{
|
||||
sender.querySelector("path").classList.add("active");
|
||||
inputEl.value = 1;
|
||||
}
|
||||
Form.validate();
|
||||
}
|
||||
else{
|
||||
console.log("no field found for " + fieldId);
|
||||
}
|
||||
}
|
||||
|
||||
static GetComplaintByID(id){
|
||||
return this.getComplaintStates()[id] ?? {}
|
||||
}
|
||||
|
||||
static getFirstName(input){
|
||||
if(input == ""){
|
||||
return "";
|
||||
}
|
||||
let parsed = JSON.parse(input);
|
||||
return parsed.firstname
|
||||
}
|
||||
static getLastName(input){
|
||||
if(input == ""){
|
||||
return "";
|
||||
}
|
||||
let parsed = JSON.parse(input);
|
||||
return parsed.lastname
|
||||
}
|
||||
static getJobGrade(input){
|
||||
if(input === null || input == ""){
|
||||
return 0;
|
||||
}
|
||||
let parsed = JSON.parse(input);
|
||||
return parsed.grade.level
|
||||
}
|
||||
|
||||
static buildEmployeeName(input){
|
||||
|
||||
if(input == null){
|
||||
return `<s>${getTranslation("employee.unknown")}</s>`;
|
||||
}
|
||||
|
||||
if(input == ""){
|
||||
return "";
|
||||
}
|
||||
|
||||
let JSONS = input.split("<SEPERATOR>")
|
||||
let retval = "";
|
||||
|
||||
for(let i=0; i<JSONS.length; i++){
|
||||
|
||||
let valueseperator = JSONS[i].split("<VALSEPERATOR>");
|
||||
|
||||
let parsed = {};
|
||||
let validJson = false;
|
||||
|
||||
let identifier = valueseperator[1] ?? '';
|
||||
let serviceno = valueseperator[2] ?? '';
|
||||
|
||||
let retServiceno = serviceno;
|
||||
if(retServiceno === '' && identifier !== ''){
|
||||
retServiceno = System.getServiceNo(identifier);
|
||||
}
|
||||
|
||||
try{
|
||||
parsed = JSON.parse(valueseperator[0]);
|
||||
validJson = true;
|
||||
}
|
||||
catch(e){
|
||||
|
||||
}
|
||||
|
||||
if(!validJson){
|
||||
|
||||
let json = valueseperator[0].replace('{','').replace('}','').split(",");
|
||||
let temp = {};
|
||||
for(let i=0; i<json.length; i++){
|
||||
let splitted = json[i].split(":");
|
||||
parsed[splitted[0]] = splitted[1];
|
||||
}
|
||||
}
|
||||
|
||||
retval += (retval == "" ? "" : "<br> ") + (retServiceno == '' ? '' : retServiceno + ' - ') + parsed.firstname + " " + parsed.lastname;
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static SetColor(sys){
|
||||
let colors = {
|
||||
police : "primary",
|
||||
medic : "error",
|
||||
default : "accent"
|
||||
}
|
||||
|
||||
let el = document.getElementById("main_navigation_copname");
|
||||
|
||||
if(!colors[sys]){
|
||||
sys = "default";
|
||||
}
|
||||
|
||||
Object.keys(colors).forEach(function(job){
|
||||
if(el.classList.contains("bg-" + colors[job])){
|
||||
el.classList.remove("bg-" + colors[job]);
|
||||
el.classList.remove("text-" + colors[job] + "-content");
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
el.classList.add("bg-" + colors[sys] ?? "ghost");
|
||||
el.classList.add("text-" + colors[sys] + "-content" ?? "text-ghost-content");
|
||||
}
|
||||
|
||||
static getRadioState(vehicleData, persondata){
|
||||
let retval = {
|
||||
vehicle:null,
|
||||
radio:null,
|
||||
radio_default:getTranslation("emergency_vehicles_no_radio"),
|
||||
radio_id:-1
|
||||
}
|
||||
|
||||
if(vehicleData.length == 0){
|
||||
if(persondata[0] !== null && persondata[0] !== undefined && persondata[0].state_name !== undefined && persondata[0].state_name !== ""){
|
||||
retval.radio = persondata[0].state_name
|
||||
retval.radio_id = persondata[0].state_id
|
||||
}
|
||||
}
|
||||
else{
|
||||
retval.vehicle = vehicleData[0].vehname_short + " - " + vehicleData[0].vehname
|
||||
if(vehicleData[0].state_name !== undefined && vehicleData[0].state_name !== ""){
|
||||
retval.radio = vehicleData[0].state_name
|
||||
retval.radio_id = vehicleData[0].state_id
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static getDate(){
|
||||
let date = new Date();
|
||||
let yyyy = date.getFullYear().toString();
|
||||
let MM = this.padNum(date.getMonth() + 1,2);
|
||||
let dd = this.padNum(date.getDate(), 2);
|
||||
let hh = this.padNum(date.getHours(), 2);
|
||||
let mm = this.padNum(date.getMinutes(), 2)
|
||||
let ss = this.padNum(date.getSeconds(), 2)
|
||||
|
||||
return yyyy + MM + dd + "-" + hh + mm + ss;
|
||||
}
|
||||
|
||||
static padNum(num, length){
|
||||
|
||||
var str = '' + num;
|
||||
while (str.length < length) {
|
||||
str = '0' + str;
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
|
||||
static formatDate(input){
|
||||
if(input == ""){
|
||||
return "";
|
||||
}
|
||||
if(locale == "de"){
|
||||
let temp = input.split("-");
|
||||
|
||||
return `${temp[2]}.${temp[1]}.${temp[0]}`
|
||||
}
|
||||
else{
|
||||
return input;
|
||||
}
|
||||
}
|
||||
static formatTimestamp(input){
|
||||
if(input == ""){
|
||||
return "";
|
||||
}
|
||||
|
||||
if(locale == "de"){
|
||||
let splitted = input.split(" ");
|
||||
let datesplit = splitted[0].split("-");
|
||||
let timesplit = splitted[1].split(":");
|
||||
|
||||
return `${datesplit[2]}.${datesplit[1]}.${datesplit[0]} ${timesplit[0]}:${timesplit[1]}`
|
||||
}
|
||||
else{
|
||||
let splitted = input.split(" ");
|
||||
let datesplit = splitted[0].split("-");
|
||||
let timesplit = splitted[1].split(":");
|
||||
|
||||
return `${splitted[0]} ${timesplit[0]}:${timesplit[1]}`
|
||||
}
|
||||
}
|
||||
|
||||
static getEmployeeEntryTypes(){
|
||||
return {
|
||||
"0" : {name:getTranslation("note"), "color":"info"},
|
||||
"1" : {name:getTranslation("positiv"), "color":"success"},
|
||||
"2" : {name:getTranslation("negative"), "color":"error"}
|
||||
}
|
||||
}
|
||||
static getEmployeeEntryTypesOptions(){
|
||||
let retval = [];
|
||||
|
||||
let json = this.getEmployeeEntryTypes();
|
||||
Object.keys(json).forEach(function(key){
|
||||
retval.push({"id": key, "name":json[key].name })
|
||||
});
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static getFileEntryTypes(){
|
||||
return {
|
||||
"0" : {name:getTranslation("fine_crime"), "color":"error"},
|
||||
"1" : {name:getTranslation("positiv"), "color":"success"},
|
||||
"2" : {name:getTranslation("neutral"), "color":"info"}
|
||||
}
|
||||
}
|
||||
|
||||
static getRankOptions(){
|
||||
let retval = [];
|
||||
|
||||
Object.keys(job_grades).forEach(function(i){
|
||||
retval.push({"id": job_grades[i].grade, "name":job_grades[i].label})
|
||||
})
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static getLabelByRank(in_rank_id){
|
||||
let retval = "unknown";
|
||||
|
||||
Object.keys(job_grades).forEach(function(i){
|
||||
if(job_grades[i].grade == in_rank_id){
|
||||
retval = job_grades[i].label;
|
||||
}
|
||||
})
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
static getFileEntryTypesOptions(){
|
||||
let retval = [];
|
||||
|
||||
let json = this.getFileEntryTypes();
|
||||
Object.keys(json).forEach(function(key){
|
||||
retval.push({"id": key, "name":json[key].name })
|
||||
});
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static GetCompaintStateOptions(){
|
||||
let retval = [];
|
||||
|
||||
let json = this.getComplaintStates();
|
||||
Object.keys(json).forEach(function(key){
|
||||
retval.push({"id": key, "name":json[key].name })
|
||||
});
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
static getComplaintStates(){
|
||||
return {
|
||||
"0" : {name:getTranslation("state_open"), "color":"badge-error"},
|
||||
"1" : {name:getTranslation("state_inprogress"), "color":"badge-warning"},
|
||||
"2" : {name:getTranslation("state_closed"), "color":"badge-success"}
|
||||
}
|
||||
}
|
||||
|
||||
static GetColors(){
|
||||
return {
|
||||
"#008000": {
|
||||
bgcolor : "#008000"
|
||||
,fgColor : "#FFFFFF"
|
||||
,name : getTranslation("color-green")
|
||||
},
|
||||
"#FF0000": {
|
||||
bgcolor : "#FF0000"
|
||||
,fgColor : "#FFFFFF"
|
||||
,name : getTranslation("color-red")
|
||||
},
|
||||
"#0000FF": {
|
||||
bgcolor : "#0000FF"
|
||||
,fgColor : "#FFFFFF"
|
||||
,name : getTranslation("color-blue")
|
||||
},
|
||||
"#ffa500": {
|
||||
bgcolor : "#ffa500"
|
||||
,fgColor : "#000000"
|
||||
,name : getTranslation("color-orange")
|
||||
},
|
||||
"#ffc0cb": {
|
||||
bgcolor : "#ffc0cb"
|
||||
,fgColor : "#000000"
|
||||
,name : getTranslation("color-pink")
|
||||
},
|
||||
"#888888": {
|
||||
bgcolor : "#888888"
|
||||
,fgColor : "#000000"
|
||||
,name : getTranslation("color-gray")
|
||||
},
|
||||
"#880000": {
|
||||
bgcolor : "#880000"
|
||||
,fgColor : "#FFFFFF"
|
||||
,name : getTranslation("color-dark_red")
|
||||
},
|
||||
"#000000": {
|
||||
bgcolor : "#000000"
|
||||
,fgColor : "#FFFFFF"
|
||||
,name : getTranslation("color-black")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static GetColorOptions(){
|
||||
let json = this.GetColors();
|
||||
|
||||
let options = [];
|
||||
|
||||
Object.keys(json).forEach(function(key){
|
||||
options.push({"id": key, "name":json[key].name })
|
||||
});
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
|
||||
static getClassByName(name){
|
||||
let _classes = {
|
||||
"files": this.Files()
|
||||
,"sharedfiles": this.SharedFiles()
|
||||
,"regvehicle": this.RegVehicle()
|
||||
,"regvehicleimpounded": this.RegVehicleImpounded()
|
||||
,"regweapons": this.RegWeapons()
|
||||
,"radiostate": this.RadioState()
|
||||
,"speedcamsmobile": this.SpeedcamsMobile()
|
||||
,"speedcamsprofit": this.SpeedcamsProfit()
|
||||
,"manhunt": this.Manhunt()
|
||||
,"emergencyvehicle": this.EmergencyVehicle()
|
||||
,"trainings": this.Trainings()
|
||||
,"criminalcomplaint": this.CriminalComplaint()
|
||||
,"missionreport": this.MissionReport()
|
||||
,"investigation": this.Investigation()
|
||||
,"employees": this.Employees()
|
||||
,"employeesentry": this.EmployeesEntry()
|
||||
,"employeestraining": this.EmployeesTraining()
|
||||
,"lawbooks": this.LawBooks()
|
||||
,"evidencerooms": this.EvidenceRooms()
|
||||
,"prison": this.Prison()
|
||||
,"lawbooklaws": this.LawBookLaws()
|
||||
,"evidenceroomarticles": this.EvidenceRoomArticles()
|
||||
,"evidenceroomarticlesdestroyed": this.EvidenceRoomArticlesDestroyed()
|
||||
,"controlcentre": this.ControlCentre()
|
||||
,"fileentry": this.FileEntry()
|
||||
,"investigationentry": this.InvestigationEntry()
|
||||
,"licenses": this.Licenses()
|
||||
,"employeevehicle": this.EmployeeVehicle()
|
||||
,"emergencyvehicleradio": this.EmergencyVehicleRadio()
|
||||
,"employeeradio": this.EmployeeRadio()
|
||||
,"dashboard": this.Dashboard()
|
||||
,"notes": this.Notes()
|
||||
,"rankmanagement": this.RankManagement()
|
||||
,"rankmanagementrights": this.RankManagementRights()
|
||||
}
|
||||
|
||||
if(_classes[name]){
|
||||
return _classes[name];
|
||||
}
|
||||
else{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static GetBooleanOptions(){
|
||||
return [
|
||||
{id:0, "name" : getTranslation("no")},
|
||||
{id:1, "name" : getTranslation("yes")}
|
||||
]
|
||||
}
|
||||
|
||||
static GetTable(_class, gridData, additionalData = null){
|
||||
|
||||
if(gridData.length == 0 || gridData.length == undefined){
|
||||
return `<h2>${getTranslation("no_data_found")}</h2>`;
|
||||
}
|
||||
|
||||
let columns = _class.GetColumns(additionalData);
|
||||
let html = `<table class = "table table-compact w-full">`
|
||||
for(let i=0; i<gridData.length;i++){
|
||||
if(i==0){
|
||||
|
||||
html += `<thead>`;
|
||||
html += `<tr>`;
|
||||
|
||||
for(let k=0; k<columns.length;k++){
|
||||
html += `<th>${getTranslation(columns[k])}</th>`;
|
||||
}
|
||||
|
||||
html += `</tr>`;
|
||||
html += `</thead>`;
|
||||
html += `<tbody>`;
|
||||
}
|
||||
|
||||
html+=`<tr>`;
|
||||
|
||||
for(let j=0; j<columns.length;j++){
|
||||
let key = columns[j];
|
||||
html+= _class.TableDataCreate(gridData[i], key, additionalData)
|
||||
}
|
||||
|
||||
html+=`</tr>`;
|
||||
|
||||
}
|
||||
html += `</tbody>`;
|
||||
html += `</table>`;
|
||||
|
||||
return html;
|
||||
}
|
||||
|
||||
static CreateOverView(_class, data={}){
|
||||
let html = ``;
|
||||
let gridData = data.data;
|
||||
let maxData = data.count;
|
||||
let maxPages = data.count / 10;
|
||||
let curPage = data.pageNum ?? 0;
|
||||
let withoutLimit = data.noLimit;
|
||||
|
||||
let extraHtml = {}
|
||||
let allowAddNew = true;
|
||||
if (_class.hasOwnProperty("allowAddNew")) {
|
||||
allowAddNew = _class.allowAddNew();
|
||||
}
|
||||
if (_class.hasOwnProperty("GetExtraForOverview")) {
|
||||
extraHtml = _class.GetExtraForOverview(data.xtraData);
|
||||
}
|
||||
|
||||
html = extraHtml.top ?? "";
|
||||
|
||||
|
||||
|
||||
html += Form.overviewHeadline(_class.name.toLowerCase() + ".add", !withoutLimit, allowAddNew);
|
||||
html += `<div class="card w-full p-2 bg-base-100 shadow-xl mt-2 mb-6 " >`
|
||||
html += `<div class="h-full w-full bg-base-100" >`
|
||||
html += `<div class="overflow-x-auto w-full" >`
|
||||
|
||||
html += this.GetTable(_class, gridData);
|
||||
|
||||
html += `</div>`
|
||||
html += `</div>`
|
||||
html += `</div>`
|
||||
|
||||
if(!withoutLimit){
|
||||
html += Form.getPageChanger(curPage,maxPages);
|
||||
}
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML = html;
|
||||
|
||||
Form.initTableButtons();
|
||||
Form.initPageChange();
|
||||
}
|
||||
|
||||
static CreateEdit(_class, data = {}, readMode = false, src = "", dest = "", destid = -1){
|
||||
let inputData = {};
|
||||
let initTableButtons = false
|
||||
|
||||
if (_class.hasOwnProperty("GetEdit")) {
|
||||
inputData = _class.GetEdit(data, readMode);
|
||||
}
|
||||
if (_class.hasOwnProperty("GetCustomDestID")) {
|
||||
destid = _class.GetCustomDestID(data, destid);
|
||||
}
|
||||
|
||||
if (_class.hasOwnProperty("GetCustomDestination")) {
|
||||
dest = _class.GetCustomDestination(data, dest);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
let html = ``;
|
||||
let groupInit = false;
|
||||
|
||||
Object.keys(inputData).forEach(key=>{
|
||||
if(inputData[key].hideInViewMode != true && readMode || (!readMode && inputData[key].hideInEdit != true)){
|
||||
if(inputData[key].isRow != true && inputData[key].type != "divider" && !groupInit){
|
||||
html += `
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
`;
|
||||
groupInit=true;
|
||||
}
|
||||
else if((inputData[key].isRow == true || inputData[key].type == "divider") && groupInit ){
|
||||
html += `
|
||||
</div>
|
||||
`;
|
||||
groupInit=false;
|
||||
}
|
||||
|
||||
if(inputData[key].type === "text"){
|
||||
html += Form.TextBox(inputData[key].mandatory, key, inputData[key].val);
|
||||
}
|
||||
else if(inputData[key].type === "hidden"){
|
||||
html += Form.Hidden(key, inputData[key].val);
|
||||
}
|
||||
else if(inputData[key].type === "date"){
|
||||
html += Form.DateField(inputData[key].mandatory, key, inputData[key].val);
|
||||
}
|
||||
else if(inputData[key].type === "number"){
|
||||
html += Form.NumberField(inputData[key].mandatory, key, inputData[key].val);
|
||||
}
|
||||
else if(inputData[key].type === "float"){
|
||||
html += Form.Float(inputData[key].mandatory, key, inputData[key].val);
|
||||
}
|
||||
else if(inputData[key].type === "textarea"){
|
||||
html += Form.TextArea(inputData[key].mandatory, key, inputData[key].val, inputData[key].autogrow, inputData[key].rows);
|
||||
}
|
||||
else if(inputData[key].type === "dropdown"){
|
||||
html += Form.Combobox(inputData[key].mandatory, key, inputData[key].val, inputData[key].options, inputData[key].extraClass);
|
||||
}
|
||||
else if(inputData[key].type === "searchdropdown"){
|
||||
//html += Form.SearchCombobox("", "", 1, "");
|
||||
html += Form.SearchCombobox(inputData[key].mandatory, key, inputData[key].val, inputData[key].options, data.id ?? -1);
|
||||
}
|
||||
else if(inputData[key].type === "divider"){
|
||||
html += Form.Divier();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
if(groupInit){
|
||||
html+=`</div>`;
|
||||
}
|
||||
|
||||
if(!readMode){
|
||||
let extraHtml = {}
|
||||
if (_class.hasOwnProperty("GetExtraForEdit")) {
|
||||
extraHtml = _class.GetExtraForEdit(data);
|
||||
}
|
||||
|
||||
if(extraHtml.bottom!== undefined && extraHtml.bottom!= null && extraHtml.bottom != ""){
|
||||
html += extraHtml.bottom;
|
||||
}
|
||||
|
||||
html += `
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 pt-6">
|
||||
${Form.cancelButton(src, dest, destid)}
|
||||
${Form.saveButton(_class.name, dest, data.id ?? -1, destid)}
|
||||
</div">
|
||||
`;
|
||||
|
||||
if(extraHtml.top!== undefined && extraHtml.top!= null && extraHtml.top != ""){
|
||||
html = extraHtml.top + html;
|
||||
}
|
||||
}
|
||||
else{
|
||||
let extraHtml = {}
|
||||
if (_class.hasOwnProperty("GetExtraForView")) {
|
||||
extraHtml = _class.GetExtraForView(data);
|
||||
}
|
||||
|
||||
if(extraHtml.initTableButtons == true){
|
||||
initTableButtons = true;
|
||||
}
|
||||
|
||||
let editDest = src.replace(".view",".edit")
|
||||
|
||||
let allowEdit = true;
|
||||
if (_class.hasOwnProperty("allowEdit")) {
|
||||
allowEdit = _class.allowEdit();
|
||||
}
|
||||
let tempTop = Form.BackEditBtn(dest, editDest, data.id ?? destid, allowEdit);
|
||||
|
||||
if(extraHtml.top!== undefined && extraHtml.top!= null && extraHtml.top != ""){
|
||||
tempTop += extraHtml.top;
|
||||
}
|
||||
html = tempTop + html;
|
||||
|
||||
if(extraHtml.bottom!== undefined && extraHtml.bottom!= null && extraHtml.bottom != ""){
|
||||
html += extraHtml.bottom;
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById("currentpage-content").innerHTML = html;
|
||||
|
||||
if(!readMode){
|
||||
Form.initSearchComboboxes();
|
||||
Form.initValidation();
|
||||
Form.initSaveButtons();
|
||||
if(Object.keys(inputData).length == 1){
|
||||
Form.validate();
|
||||
}
|
||||
|
||||
}
|
||||
else{
|
||||
if(initTableButtons){
|
||||
Form.initTableButtons();
|
||||
}
|
||||
Form.disableAll();
|
||||
Form.initViewModeTopButtons();
|
||||
}
|
||||
Form.TextAreaGrow();
|
||||
}
|
||||
|
||||
static convertSecondsToTime(input){
|
||||
|
||||
let hours = Math.floor(input / 3600);
|
||||
let remainingSeconds = input % 3600;
|
||||
let minutes = Math.floor(input / 60);
|
||||
let secs = input % 60;
|
||||
|
||||
// Führende Nullen hinzufügen, wenn die Zahl < 10 ist
|
||||
hours = hours.toString().padStart(2, '0');
|
||||
minutes = minutes.toString().padStart(2, '0');
|
||||
secs = secs.toString().padStart(2, '0');
|
||||
|
||||
return `${hours}:${minutes}:${secs}`;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue