Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Manual-KY
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
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
2023 Competition
Manual-KY
Commits
eabbcf25
Commit
eabbcf25
authored
1 year ago
by
Vishwaa Kannan
Browse files
Options
Downloads
Plain Diff
Merge branch 'adding-pop-up' into 'main'
Adding pop up See merge request
!34
parents
c5dea0c0
a4136023
No related branches found
Branches containing commit
No related tags found
1 merge request
!34
Adding pop up
Pipeline
#364952
passed
1 year ago
Stage: build
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
static/app.js
+15
-1
15 additions, 1 deletion
static/app.js
static/style.css
+35
-1
35 additions, 1 deletion
static/style.css
wiki/pages/experiments.html
+1
-1
1 addition, 1 deletion
wiki/pages/experiments.html
wiki/pages/home.html
+11
-0
11 additions, 0 deletions
wiki/pages/home.html
with
62 additions
and
3 deletions
static/app.js
+
15
−
1
View file @
eabbcf25
...
...
@@ -30,4 +30,18 @@ buttons.forEach(button => {
slides
.
children
[
newIndex
].
dataset
.
active
=
true
delete
activeSlide
.
dataset
.
active
})
})
\ No newline at end of file
})
document
.
addEventListener
(
"
DOMContentLoaded
"
,
function
()
{
showPopup
();
});
function
showPopup
()
{
document
.
getElementById
(
"
popup-container
"
).
style
.
display
=
"
block
"
;
document
.
body
.
style
.
overflow
=
"
hidden
"
;
// Disable scrolling
}
function
closePopup
()
{
document
.
getElementById
(
"
popup-container
"
).
style
.
display
=
"
none
"
;
document
.
body
.
style
.
overflow
=
"
auto
"
;
// Enable scrolling
}
This diff is collapsed.
Click to expand it.
static/style.css
+
35
−
1
View file @
eabbcf25
...
...
@@ -459,4 +459,38 @@ filter: blur(0);
.timeline__paragraph
{
line-height
:
1.5
;
}
\ No newline at end of file
}
.bodypopup
{
margin
:
0
;
padding
:
0
;
height
:
100%
;
overflow
:
hidden
;
}
#popup-container
{
display
:
none
;
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
0.8
);
color
:
#fff
;
text-align
:
center
;
z-index
:
999
;
}
#popup-content
{
position
:
absolute
;
top
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
}
#close-button
{
position
:
absolute
;
top
:
10px
;
right
:
10px
;
cursor
:
pointer
;
}
This diff is collapsed.
Click to expand it.
wiki/pages/experiments.html
+
1
−
1
View file @
eabbcf25
...
...
@@ -403,7 +403,7 @@
<li
style=
"list-style:disc;"
>
Pour up to 25 mL of TAE/agarose mix into the empty gel cast.
</li>
<ul>
<li
style=
"list-style:disc;"
>
Ensured that the teeth aren’t covered completely
</li>
<ul>
<
/
ul>
<li
style=
"list-style:disc;"
>
Put DNA samples onto the gel and let the gel run for 1-1.5 hours.
</li>
<li
style=
"list-style:disc;"
>
Excise the gel slice with the band (make sure it is as close as possible) and add it to a 1.5 mL tube
</li>
<li
style=
"list-style:disc;"
>
Add 1:1 volume of Binding Buffer (volume of buffer: gel slice weight)
</li>
...
...
This diff is collapsed.
Click to expand it.
wiki/pages/home.html
+
11
−
0
View file @
eabbcf25
...
...
@@ -136,5 +136,16 @@
</ul>
</div>
</section>
<div
class=
"bodypopup"
>
<div
id=
"popup-container"
>
<div
id=
"popup-content"
>
<span
id=
"close-button"
onclick=
"closePopup()"
>
X
</span>
<h2>
Award!
</h2>
<p>
We received a silver medal as a first year team!
</p>
<img
src=
"https://static.igem.wiki/teams/5029/wiki/better-medal-removebg-preview.png"
alt=
"Image in the popup"
>
</div>
</div>
</div>
</body>
{% endblock %}
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