Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Iotproject
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
Issue 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
ANTO SAGAYA JUSTIN R
Iotproject
Commits
6b18316a
Commit
6b18316a
authored
1 month ago
by
ANTO SAGAYA JUSTIN R
Browse files
Options
Downloads
Patches
Plain Diff
template
parent
3c5bf5d5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
myproject/app.py
+11
-0
11 additions, 0 deletions
myproject/app.py
myproject/template/helloworld.html
+31
-0
31 additions, 0 deletions
myproject/template/helloworld.html
with
42 additions
and
0 deletions
myproject/app.py
0 → 100644
+
11
−
0
View file @
6b18316a
from
flask
import
Flask
,
render_template
app
=
Flask
(
__name__
,
template_folder
=
'
template
'
)
@app.route
(
'
/helloworld
'
)
def
helloworld
():
return
render_template
(
'
helloworld.html
'
)
if
__name__
==
'
__main__
'
:
app
.
run
(
debug
=
True
)
This diff is collapsed.
Click to expand it.
myproject/template/helloworld.html
0 → 100644
+
31
−
0
View file @
6b18316a
<!doctype html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Bootstrap demo
</title>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin=
"anonymous"
>
</head>
<body>
<div
class=
"container"
>
<!-- Content here -->
</div>
<!-- a block container is required -->
<div>
<ul
id=
"images"
>
<li><img
src=
"https://th.bing.com/th?id=OIP.HJ5ua1rls3w8hZFfAjHq3gHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.3&pid=3.1&rm=2"
alt=
"Picture 1"
></li>
<br>
<li><img
src=
"https://th.bing.com/th?id=OIP.WfTgiK46WsBkoTZgjetSIwHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.3&pid=3.1&rm=2"
alt=
"Picture 2"
></li>
<br>
<li><img
src=
"https://th.bing.com/th?id=OIP.dY3kN93bzJJHiHqjj9K9twHaEK&w=333&h=187&c=8&rs=1&qlt=90&o=6&dpr=1.3&pid=3.1&rm=2"
alt=
"Picture 3"
></li>
</ul>
</div>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"
integrity=
"sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g=="
crossorigin=
"anonymous"
referrerpolicy=
"no-referrer"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity=
"sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js"
integrity=
"sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/viewerjs/1.11.7/viewer.min.js"
integrity=
"sha512-lZD0JiwhtP4UkFD1mc96NiTZ14L7MjyX5Khk8PMxJszXMLvu7kjq1sp4bb0tcL6MY+/4sIuiUxubOqoueHrW4w=="
crossorigin=
"anonymous"
referrerpolicy=
"no-referrer"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/viewerjs/1.11.7/viewer.common.js"
integrity=
"sha512-LlQl0sFUcI1vIDM7mJLlc6a8ED/7OodBOExKGh93wuOhftpuR+LqrihUhDERtnX526QoQqqKWxg6BpMjEibyMw=="
crossorigin=
"anonymous"
referrerpolicy=
"no-referrer"
></script>
<style>
</style>
</body>
</html>
\ 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