Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
70bf1b80
Commit
70bf1b80
authored
Oct 12, 2011
by
Kostas Papadimitriou
Browse files
Display synnefo version in footer
parent
bb1d07e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
ui/static/snf/css/main.css
View file @
70bf1b80
...
...
@@ -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
;
...
...
ui/templates/footer.html
View file @
70bf1b80
...
...
@@ -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>
ui/templates/home.html
View file @
70bf1b80
...
...
@@ -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>
...
...
ui/views.py
View file @
70bf1b80
...
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment