Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
7a149160
Commit
7a149160
authored
11 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
made main logo URL configurable
parent
756bb01d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
server_ui/templates/index.html
+1
-1
1 addition, 1 deletion
server_ui/templates/index.html
settings.py
+2
-0
2 additions, 0 deletions
settings.py
with
3 additions
and
1 deletion
server_ui/templates/index.html
+
1
−
1
View file @
7a149160
...
...
@@ -7,7 +7,7 @@
{% block content %}
<div
class=
"row"
><div
class=
"large-5 columns large-centered"
><a
href=
"/"
><img
border=
"0"
src=
"
/static/logo.png
"
/></a></div></div>
<div
class=
"row"
><div
class=
"large-5 columns large-centered"
><a
href=
"/"
><img
border=
"0"
src=
"
{{ settings.MAIN_LOGO_URL }}
"
/></a></div></div>
<div
class=
"row"
>
</div>
<div
class=
"large-9 columns"
>
{% if settings.MASTER_HELIOS %}
...
...
This diff is collapsed.
Click to expand it.
settings.py
+
2
−
0
View file @
7a149160
...
...
@@ -172,6 +172,8 @@ SOCIALBUTTONS_URL_HOST= get_from_env("SOCIALBUTTONS_URL_HOST", "http://localhost
# election stuff
SITE_TITLE
=
get_from_env
(
'
SITE_TITLE
'
,
'
Helios Voting
'
)
MAIN_LOGO_URL
=
get_from_env
(
'
MAIN_LOGO_URL
'
,
'
/static/logo.png
'
)
# FOOTER links
FOOTER_LINKS
=
json
.
loads
(
get_from_env
(
'
FOOTER_LINKS
'
,
'
[]
'
))
FOOTER_LOGO_URL
=
get_from_env
(
'
FOOTER_LOGO_URL
'
,
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment