From aa4b011e25063d13adc4f014157bdcbb4674bc66 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 3 Apr 2022 00:42:57 -0600 Subject: [PATCH] Update labs settings view, add support for metro 2.0 dark mode --- resources/views/settings/labs.blade.php | 266 ++---------------------- 1 file changed, 12 insertions(+), 254 deletions(-) diff --git a/resources/views/settings/labs.blade.php b/resources/views/settings/labs.blade.php index c20987f8b..bec7f7847 100644 --- a/resources/views/settings/labs.blade.php +++ b/resources/views/settings/labs.blade.php @@ -6,14 +6,7 @@

Experimental features


-
- We are deprecating Labs in a future version. Some features will no longer be supported. For more information, click here. -
-
-

UI

-
-
-
+ @csrf
hasCookie('dark-mode') ? 'checked':''}}> @@ -22,265 +15,30 @@

Use dark mode theme.

- @if(!now()->gt(now()->parse('2021-06-14 07:22:46'))) - @if($profile->profile_layout == 'moment') -
- profile_layout == 'moment' ? 'checked':''}} value="{{$profile->profile_layout}}"> - -

MomentUI offers an alternative layout for posts and your profile.

-
-
- -
-
-
-

-

-

-

Default

- header_bg == 'default' || !$profile->header_bg ? 'checked':''}}> -
-
-
-
-

-

-

-

Azure

- header_bg == 'azure' ? 'checked':''}}> -
-
-
-
-

-

-

-

Passion

- header_bg == 'passion' ? 'checked':''}}> -
-
-
-
-

-

-

-

Reef

- header_bg == 'reef' ? 'checked':''}}> -
-
-
-
-

-

-

-

Lush

- header_bg == 'lush' ? 'checked':''}}> -
-
-
-
-

-

-

-

Neon

- header_bg == 'neon' ? 'checked':''}}> -
-
-
-
-

-

-

-

Flare

- header_bg == 'flare' ? 'checked':''}}> -
-
-
-
-

-

-

-

Morning

- header_bg == 'morning' ? 'checked':''}}> -
-
-
-
-

-

-

-

Tranquil

- header_bg == 'tranquil' ? 'checked':''}}> -
-
-
-
-

-

-

-

Mauve

- header_bg == 'mauve' ? 'checked':''}}> -
-
-
-
-

-

-

-

Argon

- header_bg == 'argon' ? 'checked':''}}> -
-
-
-
-

-

-

-

Royal

- header_bg == 'royal' ? 'checked':''}}> -
-
-
-

Set your MomentUI profile background color. Adding a custom header image will be supported in a future version.

-
- @else -
- profile_layout == 'moment' ? 'checked':''}} value="{{$profile->profile_layout}}" disabled> - -

DEPRECATED MomentUI offers an alternative layout for posts and your profile.

-
- @endif - - @if(config('exp.rec') == true) -
- - -

Show Profile Suggestions.

-
- @endif -
- - -

Collapses captions/comments more than 3 lines.

-
-
- - -

REMOVED An experimental content-first timeline layout

-
-
- - -

Show Announcements on Timelines (Desktop Only)

-
-
- - -

Force MetroUI layout for profiles and posts.

-
- @if(config('exp.rec') == true) -
-

Discovery

-
-
-
- is_suggestable ? 'checked' : ''}}> - -

Allow your profile to be listed in Profile Suggestions.

-
- @endif - @endif +

- +
@endsection @push('scripts') - -@if(!now()->gt(now()->parse('2021-06-14 07:22:46'))) -@endif -@endpush \ No newline at end of file +@endpush