many, MANY improvements to admin UI
This commit is contained in:
1 parent
eac0938ccf
commit
3b6ac1dcab
14 files changed
+2421
-99
No files matched your search
@@ -16,17 +16,21 @@
|
||||
<div class="article-container">
|
||||
<div>
|
||||
<h1>{{ article.title }}</h1>
|
||||
<div class="content-container">
|
||||
<div
|
||||
#articleContent
|
||||
<div class="content-container" [ngStyle]="{'width': isNarrow ? '100%' : '70%'}">
|
||||
<markdown
|
||||
class="article-content"
|
||||
[innerHTML]="article.content"
|
||||
[data]="renderedContent"
|
||||
(click)="onArticleContentClick($event)"
|
||||
></div>
|
||||
<a href="/blog"><button>{{ 'ARTICLE_BACK' | translate }}</button></a>
|
||||
></markdown>
|
||||
<div class="article-buttons">
|
||||
<button id="shareBtn" (click)="copyLink()" [class.copied]="copied" class="fa-solid fa-share"></button>
|
||||
<div class="back-btn">
|
||||
<a href="/blog"><button id="backBtn">{{ 'ARTICLE_BACK' | translate }}</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="article-meta">
|
||||
<p><strong>Author:</strong> {{ article.authorName}}</p>
|
||||
<p><strong>Views:</strong> {{ article.views }}</p><br><button (click)="copyLink()" [ngStyle]="{'background-color':copied ? '#22b34b' : ''}">{{ copied ? 'Copied' : 'Share' }}</button>
|
||||
<p><strong>Views:</strong> {{ article.views }}</p>
|
||||
<p><strong>{{ 'CREATED_AT' | translate }}</strong> {{ article.createdAt | date:'MMM dd, yyyy, HH:mm' }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user