Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
url_shorter_docker
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
url_shorter_docker
Commits
be2c09b6
Commit
be2c09b6
authored
Jan 27, 2020
by
Jonas Leder
Browse files
Options
Downloads
Plain Diff
Merge branch 'beta'
parents
f5243d7f
f7165b06
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
main.py
+1
-2
1 addition, 2 deletions
main.py
static/style.css
+4
-0
4 additions, 0 deletions
static/style.css
templates/editEntries.html
+1
-1
1 addition, 1 deletion
templates/editEntries.html
with
6 additions
and
3 deletions
main.py
+
1
−
2
View file @
be2c09b6
#!/usr/bin/env python3
#!/usr/bin/env python3
from
waitress
import
serve
#Used as webserver (Production)
from
waitress
import
serve
#Used as webserver (Production)
from
flask
import
Flask
,
request
,
render_template
,
redirect
,
abort
,
Markup
,
session
,
make_response
,
jsonify
#Used to prepare the dynamic pages
from
flask
import
Flask
,
request
,
redirect
,
make_response
#Used to prepare the dynamic pages
import
sqlite3
#Used to store the Data
import
os
#Used for getting the enviorement variables
import
os
#Used for getting the enviorement variables
from
itsdangerous
import
URLSafeSerializer
#used for signing the cookies
from
itsdangerous
import
URLSafeSerializer
#used for signing the cookies
import
random
#used for signing the cookies
import
random
#used for signing the cookies
...
...
...
...
This diff is collapsed.
Click to expand it.
static/style.css
+
4
−
0
View file @
be2c09b6
...
@@ -154,6 +154,10 @@ table#t01 th {
...
@@ -154,6 +154,10 @@ table#t01 th {
a
#red
{
a
#red
{
color
:
red
;
color
:
red
;
}
}
button
#small
{
width
:
30%
;
}
@-webkit-keyframes
fadein
{
@-webkit-keyframes
fadein
{
from
{
bottom
:
0
;
opacity
:
0
;}
from
{
bottom
:
0
;
opacity
:
0
;}
to
{
bottom
:
30px
;
opacity
:
1
;}
to
{
bottom
:
30px
;
opacity
:
1
;}
...
...
...
...
This diff is collapsed.
Click to expand it.
templates/editEntries.html
+
1
−
1
View file @
be2c09b6
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<div
class=
"login-page"
>
<div
class=
"login-page"
>
<div
class=
"form"
>
<div
class=
"form"
>
{{content | safe}}
{{content | safe}}
<p><a
href=
"/user/api"
>
API
</a>
<a
href=
"/"
>
back to main page
</a></p>
<p><a
href=
"/user/api"
>
<button
id=
"small"
>
API
</button></a>
	
<a
href=
"/"
><button
id=
"small"
>
back
</button>
</a></p>
</div>
</div>
</div>
</div>
<!-- ui-dialog -->
<!-- ui-dialog -->
...
...
...
...
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