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
Compare revisions
4d928832c83b3bb8388aac8bd8654ffae2436ed7 to 0a3535ad72b3c38371b7a8de71212dc9cb43be62
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
justinmass2001/iotproject
Select target project
No results found
0a3535ad72b3c38371b7a8de71212dc9cb43be62
Select Git revision
Swap
Target
justinmass2001/iotproject
Select target project
justinmass2001/iotproject
1 result
4d928832c83b3bb8388aac8bd8654ffae2436ed7
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Viewer
· 95e3d594
ANTO SAGAYA JUSTIN R
authored
1 week ago
95e3d594
Merge remote-tracking branch 'origin'
· 0a3535ad
ANTO SAGAYA JUSTIN R
authored
1 week ago
0a3535ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
myproject/template/helloworld.html
+32
-7
32 additions, 7 deletions
myproject/template/helloworld.html
with
32 additions
and
7 deletions
myproject/template/helloworld.html
View file @
0a3535ad
...
...
@@ -4,7 +4,8 @@
<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"
>
<!-- <link rel="image" href="image/python.png"> -->
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/viewerjs/1.11.7/viewer.css"
integrity=
"sha512-9NawOLzuLE2GD22PJ6IPWXEjPalb/FpdH1qMpgXdaDM+0OfxEV75ZCle6KhZi0vM6ZWvMrNnIZv6YnsL+keVmA=="
crossorigin=
"anonymous"
referrerpolicy=
"no-referrer"
/>
<style>
img
{
...
...
@@ -15,10 +16,15 @@
</head>
<body>
<div
class=
"container"
>
<!-- <div>
{ % if data.username == "justinmass2001" % }
</div> -->
<div
class=
"alert alert-success"
role=
"alert"
>
Welcome {{ data.username }} , you are in {{ data.env }}
</div>
<ul
id=
"images"
>
<li><img
src=
"https://th.bing.com/th/id/OIP.d7XoYXNNdLcexb9E1xehCAHaEK?w=278&h=180&c=7&r=0&o=5&dpr=1.3&pid=1.7"
alt=
"Picture 1"
></li>
<br>
...
...
@@ -28,7 +34,11 @@
<li><img
src=
"{{ data.avater }}"
alt=
"Picture 1"
></li>
</ul>
</div>
<!-- { % elif data.username == "root" % } -->
<div
class=
"alert alert-danger"
role=
"alert"
>
You should not run as {{ data.username }} , you are in {{ data.env }}
</div>
<!-- { % endif % } -->
<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/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity=
"sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin=
"anonymous"
></script>
...
...
@@ -38,10 +48,25 @@
<script>
// View an image.
const
viewer
=
new
Viewer
(
document
.
getElementById
(
'
images
'
),
{
viewed
()
{
// viewer.hide();
},
// const viewer = new Viewer(document.getElementById('images'), {
// loop: false,
// interval: 500,
// shown: function(event){
// console.log(event);
// console.log("shown")
// },
// show: function(event){
// console.log(event);
// console.log("began to show");
// }
// });
const
images
=
document
.
getElementById
(
'
images
'
);
const
viewer
=
new
Viewer
(
images
,
{
loop
:
true
,
interval
:
500
,
view
:
function
(
event
){
console
.
log
((
event
.
detail
.
index
+
1
)
+
"
/
"
+
viewer
.
length
);
}
});
</script>
...
...
This diff is collapsed.
Click to expand it.