Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DataCatalog
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
Container 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
eFlows4HPC WP2
DataCatalog
Commits
865db06b
Commit
865db06b
authored
3 years ago
by
Christian Boettcher
Browse files
Options
Downloads
Patches
Plain Diff
also copy css files, css for loginform
parent
2a564226
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/createStatic.py
+10
-1
10 additions, 1 deletion
frontend/createStatic.py
frontend/css/loginform.css
+175
-0
175 additions, 0 deletions
frontend/css/loginform.css
with
185 additions
and
1 deletion
frontend/createStatic.py
+
10
−
1
View file @
865db06b
...
@@ -7,12 +7,21 @@ def render_template_to_site():
...
@@ -7,12 +7,21 @@ def render_template_to_site():
src_files
=
os
.
listdir
(
'
frontend/js
'
)
src_files
=
os
.
listdir
(
'
frontend/js
'
)
dest
=
'
site/js
'
dest
=
'
site/js
'
os
.
makedirs
(
dest
,
exist_ok
=
True
)
os
.
makedirs
(
dest
,
exist_ok
=
True
)
#os.mkdir(dest)
for
file_name
in
src_files
:
for
file_name
in
src_files
:
full_name
=
os
.
path
.
join
(
'
frontend/js
'
,
file_name
)
full_name
=
os
.
path
.
join
(
'
frontend/js
'
,
file_name
)
if
os
.
path
.
isfile
(
full_name
):
if
os
.
path
.
isfile
(
full_name
):
shutil
.
copy
(
full_name
,
dest
)
shutil
.
copy
(
full_name
,
dest
)
## copy css files to site folder
src_files
=
os
.
listdir
(
'
frontend/css
'
)
dest
=
'
site/css
'
os
.
makedirs
(
dest
,
exist_ok
=
True
)
for
file_name
in
src_files
:
full_name
=
os
.
path
.
join
(
'
frontend/css
'
,
file_name
)
if
os
.
path
.
isfile
(
full_name
):
shutil
.
copy
(
full_name
,
dest
)
## render templates to site folder
## render templates to site folder
file_loader
=
FileSystemLoader
(
'
frontend/templates
'
)
file_loader
=
FileSystemLoader
(
'
frontend/templates
'
)
...
...
This diff is collapsed.
Click to expand it.
frontend/css/loginform.css
0 → 100644
+
175
−
0
View file @
865db06b
/* BASIC */
html
{
background-color
:
#56baed
;
}
body
{
font-family
:
"Poppins"
,
sans-serif
;
height
:
100vh
;
}
a
{
color
:
#92badd
;
display
:
inline-block
;
text-decoration
:
none
;
font-weight
:
400
;
}
h2
{
text-align
:
center
;
font-size
:
16px
;
font-weight
:
600
;
text-transform
:
uppercase
;
display
:
inline-block
;
margin
:
40px
8px
10px
8px
;
color
:
#cccccc
;
}
/* STRUCTURE */
.wrapper
{
display
:
flex
;
align-items
:
center
;
flex-direction
:
column
;
justify-content
:
center
;
width
:
100%
;
min-height
:
100%
;
padding
:
20px
;
}
#loginForm
{
border-radius
:
10px
10px
10px
10px
;
background
:
#fff
;
padding
:
30px
;
width
:
90%
;
max-width
:
450px
;
position
:
relative
;
padding
:
0px
;
box-shadow
:
0
30px
60px
0
rgba
(
0
,
0
,
0
,
0.3
);
text-align
:
center
;
margin
:
auto
;
}
#formFooter
{
background-color
:
#f6f6f6
;
border-top
:
1px
solid
#dce8f1
;
padding
:
25px
;
text-align
:
center
;
border-radius
:
0
0
10px
10px
;
}
/* TABS */
h2
.inactive
{
color
:
#cccccc
;
}
h2
.active
{
color
:
#0d0d0d
;
border-bottom
:
2px
solid
#5fbae9
;
}
/* FORM TYPOGRAPHY*/
input
[
type
=
button
],
button
[
type
=
submit
],
input
[
type
=
reset
]
{
background-color
:
#56baed
;
border
:
none
;
color
:
white
;
padding
:
15px
80px
;
text-align
:
center
;
text-decoration
:
none
;
display
:
inline-block
;
text-transform
:
uppercase
;
font-size
:
13px
;
-webkit-box-shadow
:
0
10px
30px
0
rgba
(
95
,
186
,
233
,
0.4
);
box-shadow
:
0
10px
30px
0
rgba
(
95
,
186
,
233
,
0.4
);
-webkit-border-radius
:
5px
5px
5px
5px
;
border-radius
:
5px
5px
5px
5px
;
margin
:
5px
20px
40px
20px
;
-webkit-transition
:
all
0.3s
ease-in-out
;
-moz-transition
:
all
0.3s
ease-in-out
;
-ms-transition
:
all
0.3s
ease-in-out
;
-o-transition
:
all
0.3s
ease-in-out
;
transition
:
all
0.3s
ease-in-out
;
}
input
[
type
=
button
]
:hover
,
button
[
type
=
submit
]
:hover
,
input
[
type
=
reset
]
:hover
{
background-color
:
#39ace7
;
}
input
[
type
=
button
]
:active
,
button
[
type
=
submit
]
:active
,
input
[
type
=
reset
]
:active
{
-moz-transform
:
scale
(
0.95
);
-webkit-transform
:
scale
(
0.95
);
-o-transform
:
scale
(
0.95
);
-ms-transform
:
scale
(
0.95
);
transform
:
scale
(
0.95
);
}
input
[
type
=
text
]
{
background-color
:
#f6f6f6
;
border
:
none
;
color
:
#0d0d0d
;
padding
:
15px
32px
;
text-align
:
center
;
text-decoration
:
none
;
display
:
inline-block
;
font-size
:
16px
;
margin
:
5px
;
width
:
85%
;
border
:
2px
solid
#f6f6f6
;
-webkit-transition
:
all
0.5s
ease-in-out
;
-moz-transition
:
all
0.5s
ease-in-out
;
-ms-transition
:
all
0.5s
ease-in-out
;
-o-transition
:
all
0.5s
ease-in-out
;
transition
:
all
0.5s
ease-in-out
;
-webkit-border-radius
:
5px
5px
5px
5px
;
border-radius
:
5px
5px
5px
5px
;
}
input
[
type
=
text
]
:focus
{
background-color
:
#fff
;
border-bottom
:
2px
solid
#5fbae9
;
}
input
[
type
=
text
]
:placeholder
{
color
:
#cccccc
;
}
input
[
type
=
password
]
{
background-color
:
#f6f6f6
;
border
:
none
;
color
:
#0d0d0d
;
padding
:
15px
32px
;
text-align
:
center
;
text-decoration
:
none
;
display
:
inline-block
;
font-size
:
16px
;
margin
:
5px
;
width
:
85%
;
border
:
2px
solid
#f6f6f6
;
-webkit-transition
:
all
0.5s
ease-in-out
;
-moz-transition
:
all
0.5s
ease-in-out
;
-ms-transition
:
all
0.5s
ease-in-out
;
-o-transition
:
all
0.5s
ease-in-out
;
transition
:
all
0.5s
ease-in-out
;
-webkit-border-radius
:
5px
5px
5px
5px
;
border-radius
:
5px
5px
5px
5px
;
}
input
[
type
=
password
]
:focus
{
background-color
:
#fff
;
border-bottom
:
2px
solid
#5fbae9
;
}
input
[
type
=
password
]
:placeholder
{
color
:
#cccccc
;
}
\ 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