mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
This commit is contained in:
parent
13307bc7f4
commit
e7b31a716c
19 changed files with 63 additions and 51 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<div class="wa-stack">
|
||||
|
||||
<wa-callout variant="brand" appearance="outlined">
|
||||
<wa-icon slot="icon" name="circle-info"></wa-icon>
|
||||
<livewire:app.icon slot="icon" name="circle-info" />
|
||||
<span>Changes are automatically saved.</span>
|
||||
</wa-callout>
|
||||
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
{{-- Tags --}}
|
||||
<div class="wa-cluster wa-heading-m">
|
||||
<wa-icon fixed-width name="tags"></wa-icon>
|
||||
<livewire:app.icon fixed-width name="tags" />
|
||||
<span>Tags</span>
|
||||
</div>
|
||||
|
||||
|
|
@ -53,11 +53,11 @@
|
|||
|
||||
<div class="wa-split">
|
||||
<wa-button href="{{ url("posts/$post->id") }}" appearance="outlined" variant="neutral" size="small" wire:navigate.hover>
|
||||
<wa-icon slot="prefix" name="arrow-left"></wa-icon>
|
||||
<livewire:app.icon slot="prefix" name="arrow-left" />
|
||||
<span>Exit</span>
|
||||
</wa-button>
|
||||
<wa-button appearance="outlined" variant="danger" size="small" wire:click="$js.openDialog">
|
||||
<wa-icon slot="prefix" name="trash"></wa-icon>
|
||||
<livewire:app.icon slot="prefix" name="trash" />
|
||||
<span>Delete post</span>
|
||||
</wa-button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -26,19 +26,19 @@
|
|||
|
||||
{{-- Post ID --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="hashtag"></wa-icon>
|
||||
<livewire:app.icon name="hashtag" />
|
||||
<span>{{ $post->id }}</span>
|
||||
</div>
|
||||
|
||||
{{-- Post author --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="user"></wa-icon>
|
||||
<livewire:app.icon name="user" />
|
||||
<span>{{ $post->user->name }}</span>
|
||||
</div>
|
||||
|
||||
{{-- Post upload date --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="calendar"></wa-icon>
|
||||
<livewire:app.icon name="calendar" />
|
||||
<wa-format-date
|
||||
month="numeric"
|
||||
day="numeric"
|
||||
|
|
@ -51,13 +51,13 @@
|
|||
|
||||
{{-- Post dimensions --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="image"></wa-icon>
|
||||
<livewire:app.icon name="image" />
|
||||
<span>{{ $post->getDimensionsStr() }}, <wa-format-bytes value="{{ $post->getFileSize() }}"></wa-format-bytes> {{ $post->extension }}</span>
|
||||
</div>
|
||||
|
||||
{{-- Post rating --}}
|
||||
<div class="wa-cluster">
|
||||
<wa-icon fixed-width name="face-hand-peeking"></wa-icon>
|
||||
<livewire:app.icon name="face-hand-peeking" />
|
||||
<span style="color: var(--wa-color-{{ $post->getRatingColor() }}-on-normal);">{{ $post->rating }}</span>
|
||||
</div>
|
||||
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
|
||||
{{-- Tags --}}
|
||||
<div class="wa-cluster wa-heading-m">
|
||||
<wa-icon fixed-width name="tags"></wa-icon>
|
||||
<livewire:app.icon name="tags" />
|
||||
<span>Tags</span>
|
||||
</div>
|
||||
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<form wire:submit="postComment">
|
||||
<wa-input wire:model.live="message" type="text" placeholder="Leave a comment, press enter to post." clearable multiline>
|
||||
<wa-icon name="comment" slot="prefix"></wa-icon>
|
||||
<livewire:app.icon name="comment" slot="prefix" />
|
||||
</wa-input>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue