Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
2243f6e0
Commit
2243f6e0
authored
Jan 30, 2014
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added screenshots link
parent
31d67e34
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
README.md
README.md
+2
-0
graph.php
Web/htdocs/gui/panels/content/graph.php
+2
-2
include.php
Web/htdocs/gui/panels/include.php
+1
-0
No files found.
README.md
View file @
2243f6e0
...
...
@@ -5,4 +5,6 @@ Domotika home automation system controller daemon
Donations are accepted in Bitcoins to 1GpZkuwMEXno7jW19oqoaraVoVS6VBCvX5
[
Screenshots of the webgui
](
http://www.unixmedia.it/en/interfaccia-utente
)
[
![piwik tracking
](
https://webstats.unixmedia.it/piwik.php?idsite=2&rec=1&action_name=GitHubDomotikad
"unixmedia.it"
)
](http://www.unixmedia.it)
Web/htdocs/gui/panels/content/graph.php
View file @
2243f6e0
<?
@
include_once
(
"../../includes/common.php"
);
?>
<?
$_SESSION
[
PANELS_CHARTS
]
=
array
();
$_SESSION
[
'PANELS_CHARTS'
]
=
array
();
if
(
$panel
&&
is_array
(
$panel
))
{
$days
=
getLastNDays
(
7
,
'Y-m-d'
);
$daysql
=
getLastNDays
(
7
,
'Y-m-d'
);
...
...
@@ -40,7 +40,7 @@ if($panel && is_array($panel)) {
<?
foreach
(
$charts
as
$chart
)
{
//print_r($chart);
$_SESSION
[
PANELS_CHARTS
][
$chart
[
'name'
]
.
"-"
.
$panel
[
'id'
]]
=
$chart
;
$_SESSION
[
'PANELS_CHARTS'
][
$chart
[
'name'
]
.
"-"
.
$panel
[
'id'
]]
=
$chart
;
?>
<div
id=
"
<?=
$chart
[
'name'
]
.
"-"
.
$panel
[
'id'
]
?>
"
style=
"height:200px;width:550px"
>
<?=
$chart
[
'name'
]
?>
</div>
<?
...
...
Web/htdocs/gui/panels/include.php
View file @
2243f6e0
<?
@
include_once
(
"../../includes/common.php"
);
?>
<?
$showpanels
=
array
();
foreach
(
$panels
as
$panel
)
{
$paneldo
=
TRUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment