Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Looking for advice? Join the
Matrix channel for GitLab users in Bielefeld
!
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
ddfa0f47
Commit
ddfa0f47
authored
4 years ago
by
Patrick Jentsch
Browse files
Options
Downloads
Patches
Plain Diff
Add new config variable and rename opaque_domain -> nopaque_domain
parent
94a193f6
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/templates/nopaque.html.j2
+5
-1
5 additions, 1 deletion
app/templates/nopaque.html.j2
config.py
+1
-0
1 addition, 0 deletions
config.py
nopaque.env.tpl
+2
-3
2 additions, 3 deletions
nopaque.env.tpl
with
8 additions
and
4 deletions
app/templates/nopaque.html.j2
+
5
−
1
View file @
ddfa0f47
...
@@ -185,7 +185,11 @@
...
@@ -185,7 +185,11 @@
<div
class=
"footer-copyright"
>
<div
class=
"footer-copyright"
>
<div
class=
"container"
>
<div
class=
"container"
>
© 2020 Bielefeld University
© 2020 Bielefeld University
<a
class=
"btn-small right waves-effect waves-light"
href=
"https://gitlab.ub.uni-bielefeld.de/sfb1288inf/opaque"
><img
src=
"{{ url_for('static', filename='images/gitlab-icon-1-color-white-rgb.png') }}"
style=
"float: left; height: 24px; margin-top: 4.2px;"
>
GitLab
</a>
<div
class=
"right right-align"
>
<a
class=
"btn-small pink waves-effect waves-light"
href=
"mailto:{{ config.NOPAQUE_CONTACT }}?subject={{ config.NOPAQUE_MAIL_SUBJECT_PREFIX }} Contact"
><i
class=
"left material-icons"
>
rate_review
</i>
Contact
</a>
<a
class=
"btn-small green waves-effect waves-light"
href=
""
><i
class=
"left material-icons"
>
feedback
</i>
Feedback
</a>
<a
class=
"btn-small orange waves-effect waves-light"
href=
"https://gitlab.ub.uni-bielefeld.de/sfb1288inf/opaque"
><img
src=
"{{ url_for('static', filename='images/gitlab-icon-1-color-white-rgb.png') }}"
style=
"float: left; height: 24px; margin-right: 10px; margin-top: 4.2px;"
>
GitLab
</a>
</div>
</div>
</div>
</div>
</div>
</footer>
</footer>
...
...
This diff is collapsed.
Click to expand it.
config.py
+
1
−
0
View file @
ddfa0f47
...
@@ -19,6 +19,7 @@ class Config:
...
@@ -19,6 +19,7 @@ class Config:
'''
### nopaque ###
'''
'''
### nopaque ###
'''
NOPAQUE_ADMIN
=
os
.
environ
.
get
(
'
NOPAQUE_ADMIN
'
)
NOPAQUE_ADMIN
=
os
.
environ
.
get
(
'
NOPAQUE_ADMIN
'
)
NOPAQUE_CONTACT
=
os
.
environ
.
get
(
'
NOPAQUE_CONTACT
'
)
NOPAQUE_MAIL_SENDER
=
os
.
environ
.
get
(
'
NOPAQUE_MAIL_SENDER
'
)
NOPAQUE_MAIL_SENDER
=
os
.
environ
.
get
(
'
NOPAQUE_MAIL_SENDER
'
)
NOPAQUE_MAIL_SUBJECT_PREFIX
=
'
[nopaque]
'
NOPAQUE_MAIL_SUBJECT_PREFIX
=
'
[nopaque]
'
NOPAQUE_STORAGE
=
os
.
environ
.
get
(
'
NOPAQUE_STORAGE
'
)
NOPAQUE_STORAGE
=
os
.
environ
.
get
(
'
NOPAQUE_STORAGE
'
)
...
...
This diff is collapsed.
Click to expand it.
nopaque.env.tpl
+
2
−
3
View file @
ddfa0f47
...
@@ -23,10 +23,9 @@ MAIL_USE_TLS=
...
@@ -23,10 +23,9 @@ MAIL_USE_TLS=
MAIL_USERNAME=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_PASSWORD=
### Opaque Notifications ###
OPAQUE_DOMAIN=
### nopaque ###
### nopaque ###
NOPAQUE_ADMIN=
NOPAQUE_ADMIN=
NOPAQUE_CONTACT=
OPAQUE_DOMAIN=
NOPAQUE_MAIL_SENDER=
NOPAQUE_MAIL_SENDER=
NOPAQUE_STORAGE=
NOPAQUE_STORAGE=
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