2021-05-03 17:54:03 +03:00
|
|
|
/*
|
|
|
|
* 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 ';
|
2021-05-04 12:48:07 +03:00
|
|
|
const LABEL_CLASS = 'sitekey-form__level-label';
|
|
|
|
|
2021-05-03 17:54:03 +03:00
|
|
|
const INPUT_ID_WITHOUT_LEVEL = 'level';
|
2021-05-04 12:48:07 +03:00
|
|
|
const LEVEL_INPUT_CLASS = 'sitekey-form__level-input';
|
|
|
|
|
2021-05-03 17:54:03 +03:00
|
|
|
const VISITOR_WITHOUT_LEVEL = 'visitor';
|
|
|
|
const DIFFICULTY_WITHOUT_LEVEL = 'difficulty';
|
|
|
|
|
2021-05-04 12:48:07 +03:00
|
|
|
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";
|
2021-05-03 17:54:03 +03:00
|
|
|
|
|
|
|
const CONST = {
|
|
|
|
LABEL_CLASS,
|
|
|
|
INPUT_ID_WITHOUT_LEVEL,
|
2021-05-04 12:48:07 +03:00
|
|
|
LEVEL_INPUT_CLASS,
|
2021-05-03 17:54:03 +03:00
|
|
|
LABEL_INNER_TEXT_WITHOUT_LEVEL,
|
|
|
|
VISITOR_WITHOUT_LEVEL,
|
|
|
|
DIFFICULTY_WITHOUT_LEVEL,
|
|
|
|
LEVEL_CONTAINER_CLASS,
|
2021-05-04 12:48:07 +03:00
|
|
|
LEVEL_FIELDSET_ID_WITHOUT_LEVEL,
|
|
|
|
LEGEND_CLASS,
|
|
|
|
REMOVE_LEVEL_BUTTON_ID_WITHOUT_LEVEL,
|
|
|
|
REMOVE_LEVEL_LABEL_TEXT,
|
|
|
|
};
|
2021-05-03 17:54:03 +03:00
|
|
|
|
|
|
|
export default CONST;
|