This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66bfe91
commit 6a46fcd
Showing
16 changed files
with
486 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...ic/build/assets/css/styles-1e0d5e9a4c.css → ...ic/build/assets/css/styles-f9f7cb4a38.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div class="result"> | ||
<h2 class="title"> | ||
@if ($topic->category->id == config('phphub.blog_category_id')) | ||
<a href="{{ route('articles.show', [$topic->id]) }}">{{ $topic->title }}</a> | ||
@else | ||
<a href="{{ route('topics.show', [$topic->id]) }}">{{ $topic->title }}</a> | ||
@endif | ||
</h2> | ||
<div class="info"> | ||
<span class="url"> | ||
@if ($topic->category->id == config('phphub.blog_category_id')) | ||
<a href="{{ route('articles.show', [$topic->id]) }}">{{ route('articles.show', [$topic->id]) }}</a> | ||
@else | ||
<a href="{{ route('topics.show', [$topic->id]) }}">{{ route('topics.show', [$topic->id]) }}</a> | ||
@endif | ||
</span> | ||
<span class="date" title="Last Updated At"> | ||
{{ Carbon\Carbon::parse($topic->created_at)->format('Y-m-d') }} | ||
|
||
⋅ | ||
<i class="fa fa-eye"></i> {{ $topic->view_count }} | ||
⋅ | ||
<i class="fa fa-thumbs-o-up"></i> {{ $topic->vote_count }} | ||
⋅ | ||
<i class="fa fa-comments-o"></i> {{ $topic->reply_count }} | ||
|
||
</span> | ||
|
||
</div> | ||
<div class="desc"> | ||
{{ str_limit($topic->body_original, 250) }} | ||
</div> | ||
<hr> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<div class="result user media"> | ||
<div class="media"> | ||
<div class="avatar media-left"> | ||
<div class="image"><a title="{{ $user->name }}" href="{{ route('users.show', $user->id) }}"> | ||
<img class="media-object img-thumbnail avatar avatar-66" src="{{ $user->present()->gravatar }}" alt="96"></a> | ||
</div> | ||
</div> | ||
<div class="media-body user-info"> | ||
<div class="info"> | ||
<a href="{{ route('users.show', $user->id) }}">{{ $user->name }}</a> | ||
@if ($user->present()->hasBadge()) | ||
<div class="role-label"> | ||
<a class="label label-success role" href="{{ route('roles.show', [$user->present()->badgeID()]) }}">{{{ $user->present()->badgeName() }}}</a> | ||
</div> | ||
@endif | ||
</div> | ||
<div class="info number"> | ||
第 {{ $user->id }} 位会员 | ||
⋅ | ||
<span title="注册日期"> | ||
{{ Carbon\Carbon::parse($user->created_at)->format('Y-m-d') }} | ||
</span> | ||
|
||
⋅ <span>{{ $user->follower_count }}</span> 关注者 | ||
⋅ <span>{{ $user->topic_count }}</span> 篇话题 | ||
⋅ <span>{{ $user->reply_count }}</span> 条回帖 | ||
⋅ <span>{{ $user->article_count }}</span> 篇文章 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<hr> |
Oops, something went wrong.