Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Site Interludes
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediatek
Site Interludes
Commits
150f9154
Commit
150f9154
authored
4 years ago
by
Dorian Lesbre
Browse files
Options
Downloads
Patches
Plain Diff
Added inscription page + css for sticky footer
parent
7bcfd6ad
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
home/static/css/style.css
+16
-1
16 additions, 1 deletion
home/static/css/style.css
home/templates/base.html
+0
-1
0 additions, 1 deletion
home/templates/base.html
home/templates/inscription.html
+9
-0
9 additions, 0 deletions
home/templates/inscription.html
home/urls.py
+1
-0
1 addition, 0 deletions
home/urls.py
with
26 additions
and
2 deletions
home/static/css/style.css
+
16
−
1
View file @
150f9154
...
...
@@ -14,9 +14,19 @@ html, body {
line-height
:
1.5
;
font-family
:
Arial
,
Roboto
,
Helvetica
,
sans-serif
;
align-items
:
center
;
}
html
{
position
:
relative
;
min-height
:
100%
;
margin
:
0
;
}
body
{
min-height
:
100%
;
margin
:
0px
0px
50px
;
}
header
{
display
:
flex
;
background-color
:
var
(
--color_bg_1
);
...
...
@@ -77,9 +87,10 @@ main {
background-color
:
var
(
--color-bg
);
justify-content
:
center
;
text-align
:
justify
;
padding
:
1px
30px
;
padding
:
1px
30px
50px
;
max-width
:
920px
;
margin
:
0
auto
0
auto
;
min-height
:
calc
(
100vh
-
330px
);
/* viewport-height - (header+footer+nav bar) */
}
main
h2
{
...
...
@@ -103,6 +114,10 @@ main a:link {
}
footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
height
:
50px
;
/* Height of the footer */
color
:
white
;
display
:
flex
;
background-color
:
var
(
--color_bg_1
);
...
...
This diff is collapsed.
Click to expand it.
home/templates/base.html
+
0
−
1
View file @
150f9154
...
...
@@ -13,7 +13,6 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'css/style.css' %}"
>
</head>
<body>
<header>
<div
id=
"header_logo"
>
<h1><a
href=
"/"
>
Interludes 2021
</a></h1>
...
...
This diff is collapsed.
Click to expand it.
home/templates/inscription.html
0 → 100644
+
9
−
0
View file @
150f9154
{% extends "base.html" %}
{% block "content" %}
<h2>
Inscriptions
</h2>
<p>
Les inscriptions ne sont pas encores ouvertes.
Nous communiquerons pas mail via les BDE des différentes écoles pour leur ouverture.
</p>
{% endblock %}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
home/urls.py
+
1
−
0
View file @
150f9154
...
...
@@ -3,4 +3,5 @@ from . import views
urlpatterns
=
[
path
(
''
,
views
.
static_view
,
{
"
slug
"
:
"
home
"
},
name
=
'
home
'
),
path
(
'
inscription/
'
,
views
.
static_view
,
{
"
slug
"
:
"
inscription
"
},
name
=
'
inscription
'
),
]
\ No newline at end of file
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