Text und Reg-Button DONE

This commit is contained in:
Holger Trampe 2021-10-22 10:02:39 +02:00
parent ad4412b269
commit e3f6b4b3ac
8 changed files with 306 additions and 333 deletions

View File

@ -1,10 +1,12 @@
#alternative-logins:not(.alternative-logins) .button.register-button { #alternative-logins:not(.alternative-logins) .button.register-button {
color: var(--color-primary-element); color: #ffffff;
background-color: blue; background-color: #3A3B45;
border: 1px solid #ffffff;
} }
#alternative-logins.alternative-logins .button.register-button { #alternative-logins.alternative-logins .button.register-button {
color: red; color: #ffffff;
background-color: blue; background-color: #3A3B45;
border: 1px solid #ffffff;
} }
#alternative-logins .register-button:only-child { #alternative-logins .register-button:only-child {

View File

@ -29,4 +29,4 @@ document.addEventListener('DOMContentLoaded', function () {
}); });
/******/ })() /******/ })()
; ;
//# sourceMappingURL=registration-form.js.map?v=16159a8c95b8418d822a //# sourceMappingURL=registration-form.js.map?v=f64a2674d0a4e7f46973

View File

@ -1 +1 @@
{"version":3,"file":"registration-form.js?v=16159a8c95b8418d822a","sources":["webpack:///registration/src/form.js"],"sourcesContent":["\"use strict\";\n\ndocument.addEventListener('DOMContentLoaded', function () {\n var _this = this;\n\n // Password toggle\n $('#showadminpass').click(function (e) {\n e.preventDefault();\n var passwordTextField = $('#password');\n\n if (passwordTextField.attr('type') === 'password') {\n passwordTextField.attr('type', 'text');\n } else {\n passwordTextField.attr('type', 'password');\n }\n }); // Disable submit after first click\n\n $('form').submit(function () {\n // prevent duplicate form submissions\n $(_this).find(':submit').attr('disabled', 'disabled');\n $(_this).find(':submit')[0].value = t('registration', 'Loading …');\n });\n});"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A","sourceRoot":""} {"version":3,"file":"registration-form.js?v=f64a2674d0a4e7f46973","sources":["webpack:///registration/src/form.js"],"sourcesContent":["\"use strict\";\n\ndocument.addEventListener('DOMContentLoaded', function () {\n var _this = this;\n\n // Password toggle\n $('#showadminpass').click(function (e) {\n e.preventDefault();\n var passwordTextField = $('#password');\n\n if (passwordTextField.attr('type') === 'password') {\n passwordTextField.attr('type', 'text');\n } else {\n passwordTextField.attr('type', 'password');\n }\n }); // Disable submit after first click\n\n $('form').submit(function () {\n // prevent duplicate form submissions\n $(_this).find(':submit').attr('disabled', 'disabled');\n $(_this).find(':submit')[0].value = t('registration', 'Loading …');\n });\n});"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A","sourceRoot":""}

View File

@ -40275,9 +40275,7 @@ var render = function() {
}), }),
_vm._v(" "), _vm._v(" "),
_c("label", { attrs: { for: "email_is_login" } }, [ _c("label", { attrs: { for: "email_is_login" } }, [
_vm._v( _vm._v(_vm._s(_vm.t("registration", "Force email as login name")))
_vm._s(_vm.t("registration", "Force email as login name"))
)
]) ])
]), ]),
_vm._v(" "), _vm._v(" "),
@ -40285,9 +40283,7 @@ var render = function() {
? [ ? [
_c("p", [ _c("p", [
_c("label", { attrs: { for: "username_policy_regex" } }, [ _c("label", { attrs: { for: "username_policy_regex" } }, [
_vm._v( _vm._v(_vm._s(_vm.t("registration", "Login name policy")))
_vm._s(_vm.t("registration", "Login name policy"))
)
]), ]),
_vm._v(" "), _vm._v(" "),
_c("input", { _c("input", {
@ -40553,9 +40549,7 @@ var render = function() {
}), }),
_vm._v(" "), _vm._v(" "),
_c("label", { attrs: { for: "enforce_phone" } }, [ _c("label", { attrs: { for: "enforce_phone" } }, [
_vm._v( _vm._v(_vm._s(_vm.t("registration", "Enforce phone field")))
_vm._s(_vm.t("registration", "Enforce phone field"))
)
]) ])
]) ])
: _vm._e() : _vm._e()
@ -40630,9 +40624,7 @@ var render = function() {
_vm._v(" "), _vm._v(" "),
_c("h3", [ _c("h3", [
_vm._v( _vm._v(
_vm._s( _vm._s(_vm.t("registration", "Verification email instructions"))
_vm.t("registration", "Verification email instructions")
)
) )
]), ]),
_vm._v(" "), _vm._v(" "),
@ -49814,4 +49806,4 @@ exports.app = app;
}(); }();
/******/ })() /******/ })()
; ;
//# sourceMappingURL=registration-settings.js.map?v=6b5ae578cf2a1603de61 //# sourceMappingURL=registration-settings.js.map?v=db19e8bf0c5ca3148c86

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ OC.L10N.register(
"Invalid username policy regex" : "Ungültiger regulärer Ausdruck für die Benutzernamen-Richtlinie", "Invalid username policy regex" : "Ungültiger regulärer Ausdruck für die Benutzernamen-Richtlinie",
"Saved" : "Gespeichert", "Saved" : "Gespeichert",
"No such group" : "Gruppe nicht vorhanden", "No such group" : "Gruppe nicht vorhanden",
"Register" : "Registrieren", "Register" : "Erstelle Deine Agentur",
"The email address you entered is not valid" : "Die eingegebene E-Mail-Adresse ist ungültig", "The email address you entered is not valid" : "Die eingegebene E-Mail-Adresse ist ungültig",
"Verify your %s registration request" : "Bestätigen Sie Ihre %s Registrierungsanfrage", "Verify your %s registration request" : "Bestätigen Sie Ihre %s Registrierungsanfrage",
"Registration" : "Registrierung", "Registration" : "Registrierung",

View File

@ -7,7 +7,7 @@
"Invalid username policy regex" : "Ungültiger regulärer Ausdruck für die Benutzernamen-Richtlinie", "Invalid username policy regex" : "Ungültiger regulärer Ausdruck für die Benutzernamen-Richtlinie",
"Saved" : "Gespeichert", "Saved" : "Gespeichert",
"No such group" : "Gruppe nicht vorhanden", "No such group" : "Gruppe nicht vorhanden",
"Register" : "Registrieren", "Register" : "Erstelle Deine Agentur",
"The email address you entered is not valid" : "Die eingegebene E-Mail-Adresse ist ungültig", "The email address you entered is not valid" : "Die eingegebene E-Mail-Adresse ist ungültig",
"Verify your %s registration request" : "Bestätigen Sie Ihre %s Registrierungsanfrage", "Verify your %s registration request" : "Bestätigen Sie Ihre %s Registrierungsanfrage",
"Registration" : "Registrierung", "Registration" : "Registrierung",

View File

@ -1,24 +1,3 @@
<!--
- @copyright Copyright (c) 2018 Roeland Jago Douma <roeland@famdouma.nl>
-
- @author Roeland Jago Douma <roeland@famdouma.nl>
-
- @license GNU AGPL version 3 or any later version
-
- 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 <http://www.gnu.org/licenses/>.
-
-->
<template> <template>
<div id="registration_settings_form"> <div id="registration_settings_form">
<SettingsSection <SettingsSection