Revision 5764e310
b/ui/static/snf/css/main.css | ||
---|---|---|
62 | 62 |
text-align: left; |
63 | 63 |
} |
64 | 64 |
|
65 |
#footer a { |
|
66 |
color: #fff; |
|
67 |
} |
|
68 |
|
|
69 |
#footer .software .version { |
|
70 |
font-weight: bold; |
|
71 |
} |
|
72 |
|
|
73 |
#footer .software { |
|
74 |
font-size: 0.6em; |
|
75 |
margin-top: 7px; |
|
76 |
color: #fff; |
|
77 |
} |
|
78 |
|
|
65 | 79 |
#footer { |
66 | 80 |
height: 80px; |
67 | 81 |
background-color: #4085A5; |
b/ui/templates/footer.html | ||
---|---|---|
16 | 16 |
</div> |
17 | 17 |
<div id="footer-bg"> |
18 | 18 |
</div> |
19 |
<div class="software">powered by <a href="http://code.grnet.gr/">synnefo</a> <span class="version">v{{ synnefo_version }}</span></div> |
|
19 | 20 |
</div> |
20 | 21 |
</div> |
b/ui/templates/home.html | ||
---|---|---|
526 | 526 |
synnefo.config.handle_window_exceptions = {{ handle_window_exceptions }}; |
527 | 527 |
synnefo.config.ajax_timeout = {{ timeout }}; |
528 | 528 |
synnefo.config.skip_timeouts = {{ skip_timeouts }}; |
529 |
synnefo.VERSION = "{{ synnefo_version }}"; |
|
529 | 530 |
|
530 | 531 |
// TODO: make it dynamic |
531 | 532 |
synnefo.config.api_url = '/api/v1.1'; |
... | ... | |
539 | 540 |
synnefo.ui.init(); |
540 | 541 |
|
541 | 542 |
synnefo.ui.main.bind("initial", function(){}) |
543 |
|
|
542 | 544 |
}) |
543 | 545 |
</script> |
544 | 546 |
</body> |
b/ui/views.py | ||
---|---|---|
113 | 113 |
'suggested_flavors': json.dumps(SUGGESTED_FLAVORS), |
114 | 114 |
'suggested_roles': json.dumps(SUGGESTED_ROLES), |
115 | 115 |
'vm_image_common_metadata': json.dumps(VM_IMAGE_COMMON_METADATA), |
116 |
'synnefo_version': SYNNEFO_JS_LIB_VERSION, |
|
116 | 117 |
'invitations_per_page': INVITATIONS_PER_PAGE, |
117 | 118 |
'delay_on_blur': json.dumps(DELAY_ON_BLUR), |
118 | 119 |
'blur_delay': json.dumps(BLUR_DELAY), |
Also available in: Unified diff