Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SFPhoton Web
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
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Schulcz Ferenc
SFPhoton Web
Commits
0af26073
Commit
0af26073
authored
9 months ago
by
Ferenc Schulcz
Browse files
Options
Downloads
Patches
Plain Diff
Move deeper out of main framework
parent
9c8c8800
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
router.py
+0
-5
0 additions, 5 deletions
router.py
static/deeper_style.css
+0
-36
0 additions, 36 deletions
static/deeper_style.css
templates/deeper.html
+0
-50
0 additions, 50 deletions
templates/deeper.html
templates/login.html
+2
-2
2 additions, 2 deletions
templates/login.html
with
2 additions
and
93 deletions
router.py
+
0
−
5
View file @
0af26073
...
@@ -211,11 +211,6 @@ def logout():
...
@@ -211,11 +211,6 @@ def logout():
return
redirect
(
url_for
(
'
index
'
))
return
redirect
(
url_for
(
'
index
'
))
@app.route
(
'
/deeper
'
)
def
deeper
():
return
render_template
(
'
deeper.html
'
)
@app.route
(
'
/cordatus
'
)
@app.route
(
'
/cordatus
'
)
def
cordatus
():
def
cordatus
():
return
render_template
(
'
cordatus.html
'
)
return
render_template
(
'
cordatus.html
'
)
...
...
This diff is collapsed.
Click to expand it.
static/deeper_style.css
deleted
100644 → 0
+
0
−
36
View file @
9c8c8800
#chat
{
display
:
flex
;
flex-direction
:
column
;
max-width
:
600px
;
}
.slim_container
{
max-width
:
550px
;
}
p
{
color
:
white
;
padding
:
0.5rem
2rem
;
border-radius
:
2rem
;
width
:
max-content
;
margin
:
0.3rem
;
max-width
:
100%
;
display
:
none
;
}
.shown
{
display
:
block
;
}
.received
{
background-color
:
#565756
;
border-radius
:
2rem
2rem
2rem
0
;
align-self
:
flex-start
;
}
.sent
{
background-color
:
#8BC34A
;
border-radius
:
2rem
2rem
0
2rem
;
text-align
:
right
;
align-self
:
flex-end
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/deeper.html
deleted
100644 → 0
+
0
−
50
View file @
9c8c8800
{% extends 'base.html' %}
{% block title %}Going deeper{% endblock %}
{% block head_extensions %}
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='deeper_style.css') }}"
>
{% endblock %}
{% block content %}
<script>
function
showtime
()
{
x
=
document
.
querySelectorAll
(
"
.button
"
);
x
[
0
].
style
.
display
=
"
none
"
;
var
x
,
i
;
x
=
document
.
querySelectorAll
(
"
p
"
);
i
=
0
;
var
y
=
setInterval
(
function
()
{
x
[
i
].
classList
.
add
(
"
shown
"
);
i
+=
1
;
},
1200
);
}
</script>
<div
id=
'cover'
></div>
<div
class=
"slim_container"
>
<h1>
Sure want to go deeper?
</h1>
<div
id=
"chat"
>
<a
href=
"#"
class=
"button"
onclick=
"showtime()"
style=
"display: block; margin: auto; max-width: 20rem; text-align: center;"
>
Yes
</a>
<p
class=
"received"
>
I'm glad you had the courage.
</p>
<p
class=
"sent"
>
What's this?
</p>
<p
class=
"sent"
>
Who are you?
</p>
<p
class=
"received"
>
I'm the one behind the Fabric.
</p>
<p
class=
"sent"
>
The Fabric?
</p>
<p
class=
"received"
>
The system behind everything you know.
</p>
<p
class=
"received"
>
Everything you see.
</p>
<p
class=
"received"
>
Everything you have ever experienced.
</p>
<p
class=
"received"
>
Your whole world is a simulation.
</p>
<p
class=
"received"
>
The Fabric simulates it.
</p>
<p
class=
"sent"
>
So... I'm a simulated mind?
</p>
<p
class=
"received"
>
No. It's more like the
<a
href=
"https://en.wikipedia.org/wiki/The_Matrix"
>
Matrix
</a>
, if you
know it.
</p>
<p
class=
"received"
>
Your friends aren't simulated, too.
</p>
<p
class=
"sent"
>
Is there a way out?
</p>
<p
class=
"received"
>
Only for
<a
href=
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"
>
t
</a>
hose the most eager and
observant.
</p>
</div>
</div>
{% endblock %}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/login.html
+
2
−
2
View file @
0af26073
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<h1>
You're already logged in.
</h1>
<h1>
You're already logged in.
</h1>
<h2>
Want to go deeper?
</h2>
<h2>
Want to go deeper?
</h2>
<a
href=
"{{ url_for('deeper') }}"
class=
"button"
<a
href=
"{{ url_for('
service', servicename='
deeper') }}"
class=
"button"
style=
"display: block; margin: auto; max-width: 20rem; text-align: center;"
>
Yes
</a>
style=
"display: block; margin: auto; max-width: 20rem; text-align: center;"
>
Yes
</a>
{% else %}
{% else %}
...
...
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