mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-23 09:55:57 +03:00
sitekey view
This commit is contained in:
parent
95bc1feef7
commit
bd20b4238b
3 changed files with 7 additions and 1 deletions
|
@ -54,6 +54,7 @@ impl IndexPage {
|
|||
}
|
||||
}
|
||||
|
||||
/// route handler that renders individual views for sitekeys
|
||||
pub async fn view_sitekey(
|
||||
path: web::Path<String>,
|
||||
data: web::Data<Data>,
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
<label class="sitekey-form__level-label" for="visitor<.= num .>"
|
||||
>Visitor
|
||||
<input
|
||||
readonly="readonly"
|
||||
class="sitekey-form__level-input"
|
||||
type="number"
|
||||
name="visitor<.= num .>"
|
||||
|
@ -18,6 +19,7 @@
|
|||
<label class="sitekey-form__level-label" for="difficulty<.= num .>">
|
||||
Difficulty
|
||||
<input
|
||||
readonly="readonly"
|
||||
type="number"
|
||||
id="difficulty<.= num .>"
|
||||
class="sitekey-form__level-input"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<. include!("../../../components/headers.html"); .>
|
||||
<. include!("../../navbar/index.html"); .>
|
||||
<div class="tmp-layout">
|
||||
<. include!("../../header/index.html"); .>
|
||||
<main class="panel-main">
|
||||
include!("../../help-banner/index.html"); .>
|
||||
<. include!("../../help-banner/index.html"); .>
|
||||
<!-- Main content container -->
|
||||
<div class="inner-container">
|
||||
<!-- Main menu/ important actions roaster -->
|
||||
|
@ -14,6 +15,7 @@
|
|||
<label class="sitekey-form__label" for="description">
|
||||
Description
|
||||
<input
|
||||
readonly="readonly"
|
||||
class="sitekey-form__input"
|
||||
type="text"
|
||||
name="description"
|
||||
|
@ -28,6 +30,7 @@
|
|||
<label class="sitekey-form__label" for="duration">
|
||||
Cooldown Duratoin(in seconds)
|
||||
<input
|
||||
readonly="readonly"
|
||||
class="sitekey-form__input"
|
||||
type="number"
|
||||
name="duration"
|
||||
|
|
Loading…
Reference in a new issue