add site key form

This commit is contained in:
realaravinth
2021-05-03 20:24:03 +05:30
parent 0531a26274
commit 812b0ff2c9
49 changed files with 1253 additions and 597 deletions

View File

@@ -18,6 +18,8 @@
use actix_web::{HttpResponse, Responder};
use sailfish::TemplateOnce;
use crate::pages::TITLE;
pub mod sitekey;
#[derive(TemplateOnce, Clone)]
@@ -27,13 +29,13 @@ pub struct IndexPage<'a> {
pub title: &'a str,
}
const TITLE: &str = "Dashboard";
const COMPONENT: &str = "Dashboard";
impl<'a> Default for IndexPage<'a> {
fn default() -> Self {
IndexPage {
name: "mCaptcha",
title: TITLE,
name: TITLE,
title: COMPONENT,
}
}
}