Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TedImg - img.tedomum.net
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TeDomum
TedImg - img.tedomum.net
Commits
42a71e3b
Commit
42a71e3b
authored
Apr 01, 2019
by
kaiyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the ability to insert footer content
parent
cab7a760
Pipeline
#168
passed with stage
in 1 minute and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
tedimg/__init__.py
tedimg/__init__.py
+3
-2
tedimg/templates/base.html
tedimg/templates/base.html
+2
-1
No files found.
tedimg/__init__.py
View file @
42a71e3b
...
...
@@ -7,8 +7,9 @@ app.debug = "FLASK_DEBUG" in os.environ
app
.
config
.
update
(
SITE_NAME
=
os
.
environ
.
get
(
"SITE_NAME"
,
"TedImg"
),
SOURCE_URL
=
"https://git.tedomum.net/kaiyou/tedimg"
,
HELP_URL
=
"https://git.tedomum.net/kaiyou/tedimg"
,
SOURCE_URL
=
"https://forge.tedomum.net/tedomum/tedimg"
,
HELP_URL
=
"https://forge.tedomum.net/tedomum/tedimg"
,
FOOTER_CONTENT
=
""
,
FULL_STORAGE
=
os
.
environ
.
get
(
"FULL_STORAGE"
,
"/data"
),
THUMB_STORAGE
=
os
.
environ
.
get
(
"THUMB_STORAGE"
,
"/data/thumb"
),
FULL_WEB
=
os
.
environ
.
get
(
"FULL_WEB"
,
"data"
),
...
...
tedimg/templates/base.html
View file @
42a71e3b
...
...
@@ -19,7 +19,8 @@
<footer
class=
"page-footer blue"
>
<div
class=
"footer-copyright"
>
<div
class=
"container"
>
<span
class=
"right"
><i
class=
"material-icons tiny"
>
call_split
</i>
on
<a
class=
"white-text"
href=
"https://github.com/kaiyou/tedimg"
>
Github
</a>
.
</a>
<span>
{{ config["FOOTER_CONTENT"] }}
</span>
<span
class=
"right"
><i
class=
"material-icons tiny"
>
call_split
</i>
<a
class=
"white-text"
href=
"{{ config["
SOURCE_URL
"]
}}"
>
the code
</a>
.
</a>
</div>
</div>
</footer>
...
...
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