Skip to content

Commit

Permalink
better manual verbiage/styling, torrent details w/ responsive table
Browse files Browse the repository at this point in the history
  • Loading branch information
lardbit committed Jan 3, 2024
1 parent 0a84152 commit a248ab2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/frontend/src/app/search/search-manual.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

<ngx-loading [show]="isSearching || isDownloading"></ngx-loading>

<div class="d-flex justify-content-center mt-3">
<div class="alert alert-info">Manually downloaded torrents will be assigned to <span class="text-dark">{{getTmdbTitle()}}</span></div>
</div>

<div class="d-flex justify-content-center my-1">
<form (ngSubmit)="search()">
<div class="d-flex">
<div class="d-flex justify-content-around">
<input class="form-control form-control-sm" [(ngModel)]="searchInput" name="searchInput" required minlength="2" type="text" placeholder="Search..." autocomplete="off">
<button class="btn btn-primary position-relative ms-2" [disabled]="!searchInput" [ngClass]="{'disabled': !searchInput}">
<button class="btn btn-primary btn-sm position-relative ms-2" [disabled]="!searchInput" [ngClass]="{'disabled': !searchInput}">
<span class="oi oi-magnifying-glass"></span> Search
</button>
</div>
</form>
</div>

<div class="d-flex justify-content-center mt-3" *ngIf="mediaType === 'tv'">
<div class="text-primary">Manually downloaded torrents will be assigned to <span class="badge bg-secondary">{{getTmdbTitle()}}</span></div>
</div>

<div class="d-flex justify-content-end">
<form *ngIf="results.length">
<div class="my-2">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="position-relative">
<div class="position-relative table-responsive">
<ngx-loading [show]="isSaving || isFetchingInitialTorrents"></ngx-loading>
<div class="alert alert-info m-3" *ngIf="results.length === 0">No results yet ...</div>
<table class="table table-striped table-responsive table-dark" *ngIf="results.length > 0">
Expand Down

0 comments on commit a248ab2

Please sign in to comment.