Add simple warning header text to OT creation form (#4277)
* Update chromedash-ot-creation-page.ts * use existing warning class
This commit is contained in:
Родитель
dab0d2d80d
Коммит
4b89f4e5f1
|
@ -43,6 +43,18 @@ export class ChromedashOTCreationPage extends LitElement {
|
|||
transform: translate(-50%, -50%);
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.warning {
|
||||
border: 2px solid #555555;
|
||||
border-radius: 10px;
|
||||
padding: 4px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
.warning h3 {
|
||||
text-align: center;
|
||||
color: #555555;
|
||||
font-weight: 300;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
@ -439,7 +451,16 @@ export class ChromedashOTCreationPage extends LitElement {
|
|||
</div>`
|
||||
: nothing}
|
||||
<chromedash-form-table ${ref(this.registerHandlers)}>
|
||||
<section class="stage_form">${this.renderFields()}</section>
|
||||
<section class="stage_form">
|
||||
<div class="warning warning-div">
|
||||
<h3>
|
||||
Please make sure this data is correct before submission! If you
|
||||
are not sure about any information on this form, contact
|
||||
<strong>origin-trials-support@google.com</strong>
|
||||
</h3>
|
||||
</div>
|
||||
${this.renderFields()}
|
||||
</section>
|
||||
</chromedash-form-table>
|
||||
<div class="final_buttons">
|
||||
<input
|
||||
|
|
Загрузка…
Ссылка в новой задаче