Skip to content

Commit

Permalink
Normalises files format, indents more nicely the code and makes the S…
Browse files Browse the repository at this point in the history
…iteMonitoringToolbar input, ready to be parsed by Doxygen.
  • Loading branch information
JB Lebrun committed Jul 30, 2018
1 parent 06f03a1 commit 8729743
Show file tree
Hide file tree
Showing 9 changed files with 1,000 additions and 1,011 deletions.
1,179 changes: 580 additions & 599 deletions plugin/input/SiteMonitoringToolbar/SiteMonitoringToolbar.php.inc

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions plugin/input/SiteMonitoringToolbar/css/SiteMonitoringToolbar.css
@@ -1,22 +1,22 @@
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0
* Object Type : Plugin / Input Styles
* Creation Date : Nov 2017
* Last Modif Date : Dec 2017
*
* SiteMonitoringToolbar custom styles
/**
* @brief SiteMonitoringToolbar Input default CSS styles
* @details Plugin / Input CSS styles
* @file plugin/input/SiteMonitoringToolbar/css/styles.css
* @author CaMykS Team
* @version 1.0
* @date Creation: Nov 2017
* @date Modification: Apr 2018
* @copyright 2017 - 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

/* toolbar */
#SiteMonitoringToolbar {position:fixed; width:43px; overflow:hidden; transition: height 0.3s;}
#SiteMonitoringToolbar.left {border-right:solid 1px white;}
#SiteMonitoringToolbar.right {border-left:solid 1px white;}
#SiteMonitoringToolbar .masterButton {cursor:pointer; height:42px; font-size:0; filter: grayscale(1); transition:all 0.25s;}
#SiteMonitoringToolbar .masterButton:hover {filter: grayscale(0);}
#SiteMonitoringToolbar .masterButton:hover {filter: grayscale(0);}
#SiteMonitoringToolbar .button {cursor:pointer; font-size:0;}
#SiteMonitoringToolbar .separator {font-size:0; height:0; margin:6px 0;}

Expand All @@ -36,7 +36,7 @@
#SiteMonitoringToolbarDataPanel .contentBox .formLine .formInput input,
#SiteMonitoringToolbarDataPanel .contentBox .formLine .formInput select {width:100%;}
#SiteMonitoringToolbarDataPanel .contentBox .buttonLine {font-size:0; text-align:right; padding:4px 0;}
#SiteMonitoringToolbarDataPanel .contentBox .buttonLine .button {display:inline-block; margin-left:4px; padding:4px 16px; cursor:pointer;}
#SiteMonitoringToolbarDataPanel .contentBox .buttonLine .button {display:inline-block; margin-left:4px; padding:4px 16px; cursor:pointer;}

/* dark theme */
#SiteMonitoringToolbar.dark {background:url(../img/Dark_bkgd.png) repeat-y 0 0; }
Expand Down Expand Up @@ -88,4 +88,4 @@
#SiteMonitoringToolbarDataPanel.purple .contentBox .buttonLine .button:hover {border:solid 1px #f9bc24; color:#f9bc24;}

#SiteMonitoringToolbarDataPanel.purple input {background:#2c2055;}
#SiteMonitoringToolbarDataPanel.purple select {background:#2c2055;}
#SiteMonitoringToolbarDataPanel.purple select {background:#2c2055;}
100 changes: 53 additions & 47 deletions plugin/input/SiteMonitoringToolbar/html/configuration/edit.html.inc
@@ -1,47 +1,53 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0
* Object Type : Plugin / Input Layout
* Creation Date : Jan 2018
* Last Modif Date : Jan 2018
*
* SiteMonitoringToolbar special layout : edit configuration
*/
global $camyks;
?>
<?=$camyks->theme->get_boxContent2Header();?>
<div class="adminContentPanel">
<table cellspacing="2" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2" style="width:160px;">
<?=$this->get_translation('formitem_accessrestriction');?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->form->display_selectInput(array('name'=>'accessRestriction', 'values'=>$this->config->get_accessRestrictionList()));?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_buttonlocation');?>
</td>
<td class="eTableLine1 eContent1">
<?=$this->form->display_selectInput(array('name'=>'buttonLocation', 'values'=>$this->config->get_buttonLocationList()));?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_appliedtheme');?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->form->display_selectInput(array('name'=>'appliedTheme', 'values'=>$this->config->get_availableThemeList()));?>
</td>
</tr>
</table>
</div>
<?=$camyks->theme->get_boxContent2Footer();?>
<?php
/**
* @brief SiteMonitoringToolbar Input configuration edit layout
* @details Plugin / Input layout
* @file plugin/input/SiteMonitoringToolbar/html/configuration/edit.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @date Creation: Jan 2018
* @date Modification: Jul 2018
* @copyright 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @cond Exclude
*/
global $camyks;
?>
<?= $camyks->theme->get_boxContent2Header(); ?>
<div class="adminContentPanel">
<table cellspacing="2" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2" style="width:160px;">
<?= $this->get_translation('formitem_accessrestriction'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= $this->form->display_selectInput(array('name'=>'accessRestriction', 'values'=>$this->config->get_accessRestrictionList())); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?= $this->get_translation('formitem_buttonlocation'); ?>
</td>
<td class="eTableLine1 eContent1">
<?= $this->form->display_selectInput(array('name'=>'buttonLocation', 'values'=>$this->config->get_buttonLocationList())); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?= $this->get_translation('formitem_appliedtheme'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= $this->form->display_selectInput(array('name'=>'appliedTheme', 'values'=>$this->config->get_availableThemeList())); ?>
</td>
</tr>
</table>
</div>
<?= $camyks->theme->get_boxContent2Footer(); ?>
<?php
/**
* @endcond Exclude
*/
?>
100 changes: 53 additions & 47 deletions plugin/input/SiteMonitoringToolbar/html/configuration/view.html.inc
@@ -1,47 +1,53 @@
<?php
/*
* CaMykS Engine
* Developed by : camyks.net
* Author : CaMykS Team <camyks.contact@gmail.com>
* CaMykS Version : 1.0
* Object Version : 1.0
* Object Type : Plugin / Input Layout
* Creation Date : Jan 2018
* Last Modif Date : Jan 2018
*
* SiteMonitoringToolbar special layout : view configuration
*/
global $camyks;
?>
<?=$camyks->theme->get_boxContent2Header();?>
<div class="adminContentPanel">
<table cellspacing="2" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2" style="width:160px;">
<?=$this->get_translation('formitem_accessrestriction');?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->config->get_accessRestrictionValue(); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?=$this->get_translation('formitem_buttonlocation');?>
</td>
<td class="eTableLine1 eContent1">
<?=$this->config->get_buttonLocationValue(); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?=$this->get_translation('formitem_appliedtheme');?>
</td>
<td class="eTableLine0 eContent1">
<?=$this->config->get_availableThemeValue(); ?>
</td>
</tr>
</table>
</div>
<?=$camyks->theme->get_boxContent2Footer();?>
<?php
/**
* @brief SiteMonitoringToolbar Input configuration view layout
* @details Plugin / Input layout
* @file plugin/input/SiteMonitoringToolbar/html/configuration/view.html.inc
* @author CaMykS Team <camyks.contact@gmail.com>
* @version 1.0
* @date Creation: Jan 2018
* @date Modification: Jul 2018
* @copyright 2018 CaMykS Team
* @note This program is distributed as is - WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* @cond Exclude
*/
global $camyks;
?>
<?= $camyks->theme->get_boxContent2Header(); ?>
<div class="adminContentPanel">
<table cellspacing="2" cellpadding="0" border="0" style="width:100%;">
<tr>
<td class="eTableLine0 eContent2" style="width:160px;">
<?= $this->get_translation('formitem_accessrestriction'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= $this->config->get_accessRestrictionValue(); ?>
</td>
</tr>

<tr>
<td class="eTableLine1 eContent2">
<?= $this->get_translation('formitem_buttonlocation'); ?>
</td>
<td class="eTableLine1 eContent1">
<?= $this->config->get_buttonLocationValue(); ?>
</td>
</tr>

<tr>
<td class="eTableLine0 eContent2">
<?= $this->get_translation('formitem_appliedtheme'); ?>
</td>
<td class="eTableLine0 eContent1">
<?= $this->config->get_availableThemeValue(); ?>
</td>
</tr>
</table>
</div>
<?= $camyks->theme->get_boxContent2Footer(); ?>
<?php
/**
* @endcond Exclude
*/
?>

0 comments on commit 8729743

Please sign in to comment.