Added hints wherever text fields are optional
This commit is contained in:
@@ -184,6 +184,12 @@ button:disabled:hover, .button:disabled:hover {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hint {
|
||||||
|
color: gray;
|
||||||
|
font-style: italic;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.slide-animation {
|
.slide-animation {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
7
ui.js
7
ui.js
@@ -64,6 +64,9 @@ async function author_info_layout(content, result) {
|
|||||||
.finish();
|
.finish();
|
||||||
|
|
||||||
content.appendChild(author_name);
|
content.appendChild(author_name);
|
||||||
|
content.appendChild(new ElementBuilder("div.hint")
|
||||||
|
.text("Pokud si zatím nejste jisti, můžete ponechat toto pole prázdné.")
|
||||||
|
.finish());
|
||||||
content.appendChild(new ElementBuilder("div.vertical-spacer").finish());
|
content.appendChild(new ElementBuilder("div.vertical-spacer").finish());
|
||||||
content.appendChild(new ElementBuilder("div")
|
content.appendChild(new ElementBuilder("div")
|
||||||
.text("Způsob sebeoslovení")
|
.text("Způsob sebeoslovení")
|
||||||
@@ -123,6 +126,10 @@ async function collaborators_layout(content, result) {
|
|||||||
.text("Práce má konzultanta"))
|
.text("Práce má konzultanta"))
|
||||||
.finish());
|
.finish());
|
||||||
content.appendChild(consultant_name);
|
content.appendChild(consultant_name);
|
||||||
|
content.appendChild(new ElementBuilder("div.vertical-spacer").finish());
|
||||||
|
content.appendChild(new ElementBuilder("div.hint")
|
||||||
|
.text("Pokud si zatím nejste jisti jmény svých vedoucích, můžete tato pole ponechat prázdná.")
|
||||||
|
.finish());
|
||||||
}
|
}
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
|
Reference in New Issue
Block a user