Simplified file system for `Viewer` + updated .ico (with svg and transparent background and bigger size) + updated iconv3

This commit is contained in:
xdrm-brackets 2017-01-11 17:31:59 +01:00
parent d6ea17edea
commit 028fec4cee
21 changed files with 99 additions and 20 deletions

View File

@ -101,7 +101,7 @@
/* [2] On vérifie que le template existe
=========================================================*/
$class = '\\viewer\\view\\'.$match[1].'\\'.$match[1].'_'.$match[2];
$class = '\\viewer\\view\\'.$match[1].'\\'.$match[2];
$method = 'render';
/* (1) On vérifie que la classe existe */

View File

@ -5,7 +5,7 @@
use \error\core\Error;
use \api\core\Authentification;
class group_groupChoice{
class groupChoice{
public static function render(){
/* [1] Init Twig
@ -38,7 +38,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('group/group_groupChoice.twig', [
return $twig->render('group/groupChoice.twig', [
'p_icon' => $variables['p_icon'],
'p_theme' => $variables['p_theme']
]);

View File

@ -6,7 +6,7 @@
use \error\core\Error;
use \api\core\Authentification;
class group_membersChoice{
class membersChoice{
public static function render($params){
/* [1] On vérifie le type de groupe (user/machine)
@ -122,7 +122,7 @@
/* [5] Build the whole stuff
=========================================================*/
return $twig->render('group/group_membersChoice.twig', [
return $twig->render('group/membersChoice.twig', [
'p_class' => $variables['p_class'],
'p_name' => $variables['p_name'],
'p_id_cluster' => $variables['p_id_cluster'],

View File

@ -5,7 +5,7 @@
use \api\core\Authentification;
use \error\core\Error;
class group_view{
class view{
public static function render(){
/* [1] Init Twig
@ -60,7 +60,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('group/group_view.twig', [
return $twig->render('group/view.twig', [
'p_icon' => $variables['p_icon'],
'p_theme' => $variables['p_theme']
]);

View File

@ -5,7 +5,7 @@
use \api\core\ModuleRequest;
use \error\core\Error;
class history_view{
class view{
public static function render(){
@ -63,7 +63,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('history/history_view.twig', [
return $twig->render('history/view.twig', [
'p_theme' => $variables['p_theme']
]);
}

View File

@ -6,7 +6,7 @@
use \api\core\Authentification;
use \error\core\Error;
class machine_groups{
class groups{
public static function render(){
/* [1] Init Twig
@ -62,7 +62,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('machine/machine_groups.twig', [
return $twig->render('machine/groups.twig', [
'p_icon' => $variables['p_icon'],
'p_theme' => $variables['p_theme']
]);

View File

@ -6,7 +6,7 @@
use \api\core\Authentification;
use \error\core\Error;
class machine_view{
class view{
public static function render(){
/* [1] Init Twig
@ -56,7 +56,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('machine/machine_view.twig', [
return $twig->render('machine/view.twig', [
'p_icon' => $variables['p_icon'],
'p_theme' => $variables['p_theme']
]);

View File

@ -6,7 +6,7 @@
use \api\core\Authentification;
use \error\core\Error;
class user_groups{
class groups{
public static function render(){
/* [1] Init Twig
@ -62,7 +62,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('user/user_groups.twig', [
return $twig->render('user/groups.twig', [
'p_icon' => $variables['p_icon'],
'p_theme' => $variables['p_theme']
]);

View File

@ -5,7 +5,7 @@
use \api\core\Authentification;
use \error\core\Error;
class user_view{
class view{
public static function render(){
/* [1] Init Twig
@ -56,7 +56,7 @@
/* [4] Build the whole stuff
=========================================================*/
return $twig->render('user/user_view.twig', [
return $twig->render('user/view.twig', [
'p_icon' => $variables['p_icon'],
'p_theme' => $variables['p_theme']
]);

View File

@ -12,7 +12,7 @@
height: $menu-side-width;
background-color: darken($theme-color, 10);
background-image: url('/src/static/iconv2.svg');
background-image: url('/src/static/iconv3.svg');
background-position: center center;
background-repeat: no-repeat;
background-size: 50% 50%;

View File

@ -1,3 +1,26 @@
#WRAPPER>#HEADER>.icon{display:block;position:absolute;top:0;left:0;width:4em;height:4em;background-color:#c23f05;background-image:url("/src/static/iconv2.svg");background-position:center center;background-repeat:no-repeat;background-size:50% 50%;cursor:pointer;transition:all .3s}#WRAPPER>#HEADER.loading>.icon{background-image:url("/src/static/loaderv2.svg");background-size:70% 70%}
/* COULEUR DU THEME */
/* COULEUR DU SOUS-MENU */
/* COULEUR DES ERREURS */
/* FORMULAIRES */
/* GESTION DES LONGUEURS */
#WRAPPER > #HEADER {
/* Animation de chargement qudnd chargement ajax */ }
#WRAPPER > #HEADER > .icon {
display: block;
position: absolute;
top: 0;
left: 0;
width: 4em;
height: 4em;
background-color: #c23f05;
background-image: url("/src/static/iconv3.svg");
background-position: center center;
background-repeat: no-repeat;
background-size: 50% 50%;
cursor: pointer;
transition: all .3s; }
#WRAPPER > #HEADER.loading > .icon {
background-image: url("/src/static/loaderv2.svg");
background-size: 70% 70%; }
/*# sourceMappingURL=data:application/json;base64,ewoJInZlcnNpb24iOiAzLAoJImZpbGUiOiAiaGVhZGVyLmNzcyIsCgkic291cmNlcyI6IFsKCQkiLi4vaGVhZGVyLnNjc3MiLAoJCSIuLi9jb25zdGFudHMuc2NzcyIKCV0sCgkic291cmNlc0NvbnRlbnQiOiBbCgkJIkBpbXBvcnQgJ2NvbnN0YW50cyc7XG5cblxuI1dSQVBQRVIgPiAjSEVBREVSe1xuXHQvLyBJY29uZSBkdSBzaXRlXG5cdCYgPiAuaWNvbntcblx0XHRkaXNwbGF5OiBibG9jaztcblx0XHRwb3NpdGlvbjogYWJzb2x1dGU7XG5cdFx0XHR0b3A6IDA7XG5cdFx0XHRsZWZ0OiAwO1xuXHRcdFx0d2lkdGg6ICRtZW51LXNpZGUtd2lkdGg7XG5cdFx0XHRoZWlnaHQ6ICRtZW51LXNpZGUtd2lkdGg7XG5cblx0XHRiYWNrZ3JvdW5kLWNvbG9yOiBkYXJrZW4oJHRoZW1lLWNvbG9yLCAxMCk7XG5cdFx0YmFja2dyb3VuZC1pbWFnZTogdXJsKCcvc3JjL3N0YXRpYy9pY29udjIuc3ZnJyk7XG5cdFx0YmFja2dyb3VuZC1wb3NpdGlvbjogY2VudGVyIGNlbnRlcjtcblx0XHRiYWNrZ3JvdW5kLXJlcGVhdDogbm8tcmVwZWF0O1xuXHRcdGJhY2tncm91bmQtc2l6ZT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QUFHQSxBQUVLLFFBRkcsQ0FBRyxPQUFPLENBRWIsS0FBSyxBQUFBLENBQ1IsT0FBTyxDQUFFLEtBQU0sQ0FDZixRQUFRLENBQUUsUUFBUyxDQUNsQixHQUFHLENBQUUsQ0FBRSxDQUNQLElBQUksQ0FBRSxDQUFFLENBQ1IsS0FBSyxDQ09VLEdBQUcsQ0RObEIsTUFBTSxDQ01TLEdBQUcsQ0RKbkIsZ0JBQWdCLENBQUUsT0FBTSxDQUN4QixnQkFBZ0IsQ0FBRSw2QkFBRyxDQUNyQixtQkFBbUIsQ0FBRSxhQUFjLENBQ25DLGlCQUFpQixDQUFFLFNBQVUsQ0FDN0IsZUFBZSxDQUFFLE9BQVEsQ0FFekIsTUFBTSxDQUFFLE9BQVEsQ0FFaEIsVUFBVSxDQUFFLE9BQVEsQ0FFcEIsQUFwQkYsQUF1QmEsUUF2QkwsQ0FBRyxPQUFPLEFBdUJoQixRQUFRLENBQUcsS0FBSyxBQUFBLENBQ2hCLGdCQUFnQixDQUFFLCtCQUFHLENBQ3JCLGVBQWUsQ0FBRSxPQUFRLENBQ3pCIiwKCSJuYW1lcyI6IFtdCn0= */
/*# sourceMappingURL=header.css.map */

BIN
public_html/src/logauth.ico Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

@ -0,0 +1,56 @@
<?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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 24 24"
id="Layer_1"
version="1.0"
viewBox="0 0 32 32"
xml:space="preserve"
inkscape:version="0.91 r13725"
sodipodi:docname="iconv3.svg"
width="32"
height="32"><metadata
id="metadata11"><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 /></cc:Work></rdf:RDF></metadata><defs
id="defs9" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="958"
inkscape:window-height="986"
id="namedview7"
showgrid="false"
inkscape:zoom="9.8333333"
inkscape:cx="18.977465"
inkscape:cy="7.7966102"
inkscape:window-x="960"
inkscape:window-y="24"
inkscape:window-maximized="0"
inkscape:current-layer="Layer_1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:snap-page="true" /><g
id="g3334"
transform="matrix(1.5951116,0,0,1.5951116,-3.0639537,-3.1413392)"><path
style="fill:#e0e7ed;fill-opacity:1"
id="path3"
d="m 20,14.5 c 0,0 -2.3,5.5 -8,5.5 -5.7,0 -8,-5.5 -8,-5.5 0,0 4.1,1 7.9,1 3.8,0 8.1,-1 8.1,-1 z"
inkscape:connector-curvature="0" /><path
style="fill:#eef2f6;fill-opacity:1"
id="path5"
d="M 21.3,8.5 C 17.1,7.2 13.8,4 12,4 10.2,4 6.9,7.2 2.7,8.5 2,8.7 1.7,9.5 2.1,10.1 3,11.3 4,11.4 4,12.8 c 0,0 4,1 8,1 4,0 8,-1 8,-1 0,-1.4 1,-1.5 1.8,-2.8 0.4,-0.5 0.1,-1.3 -0.5,-1.5 z M 12,12 c -1.1,0 -2,-1.9 -2,-3 0,0 0.9,-1 2,-1 1.1,0 2,1 2,1 0,1.1 -0.9,3 -2,3 z"
inkscape:connector-curvature="0" /></g></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB