mCaptcha/templates/panel/sitekey/view/index.html

53 lines
1.2 KiB
HTML
Raw Normal View History

2021-05-09 14:09:52 +03:00
<. include!("../../../components/headers.html"); .>
<. include!("../../navbar/index.html"); .>
2021-05-09 17:24:10 +03:00
<div class="tmp-layout">
2021-05-09 14:09:52 +03:00
<. include!("../../header/index.html"); .>
2021-05-07 17:14:44 +03:00
<main class="panel-main">
2021-05-09 17:24:10 +03:00
<. include!("../../help-banner/index.html"); .>
2021-05-07 17:14:44 +03:00
<!-- Main content container -->
<div class="inner-container">
<!-- Main menu/ important actions roaster -->
<form class="sitekey-form" action="<.= crate::V1_API_ROUTES.levels.add .>" method="post">
<h1 class="form__title">
Sitekey: <.= name .>
</h1>
<label class="sitekey-form__label" for="description">
Description
<input
2021-05-09 17:24:10 +03:00
readonly="readonly"
2021-05-07 17:14:44 +03:00
class="sitekey-form__input"
type="text"
name="description"
id="description"
required
<. if name.trim().len() > 0 { .>
value="<.= name .>"
<. } .>
/>
</label>
<label class="sitekey-form__label" for="duration">
Cooldown Duratoin(in seconds)
<input
2021-05-09 17:24:10 +03:00
readonly="readonly"
2021-05-07 17:14:44 +03:00
class="sitekey-form__input"
type="number"
name="duration"
id="duration"
min=0
required
value="<.= duration .>"
/>
</label>
<. for (count, level) in levels.iter().enumerate() { .>
<. include!("./existing-level.html"); .>
<. } .>
</form>
</div>
<!-- end of container -->
<. include!("../../../components/footers.html"); .>