Skip to content

Commit 9683e84

Browse files
committed
Update blade views
1 parent 05b7e13 commit 9683e84

File tree

4 files changed

+33
-24
lines changed

4 files changed

+33
-24
lines changed

resources/views/admin/instances/home.blade.php

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ className: "bg-warning",
118118
value: "unlisted",
119119
},
120120
cw: {
121-
text: autocw == 0 ? "CW Media" : "Remove AutoCW",
122121
text: autocw == 0 ? "CW Media" : "Remove AutoCW",
123122
className: "bg-warning",
124123
value: "autocw",

resources/views/layouts/app.blade.php

+8-10
Original file line numberDiff line numberDiff line change
@@ -56,26 +56,24 @@
5656
@stack('scripts')
5757
<div class="d-block d-sm-none mt-5"></div>
5858
<div class="d-block d-sm-none fixed-bottom">
59-
<div class="card card-body rounded-0 py-2 d-flex align-items-middle box-shadow" style="border-top:1px solid #F1F5F8">
60-
<ul class="nav nav-pills nav-fill">
59+
<div class="card card-body rounded-0 py-2 box-shadow" style="border-top:1px solid #F1F5F8">
60+
<ul class="nav nav-pills nav-fill d-flex align-items-middle">
6161
<li class="nav-item">
62-
<a class="nav-link {{request()->is('/')?'text-dark':'text-lighter'}}" href="/"><i class="fas fa-home fa-lg"></i></a>
62+
<a class="nav-link text-dark" href="/"><i class="fas fa-home fa-lg"></i></a>
6363
</li>
6464
<li class="nav-item">
65-
<a class="nav-link {{request()->is('discover')?'text-dark':'text-lighter'}}" href="/discover"><i class="fas fa-search fa-lg"></i></a>
65+
<a class="nav-link text-dark" href="/discover"><i class="fas fa-search fa-lg"></i></a>
6666
</li>
6767
<li class="nav-item">
68-
<div class="nav-link text-primary cursor-pointer" onclick="App.util.compose.post()">
69-
<span class="border border-primary rounded p-2 bg-primary">
70-
<i class="fas fa-camera fa-lg text-white" style="color:#fff !important;"></i>
71-
</span>
68+
<div class="nav-link cursor-pointer text-dark" onclick="App.util.compose.post()">
69+
<i class="far fa-plus-square fa-2x"></i>
7270
</div>
7371
</li>
7472
<li class="nav-item">
75-
<a class="nav-link {{request()->is('account/activity')?'text-dark':'text-lighter'}}" href="/account/activity"><i class="far fa-heart fa-lg"></i></a>
73+
<a class="nav-link text-dark" href="/account/activity"><i class="far fa-bell fa-lg"></i></a>
7674
</li>
7775
<li class="nav-item">
78-
<a class="nav-link text-lighter" href="/i/me"><i class="far fa-user fa-lg"></i></a>
76+
<a class="nav-link text-dark" href="/i/me"><i class="far fa-user fa-lg"></i></a>
7977
</li>
8078
</ul>
8179
</div>

resources/views/layouts/partial/nav.blade.php

+3-7
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@
3939
</a>
4040
</li>
4141
<li class="nav-item px-md-2 d-none d-md-block">
42-
<a class="nav-link font-weight-bold text-dark" href="/?a=co" title="Compose" data-toggle="tooltip" data-placement="bottom">
42+
<div class="nav-link font-weight-bold text-dark cursor-pointer" title="Compose" data-toggle="tooltip" data-placement="bottom" onclick="App.util.compose.post()">
4343
<i class="far fa-plus-square fa-lg"></i>
4444
<span class="sr-only">Compose</span>
45-
</a>
45+
</div>
4646
</li>
4747
<li class="nav-item px-md-2">
4848
<a class="nav-link font-weight-bold text-dark" href="/account/direct" title="Direct" data-toggle="tooltip" data-placement="bottom">
@@ -52,7 +52,7 @@
5252
</li>
5353
<li class="nav-item px-md-2 d-none d-md-block">
5454
<a class="nav-link font-weight-bold text-dark" href="/account/activity" title="Notifications" data-toggle="tooltip" data-placement="bottom">
55-
<i class="far fa-bell fa-lg"></i>
55+
<i class="far fa-bell fa-lg" style="vertical-align: middle;"></i>
5656
<span class="sr-only">Notifications</span>
5757
</a>
5858
</li>
@@ -64,10 +64,6 @@
6464
</a>
6565

6666
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
67-
<a class="d-block d-md-none dropdown-item font-weight-bold" href="/">
68-
<span class="fas fa-home pr-2 text-lighter"></span>
69-
Home
70-
</a>
7167
<a class="dropdown-item font-weight-bold" href="{{route('discover')}}">
7268
<span class="far fa-compass pr-2 text-lighter"></span>
7369
{{__('navmenu.discover')}}

resources/views/status/compose.blade.php

+22-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@
22

33
@section('content')
44

5-
<div class="alert alert-info text-center rounded-0">
65
<div class="container">
7-
<span class="font-weight-bold">ComposeUI v3 is deprecated</span>
8-
<br>
9-
Please use the <a href="#" onclick="event.preventDefault();window.App.util.compose.post()" class="font-weight-bold">new UI</a> to compose a post.
10-
</div>
6+
<div class="row">
7+
<div class="col-12 col-md-6 offset-md-3 mt-md-3 px-0">
8+
<compose-modal></compose-modal>
9+
</div>
10+
</div>
1111
</div>
12+
@endsection
13+
14+
@push('styles')
15+
<style type="text/css">
16+
.card {
17+
box-shadow: none;
18+
border: 1px solid #ddd;
19+
}
20+
.card .card-header .fas.fa-times {
21+
color: #fff;
22+
}
23+
</style>
24+
@endpush
1225

13-
@endsection
26+
@push('scripts')
27+
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
28+
<script type="text/javascript">window.App.boot()</script>
29+
@endpush

0 commit comments

Comments
 (0)