mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Replace line-icons with font awesome icons
This commit is contained in:
parent
0b85810a33
commit
b6706b626a
3 changed files with 22 additions and 6 deletions
|
@ -8,11 +8,16 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-md-8 d-flex align-items-center">
|
<div class="col-12 col-md-8 d-flex align-items-center">
|
||||||
<div class="profile-details">
|
<div class="profile-details">
|
||||||
<div class="username-bar pb-2 d-flex align-items-center">
|
<div class="username-bar pb-2 d-flex align-items-center">
|
||||||
<span class="font-weight-ultralight h1">{{$user->username}}</span>
|
<span class="font-weight-ultralight h1">{{$user->username}}</span>
|
||||||
|
@if($is_admin == true)
|
||||||
|
<span class="pl-4">
|
||||||
|
<span class="btn btn-outline-danger font-weight-bold py-0">ADMIN</span>
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
@if($owner == true)
|
@if($owner == true)
|
||||||
<span class="h5 pl-2 b-0">
|
<span class="pl-4">
|
||||||
<a class="icon-settings text-muted" href="{{route('settings')}}"></a>
|
<a class="fas fa-cog fa-lg text-muted" href="{{route('settings')}}"></a>
|
||||||
</span>
|
</span>
|
||||||
@elseif ($is_following == true)
|
@elseif ($is_following == true)
|
||||||
<span class="pl-4">
|
<span class="pl-4">
|
||||||
|
|
|
@ -32,10 +32,10 @@
|
||||||
<div class="info-overlay-text">
|
<div class="info-overlay-text">
|
||||||
<h5 class="text-white m-auto font-weight-bold">
|
<h5 class="text-white m-auto font-weight-bold">
|
||||||
<span class="pr-4">
|
<span class="pr-4">
|
||||||
<span class="icon-heart pr-1"></span> {{$status->likes_count}}
|
<span class="far fa-heart fa-lg pr-1"></span> {{$status->likes_count}}
|
||||||
</span>
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<span class="icon-speech pr-1"></span> {{$status->comments_count}}
|
<span class="far fa-comment fa-lg pr-1"></span> {{$status->comments_count}}
|
||||||
</span>
|
</span>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div class="text-right" style="flex-grow:1;">
|
<div class="text-right" style="flex-grow:1;">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button class="btn btn-link text-dark no-caret dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Post options">
|
<button class="btn btn-link text-dark no-caret dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="Post options">
|
||||||
<span class="icon-options"></span>
|
<span class="fas fa-ellipsis-v fa-lg text-muted"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
||||||
<a class="dropdown-item" href="{{$item->url()}}">Go to post</a>
|
<a class="dropdown-item" href="{{$item->url()}}">Go to post</a>
|
||||||
|
@ -28,9 +28,20 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@if($item->is_nsfw)
|
||||||
|
<details>
|
||||||
|
<p>
|
||||||
|
<summary>NSFW / Hidden Image</summary>
|
||||||
|
<a class="max-hide-overflow" href="{{$item->url()}}">
|
||||||
|
<img class="card-img-top" src="{{$item->mediaUrl()}}">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
@else
|
||||||
<a class="max-hide-overflow" href="{{$item->url()}}">
|
<a class="max-hide-overflow" href="{{$item->url()}}">
|
||||||
<img class="card-img-top" src="{{$item->mediaUrl()}}">
|
<img class="card-img-top" src="{{$item->mediaUrl()}}">
|
||||||
</a>
|
</a>
|
||||||
|
@endif
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="reactions h3">
|
<div class="reactions h3">
|
||||||
<form class="like-form pr-3" method="post" action="/i/like" style="display: inline;" data-id="{{$item->id}}" data-action="like" data-count="{{$item->likes_count}}">
|
<form class="like-form pr-3" method="post" action="/i/like" style="display: inline;" data-id="{{$item->id}}" data-action="like" data-count="{{$item->likes_count}}">
|
||||||
|
|
Loading…
Reference in a new issue