Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cf-online-ui
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
Model registry
Operate
Environments
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
cf-online-ui
Commits
bc2f3912
Commit
bc2f3912
authored
4 years ago
by
xaralis
Browse files
Options
Downloads
Patches
Plain Diff
feat: update to styleguide 2.0.1
parent
0705ba71
No related branches found
No related tags found
No related merge requests found
Pipeline
#1923
passed
4 years ago
Stage: build
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.env
+1
-1
1 addition, 1 deletion
.env
src/config.js
+0
-3
0 additions, 3 deletions
src/config.js
src/containers/GlobalStats.jsx
+1
-1
1 addition, 1 deletion
src/containers/GlobalStats.jsx
src/pages/Home.jsx
+39
-39
39 additions, 39 deletions
src/pages/Home.jsx
with
41 additions
and
44 deletions
.env
+
1
−
1
View file @
bc2f3912
REACT_APP_STYLEGUIDE_URL=https://styleguide.pir-test.eu
REACT_APP_STYLEGUIDE_URL=https://styleguide.pir-test.eu
/2.0.1
REACT_APP_API_BASE_URL=https://cf2021.pir-test.eu/api
REACT_APP_API_BASE_URL=https://cf2021.pir-test.eu/api
REACT_APP_MATOMO_ID=135
REACT_APP_MATOMO_ID=135
REACT_APP_SENTRY_DSN=https://aa80453ff4d54b9a9c1b49e79060498a@sentry.pir-test.eu/14
REACT_APP_SENTRY_DSN=https://aa80453ff4d54b9a9c1b49e79060498a@sentry.pir-test.eu/14
This diff is collapsed.
Click to expand it.
src/config.js
deleted
100644 → 0
+
0
−
3
View file @
0705ba71
export
default
{
styleguideUrl
:
"
https://styleguide.pir-test.eu/latest
"
,
};
This diff is collapsed.
Click to expand it.
src/containers/GlobalStats.jsx
+
1
−
1
View file @
bc2f3912
...
@@ -30,7 +30,7 @@ const GlobalStats = () => {
...
@@ -30,7 +30,7 @@ const GlobalStats = () => {
<
strong
>
{
onlineUsers
}
</
strong
>
<
span
>
online celkem
</
span
>
<
strong
>
{
onlineUsers
}
</
strong
>
<
span
>
online celkem
</
span
>
</
div
>
</
div
>
{
nextProgramEntry
&&
(
{
nextProgramEntry
&&
(
<
div
className
=
"flex-grow text-right hidden sm:block"
>
<
div
className
=
"flex-grow text-right hidden sm:block
lg:hidden xl:block
"
>
Následuje:
{
"
"
}
Následuje:
{
"
"
}
<
Link
to
=
"/program"
className
=
"font-bold"
>
<
Link
to
=
"/program"
className
=
"font-bold"
>
{
nextProgramEntry
.
title
}
@
{
"
"
}
{
nextProgramEntry
.
title
}
@
{
"
"
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/Home.jsx
+
39
−
39
View file @
bc2f3912
...
@@ -155,52 +155,52 @@ const Home = () => {
...
@@ -155,52 +155,52 @@ const Home = () => {
return
(
return
(
<>
<>
<
article
className
=
"container container--wide py-8 lg:py-24 cf2021"
>
<
article
className
=
"container container--wide py-8 lg:py-24 cf2021"
>
<
section
className
=
"cf2021__video"
>
<
div
className
=
"cf2021__title flex justify-between"
>
<
div
className
=
"flex justify-between mb-4 lg:mb-8"
>
<
h1
className
=
"head-alt-base lg:head-alt-lg"
>
<
h1
className
=
"head-alt-base lg:head-alt-lg"
>
Bod č.
{
programEntry
.
number
}
:
{
programEntry
.
title
}
Bod č.
{
programEntry
.
number
}
:
{
programEntry
.
title
}
</
h1
>
</
h1
>
{
displayActions
&&
(
{
displayActions
&&
(
<
DropdownMenu
<
DropdownMenu
right
right
triggerSize
=
"lg"
triggerSize
=
"lg"
className
=
"pl-4 pt-1 lg:pt-5"
className
=
"pl-4 pt-1 lg:pt-5"
>
>
<
DropdownMenuItem
onClick
=
{
()
=>
setShowProgramEditModal
(
true
)
}
icon
=
"ico--pencil"
title
=
"Přejmenovat bod programu"
titleSize
=
"base"
iconSize
=
"base"
/>
{
programEntry
.
discussionOpened
&&
(
<
DropdownMenuItem
<
DropdownMenuItem
onClick
=
{
()
=>
setShow
ProgramEditModal
(
true
)
}
onClick
=
{
()
=>
setShow
CloseDiscussion
(
true
)
}
icon
=
"ico--
pencil
"
icon
=
"ico--
bubbles
"
title
=
"
Přejmenovat bod prog
ra
m
u"
title
=
"
Ukončit rozp
ra
v
u"
titleSize
=
"base"
titleSize
=
"base"
iconSize
=
"base"
iconSize
=
"base"
/>
/>
{
programEntry
.
discussionOpened
&&
(
)
}
<
DropdownMenuItem
{
!
programEntry
.
discussionOpened
&&
(
onClick
=
{
()
=>
setShowCloseDiscussion
(
true
)
}
icon
=
"ico--bubbles"
title
=
"Ukončit rozpravu"
titleSize
=
"base"
iconSize
=
"base"
/>
)
}
{
!
programEntry
.
discussionOpened
&&
(
<
DropdownMenuItem
onClick
=
{
()
=>
setShowOpenDiscussion
(
true
)
}
icon
=
"ico--bubbles"
title
=
"Otevřít rozpravu"
titleSize
=
"base"
iconSize
=
"base"
/>
)
}
<
DropdownMenuItem
<
DropdownMenuItem
onClick
=
{
()
=>
setShow
EndProgramPoint
(
true
)
}
onClick
=
{
()
=>
setShow
OpenDiscussion
(
true
)
}
icon
=
"ico--
switch
"
icon
=
"ico--
bubbles
"
title
=
"
Ukončit bod prog
ra
m
u"
title
=
"
Otevřít rozp
ra
v
u"
titleSize
=
"base"
titleSize
=
"base"
iconSize
=
"base"
iconSize
=
"base"
/>
/>
</
DropdownMenu
>
)
}
)
}
<
DropdownMenuItem
</
div
>
onClick
=
{
()
=>
setShowEndProgramPoint
(
true
)
}
icon
=
"ico--switch"
title
=
"Ukončit bod programu"
titleSize
=
"base"
iconSize
=
"base"
/>
</
DropdownMenu
>
)
}
</
div
>
<
section
className
=
"cf2021__video"
>
<
div
className
=
"container-padding--zero md:container-padding--auto"
>
<
div
className
=
"container-padding--zero md:container-padding--auto"
>
{
streamUrl
&&
(
{
streamUrl
&&
(
...
@@ -243,7 +243,7 @@ const Home = () => {
...
@@ -243,7 +243,7 @@ const Home = () => {
<
span
>
Příspěvky v rozpravě
</
span
>
<
span
>
Příspěvky v rozpravě
</
span
>
{
!
programEntry
.
discussionOpened
&&
(
{
!
programEntry
.
discussionOpened
&&
(
<
i
<
i
className
=
"ico--lock text-black ml-
1
opacity-50 hover:opacity-100 transition duration-500 text-xl"
className
=
"ico--lock text-black ml-
2
opacity-50 hover:opacity-100 transition duration-500 text-xl"
title
=
"Rozprava je uzavřena"
title
=
"Rozprava je uzavřena"
/>
/>
)
}
)
}
...
...
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