More cleanup
This commit is contained in:
parent
beb20bd038
commit
6c7892559f
@ -136,6 +136,7 @@ import {
|
|||||||
checkLg,
|
checkLg,
|
||||||
chevronDoubleLeft,
|
chevronDoubleLeft,
|
||||||
chevronDoubleRight,
|
chevronDoubleRight,
|
||||||
|
clipboard,
|
||||||
clipboardCheckFill,
|
clipboardCheckFill,
|
||||||
clipboardFill,
|
clipboardFill,
|
||||||
dash,
|
dash,
|
||||||
@ -149,6 +150,7 @@ import {
|
|||||||
fileEarmark,
|
fileEarmark,
|
||||||
fileEarmarkCheck,
|
fileEarmarkCheck,
|
||||||
fileEarmarkFill,
|
fileEarmarkFill,
|
||||||
|
fileEarmarkLock,
|
||||||
files,
|
files,
|
||||||
fileText,
|
fileText,
|
||||||
filter,
|
filter,
|
||||||
@ -218,6 +220,7 @@ const icons = {
|
|||||||
checkLg,
|
checkLg,
|
||||||
chevronDoubleLeft,
|
chevronDoubleLeft,
|
||||||
chevronDoubleRight,
|
chevronDoubleRight,
|
||||||
|
clipboard,
|
||||||
clipboardCheckFill,
|
clipboardCheckFill,
|
||||||
clipboardFill,
|
clipboardFill,
|
||||||
dash,
|
dash,
|
||||||
@ -231,6 +234,7 @@ const icons = {
|
|||||||
fileEarmark,
|
fileEarmark,
|
||||||
fileEarmarkCheck,
|
fileEarmarkCheck,
|
||||||
fileEarmarkFill,
|
fileEarmarkFill,
|
||||||
|
fileEarmarkLock,
|
||||||
files,
|
files,
|
||||||
fileText,
|
fileText,
|
||||||
filter,
|
filter,
|
||||||
|
@ -25,10 +25,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
small > i-bs {
|
|
||||||
margin-top: -2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-group-item-note {
|
.list-group-item-note {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<div class="d-flex align-items-center">
|
<div class="d-flex align-items-center">
|
||||||
<i-bs (click)="unselect(document)" name="x"></i-bs>
|
<i-bs (click)="unselect(document)" name="x"></i-bs>
|
||||||
<a routerLink="/documents/{{document.id}}" class="badge bg-light text-primary" (mousedown)="$event.stopImmediatePropagation();">
|
<a routerLink="/documents/{{document.id}}" class="badge bg-light text-primary" (mousedown)="$event.stopImmediatePropagation();">
|
||||||
<i-bs width="0.9em" height="0.9em" name="file-text"></i-bs><span>{{document.title}}</span>
|
<i-bs width="0.9em" height="0.9em" name="file-text"></i-bs> <span>{{document.title}}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
<div class="form-text d-flex align-items-center">
|
<div class="form-text d-flex align-items-center">
|
||||||
<span class="text-muted">{{filename}}</span>
|
<span class="text-muted">{{filename}}</span>
|
||||||
<button type="button" class="btn btn-link btn-sm text-danger ms-2" (click)="clear()">
|
<button type="button" class="btn btn-link btn-sm text-danger ms-2" (click)="clear()">
|
||||||
<i-bs name="x"></i-bs><small class="ms-1" i18n>Remove</small>
|
<i-bs name="x"></i-bs><small i18n>Remove</small>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<label class="form-check-label" [class.text-muted]="showUnsetNote && isUnset" [for]="inputId" [ngbTooltip]="showUnsetNote && isUnset ? tipContent: null" placement="end">
|
<label class="form-check-label" [class.text-muted]="showUnsetNote && isUnset" [for]="inputId" [ngbTooltip]="showUnsetNote && isUnset ? tipContent: null" placement="end">
|
||||||
{{title}}
|
{{title}}
|
||||||
@if (showUnsetNote && isUnset) {
|
@if (showUnsetNote && isUnset) {
|
||||||
<i-bs width="0.9em" height="0.9em" name="exclamation-triangle"></i-bs>
|
<i-bs width="0.9em" height="0.9em" name="exclamation-triangle"></i-bs>
|
||||||
}
|
}
|
||||||
</label>
|
</label>
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
} @else {
|
} @else {
|
||||||
@if (requiresPassword) {
|
@if (requiresPassword) {
|
||||||
<div class="w-100 h-100 position-relative">
|
<div class="w-100 h-100 position-relative">
|
||||||
<i-bs name="file-earmark-lock"></i-bs>
|
<i-bs width="2em" height="2em" class="position-absolute top-50 start-50 translate-middle" name="file-earmark-lock"></i-bs>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
@if (!requiresPassword) {
|
@if (!requiresPassword) {
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
<div class="spinner-border spinner-border-sm me-2" role="status"></div>
|
<div class="spinner-border spinner-border-sm me-2" role="status"></div>
|
||||||
}
|
}
|
||||||
@if (!loading) {
|
@if (!loading) {
|
||||||
<i-bs width="1.2em" height="1.2em" name="plus"></i-bs>
|
<i-bs name="plus"></i-bs>
|
||||||
}
|
}
|
||||||
<ng-container i18n>Create</ng-container>
|
<ng-container i18n>Create</ng-container>
|
||||||
</button>
|
</button>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<i-bs width="0.9em" height="0.9em" name="exclamation-triangle"></i-bs>
|
<i-bs width="0.9em" height="0.9em" name="exclamation-triangle"></i-bs>
|
||||||
}
|
}
|
||||||
<div>
|
<div>
|
||||||
<p class="mb-0">{{toast.content}}</p>
|
<p class="ms-2 mb-0">{{toast.content}}</p>
|
||||||
@if (toast.error) {
|
@if (toast.error) {
|
||||||
<details>
|
<details>
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
@ -33,12 +33,12 @@
|
|||||||
<div class="col offset-sm-3">
|
<div class="col offset-sm-3">
|
||||||
<button class="btn btn-sm btn-outline-dark" (click)="copyError(toast.error)">
|
<button class="btn btn-sm btn-outline-dark" (click)="copyError(toast.error)">
|
||||||
@if (!copied) {
|
@if (!copied) {
|
||||||
<i-bs name="clipboard"></i-bs>
|
<i-bs name="clipboard"></i-bs>
|
||||||
}
|
}
|
||||||
@if (copied) {
|
@if (copied) {
|
||||||
<i-bs name="clipboard-check"></i-bs>
|
<i-bs name="clipboard-check"></i-bs>
|
||||||
}
|
}
|
||||||
> <ng-container i18n>Copy Raw Error</ng-container>
|
<ng-container i18n>Copy Raw Error</ng-container>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user