Update labs settings, allow dark mode and MomentUI

This commit is contained in:
Daniel Supernault 2019-04-28 22:37:48 -06:00
parent 63dc9a3c2b
commit 0f4443656e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -31,7 +31,6 @@
</label> </label>
<p class="text-muted small help-text">MomentUI offers an alternative layout for posts and your profile.</p> <p class="text-muted small help-text">MomentUI offers an alternative layout for posts and your profile.</p>
</div> </div>
@if($profile->profile_layout != 'moment')
<div class="form-check pb-3"> <div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="dark_mode" id="dark_mode" {{request()->hasCookie('dark-mode') ? 'checked':''}}> <input class="form-check-input" type="checkbox" name="dark_mode" id="dark_mode" {{request()->hasCookie('dark-mode') ? 'checked':''}}>
<label class="form-check-label font-weight-bold" for="dark_mode"> <label class="form-check-label font-weight-bold" for="dark_mode">
@ -39,7 +38,6 @@
</label> </label>
<p class="text-muted small help-text">Use dark mode theme.</p> <p class="text-muted small help-text">Use dark mode theme.</p>
</div> </div>
@endif
<div class="py-3"> <div class="py-3">
<p class="font-weight-bold text-muted text-center">Discovery</p> <p class="font-weight-bold text-muted text-center">Discovery</p>
<hr> <hr>