Configure site title
This commit is contained in:
parent
20abbdae78
commit
7ea360b5d4
@ -14,6 +14,8 @@
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
ORG_NAME = 'FIXME'
|
||||
|
||||
BASE_URI = 'http://localhost:5000'
|
||||
|
||||
MONGO_URI = 'mongodb://localhost:27017/'
|
||||
|
@ -25,7 +25,8 @@
|
||||
{% block basecontent %}
|
||||
<div class="ui fixed inverted menu" style="margin-right: 1.5em;">
|
||||
<div class="ui container">
|
||||
<a href="/" class="header item">Eos Voting</a>
|
||||
<a href="/" class="header item">Eos Voting for {{ eosweb.app.config['ORG_NAME'] }}</a>
|
||||
<a href="https://github.com/RunasSudo/Eos" class="item">Source Code</a>
|
||||
{% if session.user %}
|
||||
<div class="ui simple dropdown item right">
|
||||
{{ session.user.username }} <i class="dropdown icon"></i>
|
||||
|
@ -21,6 +21,8 @@
|
||||
{% block title %}Home{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Eos Voting for {{ eosweb.app.config['ORG_NAME'] }}</h1>
|
||||
|
||||
<p>Please choose an election from the list below:</p>
|
||||
<ul>
|
||||
{% for election in eos.base.election.Election.get_all() %}
|
||||
|
@ -20,7 +20,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{% block title %}{% endblock %} – Eos Voting</title>
|
||||
<title>{% block title %}{% endblock %} – Eos Voting for {{ eosweb.app.config['ORG_NAME'] }}</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='bower_components/semantic/dist/semantic.min.css') }}">
|
||||
|
||||
|
12
local_settings.example.py
Normal file
12
local_settings.example.py
Normal file
@ -0,0 +1,12 @@
|
||||
ORG_NAME = 'Your Organisation Here'
|
||||
|
||||
REDDIT_OAUTH_CLIENT_ID = 'xxxxxxxxxxxxxx'
|
||||
REDDIT_OAUTH_CLIENT_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||
|
||||
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxx'
|
||||
|
||||
REDDIT_USER_AGENT = 'Application Title by /u/Your_Username'
|
||||
|
||||
AUTH_METHODS = [
|
||||
('reddit', 'Reddit')
|
||||
]
|
Loading…
Reference in New Issue
Block a user