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
e6f0e39b
Verified
Commit
e6f0e39b
authored
7 months ago
by
Andrej Ramašeuski
Browse files
Options
Downloads
Patches
Plain Diff
Fix pozvanek
parent
43ea81a3
No related branches found
No related tags found
No related merge requests found
Pipeline
#19397
passed
7 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
+2
-1
2 additions, 1 deletion
lib/SeMeet.pm
lib/SeMeet/Controller/Invites.pm
+0
-1
0 additions, 1 deletion
lib/SeMeet/Controller/Invites.pm
templates/layouts/default.html.ep
+11
-13
11 additions, 13 deletions
templates/layouts/default.html.ep
with
14 additions
and
16 deletions
VERSION
+
1
−
1
View file @
e6f0e39b
0.1
4
.1
0.1
5
.1
This diff is collapsed.
Click to expand it.
lib/SeMeet.pm
+
2
−
1
View file @
e6f0e39b
...
...
@@ -130,6 +130,8 @@ sub startup( $self ) {
$r
->
get
('
/login
')
->
to
('
Auth#callback
');
$r
->
get
('
/logout
')
->
to
('
Auth#do_logout
');
$r
->
get
('
/guest/:token
')
->
to
('
Invites#meet
');
$r
->
get
('
/
')
->
requires
(
authenticated
=>
1
)
->
to
(
cb
=>
sub
{
shift
->
render
('
meets
');
});
$r
->
get
('
/
')
->
to
(
cb
=>
sub
{
shift
->
render
('
index
');
});
...
...
@@ -139,7 +141,6 @@ sub startup( $self ) {
$c
->
session
->
{
id
}
=
$c
->
stash
->
{
id
};
$c
->
render
('
index
');
});
$r
->
get
('
/guest/:token
')
->
to
('
Invites#meet
');
$r
->
websocket
('
/ws
')
->
to
('
Websockets#main
');
}
...
...
This diff is collapsed.
Click to expand it.
lib/SeMeet/Controller/Invites.pm
+
0
−
1
View file @
e6f0e39b
...
...
@@ -51,7 +51,6 @@ sub create($c) {
}
sub
meet
($c) {
my
$invite
=
$c
->
schema
->
resultset
('
Invite
')
->
search
({
token
=>
uc
(
$c
->
stash
->
{
token
}),
# expire => {'>' => \'now()'}, # zatim nebudeme limitovat casove
...
...
This diff is collapsed.
Click to expand it.
templates/layouts/default.html.ep
+
11
−
13
View file @
e6f0e39b
...
...
@@ -10,9 +10,7 @@
<div>
<div
class=
"container container--wide navbar__content"
:class=
"{'navbar__content--initialized': true}"
>
<div
class=
"navbar__brand my-4 flex items-center lg:pr-8 lg:my-0"
>
<a
href=
"/"
>
<img
src=
"<%= config->{styleguide} %>/images/logo-round-white.svg"
class=
"w-8"
/>
</a>
<a
href=
"/"
><img
src=
"<%= config->{styleguide} %>/images/logo-round-white.svg"
class=
"w-8"
/></a>
<span
class=
"pl-4 font-bold text-xl lg:pr-8"
><a
href=
"/"
><
%=
config-
>
{name} %> -
<
%=
config-
>
{description} %>
</a></span>
</div>
<div
class=
"navbar__menutoggle my-4 flex justify-end lg:hidden"
>
...
...
@@ -21,18 +19,18 @@
</a>
</div>
<div
v-if=
"show || isLgScreenSize"
class=
"navbar__main navbar__section navbar__section--expandable container-padding--zero lg:container-padding--auto flex items-center"
>
<div
class=
"flex-grow"
>
</div>
<div
class=
"flex-grow"
></div>
% if (current_user) {
<div
class=
"flex items-center space-x-4"
>
<div
class=
"flex items-center space-x-4"
>
<span
class=
"head-heavy-2xs"
><
%=
current_user-
>
{displayname} %>
</span>
<div
class=
"avatar avatar--2xs"
>
<img
src=
"<%= config->{piratar}%>64/<%= current_user->{username} %>.jpg"
alt=
"<%= current_user->{displayname} %>"
/>
</div>
<a
href=
"/logout"
><button
class=
"text-grey-200 hover:text-white"
><i
class=
"ico--log-out"
></i></button></a>
</div>
<div
class=
"flex items-center space-x-4"
>
<span
class=
"head-heavy-2xs"
><
%=
current_user-
>
{displayname} %>
</span>
<div
class=
"avatar avatar--2xs"
>
<img
src=
"<%= config->{piratar}%>64/<%= current_user->{username} %>.jpg"
alt=
"<%= current_user->{displayname} %>"
/>
</div>
<a
href=
"/logout"
><button
class=
"text-grey-200 hover:text-white"
><i
class=
"ico--log-out"
></i></button></a>
</div>
</div>
% }
</div>
</div>
</div>
...
...
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