-
Notifications
You must be signed in to change notification settings - Fork 5
/
QuizHeader.java
26 lines (23 loc) · 1.35 KB
/
QuizHeader.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.genericsystem.quiz.app.pages.components;
import org.genericsystem.reactor.annotations.Children;
import org.genericsystem.reactor.annotations.SetText;
import org.genericsystem.reactor.annotations.Style;
import org.genericsystem.reactor.annotations.StyleClass;
import org.genericsystem.reactor.gscomponents.AppHeader.AppTitleDiv;
import org.genericsystem.reactor.gscomponents.AppHeader.Logo;
import org.genericsystem.reactor.gscomponents.FlexDiv;
import org.genericsystem.reactor.gscomponents.FlexDiv.FlexRow;
import org.genericsystem.reactor.gscomponents.HtmlTag.HtmlH1;
@Children({ Logo.class, FlexDiv.class, QuizLogin.class })
@Children(path = FlexDiv.class, pos = 1, value = { AppTitleDiv.class, QuizNav.class })
@SetText(path = { FlexDiv.class, AppTitleDiv.class, HtmlH1.class }, pos = { 1, 0, 0 }, value = "GS Quiz")
@StyleClass("headerQ")
@StyleClass(path = Logo.class, value = "sideDivQHeader")
@Style(path = Logo.class, name = "flex", value = "0")
@Style(path = Logo.class, name = "justify-content", value = "center")
@StyleClass(path = QuizLogin.class, value = "sideDivQHeader")
@Style(path = FlexDiv.class, pos = 1, name = "min-width", value = "45%")
@Style(path = FlexDiv.class, pos = 1, name = "flex", value = "1")
@Style(path = { FlexDiv.class, AppTitleDiv.class }, pos = { 1, 0 }, name = "flex", value = "1")
public class QuizHeader extends FlexRow {
}