mirror of https://github.com/sualko/cloud_bbb
Compare commits
3 Commits
44b9fa2e85
...
f01ca9ff19
Author | SHA1 | Date |
---|---|---|
Jonas | f01ca9ff19 | |
Nextcloud bot | b60d1e77a6 | |
brtbr | 2c30b2fd85 |
|
@ -1,6 +1,10 @@
|
|||
OC.L10N.register(
|
||||
"bbb",
|
||||
{
|
||||
"You shared the room %s with {shareWith}." : "Du delade rummet %s med {shareWith}.",
|
||||
"{user} shared the room %s with you." : "{user} delade rummet %s med dig.",
|
||||
"You unshared the room %s with {shareWith}." : "Du slutade dela rummet %s med {shareWith}.",
|
||||
"{user} unshared the room %s with you." : "{user} slutade dela rummet %s med dig.",
|
||||
"Public" : "Offentlig",
|
||||
"Internal" : "Intern",
|
||||
"Back to %s" : "Tillbaka till %s",
|
||||
|
@ -35,6 +39,7 @@ OC.L10N.register(
|
|||
"Server error" : "Serverfel",
|
||||
"Start" : "Start",
|
||||
"Loading" : "Läser in",
|
||||
"You are not allowed to change this option, because this room is shared with you." : "Du får inte ändra det här alternativet eftersom detta rum delas med dig.",
|
||||
"Settings saved" : "Inställningar sparade",
|
||||
"Unexpected error occurred" : "Ett oväntat fel inträffade",
|
||||
"Send to" : "Skicka till",
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{ "translations": {
|
||||
"You shared the room %s with {shareWith}." : "Du delade rummet %s med {shareWith}.",
|
||||
"{user} shared the room %s with you." : "{user} delade rummet %s med dig.",
|
||||
"You unshared the room %s with {shareWith}." : "Du slutade dela rummet %s med {shareWith}.",
|
||||
"{user} unshared the room %s with you." : "{user} slutade dela rummet %s med dig.",
|
||||
"Public" : "Offentlig",
|
||||
"Internal" : "Intern",
|
||||
"Back to %s" : "Tillbaka till %s",
|
||||
|
@ -33,6 +37,7 @@
|
|||
"Server error" : "Serverfel",
|
||||
"Start" : "Start",
|
||||
"Loading" : "Läser in",
|
||||
"You are not allowed to change this option, because this room is shared with you." : "Du får inte ändra det här alternativet eftersom detta rum delas med dig.",
|
||||
"Settings saved" : "Inställningar sparade",
|
||||
"Unexpected error occurred" : "Ett oväntat fel inträffade",
|
||||
"Send to" : "Skicka till",
|
||||
|
|
|
@ -23,9 +23,11 @@
|
|||
required minlength="3" autofocus />
|
||||
<?php if (isset($_['passwordRequired']) && $_['passwordRequired']): ?>
|
||||
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
|
||||
<input type="text" name="password" id="password" class="bbb-input"
|
||||
<input type="password" name="password" id="password" class="bbb-input"
|
||||
placeholder="<?php p($l->t('Password')); ?>" value=""
|
||||
required minlength="8" />
|
||||
<input type="checkbox" name="password-visibility-toggle" id="password-visibility" class="checkbox" value=""/>
|
||||
<label for="password-visibility"><?php p($l->t('Show Password')); ?></label>
|
||||
<button class="primary"><?php p($l->t('Join')); ?>
|
||||
<div class="submit-icon icon-confirm-white"></div></button>
|
||||
<?php else: ?>
|
||||
|
|
19
ts/join.ts
19
ts/join.ts
|
@ -1 +1,20 @@
|
|||
import './join.scss';
|
||||
|
||||
|
||||
$(() => {
|
||||
$<HTMLInputElement>('#password-visibility').on('change', function (ev) {
|
||||
ev.preventDefault();
|
||||
|
||||
console.log(`checkbox ${ev.target.name} changed to ${ev.target.checked}`);
|
||||
|
||||
const passwordField = document.querySelector("#password") as HTMLInputElement | null;
|
||||
|
||||
if (passwordField != null) {
|
||||
if (passwordField.type === "password") {
|
||||
passwordField.type = "text";
|
||||
} else {
|
||||
passwordField.type = "password";
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue