mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update sudo mode view, fix trusted device checkbox
This commit is contained in:
parent
dac0d08319
commit
8ef900bf8e
1 changed files with 4 additions and 4 deletions
|
@ -40,9 +40,9 @@
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group" id="trusted-device-wrapper">
|
||||||
<div class="custom-control custom-checkbox" id="trusted-device">
|
<div class="custom-control custom-checkbox">
|
||||||
<input type="checkbox" class="custom-control-input" name="trustDevice">
|
<input type="checkbox" class="custom-control-input" name="trustDevice" id="trusted-device">
|
||||||
<label class="custom-control-label text-muted" for="trusted-device">Trust this device and don't ask again</label>
|
<label class="custom-control-label text-muted" for="trusted-device">Trust this device and don't ask again</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
email.setAttribute('readonly', 'readonly');
|
email.setAttribute('readonly', 'readonly');
|
||||||
email.style.opacity = '20%';
|
email.style.opacity = '20%';
|
||||||
|
|
||||||
let trustedDevice = document.getElementById('trusted-device');
|
let trustedDevice = document.getElementById('trusted-device-wrapper');
|
||||||
trustedDevice.style.opacity = '20%';
|
trustedDevice.style.opacity = '20%';
|
||||||
|
|
||||||
let btn = document.getElementById('sbtn');
|
let btn = document.getElementById('sbtn');
|
||||||
|
|
Loading…
Reference in a new issue