Commit 70bf1b80 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Display synnefo version in footer

parent bb1d07e9
......@@ -62,6 +62,20 @@ div#wrapper {
text-align: left;
}
#footer a {
color: #fff;
}
#footer .software .version {
font-weight: bold;
}
#footer .software {
font-size: 0.6em;
margin-top: 7px;
color: #fff;
}
#footer {
height: 80px;
background-color: #4085A5;
......
......@@ -16,5 +16,6 @@
</div>
<div id="footer-bg">
</div>
<div class="software">powered by <a href="http://code.grnet.gr/">synnefo</a> <span class="version">v{{ synnefo_version }}</span></div>
</div>
</div>
......@@ -526,6 +526,7 @@ We welcome any suggestions, questions and bug reports you may have.{% endblocktr
synnefo.config.handle_window_exceptions = {{ handle_window_exceptions }};
synnefo.config.ajax_timeout = {{ timeout }};
synnefo.config.skip_timeouts = {{ skip_timeouts }};
synnefo.VERSION = "{{ synnefo_version }}";
// TODO: make it dynamic
synnefo.config.api_url = '/api/v1.1';
......@@ -539,6 +540,7 @@ We welcome any suggestions, questions and bug reports you may have.{% endblocktr
synnefo.ui.init();
synnefo.ui.main.bind("initial", function(){})
})
</script>
</body>
......
......@@ -113,6 +113,7 @@ def home(request):
'suggested_flavors': json.dumps(SUGGESTED_FLAVORS),
'suggested_roles': json.dumps(SUGGESTED_ROLES),
'vm_image_common_metadata': json.dumps(VM_IMAGE_COMMON_METADATA),
'synnefo_version': SYNNEFO_JS_LIB_VERSION,
'invitations_per_page': INVITATIONS_PER_PAGE,
'delay_on_blur': json.dumps(DELAY_ON_BLUR),
'blur_delay': json.dumps(BLUR_DELAY),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment