mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-02-18 17:39:46 +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(
|
pub async fn view_sitekey(
|
||||||
path: web::Path<String>,
|
path: web::Path<String>,
|
||||||
data: web::Data<Data>,
|
data: web::Data<Data>,
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<label class="sitekey-form__level-label" for="visitor<.= num .>"
|
<label class="sitekey-form__level-label" for="visitor<.= num .>"
|
||||||
>Visitor
|
>Visitor
|
||||||
<input
|
<input
|
||||||
|
readonly="readonly"
|
||||||
class="sitekey-form__level-input"
|
class="sitekey-form__level-input"
|
||||||
type="number"
|
type="number"
|
||||||
name="visitor<.= num .>"
|
name="visitor<.= num .>"
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
<label class="sitekey-form__level-label" for="difficulty<.= num .>">
|
<label class="sitekey-form__level-label" for="difficulty<.= num .>">
|
||||||
Difficulty
|
Difficulty
|
||||||
<input
|
<input
|
||||||
|
readonly="readonly"
|
||||||
type="number"
|
type="number"
|
||||||
id="difficulty<.= num .>"
|
id="difficulty<.= num .>"
|
||||||
class="sitekey-form__level-input"
|
class="sitekey-form__level-input"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
<. include!("../../../components/headers.html"); .>
|
<. include!("../../../components/headers.html"); .>
|
||||||
<. include!("../../navbar/index.html"); .>
|
<. include!("../../navbar/index.html"); .>
|
||||||
|
<div class="tmp-layout">
|
||||||
<. include!("../../header/index.html"); .>
|
<. include!("../../header/index.html"); .>
|
||||||
<main class="panel-main">
|
<main class="panel-main">
|
||||||
include!("../../help-banner/index.html"); .>
|
<. include!("../../help-banner/index.html"); .>
|
||||||
<!-- Main content container -->
|
<!-- Main content container -->
|
||||||
<div class="inner-container">
|
<div class="inner-container">
|
||||||
<!-- Main menu/ important actions roaster -->
|
<!-- Main menu/ important actions roaster -->
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
<label class="sitekey-form__label" for="description">
|
<label class="sitekey-form__label" for="description">
|
||||||
Description
|
Description
|
||||||
<input
|
<input
|
||||||
|
readonly="readonly"
|
||||||
class="sitekey-form__input"
|
class="sitekey-form__input"
|
||||||
type="text"
|
type="text"
|
||||||
name="description"
|
name="description"
|
||||||
|
@ -28,6 +30,7 @@
|
||||||
<label class="sitekey-form__label" for="duration">
|
<label class="sitekey-form__label" for="duration">
|
||||||
Cooldown Duratoin(in seconds)
|
Cooldown Duratoin(in seconds)
|
||||||
<input
|
<input
|
||||||
|
readonly="readonly"
|
||||||
class="sitekey-form__input"
|
class="sitekey-form__input"
|
||||||
type="number"
|
type="number"
|
||||||
name="duration"
|
name="duration"
|
||||||
|
|
Loading…
Add table
Reference in a new issue