From d3635e69cb098d7ae4a49179c522645c570a7f86 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Aug 2023 23:24:34 -0500 Subject: [PATCH] Updated update settings form validation. --- .dockerignore | 1 + .gitignore | 3 + Dockerfile | 6 +- client/angular-proxy.json | 2 +- client/src/app/app.module.ts | 3 +- .../torrent-table.component.html | 227 ++-- .../torrent-table.component.scss | 8 + .../torrent-table/torrent-table.component.ts | 195 +-- docker-compose.yml | 52 +- package-lock.json | 1172 +++++------------ 10 files changed, 606 insertions(+), 1063 deletions(-) diff --git a/.dockerignore b/.dockerignore index 922e159..abfbc1b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -38,3 +38,4 @@ server/RdtClient.Web/wwwroot/ build/ publish/data + diff --git a/.gitignore b/.gitignore index a4c0484..6832b19 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ server/RdtClient.Web/appsettings.Development.json data Dockerfile.dev test.bat + +Dockerfile +docker-compose.yml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d5b9b44..a1db855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,11 @@ WORKDIR /appclient RUN apk add --no-cache git +COPY . /appclient/ + RUN \ - echo "**** Cloning Source Code ****" && \ - git clone https://github.com/rogerfar/rdt-client.git . && \ + # echo "**** Cloning Source Code ****" && \ + # git clone https://github.com/rogerfar/rdt-client.git . && \ cd client && \ echo "**** Building Code ****" && \ npm ci && \ diff --git a/client/angular-proxy.json b/client/angular-proxy.json index c829506..26fbe4a 100644 --- a/client/angular-proxy.json +++ b/client/angular-proxy.json @@ -8,4 +8,4 @@ "secure": false, "ws": true } -} +} \ No newline at end of file diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index c93ed8f..d66a507 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts @@ -3,7 +3,7 @@ import { APP_BASE_HREF } from '@angular/common'; import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { FlexLayoutModule } from '@angular/flex-layout'; -import { FormsModule } from '@angular/forms'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { curray } from 'curray'; import { FileSizePipe, NgxFilesizeModule } from 'ngx-filesize'; @@ -47,6 +47,7 @@ curray(); BrowserModule, AppRoutingModule, FormsModule, + ReactiveFormsModule, HttpClientModule, NgxFilesizeModule, FlexLayoutModule, diff --git a/client/src/app/torrent-table/torrent-table.component.html b/client/src/app/torrent-table/torrent-table.component.html index a31c49f..a492c52 100644 --- a/client/src/app/torrent-table/torrent-table.component.html +++ b/client/src/app/torrent-table/torrent-table.component.html @@ -7,31 +7,24 @@ - - - Name - Category - Priority - Files - Downloads - Size - Status - - - - - - + + + Name + Category + Priority + Files + Downloads + Size + Status + + + + + + - + {{ torrent.rdName }} @@ -59,34 +52,22 @@
-
-
-
@@ -130,12 +111,8 @@