Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kszkepzes-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
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
KSZK
DevTeam
kszkepzes
old
kszkepzes-frontend
Commits
cebfa38f
Commit
cebfa38f
authored
7 years ago
by
Bereczki Sandor
Browse files
Options
Downloads
Patches
Plain Diff
example layout for homework main page
parent
6cd64065
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Main.js
+2
-0
2 additions, 0 deletions
src/components/Main.js
src/components/pages/Homework.js
+150
-0
150 additions, 0 deletions
src/components/pages/Homework.js
with
152 additions
and
0 deletions
src/components/Main.js
+
2
−
0
View file @
cebfa38f
...
...
@@ -9,6 +9,7 @@ import Profile from './pages/Profile';
import
Statistics
from
'
./pages/Statistics
'
;
import
Groups
from
'
./pages/Groups
'
;
import
News
from
'
./pages/News
'
;
import
Homework
from
'
./pages/Homework
'
;
const
Main
=
()
=>
(
<
Switch
>
...
...
@@ -20,6 +21,7 @@ const Main = () => (
<
Route
path
=
'
/profile
'
component
=
{
withRouter
(
Profile
)}
/
>
<
Route
path
=
'
/statistics
'
component
=
{
Statistics
}
/
>
<
Route
path
=
'
/groups
'
component
=
{
Groups
}
/
>
<
Route
path
=
'
/homework
'
component
=
{
Homework
}
/
>
<
Route
component
=
{
NotFound
}
/
>
<
/Switch
>
);
...
...
This diff is collapsed.
Click to expand it.
src/components/pages/Homework.js
0 → 100644
+
150
−
0
View file @
cebfa38f
import
React
,
{
Component
}
from
"
react
"
;
import
{
Container
,
Header
,
Segment
,
Grid
,
Image
,
Table
,
Icon
}
from
"
semantic-ui-react
"
;
export
default
class
Homework
extends
Component
{
render
()
{
return
(
<
div
>
<
Segment
inverted
textAlign
=
"
center
"
vertical
>
<
Container
>
<
Header
as
=
"
h1
"
content
=
"
Házi feladatok
"
inverted
style
=
{{
fontSize
:
"
3em
"
,
fontWeight
:
"
normal
"
,
marginBottom
:
0
,
marginTop
:
"
0.5em
"
}}
/
>
<
/Container
>
<
/Segment
>
<
Segment
vertical
>
<
Container
>
<
Header
as
=
"
h1
"
dividing
content
=
"
Aktív feladatok
"
style
=
{{
fontSize
:
"
3em
"
,
fontWeight
:
"
normal
"
,
marginBottom
:
0
,
marginTop
:
"
0.5em
"
}}
/
>
<
Table
color
=
"
green
"
>
<
Table
.
Header
>
<
Table
.
Row
>
<
Table
.
HeaderCell
>
<
Icon
circular
name
=
"
home
"
/>
Feladat
megnevezése
<
/Table.HeaderCell
>
<
Table
.
HeaderCell
>
<
Icon
circular
name
=
"
calendar
"
/>
Beadási
határidő
<
/Table.HeaderCell
>
<
Table
.
HeaderCell
>
<
Icon
circular
name
=
"
tasks
"
/>
Állapot
<
/Table.HeaderCell
>
<
/Table.Row
>
<
/Table.Header
>
<
Table
.
Body
>
<
Table
.
Row
>
<
Table
.
Cell
>
Protocols
<
Icon
name
=
"
external
"
/>
<
/Table.Cell
>
<
Table
.
Cell
>
2018
.
03
.
05
.
23
:
59
<
/Table.Cell
>
<
Table
.
Cell
>
<
Icon
name
=
"
send
"
/>
Beadható
<
/Table.Cell
>
<
/Table.Row
>
<
Table
.
Row
warning
>
<
Table
.
Cell
>
Networks
<
Icon
name
=
"
external
"
/>
<
/Table.Cell
>
<
Table
.
Cell
>
2018
.
03
.
01
.
23
:
59
<
/Table.Cell
>
<
Table
.
Cell
>
<
Icon
name
=
"
wait
"
/>
Javításra
vár
<
/Table.Cell
>
<
/Table.Row
>
<
Table
.
Row
negative
>
<
Table
.
Cell
>
Security
<
Icon
name
=
"
external
"
/>
<
/Table.Cell
>
<
Table
.
Cell
>
2018
.
02
.
28
.
23
:
59
<
/Table.Cell
>
<
Table
.
Cell
>
<
Icon
name
=
"
warning circle
"
/>
Nem
elfogadható
<
/Table.Cell
>
<
/Table.Row
>
<
/Table.Body
>
<
/Table
>
<
Header
as
=
"
h1
"
dividing
content
=
"
Lejárt határidejű feladatok
"
style
=
{{
fontSize
:
"
3em
"
,
fontWeight
:
"
normal
"
,
marginBottom
:
0
,
marginTop
:
"
2em
"
}}
/
>
<
Table
color
=
"
blue
"
>
<
Table
.
Header
>
<
Table
.
Row
>
<
Table
.
HeaderCell
>
<
Icon
circular
name
=
"
home
"
/>
Feladat
megnevezése
<
/Table.HeaderCell
>
<
Table
.
HeaderCell
>
<
Icon
circular
name
=
"
calendar
"
/>
Beadási
határidő
<
/Table.HeaderCell
>
<
Table
.
HeaderCell
>
<
Icon
circular
name
=
"
tasks
"
/>
Állapot
<
/Table.HeaderCell
>
<
/Table.Row
>
<
/Table.Header
>
<
Table
.
Body
>
<
Table
.
Row
warning
>
<
Table
.
Cell
>
BASH
<
Icon
name
=
"
external
"
/>
<
/Table.Cell
>
<
Table
.
Cell
>
2018
.
02
.
30
.
23
:
59
<
/Table.Cell
>
<
Table
.
Cell
>
<
Icon
name
=
"
warning circle
"
/>
Beadás
elmaradt
<
/Table.Cell
>
<
/Table.Row
>
<
Table
.
Row
positive
>
<
Table
.
Cell
>
Virtualbox
<
Icon
name
=
"
external
"
/>
<
/Table.Cell
>
<
Table
.
Cell
>
2018
.
02
.
25
.
23
:
59
<
/Table.Cell
>
<
Table
.
Cell
>
<
Icon
name
=
"
checkmark
"
/>
Elfogadva
<
/Table.Cell
>
<
/Table.Row
>
<
Table
.
Row
positive
>
<
Table
.
Cell
>
Selfie
<
Icon
name
=
"
external
"
/>
<
/Table.Cell
>
<
Table
.
Cell
>
2018
.
02
.
20
.
23
:
59
<
/Table.Cell
>
<
Table
.
Cell
>
<
Icon
name
=
"
checkmark
"
/>
Elfogadva
<
/Table.Cell
>
<
/Table.Row
>
<
/Table.Body
>
<
/Table
>
<
/Container
>
<
/Segment
>
<
/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