v20210118 pwa ios
authorKilian Saffran <ksaffran@dks.lu>
Mon, 18 Jan 2021 17:16:19 +0000 (18:16 +0100)
committerKilian Saffran <ksaffran@dks.lu>
Mon, 18 Jan 2021 17:16:19 +0000 (18:16 +0100)
27 files changed:
app/index.cgi
app/lib/dksdb.pm
app/lib/session.pm
app/static/img/chrome.png [new file with mode: 0644]
app/static/img/edge.png [new file with mode: 0644]
app/static/img/safari.png [new file with mode: 0644]
app/static/img/safari.svg [new file with mode: 0644]
app/static/img/splashscreens/ipad_splash.png [new file with mode: 0644]
app/static/img/splashscreens/ipadpro1_splash.png [new file with mode: 0644]
app/static/img/splashscreens/ipadpro2_splash.png [new file with mode: 0644]
app/static/img/splashscreens/ipadpro3_splash.png [new file with mode: 0644]
app/static/img/splashscreens/iphone5_splash.png [new file with mode: 0644]
app/static/img/splashscreens/iphone6_splash.png [new file with mode: 0644]
app/static/img/splashscreens/iphoneplus_splash.png [new file with mode: 0644]
app/static/img/splashscreens/iphonex_splash.png [new file with mode: 0644]
app/static/img/splashscreens/iphonexr_splash.png [new file with mode: 0644]
app/static/img/splashscreens/iphonexsmax_splash.png [new file with mode: 0644]
app/static/js/request.js
app/tmpl/browser.tt [new file with mode: 0644]
app/tmpl/index.tt
app/tmpl/module/admin/admin.tt [moved from app/tmpl/module/admin.tt with 87% similarity]
app/tmpl/module/admin/adminvacancydays.tt [moved from app/tmpl/module/adminvacancydays.tt with 100% similarity]
app/tmpl/module/admin/adminvacancytypes.tt [moved from app/tmpl/module/adminvacancytypes.tt with 100% similarity]
app/tmpl/module/admin/index.tt [new file with mode: 0644]
app/tmpl/module/admin/sectors.tt [moved from app/tmpl/module/sectors.tt with 95% similarity]
app/tmpl/module/index.tt
app/tmpl/module/login/login.tt

index 1d6283a..42e4e19 100644 (file)
@@ -23,12 +23,13 @@ my $db = dksdb->new({dsn => $sitecfg->{dsn},dbuser => $sitecfg->{dbuser},dbpassw
 my $vars = $sitecfg;
 my $sess = ();
 my $se = session->new({db => $db});
-
+$vars->{isapp} = "0";
 $vars->{ua} = $ENV{HTTP_USER_AGENT};
-# if (($vars->{ua} !~ /^POT/) && ($vars->{ua} !~ /iPad/)){
+if ($vars->{ua} =~ /^POT/){
+  $vars->{isapp} = "1";
 #      print "Location: https://www.plandutravail.lu\n\n";
 #      exit(0);
-}
+}
 $vars->{realpath} = $cgi->url({-absolute=>1});
 $vars->{filepath} = substr($cgi->url({-absolute=>1}),length($vars->{basepath})+1); 
 $vars->{baseurl} = $cgi->url({-base=>1}).'/'.$vars->{basepath};
@@ -105,6 +106,11 @@ if ($p->{sid} ne ""){
 } else {
   $skl = "login.tt";
 }
+if ($skl == "login.tt"){
+  if ((lc($vars->{ua}) =~ /trident/) || (lc($vars->{ua}) =~ /msie/)){
+    $skl = "browser.tt";
+  }
+}
 
 $vars->{session} = $sess;
 my $ctype = 'text/html';
index 3ca21b2..0d40d53 100644 (file)
@@ -20,7 +20,7 @@ sub new {
     my $class = shift;
     my $p = shift;
     my $self = bless {}, $class;
-    $self->{debug} = 0;
+    $self->{debug} = 1;
     $self->{dbh} = DBI->connect($p->{dsn},$p->{dbuser},$p->{dbpassword},{PrintError=>1,RaiseError=>1,AutoCommit=>1})  or return "query Connection Error!".$!;
     return $self;
 }
index 5823ade..5146bfd 100644 (file)
@@ -98,7 +98,7 @@ sub getsession($){
   my $sql = "select se.id as idsession,us.lang,us.id,us.username,ugrp.id as usergroup,us.id_staffgroups as staffgroups,se.sessiondata from sessions se 
 join users us on (us.id=se.id_user)
 left join usergroups ugrp on (ugrp.id=us.id_usergroup)
-where se.id= '".$self->{db}->securetext($sid)."' and se.remote_addr= '".$ENV{REMOTE_ADDR}."' and (se.user_agent LIKE '".'%POT%'."' OR se.user_agent LIKE '".'%iPad%'."') and 
+where se.id= '".$self->{db}->securetext($sid)."' and se.remote_addr= '".$ENV{REMOTE_ADDR}."' and se.user_agent ='".$ENV{HTTP_USER_AGENT}."' and 
 us.isblocked is null group by se.id,us.id,ugrp.id;";
  #and se.user_agent LIKE 'POT/%/%/%'
   my $res= $self->{db}->querysorted($sql);
diff --git a/app/static/img/chrome.png b/app/static/img/chrome.png
new file mode 100644 (file)
index 0000000..8ede0eb
Binary files /dev/null and b/app/static/img/chrome.png differ
diff --git a/app/static/img/edge.png b/app/static/img/edge.png
new file mode 100644 (file)
index 0000000..2692872
Binary files /dev/null and b/app/static/img/edge.png differ
diff --git a/app/static/img/safari.png b/app/static/img/safari.png
new file mode 100644 (file)
index 0000000..86dfdda
Binary files /dev/null and b/app/static/img/safari.png differ
diff --git a/app/static/img/safari.svg b/app/static/img/safari.svg
new file mode 100644 (file)
index 0000000..5f13476
--- /dev/null
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="66.165833mm"
+   height="65.803795mm"
+   viewBox="0 0 66.165833 65.803795"
+   version="1.1"
+   id="svg8"
+   inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
+   sodipodi:docname="Safari browser logo.svg">
+  <title
+     id="title2819">Safari browser logo</title>
+  <defs
+     id="defs2">
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient2135">
+      <stop
+         style="stop-color:#06c2e7;stop-opacity:1"
+         offset="0"
+         id="stop2131" />
+      <stop
+         id="stop2143"
+         offset="0.25000015"
+         style="stop-color:#0db8ec;stop-opacity:1" />
+      <stop
+         id="stop2139"
+         offset="0.5000003"
+         style="stop-color:#12aef1;stop-opacity:1" />
+      <stop
+         style="stop-color:#1f86f9;stop-opacity:1"
+         offset="0.75000012"
+         id="stop2141" />
+      <stop
+         style="stop-color:#107ddd;stop-opacity:1"
+         offset="1"
+         id="stop2133" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient2127">
+      <stop
+         style="stop-color:#bdbdbd;stop-opacity:1"
+         offset="0"
+         id="stop2123" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1"
+         offset="1"
+         id="stop2125" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2127"
+       id="linearGradient2129"
+       x1="412.97501"
+       y1="237.60777"
+       x2="412.97501"
+       y2="59.392235"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.35154274,0,0,0.35154274,206.79018,159.77261)" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient2135"
+       id="radialGradient2137"
+       cx="413.06128"
+       cy="136.81819"
+       fx="413.06128"
+       fy="136.81819"
+       r="82.125351"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.38143305,0,0,0.38143298,194.54473,155.58044)" />
+    <filter
+       inkscape:collect="always"
+       style="color-interpolation-filters:sRGB"
+       id="filter2222"
+       x="-0.020909378"
+       width="1.0418189"
+       y="-0.0223378"
+       height="1.0446756">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.95767362"
+         id="feGaussianBlur2224" />
+    </filter>
+    <filter
+       inkscape:collect="always"
+       style="color-interpolation-filters:sRGB"
+       id="filter2248"
+       x="-0.048"
+       width="1.096"
+       y="-0.048"
+       height="1.096">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="3.5643107"
+         id="feGaussianBlur2250" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1"
+     inkscape:cx="94.825651"
+     inkscape:cy="88.085169"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1920"
+     inkscape:window-height="1017"
+     inkscape:window-x="1358"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1"
+     inkscape:snap-object-midpoints="false"
+     showguides="true"
+     inkscape:guide-bbox="true"
+     inkscape:snap-intersection-paths="false"
+     inkscape:snap-center="false"
+     inkscape:object-paths="false"
+     inkscape:object-nodes="false"
+     fit-margin-left="0.01"
+     fit-margin-top="0.01"
+     fit-margin-right="0.01"
+     fit-margin-bottom="0.01" />
+  <metadata
+     id="metadata5">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title>Safari browser logo</dc:title>
+        <dc:date>03/04/2018</dc:date>
+        <dc:creator>
+          <cc:Agent>
+            <dc:title>Apple, Inc.</dc:title>
+          </cc:Agent>
+        </dc:creator>
+        <dc:publisher>
+          <cc:Agent>
+            <dc:title>CMetalCore</dc:title>
+          </cc:Agent>
+        </dc:publisher>
+        <dc:source>https://fthmb.tqn.com/gnIDz9kkyZVRsWbJJOlHIYf_42g=/768x0/filters:no_upscale()/Safari-Yosemite-56a01c725f9b58eba4af0427.jpg</dc:source>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Capa 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-318.88562,-180.59501)">
+    <g
+       id="g2858">
+      <path
+         transform="matrix(0.33864636,0,0,0.32609457,212.11606,166.11668)"
+         style="opacity:0.52999998;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2.93077397;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill;filter:url(#filter2248)"
+         d="M 502.08277,148.5 A 89.107765,89.107765 0 0 1 412.975,237.60777 89.107765,89.107765 0 0 1 323.86724,148.5 89.107765,89.107765 0 0 1 412.975,59.392235 89.107765,89.107765 0 0 1 502.08277,148.5 Z"
+         id="path2226"
+         inkscape:connector-curvature="0" />
+      <path
+         inkscape:connector-curvature="0"
+         id="path826"
+         d="m 383.29373,211.97671 a 31.325188,31.325188 0 0 1 -31.32519,31.32519 31.325188,31.325188 0 0 1 -31.32518,-31.32519 31.325188,31.325188 0 0 1 31.32518,-31.32519 31.325188,31.325188 0 0 1 31.32519,31.32519 z"
+         style="opacity:1;fill:url(#linearGradient2129);fill-opacity:1;stroke:#cdcdcd;stroke-width:0.09301235;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" />
+      <path
+         inkscape:connector-curvature="0"
+         id="circle828"
+         d="m 380.83911,211.97671 a 28.870571,28.870571 0 0 1 -28.87057,28.87057 28.870571,28.870571 0 0 1 -28.87057,-28.87057 28.870571,28.870571 0 0 1 28.87057,-28.87057 28.870571,28.870571 0 0 1 28.87057,28.87057 z"
+         style="opacity:1;fill:url(#radialGradient2137);fill-opacity:1;stroke:none;stroke-width:0.94955933;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" />
+      <path
+         inkscape:connector-curvature="0"
+         id="rect830"
+         d="m 351.96854,184.61172 c -0.23319,0 -0.42092,0.18772 -0.42092,0.42092 v 4.85517 c 0,0.2332 0.18773,0.42092 0.42092,0.42092 0.2332,0 0.42092,-0.18772 0.42092,-0.42092 v -4.85517 c 0,-0.2332 -0.18772,-0.42092 -0.42092,-0.42092 z m -2.75367,0.17404 c -0.0279,-0.003 -0.0566,-0.003 -0.0856,3.5e-4 -0.23194,0.0242 -0.39917,0.2304 -0.37495,0.46234 l 0.21218,2.03119 c 0.0242,0.23194 0.23041,0.39918 0.46233,0.37496 0.23195,-0.0242 0.39919,-0.2304 0.37496,-0.46234 l -0.212,-2.03118 c -0.0212,-0.20295 -0.18177,-0.35637 -0.37695,-0.37532 z m 5.5266,0.002 c -0.19519,0.0188 -0.35578,0.17221 -0.37714,0.37513 l -0.21363,2.03102 c -0.0244,0.23192 0.14285,0.43831 0.37478,0.4627 0.23191,0.0244 0.43811,-0.14268 0.46251,-0.3746 l 0.21364,-2.03119 c 0.0244,-0.23192 -0.14286,-0.43814 -0.37478,-0.46252 -0.029,-0.003 -0.0575,-0.003 -0.0854,-5.2e-4 z m -8.3553,0.4082 c -0.028,2.2e-4 -0.0565,0.003 -0.085,0.009 -0.22814,0.0483 -0.37294,0.27089 -0.32464,0.49903 l 1.00552,4.74981 c 0.0483,0.22814 0.27088,0.37293 0.49902,0.32464 0.22814,-0.0483 0.37294,-0.27072 0.32465,-0.49886 l -1.00552,-4.74998 c -0.0423,-0.19963 -0.21792,-0.33543 -0.41401,-0.3339 z m 11.18382,0.004 c -0.19609,-0.002 -0.3718,0.13394 -0.41419,0.33353 l -1.00897,4.74925 c -0.0485,0.22811 0.0962,0.45076 0.32427,0.49922 0.22811,0.0485 0.45076,-0.0962 0.49921,-0.32428 l 1.00897,-4.74926 c 0.0485,-0.2281 -0.0962,-0.45076 -0.32427,-0.49921 -0.0285,-0.006 -0.057,-0.009 -0.085,-0.009 z m -13.88337,0.75717 c -0.0545,-0.005 -0.11077,0.001 -0.16622,0.0194 -0.22178,0.0721 -0.34238,0.3085 -0.27031,0.53028 l 0.6311,1.94236 c 0.0721,0.22179 0.30868,0.34238 0.53046,0.27032 0.22179,-0.0721 0.3422,-0.30868 0.27013,-0.53046 l -0.63109,-1.94236 c -0.054,-0.16634 -0.20059,-0.27568 -0.36407,-0.28958 z m 16.56765,0.001 c -0.16348,0.0139 -0.30999,0.12324 -0.36406,0.28957 l -0.63147,1.94218 c -0.0721,0.22177 0.0484,0.45837 0.27014,0.53046 0.22178,0.0721 0.45837,-0.0484 0.53047,-0.27013 l 0.63146,-1.94236 c 0.0721,-0.22178 -0.0484,-0.45837 -0.27014,-0.53046 -0.0554,-0.018 -0.11191,-0.0239 -0.1664,-0.0193 z m -19.23721,0.9759 c -0.0547,0.001 -0.11004,0.013 -0.16331,0.0367 -0.21298,0.0947 -0.30836,0.34244 -0.21364,0.55553 l 1.97197,4.43662 c 0.0947,0.21308 0.34244,0.30836 0.55553,0.21364 0.21298,-0.0947 0.30854,-0.34244 0.21382,-0.55553 l -1.97216,-4.43662 c -0.071,-0.15983 -0.22817,-0.25351 -0.39221,-0.25033 z m 21.93693,0.0149 c -0.16403,-0.003 -0.32132,0.0901 -0.39257,0.24979 l -1.97798,4.4339 c -0.095,0.21296 -4e-5,0.46088 0.21292,0.55589 0.21297,0.095 0.46088,5e-5 0.5559,-0.21291 l 1.97796,-4.43389 c 0.095,-0.21297 5e-5,-0.46089 -0.21291,-0.5559 -0.0532,-0.0237 -0.10864,-0.0357 -0.16332,-0.0369 z m -24.41484,1.29618 c -0.0808,-0.006 -0.16406,0.012 -0.23979,0.0558 -0.20196,0.1166 -0.27065,0.37302 -0.15406,0.57497 l 1.02115,1.76869 c 0.1166,0.20196 0.373,0.27065 0.57496,0.15405 0.20195,-0.1166 0.27065,-0.37301 0.15406,-0.57497 l -1.02115,-1.76868 c -0.0729,-0.12623 -0.20047,-0.20041 -0.33517,-0.20983 z m 26.85877,0 c -0.13468,0.009 -0.26211,0.0836 -0.33498,0.20983 l -1.02133,1.76868 c -0.1166,0.20196 -0.0477,0.45837 0.15424,0.57497 0.20196,0.1166 0.45837,0.0479 0.57497,-0.15405 l 1.02114,-1.76869 c 0.1166,-0.20195 0.0479,-0.45837 -0.15406,-0.57497 -0.0757,-0.0437 -0.15916,-0.0614 -0.23998,-0.0558 z m -29.26491,1.50073 c -0.081,0.003 -0.16211,0.029 -0.2329,0.0803 -0.18875,0.13693 -0.23048,0.39911 -0.0935,0.58787 l 2.85086,3.92995 c 0.13693,0.18876 0.39929,0.23049 0.58805,0.0936 0.18876,-0.13693 0.23049,-0.39911 0.0935,-0.58787 l -2.85104,-3.92995 c -0.0856,-0.11798 -0.22004,-0.17847 -0.35497,-0.17386 z m 31.70122,0.0214 c -0.13493,-0.005 -0.26941,0.0555 -0.35516,0.17331 l -2.8563,3.92614 c -0.1372,0.18857 -0.0958,0.45086 0.0928,0.58805 0.18858,0.13718 0.45087,0.0959 0.58806,-0.0926 l 2.85613,-3.92614 c 0.13718,-0.18858 0.0957,-0.45086 -0.0928,-0.58805 -0.0707,-0.0514 -0.15176,-0.0778 -0.23272,-0.0807 z m -33.85196,1.78231 c -0.10744,-0.006 -0.21708,0.0299 -0.30374,0.10791 -0.17332,0.15602 -0.18725,0.42109 -0.0312,0.59441 l 1.36648,1.51799 c 0.15601,0.17332 0.42109,0.18726 0.59441,0.0312 0.17332,-0.15602 0.18726,-0.42127 0.0312,-0.59459 l -1.3663,-1.51781 c -0.078,-0.0867 -0.18339,-0.13351 -0.29085,-0.13916 z m 35.97562,0.003 c -0.10745,0.006 -0.21282,0.0525 -0.29084,0.13915 l -1.36648,1.51763 c -0.15606,0.1733 -0.14224,0.43855 0.0311,0.59459 0.17329,0.15604 0.43837,0.14205 0.59441,-0.0312 l 1.36666,-1.51762 c 0.15605,-0.17331 0.14205,-0.43856 -0.0312,-0.59459 -0.0867,-0.078 -0.19611,-0.11354 -0.30357,-0.10791 z m -38.03696,1.97705 c -0.10745,0.006 -0.21266,0.0525 -0.29067,0.13916 -0.15602,0.17332 -0.14207,0.43839 0.0312,0.59441 l 3.60841,3.24834 c 0.17332,0.15603 0.43839,0.14207 0.5944,-0.0312 0.15603,-0.17331 0.14226,-0.43839 -0.0311,-0.59441 l -3.60858,-3.24834 c -0.0867,-0.078 -0.1963,-0.11356 -0.30376,-0.10791 z m 40.10831,0.0142 c -0.10745,-0.006 -0.21722,0.0298 -0.30393,0.10773 l -3.61059,3.24581 c -0.17342,0.15589 -0.18768,0.42097 -0.0318,0.5944 0.1559,0.17342 0.42117,0.18751 0.59459,0.0316 l 3.61077,-3.2458 c 0.17342,-0.1559 0.1875,-0.42098 0.0316,-0.59441 -0.078,-0.0867 -0.18322,-0.13361 -0.29066,-0.13933 z m -41.8225,2.18998 c -0.13494,-0.005 -0.26949,0.0558 -0.35515,0.17367 -0.13707,0.18866 -0.0955,0.4508 0.0932,0.58787 l 1.65224,1.20044 c 0.18866,0.13708 0.45079,0.0957 0.58786,-0.093 0.13708,-0.18866 0.0956,-0.45098 -0.093,-0.58805 l -1.65224,-1.20044 c -0.0707,-0.0514 -0.15193,-0.0776 -0.23289,-0.0805 z m 43.53505,0.0153 c -0.081,0.003 -0.16211,0.0289 -0.23289,0.0803 l -1.65297,1.19936 c -0.18875,0.13694 -0.2305,0.39929 -0.0936,0.58805 0.13695,0.18875 0.39912,0.23031 0.58787,0.0934 l 1.65316,-1.19935 c 0.18875,-0.13694 0.23031,-0.39912 0.0934,-0.58787 -0.0856,-0.11797 -0.22004,-0.17847 -0.35497,-0.17385 z m -45.13697,2.33585 c -0.13469,0.009 -0.26211,0.0836 -0.33499,0.20982 -0.1166,0.20195 -0.0479,0.45837 0.15405,0.57497 l 4.20463,2.42758 c 0.20195,0.1166 0.45837,0.0479 0.57497,-0.15405 0.1166,-0.20195 0.0479,-0.45837 -0.15405,-0.57497 l -4.20463,-2.42759 c -0.0757,-0.0437 -0.15917,-0.0614 -0.23998,-0.0558 z m 46.72744,0 c -0.0808,-0.006 -0.16425,0.012 -0.23998,0.0558 l -4.20463,2.42759 c -0.20195,0.1166 -0.27065,0.37302 -0.15405,0.57497 0.1166,0.20195 0.37302,0.27065 0.57497,0.15405 l 4.20482,-2.42758 c 0.20195,-0.1166 0.27064,-0.37302 0.15404,-0.57497 -0.0729,-0.12622 -0.20048,-0.20041 -0.33517,-0.20982 z m -47.9386,2.50606 c -0.16403,-0.004 -0.32133,0.0899 -0.39258,0.2496 -0.095,0.21298 -6e-5,0.46091 0.21292,0.5559 l 1.86532,0.83202 c 0.21298,0.095 0.46091,7e-5 0.5559,-0.2129 0.095,-0.21298 -1.2e-4,-0.46091 -0.21309,-0.5559 l -1.86515,-0.83202 c -0.0532,-0.0238 -0.10865,-0.0356 -0.16332,-0.0367 z m 49.15794,0.0173 c -0.0547,10e-4 -0.11024,0.013 -0.16351,0.0367 l -1.86569,0.83057 c -0.21304,0.0949 -0.3083,0.34267 -0.21346,0.55571 0.0949,0.21304 0.34286,0.3083 0.5559,0.21346 l 1.8657,-0.83076 c 0.21303,-0.0948 0.30811,-0.34267 0.21327,-0.55571 -0.0711,-0.15978 -0.22818,-0.25323 -0.39221,-0.24997 z m -50.23739,2.60199 c -0.16349,0.0137 -0.31006,0.12291 -0.36424,0.28921 -0.0722,0.22172 0.048,0.45839 0.26977,0.53064 l 4.61629,1.50418 c 0.22171,0.0722 0.45839,-0.0481 0.53064,-0.26977 0.0722,-0.22172 -0.048,-0.4584 -0.26977,-0.53064 l -4.61628,-1.50419 c -0.0554,-0.0181 -0.11192,-0.024 -0.16641,-0.0194 z m 51.31484,0.018 c -0.0545,-0.005 -0.11078,10e-4 -0.16623,0.0194 l -4.61736,1.50092 c -0.22178,0.0721 -0.34223,0.30869 -0.27014,0.53046 0.0721,0.22177 0.30868,0.34223 0.53046,0.27014 l 4.61719,-1.50092 c 0.22178,-0.0721 0.3424,-0.30869 0.27032,-0.53046 -0.0541,-0.16633 -0.20077,-0.2757 -0.36424,-0.28957 z m -51.98736,2.73152 c -0.1961,-0.002 -0.37196,0.13412 -0.41438,0.33371 -0.0485,0.2281 0.0962,0.45073 0.32427,0.49922 l 1.99777,0.42455 c 0.2281,0.0485 0.45072,-0.0962 0.49921,-0.32427 0.0485,-0.22811 -0.0962,-0.45074 -0.32427,-0.49922 l -1.99759,-0.42455 c -0.0285,-0.006 -0.057,-0.009 -0.085,-0.009 z m 52.65462,0.004 c -0.028,2.3e-4 -0.0563,0.004 -0.0848,0.009 l -1.99778,0.42437 c -0.2281,0.0485 -0.37271,0.27093 -0.32426,0.49904 0.0485,0.2281 0.2711,0.3729 0.49921,0.32445 l 1.99759,-0.42437 c 0.2281,-0.0485 0.3729,-0.27111 0.32445,-0.49922 -0.0424,-0.19959 -0.21829,-0.33537 -0.41437,-0.33371 z m -53.16365,2.76167 c -0.1952,0.0187 -0.35587,0.17185 -0.37731,0.37477 -0.0245,0.2319 0.14232,0.43838 0.37422,0.46288 l 4.82829,0.51048 c 0.2319,0.0245 0.43838,-0.1425 0.46288,-0.37441 0.0245,-0.2319 -0.1425,-0.43838 -0.37441,-0.46288 l -4.82828,-0.51048 c -0.029,-0.003 -0.0575,-0.003 -0.0854,-3.5e-4 z m 53.6763,0.0363 c -0.0279,-0.003 -0.0566,-0.003 -0.0856,3.5e-4 l -4.82883,0.50394 c -0.23194,0.0242 -0.39914,0.2304 -0.37496,0.46233 0.0242,0.23194 0.2304,0.39918 0.46234,0.37496 l 4.82883,-0.50394 c 0.23193,-0.0242 0.39914,-0.2304 0.37496,-0.46234 -0.0212,-0.20294 -0.1816,-0.35634 -0.37678,-0.37532 z m -53.75805,2.79473 c -0.2332,0 -0.42091,0.18772 -0.42091,0.42092 0,0.23319 0.18771,0.42091 0.42091,0.42091 h 2.04228 c 0.23319,0 0.4211,-0.18772 0.4211,-0.42091 0,-0.2332 -0.18791,-0.42092 -0.4211,-0.42092 z m 51.79298,0 c -0.23319,0 -0.42092,0.18772 -0.42092,0.42092 10e-6,0.23319 0.18773,0.42091 0.42092,0.42091 h 2.04228 c 0.23319,0 0.42092,-0.18772 0.42092,-0.42091 0,-0.2332 -0.18773,-0.42092 -0.42092,-0.42092 z m -46.80319,2.29461 c -0.0279,-0.003 -0.0564,-0.003 -0.0854,3.5e-4 l -4.82902,0.50394 c -0.23194,0.0242 -0.39913,0.2304 -0.37495,0.46233 0.0242,0.23194 0.2304,0.39918 0.46233,0.37496 l 4.82902,-0.50394 c 0.23194,-0.0242 0.39913,-0.2304 0.37495,-0.46234 -0.0212,-0.20294 -0.18177,-0.35634 -0.37695,-0.37531 z m 43.85314,0.0298 c -0.19521,0.0187 -0.35588,0.17186 -0.37732,0.37478 -0.0245,0.2319 0.14233,0.43838 0.37423,0.46288 l 4.82829,0.51048 c 0.23191,0.0245 0.43837,-0.14251 0.46288,-0.37441 0.0245,-0.2319 -0.14251,-0.43838 -0.37441,-0.46288 l -4.8281,-0.51048 c -0.029,-0.003 -0.0577,-0.003 -0.0856,-3.5e-4 z m -46.2602,2.8436 c -0.028,2.4e-4 -0.0565,0.003 -0.085,0.009 l -1.99777,0.42436 c -0.22811,0.0485 -0.37271,0.27111 -0.32427,0.49922 0.0485,0.22811 0.27111,0.37272 0.49922,0.32427 l 1.99777,-0.42419 c 0.2281,-0.0485 0.37271,-0.27111 0.32426,-0.49921 -0.0424,-0.1996 -0.2181,-0.33537 -0.41419,-0.33372 z m 48.66925,0.004 c -0.19609,-0.002 -0.37177,0.13394 -0.41419,0.33353 -0.0485,0.2281 0.096,0.45074 0.32409,0.49922 l 1.99777,0.42455 c 0.22809,0.0485 0.45073,-0.096 0.49921,-0.32409 0.0485,-0.2281 -0.0962,-0.45092 -0.32426,-0.4994 l -1.9976,-0.42455 c -0.0285,-0.006 -0.057,-0.009 -0.085,-0.009 z m -45.30519,1.65787 c -0.0545,-0.005 -0.11077,0.001 -0.16622,0.0194 l -4.61736,1.50091 c -0.22178,0.0721 -0.34223,0.30869 -0.27014,0.53046 0.0721,0.22178 0.30868,0.34222 0.53046,0.27014 l 4.61719,-1.50092 c 0.22178,-0.0721 0.34241,-0.30869 0.27032,-0.53046 -0.0541,-0.16633 -0.20077,-0.2757 -0.36425,-0.28957 z m 41.93713,0.0149 c -0.16349,0.0137 -0.31005,0.12292 -0.36423,0.28921 -0.0722,0.22173 0.048,0.4584 0.26977,0.53065 l 4.61628,1.50418 c 0.22172,0.0722 0.4584,-0.0481 0.53064,-0.26977 0.0723,-0.22172 -0.048,-0.4584 -0.26977,-0.53065 l -4.61628,-1.50418 c -0.0554,-0.0181 -0.11191,-0.024 -0.16641,-0.0194 z m -43.69909,3.27251 c -0.0547,0.001 -0.11006,0.0128 -0.16332,0.0365 l -1.86587,0.83075 c -0.21304,0.0948 -0.30812,0.34267 -0.21328,0.55571 0.0949,0.21304 0.34268,0.30812 0.55571,0.21328 l 1.86589,-0.83058 c 0.21303,-0.0948 0.30811,-0.34267 0.21327,-0.55571 -0.0711,-0.15978 -0.22837,-0.25323 -0.3924,-0.24997 z m 45.45888,0.016 c -0.16403,-0.004 -0.32133,0.0899 -0.39258,0.24961 -0.095,0.21297 -6e-5,0.4609 0.21291,0.55589 l 1.86515,0.83202 c 0.21297,0.095 0.46091,6e-5 0.5559,-0.21291 0.095,-0.21297 6e-5,-0.4609 -0.21291,-0.55589 l -1.86515,-0.83203 c -0.0532,-0.0238 -0.10864,-0.0356 -0.16332,-0.0367 z m -41.82613,0.91214 c -0.0808,-0.006 -0.16424,0.012 -0.23998,0.0558 l -4.20463,2.42758 c -0.20195,0.1166 -0.27065,0.37302 -0.15405,0.57497 0.1166,0.20195 0.37302,0.27065 0.57497,0.15405 l 4.20463,-2.4274 c 0.20195,-0.1166 0.27064,-0.3732 0.15405,-0.57515 -0.0729,-0.12622 -0.2003,-0.20041 -0.33499,-0.20982 z m 38.20028,0 c -0.13469,0.009 -0.26229,0.0836 -0.33517,0.20982 -0.1166,0.20195 -0.0479,0.45855 0.15405,0.57515 l 4.20463,2.4274 c 0.20196,0.1166 0.45855,0.0479 0.57515,-0.15405 0.1166,-0.20195 0.0479,-0.45837 -0.15404,-0.57497 l -4.20482,-2.42758 c -0.0757,-0.0437 -0.15899,-0.0614 -0.2398,-0.0558 z m -39.24903,3.56244 c -0.081,0.003 -0.16211,0.0291 -0.2329,0.0805 l -1.65296,1.19935 c -0.18875,0.13694 -0.2305,0.39912 -0.0936,0.58787 0.13695,0.18875 0.39912,0.2305 0.58787,0.0935 l 1.65314,-1.19935 c 0.18877,-0.13693 0.23051,-0.39911 0.0936,-0.58786 -0.0856,-0.11797 -0.22022,-0.17866 -0.35516,-0.17404 z m 40.28761,0.0142 c -0.13494,-0.005 -0.26948,0.0558 -0.35515,0.17367 -0.13708,0.18865 -0.0955,0.45098 0.0932,0.58805 l 1.65224,1.20044 c 0.18866,0.13707 0.4508,0.0955 0.58787,-0.0932 0.13707,-0.18866 0.0956,-0.4508 -0.093,-0.58787 l -1.65224,-1.20044 c -0.0707,-0.0514 -0.15193,-0.0778 -0.23289,-0.0807 z m -36.54387,0.14533 c -0.10743,-0.006 -0.21702,0.0298 -0.30374,0.10773 l -3.61076,3.2458 c -0.17342,0.15589 -0.18751,0.42098 -0.0316,0.59441 0.15589,0.17342 0.42097,0.1875 0.5944,0.0316 l 3.61077,-3.2458 c 0.17342,-0.15589 0.18751,-0.42098 0.0316,-0.59441 -0.0779,-0.0867 -0.18322,-0.13361 -0.29067,-0.13933 z m 32.80012,0.0116 c -0.10745,0.006 -0.21283,0.0525 -0.29084,0.13915 -0.15603,0.17332 -0.14207,0.43839 0.0312,0.59441 l 3.60841,3.24834 c 0.17332,0.15604 0.43857,0.14208 0.59459,-0.0312 0.15603,-0.17331 0.14207,-0.43839 -0.0312,-0.5944 l -3.6086,-3.24835 c -0.0867,-0.078 -0.19611,-0.11355 -0.30356,-0.10791 z m -29.37464,3.08358 c -0.13493,-0.005 -0.2696,0.0554 -0.35534,0.1733 l -2.85613,3.92614 c -0.13719,0.18858 -0.0959,0.45087 0.0926,0.58805 0.18857,0.13719 0.45087,0.0959 0.58805,-0.0927 l 2.85613,-3.92614 c 0.13718,-0.18857 0.0959,-0.45086 -0.0926,-0.58805 -0.0707,-0.0514 -0.15175,-0.0778 -0.23271,-0.0806 z m 25.93573,0.0176 c -0.081,0.003 -0.16211,0.0289 -0.2329,0.0803 -0.18875,0.13694 -0.23048,0.39911 -0.0936,0.58787 l 2.85086,3.92995 c 0.13693,0.18876 0.39911,0.2305 0.58787,0.0936 0.18876,-0.13693 0.23049,-0.3991 0.0936,-0.58786 l -2.85086,-3.92996 c -0.0856,-0.11797 -0.22004,-0.17846 -0.35498,-0.17385 z m -29.6228,0.6064 c -0.10745,0.006 -0.21282,0.0525 -0.29084,0.13915 l -1.36649,1.51763 c -0.15605,0.1733 -0.14223,0.43855 0.0311,0.59459 0.1733,0.15604 0.43837,0.14205 0.5944,-0.0313 l 1.36666,-1.51762 c 0.15606,-0.1733 0.14206,-0.43856 -0.0312,-0.59459 -0.0867,-0.078 -0.19611,-0.11354 -0.30357,-0.10791 z m 33.33076,0.002 c -0.10745,-0.006 -0.21691,0.0299 -0.30356,0.10791 -0.17333,0.156 -0.18726,0.42108 -0.0313,0.5944 l 1.3663,1.51799 c 0.15602,0.17333 0.42109,0.18726 0.59442,0.0312 0.17332,-0.15601 0.18726,-0.42126 0.0312,-0.59459 l -1.36631,-1.5178 c -0.078,-0.0867 -0.18339,-0.13351 -0.29084,-0.13916 z m -25.65524,1.68366 c -0.16403,-0.004 -0.32114,0.0899 -0.39239,0.24961 l -1.97816,4.43389 c -0.095,0.21297 -5e-5,0.46089 0.21292,0.5559 0.21296,0.095 0.46089,5e-5 0.55589,-0.21291 l 1.97815,-4.4339 c 0.095,-0.21296 5e-5,-0.46089 -0.21292,-0.55589 -0.0532,-0.0238 -0.10881,-0.0356 -0.16349,-0.0367 z m 17.95556,0.0122 c -0.0547,0.001 -0.11023,0.0128 -0.1635,0.0365 -0.21297,0.0947 -0.30836,0.34244 -0.21363,0.55553 l 1.97196,4.43662 c 0.0947,0.21297 0.34262,0.30836 0.55571,0.21364 0.21298,-0.0947 0.30836,-0.34244 0.21364,-0.55553 l -1.97197,-4.43662 c -0.071,-0.15973 -0.22818,-0.25329 -0.39221,-0.25015 z m -21.43154,1.35867 c -0.13468,0.009 -0.26212,0.0836 -0.33498,0.20982 l -1.02115,1.76869 c -0.11659,0.20195 -0.0479,0.45837 0.15406,0.57497 0.20195,0.1166 0.45837,0.0479 0.57496,-0.15405 l 1.02115,-1.76869 c 0.11659,-0.20195 0.0479,-0.45837 -0.15406,-0.57497 -0.0757,-0.0437 -0.15916,-0.0614 -0.23998,-0.0558 z m 24.93421,0 c -0.0808,-0.006 -0.16406,0.0121 -0.23979,0.0558 -0.20195,0.1166 -0.27065,0.37302 -0.15405,0.57497 l 1.02114,1.76869 c 0.1166,0.20195 0.37302,0.27064 0.57496,0.15405 0.20196,-0.1166 0.27066,-0.37302 0.15406,-0.57497 l -1.02114,-1.76869 c -0.0729,-0.12622 -0.20049,-0.20041 -0.33518,-0.20982 z m -17.0545,0.0634 c -0.19609,-0.002 -0.3718,0.13394 -0.41419,0.33354 l -1.00897,4.74926 c -0.0485,0.2281 0.0962,0.45076 0.32427,0.49921 0.22811,0.0485 0.45076,-0.0962 0.49922,-0.32427 l 1.00896,-4.74926 c 0.0485,-0.2281 -0.0962,-0.45076 -0.32427,-0.49921 -0.0285,-0.006 -0.057,-0.009 -0.085,-0.009 z m 9.1599,0.003 c -0.028,2.2e-4 -0.0563,0.003 -0.0848,0.009 -0.22814,0.0483 -0.37294,0.27071 -0.32465,0.49885 l 1.00553,4.74999 c 0.0483,0.22814 0.27088,0.37293 0.49903,0.32464 0.22814,-0.0483 0.37293,-0.27089 0.32464,-0.49903 l -1.0057,-4.74965 c -0.0423,-0.19963 -0.21793,-0.33543 -0.41402,-0.33391 z m -4.5725,0.47905 c -0.23319,0 -0.42092,0.18772 -0.42092,0.42092 v 4.85517 c 0,0.2332 0.18773,0.42092 0.42092,0.42092 0.2332,0 0.42092,-0.18772 0.42092,-0.42092 v -4.85517 c 0,-0.2332 -0.18772,-0.42092 -0.42092,-0.42092 z m -7.72657,1.56886 c -0.16347,0.0139 -0.31017,0.12324 -0.36423,0.28957 l -0.63129,1.94236 c -0.0721,0.22178 0.0484,0.45837 0.27014,0.53047 0.22177,0.0721 0.45836,-0.0486 0.53046,-0.27032 l 0.63128,-1.94218 c 0.0721,-0.22177 -0.0484,-0.45836 -0.27013,-0.53046 -0.0554,-0.018 -0.11173,-0.024 -0.16623,-0.0194 z m 15.44987,0.001 c -0.0545,-0.005 -0.11078,0.001 -0.16622,0.0193 -0.22178,0.0721 -0.34238,0.30868 -0.27033,0.53047 l 0.63111,1.94235 c 0.0721,0.22179 0.30868,0.3422 0.53046,0.27014 0.22178,-0.0721 0.34238,-0.3085 0.27032,-0.53028 l -0.63128,-1.94236 c -0.0541,-0.16634 -0.20058,-0.27568 -0.36406,-0.28957 z m -10.36543,1.08181 c -0.1952,0.0188 -0.356,0.17203 -0.37732,0.37496 l -0.21346,2.03119 c -0.0244,0.23192 0.14268,0.43812 0.3746,0.46252 0.23192,0.0244 0.4383,-0.14268 0.4627,-0.3746 l 0.21345,-2.03101 c 0.0244,-0.23192 -0.14268,-0.4383 -0.37458,-0.4627 -0.029,-0.003 -0.0575,-0.003 -0.0854,-3.5e-4 z m 5.26736,0.002 c -0.0279,-0.003 -0.0566,-0.003 -0.0856,3.5e-4 -0.23193,0.0242 -0.39917,0.2304 -0.37495,0.46233 l 0.21218,2.03138 c 0.0242,0.23193 0.2304,0.399 0.46234,0.37478 0.23193,-0.0242 0.39918,-0.23041 0.37496,-0.46234 l -0.212,-2.03119 c -0.0212,-0.20295 -0.18178,-0.35637 -0.37697,-0.37533 z"
+         style="opacity:1;fill:#f4f2f3;fill-opacity:1;stroke:none;stroke-width:0.38088897;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" />
+      <path
+         transform="matrix(0.35154274,0,0,0.35154274,206.79018,159.77261)"
+         sodipodi:nodetypes="ccccc"
+         inkscape:connector-curvature="0"
+         id="path2150"
+         d="m 469.09621,100.6068 -65.50955,38.06124 -41.41979,65.20654 60.59382,-44.88117 z"
+         style="opacity:0.40900005;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.5614785;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill;filter:url(#filter2222)" />
+      <g
+         id="g2847">
+        <path
+           sodipodi:type="star"
+           style="opacity:1;fill:#ff5150;fill-opacity:1;stroke:none;stroke-width:1.01970422;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill"
+           id="path2096"
+           sodipodi:sides="3"
+           sodipodi:cx="124.97523"
+           sodipodi:cy="142.65184"
+           sodipodi:r1="18.791006"
+           sodipodi:r2="9.395503"
+           sodipodi:arg1="1.3089969"
+           sodipodi:arg2="2.3561945"
+           inkscape:flatsided="true"
+           inkscape:rounded="1.35308e-016"
+           inkscape:randomized="0"
+           d="m 129.8387,160.80256 -23.01419,-23.01419 31.43796,-8.42378 z"
+           inkscape:transform-center-y="-13.18648"
+           transform="matrix(0.64804473,-0.3316906,-0.36122382,0.63205852,329.21345,156.86272)" />
+        <path
+           transform="matrix(-0.36122382,0.63205852,0.64804473,-0.3316906,297.96259,186.70411)"
+           inkscape:transform-center-y="13.186483"
+           d="m 129.8387,160.80256 -23.01419,-23.01419 31.43796,-8.42378 z"
+           inkscape:randomized="0"
+           inkscape:rounded="1.35308e-016"
+           inkscape:flatsided="true"
+           sodipodi:arg2="2.3561945"
+           sodipodi:arg1="1.3089969"
+           sodipodi:r2="9.395503"
+           sodipodi:r1="18.791006"
+           sodipodi:cy="142.65184"
+           sodipodi:cx="124.97523"
+           sodipodi:sides="3"
+           id="path2099"
+           style="opacity:1;fill:#f1f1f1;fill-opacity:1;stroke:none;stroke-width:1.01970422;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill"
+           sodipodi:type="star" />
+        <path
+           style="opacity:0.243;fill:#000000;stroke:none;stroke-width:0.09301235px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+           d="m 331.85294,231.18507 23.41607,-15.75201 16.81513,-22.66472 z"
+           id="path2112"
+           inkscape:connector-curvature="0" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/app/static/img/splashscreens/ipad_splash.png b/app/static/img/splashscreens/ipad_splash.png
new file mode 100644 (file)
index 0000000..2fafa15
Binary files /dev/null and b/app/static/img/splashscreens/ipad_splash.png differ
diff --git a/app/static/img/splashscreens/ipadpro1_splash.png b/app/static/img/splashscreens/ipadpro1_splash.png
new file mode 100644 (file)
index 0000000..4678bbb
Binary files /dev/null and b/app/static/img/splashscreens/ipadpro1_splash.png differ
diff --git a/app/static/img/splashscreens/ipadpro2_splash.png b/app/static/img/splashscreens/ipadpro2_splash.png
new file mode 100644 (file)
index 0000000..87f2996
Binary files /dev/null and b/app/static/img/splashscreens/ipadpro2_splash.png differ
diff --git a/app/static/img/splashscreens/ipadpro3_splash.png b/app/static/img/splashscreens/ipadpro3_splash.png
new file mode 100644 (file)
index 0000000..441b24a
Binary files /dev/null and b/app/static/img/splashscreens/ipadpro3_splash.png differ
diff --git a/app/static/img/splashscreens/iphone5_splash.png b/app/static/img/splashscreens/iphone5_splash.png
new file mode 100644 (file)
index 0000000..7735d6e
Binary files /dev/null and b/app/static/img/splashscreens/iphone5_splash.png differ
diff --git a/app/static/img/splashscreens/iphone6_splash.png b/app/static/img/splashscreens/iphone6_splash.png
new file mode 100644 (file)
index 0000000..b10aea3
Binary files /dev/null and b/app/static/img/splashscreens/iphone6_splash.png differ
diff --git a/app/static/img/splashscreens/iphoneplus_splash.png b/app/static/img/splashscreens/iphoneplus_splash.png
new file mode 100644 (file)
index 0000000..3f536a4
Binary files /dev/null and b/app/static/img/splashscreens/iphoneplus_splash.png differ
diff --git a/app/static/img/splashscreens/iphonex_splash.png b/app/static/img/splashscreens/iphonex_splash.png
new file mode 100644 (file)
index 0000000..97eca11
Binary files /dev/null and b/app/static/img/splashscreens/iphonex_splash.png differ
diff --git a/app/static/img/splashscreens/iphonexr_splash.png b/app/static/img/splashscreens/iphonexr_splash.png
new file mode 100644 (file)
index 0000000..6c5b77d
Binary files /dev/null and b/app/static/img/splashscreens/iphonexr_splash.png differ
diff --git a/app/static/img/splashscreens/iphonexsmax_splash.png b/app/static/img/splashscreens/iphonexsmax_splash.png
new file mode 100644 (file)
index 0000000..108f1f6
Binary files /dev/null and b/app/static/img/splashscreens/iphonexsmax_splash.png differ
index 0724d1c..6e9b187 100644 (file)
@@ -1,5 +1,6 @@
-var api = location.origin + location.pathname.substring(0,location.pathname.lastIndexOf('/')) + '/';
-
+var api = location.origin + '/';
+// var api2 = location.origin + '/';
+// console.log("API 2",api2);
 var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t="";var n,r,i,s,o,u,a;var f=0;e=Base64._utf8_encode(e);while(f<e.length){n=e.charCodeAt(f++);r=e.charCodeAt(f++);i=e.charCodeAt(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(isNaN(r)){u=a=64}else if(isNaN(i)){a=64}t=t+this._keyStr.charAt(s)+this._keyStr.charAt(o)+this._keyStr.charAt(u)+this._keyStr.charAt(a)}return t},decode:function(e){var t="";var n,r,i;var s,o,u,a;var f=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(f<e.length){s=this._keyStr.indexOf(e.charAt(f++));o=this._keyStr.indexOf(e.charAt(f++));u=this._keyStr.indexOf(e.charAt(f++));a=this._keyStr.indexOf(e.charAt(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+String.fromCharCode(n);if(u!=64){t=t+String.fromCharCode(r)}if(a!=64){t=t+String.fromCharCode(i)}}t=Base64._utf8_decode(t);return t},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");var t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r)}else if(r>127&&r<2048){t+=String.fromCharCode(r>>6|192);t+=String.fromCharCode(r&63|128)}else{t+=String.fromCharCode(r>>12|224);t+=String.fromCharCode(r>>6&63|128);t+=String.fromCharCode(r&63|128)}}return t},_utf8_decode:function(e){var t="";var n=0;var r=c1=c2=0;while(n<e.length){r=e.charCodeAt(n);if(r<128){t+=String.fromCharCode(r);n++}else if(r>191&&r<224){c2=e.charCodeAt(n+1);t+=String.fromCharCode((r&31)<<6|c2&63);n+=2}else{c2=e.charCodeAt(n+1);c3=e.charCodeAt(n+2);t+=String.fromCharCode((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}return t}}
 
 async function postData(url = '', data = {}) {
diff --git a/app/tmpl/browser.tt b/app/tmpl/browser.tt
new file mode 100644 (file)
index 0000000..e04f4b3
--- /dev/null
@@ -0,0 +1,78 @@
+[% appversion = '0.9.9.6' %]
+[% minify = '' %]
+[% PROCESS "lang/${lang}.tt" %]
+<!DOCTYPE html>
+<html lang="[% lang %]">
+<head>
+
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
+  <title>POT - [% lbl.pot_long %] [% IF mode %][% " - ${mode}" %][% END %]</title>
+  <meta name="language" content="fr">
+    <meta name="robots" content="noindex,nofollow">
+    <link rel="apple-touch-icon" sizes="57x57" href="img/favicon/apple-icon-57x57.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="60x60" href="img/favicon/apple-icon-60x60.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="72x72" href="img/favicon/apple-icon-72x72.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="76x76" href="img/favicon/apple-icon-76x76.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="114x114" href="img/favicon/apple-icon-114x114.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="120x120" href="img/favicon/apple-icon-120x120.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="144x144" href="img/favicon/apple-icon-144x144.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="152x152" href="img/favicon/apple-icon-152x152.png?v=[% appversion %]">
+<link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-icon-180x180.png?v=[% appversion %]">
+<link rel="icon" type="image/png" sizes="192x192"  href="img/favicon/android-icon-192x192.png?v=[% appversion %]">
+<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png?v=[% appversion %]">
+<link rel="icon" type="image/png" sizes="96x96" href="img/favicon/favicon-96x96.png?v=[% appversion %]">
+<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png?v=[% appversion %]">
+<link rel="stylesheet" href="[% abspath %][% staticpath %]css/theme[% minify %].css?v=[% appversion %]">
+<style>
+body, html {height: 100%}
+.bgimg {
+  background-image: url('[% abspath %][% staticpath %]img/potbg.jpg?v=[% appversion %]');
+  min-height: 100%;
+  background-position: center;
+  background-size: cover;
+} 
+</style>
+</head>
+<body>
+  
+  <div class="display-container DKS bgimg" style="padding-top: 100px; ">
+
+    <div class="row" >
+    <div class="col l4 m2 hide-small">&nbsp;
+    </div>
+    <div class="col l4 m8 s12 border round">  
+    <div class="container center white padding">
+        <img src="[% abspath %][% staticpath %]img/toplogo.png?v=[% appversion %]" style="height: 60px;" alt="logo">
+    </div>
+    <div class="container white" id="pnllogin" >
+      <div class="container">
+            <h4>Ihr Browser wird nicht unterstützt!</h4>
+            <h4>Votre Navigateur n'est pas supporté!</h4>
+      </div>
+      <div class="container padding">
+        <a class="text-black" href="https://www.plandutravail.lu/download/POT_Setup_64bit.exe">Download Windows Version</a>   
+      </div>
+      <div class="container padding">
+        <a class="text-black" href="https://www.plandutravail.lu/download/pot_setup.dmg">Download MacOS Version</a>
+      </div>
+    </div>
+  </div>
+  <div class="col l4 m2  hide-small">&nbsp;
+  </div>
+  </div>
+  <noscript>
+  <div class="row">
+    <div class="col l4 m2 hide-small">&nbsp;
+    </div>
+    <div class="col l4 m8 s12 border round white"> 
+      <div class="container text-red large">Javascript doit être activé pour travailler avec POT!</div>
+    </div>
+    <div class="col l4 m2  hide-small">&nbsp;
+    </div>
+  </div>
+  </noscript>
+  </div>
+</body>
+
+</html>
\ No newline at end of file
index 2fcacfa..6d4d39f 100644 (file)
@@ -1,17 +1,17 @@
-[% appversion='1.1.3' %]
+[% appversion='1.1.3beta1' %]
 [% minify = '' %]
 [% PROCESS "lang/${lang}.tt" %]
 <!DOCTYPE html>
-<html lang="fr">
+<html lang="[% lang %]">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
+  <meta name="apple-mobile-web-app-status-bar-style" content="black">
+  <meta name="apple-mobile-web-app-capable" content="yes">
+  <meta name="apple-mobile-web-app-title" content="POT">
   <title>POT - Plan d'Organtisation du Travail[% IF mode %][% " - ${mode}" %][% END %]</title>
   <meta name="language" content="fr">
     <meta name="robots" content="noindex,nofollow">
-    <!-- <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
-  <meta http-equiv="Pragma" content="no-cache" />
-  <meta http-equiv="Expires" content="0" /> -->
 <link rel="apple-touch-icon" sizes="57x57" href="[% abspath %][% staticpath %]img/favicon/apple-icon-57x57.png?v=[% appversion %]">
 <link rel="apple-touch-icon" sizes="60x60" href="[% abspath %][% staticpath %]img/favicon/apple-icon-60x60.png?v=[% appversion %]">
 <link rel="apple-touch-icon" sizes="72x72" href="[% abspath %][% staticpath %]img/favicon/apple-icon-72x72.png?v=[% appversion %]">
 <link rel="icon" type="image/png" sizes="32x32" href="[% abspath %][% staticpath %]img/favicon/favicon-32x32.png?v=[% appversion %]">
 <link rel="icon" type="image/png" sizes="96x96" href="[% abspath %][% staticpath %]img/favicon/favicon-96x96.png?v=[% appversion %]">
 <link rel="icon" type="image/png" sizes="16x16" href="[% abspath %][% staticpath %]img/favicon/favicon-16x16.png?v=[% appversion %]">
-
+<link href="[% abspath %][% staticpath %]img/splashscreens/iphone5_splash.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/iphone6_splash.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/iphoneplus_splash.png" media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/iphonex_splash.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/iphonexr_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/iphonexsmax_splash.png" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/ipad_splash.png" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/ipadpro1_splash.png" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/ipadpro3_splash.png" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link href="[% abspath %][% staticpath %]img/splashscreens/ipadpro2_splash.png" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image" />
+<link rel="manifest" href="manifest.json">
 <link rel="stylesheet" href="[% abspath %][% staticpath %]css/icons[% minify %].css?v=[% appversion %]">
 <link rel="stylesheet" href="[% abspath %][% staticpath %]css/theme[% minify %].css?v=[% appversion %]">
 
similarity index 87%
rename from app/tmpl/module/admin.tt
rename to app/tmpl/module/admin/admin.tt
index c04b8ee..fd85e53 100644 (file)
 [% INCLUDE module/admin/dlg_users.tt %] 
 [% INCLUDE block/dlg_newpassword.tt %] 
 [% INCLUDE block/dlgusername.tt %] 
-<script type="text/javascript" src="admin/companies[% minify%].js?v=[% appversion %]"></script>
-<script type="text/javascript" src="admin/staffgroups[% minify%].js?v=[% appversion %]"></script> 
-<script type="text/javascript" src="admin/users[% minify%].js?v=[% appversion %]"></script> 
-<script type="text/javascript" src="admin/schemadataset[% minify%].js?v=[% appversion %]"></script>
-<script type="text/javascript" src="profile/profile[% minify%].js?v=[% appversion %]"></script>
-<!--<script type="text/javascript" src="admin/worktimes[% minify%].js?v=x[% appversion %]"></script> -->
+<script type="text/javascript" src="companies[% minify%].js?v=[% appversion %]"></script>
+<script type="text/javascript" src="staffgroups[% minify%].js?v=[% appversion %]"></script> 
+<script type="text/javascript" src="users[% minify%].js?v=[% appversion %]"></script> 
+<script type="text/javascript" src="schemadataset[% minify%].js?v=[% appversion %]"></script>
+<script type="text/javascript" src="../profile/profile[% minify%].js?v=[% appversion %]"></script>
+<script type="text/javascript" src="worktimes[% minify%].js?v=[% appversion %]"></script>
 [% END %]
diff --git a/app/tmpl/module/admin/index.tt b/app/tmpl/module/admin/index.tt
new file mode 100644 (file)
index 0000000..88668bd
--- /dev/null
@@ -0,0 +1,28 @@
+<div class="display-container" >
+      
+  <div class="bar border-bottom toolbar" id="toolbar">
+    <a class="bar-item toolbarbtn" href="[% abspath %]index.html"><span class="icon icon-back" style="font-size: 16px;"></span>[% lbl.back %]</a>
+      <div class="bar-item PageHeadTitle hide-small">[% lbl.administration %]</div>
+      
+      
+      
+    </div>
+  <!-- <span class="bar-item right" id="modulename" style="display: none;"></span> -->
+</div>
+<div class="display-container" style="height: calc(100vh-100px);">
+  [% IF (session.usergroup == 'admin') %]
+  <div class="card" style="margin-top: 10px;">
+    <header class="container moduletoolbar red">
+      <h3>[% lbl.administration %]</h3>
+    </header>
+    <div class="bar">
+      <a class="bar-item bodybtn" href="[% abspath %]admin/admin.html"><span class="icon icon-apps" style="font-size: 24px;"/></span>[% lbl.companies %]</a>
+      <a class="bar-item bodybtn" href="[% abspath %]admin/sectors.html"><span class="icon icon-sector" style="font-size: 24px;"/></span>[% lbl.sectors %]</a>
+      <a class="bar-item bodybtn" href="[% abspath %]admin/adminvacancydays.html"><span class="icon icon-vacancydays" style="font-size: 24px;"/></span>[% lbl.vacancydays %]</a>
+      <a class="bar-item bodybtn" href="[% abspath %]admin/adminvacancytypes.html"><span class="icon icon-category" style="font-size: 24px;"/></span>[% lbl.vacancytypes %]</a>
+    </div>
+  </div>
+  [% END %]
+</div>
+
+
similarity index 95%
rename from app/tmpl/module/sectors.tt
rename to app/tmpl/module/admin/sectors.tt
index 71eaac9..c4d69c6 100644 (file)
@@ -27,5 +27,5 @@
         </div>
         <div id="tbl_sectors"></div>
 </div>
-<script type="text/javascript" src="admin/sectors[% minify%].js?v=[% appversion %]"></script>
+<script type="text/javascript" src="sectors[% minify%].js?v=[% appversion %]"></script>
 [% END %]
index 14cf897..e458bdd 100644 (file)
     <div class="bar">
       <a class="bar-item bodybtn" href="[% abspath %]company.html"><span class="icon icon-shop" style="font-size: 24px;"/></span>[% lbl.company %]</a>
       <a class="bar-item bodybtn" href="[% abspath %]workplans.html"><span class="icon icon-template" style="font-size: 24px;"/></span>[% lbl.weeklytemplates %]</a>
+      [% IF (session.usergroup == 'admin') %]
+        <a class="bar-item bodybtn" href="[% abspath %]admin/index.html"><span class="icon icon-apps" style="font-size: 24px;"/></span>[% lbl.administration %]</a>
+      [% END %]
       <a class="bar-item bodybtn right" target="_blank" href="[% abspath %]/cgv/cgv.pdf"><span class="icon icon-aggrement" style="font-size: 24px;"/></span>[% lbl.terms %]</a>
       <a class="bar-item bodybtn right" onclick="profile.showdlgnewpassword(); return false;"><span class="icon icon-access" style="font-size: 24px;"></span>[% lbl.newpassword %]</a>
     </div>
   </div>
-  [% IF (session.usergroup == 'admin') %]
-  <div class="card" style="margin-top: 10px;">
+  
+  <!--<div class="card" style="margin-top: 10px;">
     <header class="container moduletoolbar red">
-      <h3>[% lbl.administration %]</h3>
+      <h3></h3>
     </header>
     <div class="bar">
       <a class="bar-item bodybtn" href="[% abspath %]admin.html"><span class="icon icon-apps" style="font-size: 24px;"/></span>[% lbl.companies %]</a>
@@ -52,8 +55,8 @@
       <a class="bar-item bodybtn" href="[% abspath %]adminvacancydays.html"><span class="icon icon-vacancydays" style="font-size: 24px;"/></span>[% lbl.vacancydays %]</a>
       <a class="bar-item bodybtn" href="[% abspath %]adminvacancytypes.html"><span class="icon icon-category" style="font-size: 24px;"/></span>[% lbl.vacancytypes %]</a>
     </div>
-  </div>
-  [% END %]
+  </div>-->
+  
 </div>
 <div class="modal" id="dlg_terms">
   <div class="modal-content animate-top card-4">
index cbefa0d..d29756f 100644 (file)
@@ -18,6 +18,6 @@
           </div>-->
 
           <div class="container padding-16">
-
+              [% ua %]
           </div>
         </form>
\ No newline at end of file