Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProjectClient_Y1S1_TramshedTech_15.git
Manage
Activity
Members
Labels
Plan
Issues
10
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Beaumont Mogridge
ProjectClient_Y1S1_TramshedTech_15.git
Commits
24ab791a
Commit
24ab791a
authored
3 years ago
by
Rhiannon Austin
Browse files
Options
Downloads
Patches
Plain Diff
Fixing for merge
parent
920eb783
No related branches found
No related tags found
1 merge request
!18
Login
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.py
+0
-1
0 additions, 1 deletion
main.py
templates/login.html
+30
-0
30 additions, 0 deletions
templates/login.html
with
30 additions
and
1 deletion
main.py
+
0
−
1
View file @
24ab791a
...
...
@@ -11,7 +11,6 @@ def home():
workspaces
=
database
.
get_workspaces
()
return
render_template
(
"
home.html
"
,
workspaces
=
workspaces
)
@app.route
(
'
/login
'
,
methods
=
[
"
GET
"
])
def
login
():
username
=
request
.
form
.
get
(
'
username
'
)
...
...
This diff is collapsed.
Click to expand it.
templates/login.html
0 → 100644
+
30
−
0
View file @
24ab791a
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<link
rel=
"stylesheet"
href=
"static/style.css"
>
<!-- Bootstrap CSS -->
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin=
"anonymous"
>
<title>
{% block title %}{% endblock %} - Tramshed Workspaces
</title>
</head>
<!-- <div class="parallax">
<body class="body">
<!--<img src="static/Tramshed_Logo.jpg" alt="Logo" height="50" width="100">-->
<!-- navigation -->
<form
class=
'myForm'
method=
"POST"
action=
""
>
<p>
Enter Username:
</p>
<br>
<input
type =
"text"
name =
"username"
placeholder=
"Username.."
><br>
<button
type =
"submit"
id=
'mySubmit'
>
Submit
</button>
</form>
<!--{% block mainBlock %}{% endblock %}-->
</body>
</html>
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