summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorAlexis Jacomy <alexis.jacomy@gmail.com>2011-06-16 23:23:36 +0200
committerAlexis Jacomy <alexis.jacomy@gmail.com>2011-06-16 23:23:36 +0200
commit4ab90c4a08b74226dbe48724039d4f9a8805d6c0 (patch)
treef32c7c9e61410ef7b9734a1709da5a017033a085 /views
parentswitch to redis (memcached is not yet supported on dotcloud) (diff)
downloadstargit-4ab90c4a08b74226dbe48724039d4f9a8805d6c0.tar.gz
Flash fixed on Chrome and Firefox, nodes colors legend first working draft available, layout update
Diffstat (limited to 'views')
-rw-r--r--views/index.tt6
-rw-r--r--views/layouts/main.tt3
2 files changed, 7 insertions, 2 deletions
diff --git a/views/index.tt b/views/index.tt
index 93ca976..66d71db 100644
--- a/views/index.tt
+++ b/views/index.tt
@@ -15,13 +15,15 @@
<input type="text" id="query_input" />
</div>
<div id="query_bottom">
- <span>
+ <span id="query_size_span">
<label for="query_size">nodes size:</label>
+ <br/>
<select id="query_size">
</select>
</span>
- <span>
+ <span id="query_color_span">
<label for="query_color">nodes color:</label>
+ <br/>
<select id="query_color">
</select>
</span>
diff --git a/views/layouts/main.tt b/views/layouts/main.tt
index f547e68..3bf4d0c 100644
--- a/views/layouts/main.tt
+++ b/views/layouts/main.tt
@@ -29,6 +29,9 @@
$("#query_buttons .fisheye").click(function(){
this.value = stargit.toggleFishEye()?"hide fisheye":"use fisheye";
});
+
+ flash = document.getElementById("SiGMa");
+ stargit.getGraphAttributes();
});
</script>
</head>