mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 01:55:40 +00:00
registration tests
This commit is contained in:
48
templates/panel/sitekey/add/ts/const.ts
Normal file
48
templates/panel/sitekey/add/ts/const.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
const LABEL_INNER_TEXT_WITHOUT_LEVEL = 'Level ';
|
||||
const LABEL_CLASS = 'sitekey-form__level-label';
|
||||
|
||||
const INPUT_ID_WITHOUT_LEVEL = 'level';
|
||||
const LEVEL_INPUT_CLASS = 'sitekey-form__level-input';
|
||||
|
||||
const VISITOR_WITHOUT_LEVEL = 'visitor';
|
||||
const DIFFICULTY_WITHOUT_LEVEL = 'difficulty';
|
||||
|
||||
const LEVEL_CONTAINER_CLASS = 'sitekey__level-container';
|
||||
const LEVEL_FIELDSET_ID_WITHOUT_LEVEL = 'level-group-';
|
||||
const LEGEND_CLASS = 'sitekey__level-title';
|
||||
|
||||
const REMOVE_LEVEL_BUTTON_ID_WITHOUT_LEVEL = 'remove-level';
|
||||
const REMOVE_LEVEL_LABEL_TEXT = "Remove Level";
|
||||
|
||||
const CONST = {
|
||||
LABEL_CLASS,
|
||||
INPUT_ID_WITHOUT_LEVEL,
|
||||
LEVEL_INPUT_CLASS,
|
||||
LABEL_INNER_TEXT_WITHOUT_LEVEL,
|
||||
VISITOR_WITHOUT_LEVEL,
|
||||
DIFFICULTY_WITHOUT_LEVEL,
|
||||
LEVEL_CONTAINER_CLASS,
|
||||
LEVEL_FIELDSET_ID_WITHOUT_LEVEL,
|
||||
LEGEND_CLASS,
|
||||
REMOVE_LEVEL_BUTTON_ID_WITHOUT_LEVEL,
|
||||
REMOVE_LEVEL_LABEL_TEXT,
|
||||
};
|
||||
|
||||
export default CONST;
|
||||
Reference in New Issue
Block a user