diff options
| author | Alon Levy <alon@pobox.com> | 2014-08-06 18:18:27 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-08-06 18:18:27 +0300 |
| commit | b614a0af25f19605740a6c0de2f31a4d45edb2e2 (patch) | |
| tree | d37ec5ce976ea50aeb4c347e294dd5cb59354e15 | |
| parent | 82f350da416cbbab32c1022dd7bfea9c9e10ba82 (diff) | |
remove whitespace at end of lines
| -rw-r--r-- | scripts/buttons.js | 16 | ||||
| -rw-r--r-- | scripts/rhizicore.js | 34 | ||||
| -rw-r--r-- | style.css | 26 | ||||
| -rw-r--r-- | ui.css | 66 |
4 files changed, 67 insertions, 75 deletions
diff --git a/scripts/buttons.js b/scripts/buttons.js index c1e63bd8..f0f447fd 100644 --- a/scripts/buttons.js +++ b/scripts/buttons.js @@ -2,7 +2,7 @@ $('.tutorial').click(function(){}); var key="#47989379"; - + $('.save').click(function(){ @@ -26,7 +26,7 @@ $('.save').click(function(){ }); -$('.load').click(function(){ +$('.load').click(function(){ var acceptLoad=true; if (nodes.length>0){ acceptLoad = confirm('All unsaved changes will be deleted, are you sure?'); @@ -46,10 +46,10 @@ $('.load').click(function(){ var link=data.links[j]; graph.addLink(link.source,link.target,link.name,"perm"); - + } } - + }); $('.deliverabletest').click(function(){ @@ -66,11 +66,3 @@ function fetchNode(id){ return null; } - - - - - - - - diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 60a6a765..07c7fc5e 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -45,7 +45,7 @@ function myGraph(el) { }); } - + } this.addNodeComplete = function(id, type, state, start, end, status) { @@ -63,7 +63,7 @@ function myGraph(el) { }); } - + } this.removeNode = function(id, state) { @@ -76,7 +76,7 @@ function myGraph(el) { var index = findNodeIndex(id, state); if (index !== undefined) { nodes.splice(index, 1); - + } } @@ -93,7 +93,7 @@ function myGraph(el) { var index = findNodeIndex(id, state); if (index !== undefined) { nodes.splice(index, 1); - + } } } @@ -144,7 +144,7 @@ function myGraph(el) { links[j]['state'] = "perm"; j++; } - + } this.addLink = function(sourceId, targetId, name, state) { @@ -158,7 +158,7 @@ function myGraph(el) { "name": name, "state": state }); - + } else { } @@ -168,7 +168,7 @@ function myGraph(el) { var link = findLink(sourceId, targetId, newname); if (link !== undefined) { link.name = newname; - + } else {} } @@ -176,7 +176,7 @@ function myGraph(el) { var link = findLink(sourceId, targetId, null); if (link !== undefined) { link.target = findNode(newTarget, null); - + } else { } @@ -186,7 +186,7 @@ function myGraph(el) { var index = findNode(id, type); var index2 = findNode(newname, type); var acceptReplace=true; - + if ((index !== undefined)) { if ((index2 !== undefined)) { acceptReplace = confirm(index2.id+" will replace "+index.id+", are you sure?"); @@ -213,7 +213,7 @@ function myGraph(el) { if ((index !== undefined)) { index.start = start; index.end = end; - + } } @@ -223,7 +223,7 @@ function myGraph(el) { var index = findNode(id, state); if ((index !== undefined)) { index.type = newtype; - update(); + update(); } } @@ -231,7 +231,7 @@ function myGraph(el) { var index = findNode(id, state); if ((index !== undefined)) { index.state = newstate; - + } } @@ -244,7 +244,7 @@ function myGraph(el) { } this.updateGraph = function() { - + } this.recenterZoom = function() { @@ -419,7 +419,7 @@ function myGraph(el) { .attr("class", "linklabel graph") .attr("text-anchor", "middle") .text(function(d) { - + if ( d.name && d.target.state === "temp" || d.source.state === "chosen" || d.target.state === "chosen") { if (d.name.length < 25) { return d.name; @@ -485,9 +485,9 @@ function myGraph(el) { if (d.type === "bubble") return "#101010"; if (d.state === "exit") return "#EDE275"; if (d.type === "chainlink") return "#AAA"; - + return "#fff"; - + }) .style("stroke-width", function(d) { if (d.state === "temp" && d.type !== "empty" || d.state === "chosen") return "3px"; @@ -859,7 +859,7 @@ function editNode(d, i) { $('.editinfo').css('top', -100); $('.editinfo').css('left', 0); graph.editName(oldname, "xx", $('#editname').val()); - + graph.update(); @@ -43,7 +43,7 @@ color: white; border-width: 1px; border-color: #303030; font-size:14px; - + outline:none; border-color:#303030; box-shadow:0 0 0px #303030; @@ -75,8 +75,8 @@ a:active { height:30px; } -input:focus { - +input:focus { + } #suggestion{ @@ -110,7 +110,7 @@ input:focus { } .nodetext { - + fill: #FFFFFF; font-size:17px; z-index:3; @@ -336,7 +336,7 @@ input:focus { background-color: rgba(200,200,200,0.1); height:100%; width: 100%; - overflow: auto; + overflow: auto; z-index:0; } @@ -375,23 +375,23 @@ input:focus { stroke: #ccc; shape-rendering: crispEdges; } - + .bar { fill: #33b5e5; } - + .bar-failed { fill: #CC0000; } - + .bar-running { fill: #669900; } - + .bar-succeeded { fill: #33b5e5; } - + .bar-killed { fill: #ffbb33; } @@ -401,7 +401,7 @@ input:focus { .onoffswitch { z-index:100; - position: fixed; + position: fixed; width: 160px; top:35px; right: 180px; @@ -448,7 +448,7 @@ input:focus { border: 1px solid #FFFFFF; border-radius: 5px; position: absolute; top: 0; bottom: 0; right: 125px; -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s; - -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; + -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; background-image: -moz-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); background-image: -webkit-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); background-image: -o-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%); @@ -460,6 +460,6 @@ input:focus { } .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { - right: 0px; + right: 0px; } @@ -58,7 +58,7 @@ font-size:16px; } -.ui-datepicker { +.ui-datepicker { background-color: rgba(17,17,17,0.9); width: 217px; height: auto; @@ -66,48 +66,48 @@ font: 9pt; border: 1px solid; - -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); - -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); - box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); -} + -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); + -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); + box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); +} -.ui-datepicker-title { - text-align: center; -} +.ui-datepicker-title { + text-align: center; +} -.ui-datepicker-prev { - float: left; - background-position: center -30px; -} -.ui-datepicker-next { - float: right; - background-position: center 0px; +.ui-datepicker-prev { + float: left; + background-position: center -30px; +} +.ui-datepicker-next { + float: right; + background-position: center 0px; } -.ui-datepicker-header { - color: #e0e0e0; - font-weight: bold; - -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2); - -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2); - box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2); - text-shadow: 1px -1px 0px #000; - filter: dropshadow(color=#000, offx=1, offy=-1); - line-height: 30px; - border-width: 1px 0 0 0; - border-style: solid; - border-color: #111; +.ui-datepicker-header { + color: #e0e0e0; + font-weight: bold; + -webkit-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, 2); + -moz-box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2); + box-shadow: inset 0px 1px 1px 0px rgba(250, 250, 250, .2); + text-shadow: 1px -1px 0px #000; + filter: dropshadow(color=#000, offx=1, offy=-1); + line-height: 30px; + border-width: 1px 0 0 0; + border-style: solid; + border-color: #111; } -.ui-datepicker a { - text-decoration: none; +.ui-datepicker a { + text-decoration: none; color: #fff; -} +} .ui-datepicker a:hover { color: #E03A3E; } -.ui-datepicker table { - width: 100%; -}
\ No newline at end of file +.ui-datepicker table { + width: 100%; +} |
