Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SeMeet
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
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
TO
SeMeet
Commits
70a20666
Verified
Commit
70a20666
authored
9 months ago
by
Andrej Ramašeuski
Browse files
Options
Downloads
Patches
Plain Diff
Chybova stranka pro neprihlasene
parent
97df5315
No related branches found
No related tags found
No related merge requests found
Pipeline
#18803
passed
9 months ago
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
VERSION
+1
-1
1 addition, 1 deletion
VERSION
lib/SeMeet.pm
+1
-0
1 addition, 0 deletions
lib/SeMeet.pm
templates/index.html.ep
+1
-3
1 addition, 3 deletions
templates/index.html.ep
templates/unauthorized.html.ep
+14
-0
14 additions, 0 deletions
templates/unauthorized.html.ep
with
17 additions
and
4 deletions
VERSION
+
1
−
1
View file @
70a20666
0.1
3
.0
0.1
4
.0
This diff is collapsed.
Click to expand it.
lib/SeMeet.pm
+
1
−
0
View file @
70a20666
...
...
@@ -134,6 +134,7 @@ sub startup( $self ) {
$r
->
get
('
/
')
->
to
(
cb
=>
sub
{
shift
->
render
('
index
');
});
$r
->
get
('
/meets/:id
')
->
requires
(
authenticated
=>
1
)
->
to
('
Meets#meet
');
$r
->
get
('
/meets/:id
')
->
to
(
cb
=>
sub
{
shift
->
render
('
unauthorized
');
});
$r
->
get
('
/guest/:token
')
->
to
('
Invites#meet
');
$r
->
websocket
('
/ws
')
->
to
('
Websockets#main
');
...
...
This diff is collapsed.
Click to expand it.
templates/index.html.ep
+
1
−
3
View file @
70a20666
...
...
@@ -9,9 +9,7 @@
</div>
<div>
<h1 class="head-alt-xl">Opravdu bezpečný jitsi</h1>
<h1 class="head-alt-xl text-blue-300">Vždy víš kdo tě poslouchá</h1>
<h1 class="head-alt-xl text-green-400">Žádní náhodní moderatoři</h1>
<h1 class="head-alt-xl">Bezpečný jitsi jenom pro ověřené účastníky</h1>
<h1 class="head-alt-lg text-red-600 pt-10">Testovací provoz</h1>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
templates/unauthorized.html.ep
0 → 100644
+
14
−
0
View file @
70a20666
% layout 'default';
<h1 class="head-alt-xl">Aktuálně nemáte oprávnění pro přístup do této místnosti</h1>
<a href="<%= oidc->authorize %>">
<button class="btn btn--icon btn--grey-125 btn--hoveractive">
<div class="btn__body-wrap">
<div class="btn__body">Přihlásit se</div>
<div class="btn__icon">
<i class="ico--pirati"></i>
</div>
</div>
</button>
</a>
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