Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Commits
0ffda758
Commit
0ffda758
authored
Sep 11, 2023
by
Ruben Backx
Browse files
Options
Downloads
Patches
Plain Diff
Prevent screens from sleeping when presenting
parent
64ac23aa
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!711
Version 2.2.1
,
!704
Resolve "Lab slideshow should prevent computers from sleeping"
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/main/resources/templates/lab/presentation/view.html
+5
-0
5 additions, 0 deletions
src/main/resources/templates/lab/presentation/view.html
with
6 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
0ffda758
...
...
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
### Changed
-
Screens should no longer sleep when presenting (not supported on Firefox).
[
@rwbackx
](
https://gitlab.ewi.tudelft.nl/rwbackx
)
### Fixed
-
Lab filter for shared labs now shows the correct course codes in front of assignments.
[
@hpage
](
https://gitlab.ewi.tudelft.nl/hpage
)
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/templates/lab/presentation/view.html
+
5
−
0
View file @
0ffda758
...
...
@@ -22,6 +22,11 @@
<head>
<link
rel=
"stylesheet"
href=
"/css/presentation.css"
/>
<script
src=
"/webjars/momentjs/min/moment.min.js"
></script>
<script>
document
.
addEventListener
(
"
DOMContentLoaded
"
,
async
function
()
{
await
navigator
.
wakeLock
.
request
(
"
screen
"
);
});
</script>
</head>
<body>
...
...
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
sign in
to comment