Correction ressources dans vues

This commit is contained in:
xdrm-brackets 2016-02-09 15:04:22 +01:00
parent f7f3eb9591
commit 8f5d4c2fc2
10 changed files with 35 additions and 35 deletions

View File

@ -1,4 +1,4 @@
$theme-color: #4662d4; $theme-color: #2138e6;
$theme-color: #00A6EB; $theme-color: #e63321;
$sub-menu-color: #5b5e63; $sub-menu-color: #5b5e63;

View File

@ -1,2 +1,2 @@
#WRAPPER>#HEADER>.icon{display:block;position:absolute;top:0;left:0;width:4em;height:4em;background-color:#0082b8;background-image:url("/f/svg/icon/st");background-position:center center;background-repeat:no-repeat;background-size:50% 50%;cursor:pointer;transition:all .3s}#WRAPPER>#HEADER>.icon:hover{background-color:#00709f}#WRAPPER>#HEADER.loading>.icon{background-image:url("/f/svg/loader/st");background-size:70% 70%} #WRAPPER>#HEADER>.icon{display:block;position:absolute;top:0;left:0;width:4em;height:4em;background-color:#bf2515;background-image:url("/f/svg/icon/st");background-position:center center;background-repeat:no-repeat;background-size:50% 50%;cursor:pointer;transition:all .3s}#WRAPPER>#HEADER>.icon:hover{background-color:#a82013}#WRAPPER>#HEADER.loading>.icon{background-image:url("/f/svg/loader/st");background-size:70% 70%}
/*# sourceMappingURL=header.css.map */ /*# sourceMappingURL=header.css.map */

View File

@ -1,2 +1,2 @@
#WRAPPER{display:block;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#edf0f5;font-family:'Ubuntu'}#WRAPPER>#HEADER{display:block;position:absolute;top:0;left:0;width:100%;height:calc( 4em - 1px );border-bottom:1px solid #0082b8;background-color:#00A6EB;z-index:10}#WRAPPER>#MENU-SIDE{display:block;position:absolute;top:4em;left:0;width:4em;height:100%;box-shadow:2px 1px 3px #ddd;background-color:#fff;transition:all .3s;z-index:9}#WRAPPER>#CONTAINER{display:flex;position:absolute;top:4em;left:4em;width:calc( 100% - 4em - 2*1em );height:calc( 100% - 4em - 2*1em );padding:1em;flex-direction:row;justify-content:space-between;overflow-x:none;overflow-y:auto} #WRAPPER{display:block;position:fixed;top:0;left:0;width:100%;height:100%;background-color:#edf0f5;font-family:'Ubuntu'}#WRAPPER>#HEADER{display:block;position:absolute;top:0;left:0;width:100%;height:calc( 4em - 1px );border-bottom:1px solid #bf2515;background-color:#e63321;z-index:10}#WRAPPER>#MENU-SIDE{display:block;position:absolute;top:4em;left:0;width:4em;height:100%;box-shadow:2px 1px 3px #ddd;background-color:#fff;transition:all .3s;z-index:9}#WRAPPER>#CONTAINER{display:flex;position:absolute;top:4em;left:4em;width:calc( 100% - 4em - 2*1em );height:calc( 100% - 4em - 2*1em );padding:1em;flex-direction:row;justify-content:space-between;overflow-x:none;overflow-y:auto}
/*# sourceMappingURL=layout.css.map */ /*# sourceMappingURL=layout.css.map */

2
src/static/loader.svg Executable file → Normal file
View File

@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><svg width='198px' height='198px' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-ring-alt"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="#5395f9" fill="none" stroke-width="10" stroke-linecap="round"></circle><circle cx="50" cy="50" r="40" stroke="#ffffff" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="2s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="2s" repeatCount="indefinite" values="100.4 150.6;1 250;100.4 150.6"></animate></circle></svg> <?xml version="1.0" encoding="utf-8"?><svg width='120px' height='120px' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="uil-ring-alt"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><circle cx="50" cy="50" r="40" stroke="transparent" fill="none" stroke-width="10" stroke-linecap="round"></circle><circle cx="50" cy="50" r="40" stroke="white" fill="none" stroke-width="6" stroke-linecap="round"><animate attributeName="stroke-dashoffset" dur="2s" repeatCount="indefinite" from="0" to="502"></animate><animate attributeName="stroke-dasharray" dur="2s" repeatCount="indefinite" values="165.66 85.34;1 250;165.66 85.34"></animate></circle></svg>

Before

Width:  |  Height:  |  Size: 709 B

After

Width:  |  Height:  |  Size: 713 B

View File

@ -7,22 +7,22 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='analytics'> <span data-sublink='analytics'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/analytics/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/analytics/st/sub-menu-side' ); ?></span>
<span>Statistiques</span> <span>Statistiques</span>
</span> </span>
<span data-sublink='view' > <span data-sublink='view' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/view/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
<span>Consulter le suivi</span> <span>Consulter le suivi</span>
</span> </span>
<span data-sublink='start' > <span data-sublink='start' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/sync/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/sync/st/sub-menu-side' ); ?></span>
<span>Demarrer un suivi</span> <span>Demarrer un suivi</span>
</span> </span>
<span data-sublink='search' > <span data-sublink='search' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/search/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/search/st/sub-menu-side' ); ?></span>
<span>Recherche</span> <span>Recherche</span>
</span> </span>

View File

@ -6,22 +6,22 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='displayall'> <span data-sublink='displayall'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/view/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
<span>Tout afficher</span> <span>Tout afficher</span>
</span> </span>
<span data-sublink='filter' > <span data-sublink='filter' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/filter/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/filter/st/sub-menu-side' ); ?></span>
<span>Filtrer</span> <span>Filtrer</span>
</span> </span>
<span data-sublink='search' > <span data-sublink='search' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/search/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/search/st/sub-menu-side' ); ?></span>
<span>Recherche</span> <span>Recherche</span>
</span> </span>
<span data-sublink='remove' > <span data-sublink='remove' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/remove/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/remove/st/sub-menu-side' ); ?></span>
<span>Vider l'historique</span> <span>Vider l'historique</span>
</span> </span>
</nav> </nav>

View File

@ -6,32 +6,32 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='displayall'> <span data-sublink='displayall'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/view/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
<span>Tout afficher</span> <span>Tout afficher</span>
</span> </span>
<span data-sublink='create'> <span data-sublink='create'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/create/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/create/st/sub-menu-side' ); ?></span>
<span>Creation</span> <span>Creation</span>
</span> </span>
<span data-sublink='remove'> <span data-sublink='remove'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/remove/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/remove/st/sub-menu-side' ); ?></span>
<span>Suppression</span> <span>Suppression</span>
</span> </span>
<span data-sublink='edit'> <span data-sublink='edit'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/edit/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/edit/st/sub-menu-side' ); ?></span>
<span>Modification</span> <span>Modification</span>
</span> </span>
<span data-sublink='filter'> <span data-sublink='filter'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/filter/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/filter/st/sub-menu-side' ); ?></span>
<span>Filtrer</span> <span>Filtrer</span>
</span> </span>
<span data-sublink='search'> <span data-sublink='search'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/search/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/search/st/sub-menu-side' ); ?></span>
<span>Recherche</span> <span>Recherche</span>
</span> </span>

View File

@ -7,12 +7,12 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='view'> <span data-sublink='view'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/view/st/sub-menu-side'); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
<span>Mon Profil</span> <span>Mon Profil</span>
</span> </span>
<span data-sublink='password'> <span data-sublink='password'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/password/st/sub-menu-side'); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/password/st/sub-menu-side' ); ?></span>
<span>Mot de passe</span> <span>Mot de passe</span>
</span> </span>

View File

@ -6,32 +6,32 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='displayall'> <span data-sublink='displayall'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/view/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
<span>Tout afficher</span> <span>Tout afficher</span>
</span> </span>
<span data-sublink='create' > <span data-sublink='create' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/create/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/create/st/sub-menu-side' ); ?></span>
<span>Creation</span> <span>Creation</span>
</span> </span>
<span data-sublink='remove' > <span data-sublink='remove' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/remove/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/remove/st/sub-menu-side' ); ?></span>
<span>Suppression</span> <span>Suppression</span>
</span> </span>
<span data-sublink='edit' > <span data-sublink='edit' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/edit/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/edit/st/sub-menu-side' ); ?></span>
<span>Modification</span> <span>Modification</span>
</span> </span>
<span data-sublink='filter' > <span data-sublink='filter' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/filter/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/filter/st/sub-menu-side' ); ?></span>
<span>Filtrer</span> <span>Filtrer</span>
</span> </span>
<span data-sublink='search' > <span data-sublink='search' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/search/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/search/st/sub-menu-side' ); ?></span>
<span>Recherche</span> <span>Recherche</span>
</span> </span>

View File

@ -6,32 +6,32 @@
<nav class='sub-menu-side'> <nav class='sub-menu-side'>
<span data-sublink='view'> <span data-sublink='view'>
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/view/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/view/st/sub-menu-side' ); ?></span>
<span>Tout afficher</span> <span>Tout afficher</span>
</span> </span>
<span data-sublink='create' > <span data-sublink='create' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/create/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/create/st/sub-menu-side' ); ?></span>
<span>Creation</span> <span>Creation</span>
</span> </span>
<span data-sublink='remove' > <span data-sublink='remove' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/remove/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/remove/st/sub-menu-side' ); ?></span>
<span>Suppression</span> <span>Suppression</span>
</span> </span>
<span data-sublink='edit' > <span data-sublink='edit' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/edit/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/edit/st/sub-menu-side' ); ?></span>
<span>Modification</span> <span>Modification</span>
</span> </span>
<span data-sublink='filter' > <span data-sublink='filter' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/filter/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/filter/st/sub-menu-side' ); ?></span>
<span>Filtrer</span> <span>Filtrer</span>
</span> </span>
<span data-sublink='search' > <span data-sublink='search' >
<span class='svg'><?php echo file_get_contents( 'http://'.$_SERVER['HTTP_HOST'].'/f/svg/search/st/sub-menu-side' ); ?></span> <span class='svg'><?php echo \manager\ResourceDispatcher::getResource( 'f/svg/search/st/sub-menu-side' ); ?></span>
<span>Recherche</span> <span>Recherche</span>
</span> </span>
@ -76,7 +76,7 @@
// Code RFID // Code RFID
echo "<span class='code'>"; echo "<span class='code'>";
echo \manager\ResourceDispatcher::getResource('/f/svg/card/st/container'); echo \manager\ResourceDispatcher::getResource('f/svg/card/st/container');
echo "<span>"; echo "<span>";
echo $user['code']; echo $user['code'];
@ -85,7 +85,7 @@
// Adresse email // Adresse email
echo "<span class='mail'>"; echo "<span class='mail'>";
echo \manager\ResourceDispatcher::getResource('/f/svg/mail/st/container'); echo \manager\ResourceDispatcher::getResource('f/svg/mail/st/container');
echo "<span>"; echo "<span>";
echo $user['mail']; echo $user['mail'];