Skip to content

Commit

Permalink
Node list style change
Browse files Browse the repository at this point in the history
  • Loading branch information
Trystan committed Nov 4, 2012
1 parent 98fd024 commit 46708d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.project
settings.php
Modules/sync
Modules/event
Modules/energyaudit
Modules/node
Modules/auto
Expand Down
2 changes: 1 addition & 1 deletion Modules/input/Views/input_node.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function update_list()

for (z in nodes)
{
out += "<div style='background-color:#dedede; padding: 2px 2px 2px 2px; margin-bottom:10px;'><div style='padding:10px'>";
out += "<div style='background-color:#eee; margin-bottom:10px; border: 1px solid #ddd'><div style='padding:10px; border-top: 1px solid #fff'>";
out += "<i id='iconp"+z+"' node='"+z+"' class='icon-plus' "; if (nodevis[z]==true) out += "style='display:none;'"; out+="></i>";
out += "<i id='iconn"+z+"' node='"+z+"' class='icon-minus' "; if (nodevis[z]==false) out += "style='display:none;'"; out+="></i>";
out += "<b>Node "+z+"</b></div>";
Expand Down

0 comments on commit 46708d0

Please sign in to comment.