summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/skeleton.html
diff options
context:
space:
mode:
authorDhiru <dhiru@labadmin-P5E-Deluxe.(none)>2012-05-10 18:23:10 +0530
committerDhiru <dhiru@labadmin-P5E-Deluxe.(none)>2012-05-10 18:23:10 +0530
commit7c9ec1f64552c4232c4ecb41b9b718de13908893 (patch)
treed20d277d79b5edc1f2dbe23e4e8b560ebed6c032 /gstudio/templates/gstudio/skeleton.html
parentb06db59efba106edb115598f822887143e729d33 (diff)
downloadgnowsys-7c9ec1f64552c4232c4ecb41b9b718de13908893.tar.gz
change in css affecting header color graph position , space and eliminating blank space after the third column.
Diffstat (limited to 'gstudio/templates/gstudio/skeleton.html')
-rw-r--r--gstudio/templates/gstudio/skeleton.html38
1 files changed, 18 insertions, 20 deletions
diff --git a/gstudio/templates/gstudio/skeleton.html b/gstudio/templates/gstudio/skeleton.html
index d179220..3b945f4 100644
--- a/gstudio/templates/gstudio/skeleton.html
+++ b/gstudio/templates/gstudio/skeleton.html
@@ -46,8 +46,8 @@
display: block;
}
svg {
- margin-left: 50%;
- margin-right: 50%;
+ margin-left: 0%;
+ margin-right: 10%;
display: block;
position: absolute;
}
@@ -215,26 +215,25 @@ $.getJSON('/nodetypes/graphs/graph_json/' + {{object.id}}, function (json1) {
function load(key)
{
-
-var a = 25 * s;
-
- if ( a > 700 )
- {
- var w = 700;
- }
- else
- {
- var w = a;
- }
-
- var h = 24 * s,
+ if (s > 0 ){
+ var a = 50 * s;
+ var w = 700;
+ var p = 100 + "%";
+ var h = 600;
+ var q = 3 * s + 35 + "%";
+ }else{
+ var w = 700;
+ var p = 100 + "%";
+ var h = 600;
+ var q = 110 + "%";
+ }
fill = d3.scale.category20();
var vis = d3.select("#chart")
.append("svg:svg")
.attr("id", "amazingViz")
- .attr("width", w)
- .attr("height", h);
+ .attr("width", p)
+ .attr("height", q);
vis.append("svg:g").attr("class", "edges");
vis.append("svg:g").attr("class", "nodes");
@@ -469,7 +468,6 @@ $(window).bind('keydown',function(event){
</script>
-
</div>
<div id="sidebar">
{% block sidebar %}
@@ -477,7 +475,7 @@ $(window).bind('keydown',function(event){
</div>
- <div id="footer" class="span-24 last">
+ <div id="footer">
<p>
<a rel="license"
@@ -490,6 +488,6 @@ $(window).bind('keydown',function(event){
</p>
</div>
-
+ </div>
</body>
</html>