first nice version of participo dashboard+

This commit is contained in:
marko
2021-12-04 11:50:29 +01:00
parent 9215595b0e
commit 31c96b6922
5 changed files with 193 additions and 15 deletions

View File

@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
viewBox="0 0 682.74664 1154.4933"
height="1154.4933"
width="682.74664"
xml:space="preserve"
id="svg2"
version="1.1"><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs6"><clipPath
id="clipPath18"
clipPathUnits="userSpaceOnUse"><path
id="path16"
d="M 0,865.87 H 512.06 V 0 H 0 Z" /></clipPath></defs><g
transform="matrix(1.3333333,0,0,-1.3333333,0,1154.4933)"
id="g10"><g
id="g12"><g
clip-path="url(#clipPath18)"
id="g14"><g
transform="translate(402.91,613.5663)"
id="g20"><path
id="path22"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,0 -3.632,-8.233 -7.021,-28.572 -3.391,-20.34 0.977,-19.984 -1.695,-46.49 -2.906,-28.814 -3.431,-35.071 -2.664,-49.151 0.727,-13.32 1.695,-17.193 -5.569,-20.099 -7.264,-2.906 -16.949,-11.139 -19.371,-20.339 -2.421,-9.201 -5.326,-17.918 -7.263,-20.824 -1.938,-2.905 0.06,-7.142 -1.938,-10.774 -1.998,-3.632 -2.724,-3.632 -5.266,-15.981 -2.542,-12.349 -7.083,-12.711 -7.446,-16.344 -0.363,-3.632 -5.205,-31.477 -16.828,-31.477 -11.623,0 -66.829,0 -79.42,-5.811 -12.591,-5.811 -23.244,-4.843 -15.012,-54.239 8.233,-49.395 6.296,-53.753 4.359,-61.985 -1.938,-8.233 -0.726,-15.498 -9.202,-23.488 -8.475,-7.99 -18.401,-23.728 -15.981,-27.845 2.421,-4.117 10.897,-1.695 20.824,6.779 9.928,8.476 12.833,12.592 16.707,15.497 3.874,2.906 5.569,0.243 14.528,4.601 8.959,4.358 9.444,11.623 2.905,17.192 -6.537,5.568 -7.505,6.295 -7.021,16.223 0.484,9.928 3.631,23.002 5.327,31.718 1.694,8.717 1.211,15.497 0.242,24.698 -0.969,9.201 -1.211,12.107 -1.211,12.107 0,0 7.022,1.936 11.381,-0.484 4.358,-2.422 13.316,-7.506 28.814,-9.201 15.496,-1.696 19.369,-0.243 19.369,-0.243 l 2.907,-2.663 c 0,0 -16.223,-31.235 -21.55,-47.216 -5.327,-15.981 -7.507,-22.519 -8.717,-30.509 -1.211,-7.99 2.663,-12.349 9.443,-21.307 6.78,-8.959 16.95,-38.5 20.097,-54.481 3.147,-15.98 3.632,-35.835 3.147,-36.804 -0.483,-0.968 -3.873,1.937 -3.389,-5.326 0.484,-7.265 -2.179,-11.866 -6.779,-23.003 -4.602,-11.138 -8.717,-24.214 0.968,-23.971 9.685,0.242 21.065,9.201 23.245,17.191 2.179,7.991 1.695,13.318 4.358,15.739 2.664,2.421 8.233,7.749 6.538,18.16 -1.695,10.411 -1.211,8.232 -0.484,13.559 0.726,5.328 -1.696,5.812 -3.874,3.39 l -2.18,-2.422 c 0,0 -0.726,18.645 -0.485,37.531 0.243,18.887 1.454,30.266 -8.231,42.858 -9.687,12.591 -8.959,17.192 -4.844,23.003 4.116,5.811 31.478,46.489 34.384,54.237 2.905,7.749 15.496,1.695 23.486,11.622 0,0 18.51,-21.993 25.909,-10.896 0.968,1.453 11.864,11.138 13.075,23.73 1.211,12.591 3.148,14.285 5.569,17.191 2.422,2.905 2.422,4.6 -1.937,7.99 -4.358,3.391 -22.761,20.822 -25.666,16.707 -2.906,-4.116 -3.893,-6.725 -4.359,-5.327 -0.484,1.453 -0.726,4.842 -2.905,13.56 -2.18,8.717 -5.327,10.654 -2.18,15.255 3.149,4.6 8.475,8.473 19.855,16.948 11.381,8.475 13.318,7.991 17.434,11.623 4.116,3.632 7.022,4.843 8.717,0.969 1.695,-3.875 8.959,-19.855 14.286,-32.931 5.327,-13.075 4.843,-8.958 7.022,-24.939 2.179,-15.981 9.685,-27.361 10.896,-36.32 1.211,-8.96 -0.969,-18.161 -0.727,-21.551 0.243,-3.39 0.485,-10.047 0.848,-15.495 0.363,-5.448 -0.545,-7.809 2.361,-7.264 2.905,0.544 4.539,2.361 4.358,7.083 -0.182,4.721 1.272,7.263 1.998,4.721 0.726,-2.543 3.631,-3.088 3.631,-12.53 0,-9.444 3.269,-8.172 4.359,-5.993 l 0.727,3.087 c 0,0 -0.727,-2.905 1.089,-3.45 1.816,-0.546 3.45,2.723 2.906,5.085 -0.545,2.359 0.943,-3.2 3.268,1.452 0.364,0.727 1.272,3.269 1.089,5.63 -0.18,2.36 1.635,-0.182 1.817,-2.179 0.182,-1.998 2.482,-1.515 2.24,1.513 -0.242,3.026 -1.332,9.02 -4.964,15.012 -3.632,5.993 -7.264,8.535 -7.264,12.531 0,3.995 -2.542,19.975 -3.451,30.145 -0.907,10.17 -7.264,33.596 -11.259,48.305 -3.995,14.711 -7.445,30.51 -8.535,42.495 -1.089,11.986 -0.363,14.71 -6.537,20.703 -6.175,5.992 -6.538,4.54 -7.628,8.535 -1.089,3.995 -4.903,9.443 -4.903,9.443 0,0 1.998,-3.632 10.351,-6.538 8.354,-2.905 10.352,-3.086 14.71,1.09 4.358,4.177 8.717,9.806 11.623,7.99 2.904,-1.815 5.629,-4.721 0.544,-12.53 -5.085,-7.808 -6.901,-22.337 -7.445,-35.049 -0.545,-12.712 3.632,-26.332 3.995,-30.69 0.363,-4.358 -0.182,-11.985 1.997,3.995 2.18,15.981 1.271,-4.177 1.09,-7.446 -0.181,-3.268 0.545,-1.453 1.453,3.814 0.908,5.266 -0.908,-11.441 0,-6.175 0.908,5.267 2.179,-10.532 3.268,-0.726 1.09,9.807 1.454,-4.177 2.725,1.634 1.271,5.812 2.905,-0.363 3.45,4.177 0.545,4.541 1.998,-1.998 2.723,2.906 0.727,4.903 1.272,2.542 1.817,6.174 0.545,3.633 0.363,-8.898 2.724,2.906 2.361,11.804 4.359,21.428 2.906,37.954 -1.453,16.526 -2.18,19.069 -4.177,23.245 -1.998,4.177 -7.991,7.627 -8.898,10.532 -0.909,2.906 3.268,14.711 1.633,24.88 -1.633,10.17 -7.99,17.253 -17.615,22.338 -9.624,5.084 -11.622,2.36 -15.98,1.997 -4.358,-0.364 -6.235,0.605 -8.656,1.815 -2.422,1.211 -5.812,3.147 -6.538,0.485 -0.726,-2.664 0.666,-2.935 0.666,-2.935 0,0 -5.993,0.635 -6.719,0.544 -0.727,-0.091 -1.816,0.091 -1.907,-1.18 -0.091,-1.272 -1.18,-0.091 -2.362,-0.818 -1.18,-0.726 -1.18,-1.725 -3.268,-1.725 -2.088,0 -8.444,-0.182 -7.173,-6.266 1.271,-6.083 2.633,-4.448 2.542,-9.896 -0.091,-5.448 -3.723,-15.254 -7.173,-15.708 -3.45,-0.455 -7.186,1.366 -5.357,8.685 3.148,12.592 -0.727,23.246 -3.874,33.899 -3.148,10.654 -3.874,26.876 -1.211,36.805 2.664,9.927 3.147,12.59 2.906,19.371 -0.242,6.779 3.148,41.888 1.695,50.363 -1.453,8.475 -3.39,8.959 -8.959,14.044 -5.569,5.086 -10.896,5.327 -10.896,5.327 0,0 1.937,-20.097 2.663,-25.182" /></g><g
transform="translate(290.9232,445.6469)"
id="g24"><path
id="path26"
style="fill:#ec363a;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0.363,-1.453 13.802,-21.792 17.434,-32.325 3.632,-10.533 -21.792,4.722 -28.33,10.896 -6.538,6.174 5.448,1.09 12.712,-5.085 7.264,-6.174 14.892,-8.353 8.354,2.18 C 3.633,-13.801 -2.906,-5.811 -2.906,-2.18 -2.906,1.453 -0.726,2.906 0,0" /></g><g
transform="translate(346.8568,380.997)"
id="g28"><path
id="path30"
style="fill:#ec363a;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c -1.09,0.726 -22.156,2.18 -26.514,-1.089 -4.358,-3.269 -6.901,-23.972 5.085,-39.953 11.986,-15.98 11.259,2.543 11.259,2.543 0,0 -9.807,19.25 -8.717,24.698 1.09,5.448 10.17,4.358 17.797,5.085 C 6.537,-7.99 0,0 0,0" /></g><g
transform="translate(324.0823,381.5082)"
id="g32"><path
id="path34"
style="fill:#ec363a;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c -0.17,-0.666 -0.637,-1.875 -1.856,-2.483 -0.448,-0.223 -0.937,-0.335 -1.455,-0.335 -1.821,0 -3.714,1.346 -4.713,3.351 -0.684,1.373 -0.882,2.924 -0.544,4.254 0.169,0.666 0.634,1.876 1.856,2.484 0.447,0.223 0.937,0.335 1.456,0.335 1.82,0 3.714,-1.345 4.711,-3.35 C 0.139,2.883 0.337,1.333 0,0 m 2.706,5.875 c -2.234,4.489 -7.177,6.57 -11.037,4.648 -3.861,-1.922 -5.179,-7.12 -2.944,-11.609 2.235,-4.489 7.176,-6.57 11.037,-4.648 3.861,1.922 5.179,7.12 2.944,11.609" /></g><g
transform="translate(314.8665,403.7328)"
id="g36"><path
id="path38"
style="fill:#ec363a;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c -2.824,-2.596 -7.864,-1.708 -11.259,1.982 -3.394,3.691 -3.858,8.788 -1.034,11.385 2.824,2.597 7.864,1.711 11.258,-1.982 C 2.361,7.694 2.824,2.597 0,0" /></g><g
transform="translate(317.6634,389.8295)"
id="g40"><path
id="path42"
style="fill:#ec363a;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c -1.522,1.306 -4.082,4.722 -6.129,10.225 -2.047,5.504 -2.343,9.762 -2.044,11.747 1.521,-1.306 4.08,-4.723 6.129,-10.226 C 0.004,6.241 0.3,1.982 0,0 M 1.36,13.012 C -1.73,21.319 -6.673,27.146 -9.682,26.027 -12.69,24.908 -12.624,17.267 -9.533,8.96 -6.443,0.653 -1.5,-5.174 1.508,-4.055 4.517,-2.937 4.45,4.704 1.36,13.012" /></g><g
transform="translate(373.7332,244.9785)"
id="g44"><path
id="path46"
style="fill:#373535;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-3.51 -2.195,-6.356 -4.903,-6.356 -2.709,0 -4.903,2.846 -4.903,6.356 0,3.51 2.194,6.356 4.903,6.356 C -2.195,6.356 0,3.51 0,0" /></g><g
transform="translate(383.5394,242.9809)"
id="g48"><path
id="path50"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-3.209 -2.602,-5.812 -5.811,-5.812 -3.21,0 -5.811,2.603 -5.811,5.812 0,3.209 2.601,5.812 5.811,5.812 C -2.602,5.812 0,3.209 0,0" /></g><g
transform="translate(396.2518,241.165)"
id="g52"><path
id="path54"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-3.812 -3.09,-6.901 -6.901,-6.901 -3.811,0 -6.901,3.089 -6.901,6.901 0,3.812 3.09,6.901 6.901,6.901 C -3.09,6.901 0,3.812 0,0" /></g><g
transform="translate(370.8279,253.332)"
id="g56"><path
id="path58"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-1.906 -1.545,-3.45 -3.451,-3.45 -1.905,0 -3.45,1.544 -3.45,3.45 0,1.906 1.545,3.451 3.45,3.451 C -1.545,3.451 0,1.906 0,0" /></g><g
transform="translate(367.7401,254.8163)"
id="g60"><path
id="path62"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-0.719 -0.528,-1.303 -1.18,-1.303 -0.652,0 -1.18,0.584 -1.18,1.303 v 20.64 c 0,0.719 0.528,1.302 1.18,1.302 0.652,0 1.18,-0.583 1.18,-1.302 z" /></g><g
transform="translate(379.5443,246.0683)"
id="g64"><path
id="path66"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-1.003 -0.813,-1.816 -1.816,-1.816 -1.003,0 -1.816,0.813 -1.816,1.816 v 37.591 c 0,1.004 0.813,1.817 1.816,1.817 1.003,0 1.816,-0.813 1.816,-1.817 z" /></g><g
transform="translate(371.7357,246.0683)"
id="g68"><path
id="path70"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-1.003 -0.813,-1.816 -1.816,-1.816 -1.003,0 -1.816,0.813 -1.816,1.816 v 37.591 c 0,1.004 0.813,1.817 1.816,1.817 1.003,0 1.816,-0.813 1.816,-1.817 z" /></g><g
transform="translate(390.2586,244.7973)"
id="g72"><path
id="path74"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,-1.103 -0.895,-1.998 -1.997,-1.998 -1.103,0 -1.998,0.895 -1.998,1.998 v 42.313 c 0,1.103 0.895,1.998 1.998,1.998 1.102,0 1.997,-0.895 1.997,-1.998 z" /></g><g
transform="translate(-2e-4,864.4169)"
id="g76"><path
id="path78"
style="fill:#292929;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 8.717,0 351.578,1.453 351.578,1.453 0,0 -2.906,-26.15 17.434,-59.565 20.339,-33.415 62.47,-66.829 49.395,-79.904 -13.075,-13.075 -34.141,-22.761 -26.15,-55.207 7.99,-32.445 18.886,-46.489 7.263,-62.47 -11.622,-15.98 -100.969,-102.423 -108.597,-163.077 -7.627,-60.655 -13.438,-78.088 -27.966,-105.691 C 248.429,-552.065 159.809,-645.043 107.508,-708.967 55.207,-772.89 2.906,-864.417 2.906,-864.417 Z" /></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 712.09003 444.35999" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g transform="translate(-20,-260)" fill="#ff8c00" stroke="#000">
<path d="m30.014 279.4s318.35-0.63435 326.15 3.2665 37.708 6.5014 37.708 6.5014-28.606 3.9009-44.21 24.705-29.907 40.309-29.907 40.309l-289.83 1.0346" stroke-width="3.29"/>
<path d="m345.81 318.36c19.37-27.979 41.609-25.109 48.783-28.696s22.957 43.761 7.174 53.088-53.805 43.044-53.805 43.044l-0.7174 1.4348" stroke-width="3.29"/>
<path d="m475.66 309.75c-7.8914-30.131 7.8914-37.305-24.392-35.153s-53.088-2.8696-54.522 8.6088-10.044 66.718 9.3262 74.61 80.349 38.74 82.501 24.392-7.8914-19.37-7.8914-19.37l-5.0218-53.088z" stroke-width="3.29"/>
<path d="m722.89 359.52-210.01 0.56759 1.4364-82.648 210.07 1.2833" stroke-width="3.2344"/>
<path d="m472.79 288.23s88.24 22.957 84.653 31.566-25.109 61.696-35.87 59.544-40.892-10.044-42.327-17.218-5.7392-73.175-6.4566-73.892z" stroke-width="3.29"/>
<path d="m550.98 314.05s78.806-8.938 68.87-17.218c-12.913-10.761-62.414-39.457-77.479-35.153s-60.979 28.696-60.979 28.696l69.588 23.674z" stroke-width="3.29"/>
<path d="m637.79 657.17s1.4348-316.57-2.1522-321.59-1.4348-49.501-36.587-38.022-47.348 16.5-47.348 16.5 15.783-9.3262 17.218 5.7392-7.0218 337.22-7.0218 337.22" stroke-width="3.29"/>
<path d="m270.84 694.46s4.6324-216.62 2.8248-237.5c-2.4212-27.979 63.714-134.65 71.516-137.25s5.2012 375.2 5.2012 375.2" stroke-width="3.29"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -8,12 +8,6 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
require_once("./lib/db.php");
require_once("./lib/api.php");
// $dbConnection = getPdoDbConnection(
// $cwsvJudoConfig["db"]["host"],
// $cwsvJudoConfig["db"]["name"],
// $cwsvJudoConfig["db"]["user"],
// $cwsvJudoConfig["db"]["password"]
// );
require_once("./auth.php");
$basePath = "/users/cwsvjudo/www";
@@ -52,22 +46,88 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<link rel="icon" href="<?echo($config['ressourceUrl']);?>/graphiken/icons/cwsv.ico" />
<link rel="apple-touch-icon" href="<?echo($config['baseUrl']);?>/apple-touch-icon.png">
</head>
<body>
<style>
<?php if($_SESSION['login']){ ?>
<ul id="slide-out" class="sidenav">
<?php require_once("sidenav/loginStatus.php");?>
header, main, footer {
padding-left: 300px;
}
@media only screen and (max-width : 992px) {
header, main, footer {
padding-left: 0;
}
}
</style>
<header>
<a class="right top-nav sidenav-trigger waves-effect waves-light circle hide-on-large-only" href="#" data-target="nav-mobile">
<i class="material-icons">menu</i>
</a>
<ul class="sidenav sidenav-fixed sidenav-close" id="nav-mobile" style="transform: translateX(0px);">
<li class="logo">
<a style="height:auto;" class="brand-logo" id="logo-container" href="/participo/">
<img style="max-width:100%;height:12vh;" class="responsive-img" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png" />
</a>
</li>
<li><?php require_once("sidenav/loginStatus.php");?></li>
<li class="bold">
<a class="waves-effect waves-teal" href="#AppList">Apps</a>
</li>
</ul>
<a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<?php } ?>
</header>
<?php
if($_SESSION['login']){
?>
<ul>
<li><a href="kyu">Kyu</a></li>
</ul>
<main>
<div class="row" id="AppList">
<div style="padding:1%;" class="col s12 m6">
<div style="margin:1%;" class="card blue-grey darken-1">
<a href="kyu"><div class="card-content white-text">
<span class="card-title">Kyu</span>
<img style="max-height:10vh;" class="responsive-img" src="images/obi.svg" />
<p>Die Prüfungsprogamme der einzelnen Gürtelstufen in Bild Ton und Text.</p>
</div><a>
<div class="card-action">
<a href="kyu">Kuy-Programme</a>
<!--
<a href="kyu?kyu=8">weiß-gelb</a>
<a href="kyu?kyu=7">gelb</a>
<a href="kyu?kyu=6">gelb-orange</a>
<a href="kyu?kyu=5">orange</a>
<a href="kyu?kyu=4">orange-grün</a>
-->
</div>
</div>
</div>
<div style="padding:1%;" class="col s12 m6">
<div class="card blue-grey darken-1">
<a href="/machs"><div class="card-content white-text">
<span class="card-title">Mein Achievement System</span>
<img style="max-height:10vh;" class="responsive-img" src="images/mountain-climber.svg" />
<p>Ein kleines Achievementsystem für die tägliche Herausforderung</p>
</div><a>
<div class="card-action">
<a href="/machs">mAchS</a>
</div>
</div>
</div>
<div style="padding:1%;" class="col s12 m6">
<div class="card blue-grey darken-1">
<a href="/pages/desktop/wkParticipo"><div class="card-content white-text">
<span class="card-title">Event-Planer</span>
<img style="max-height:10vh;" class="responsive-img" src="/ressourcen/graphiken/icons/terminKalender.svg" />
<p>Organisieren der Teilnahmen (und nicht-Teilnahmen) an Wettkämpfen, Sondertrainingseinheiten, Feiern etc.</p>
</div><a>
<div class="card-action">
<a href="/pages/desktop/wkParticipo">Planer</a>
</div>
</div>
</div>
</div>
</main>
<?php
}
?>