From 9410b0c83b68c712f2d3e13d01c3528ee8d4dbec Mon Sep 17 00:00:00 2001 From: Roger Versluis Date: Sat, 2 Sep 2023 16:21:00 -0600 Subject: [PATCH] Add extra Add Torrent button on the "Add new torrent" page. --- .../add-new-torrent.component.html | 12 ++++++--- .../add-new-torrent.component.scss | 25 +++++++++++++++++++ client/src/index.html | 8 +++--- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/client/src/app/add-new-torrent/add-new-torrent.component.html b/client/src/app/add-new-torrent/add-new-torrent.component.html index 6ec5165..f7fbc4b 100644 --- a/client/src/app/add-new-torrent/add-new-torrent.component.html +++ b/client/src/app/add-new-torrent/add-new-torrent.component.html @@ -18,8 +18,6 @@ -
-
@@ -33,8 +31,16 @@ >
+ +
+
+ +
+
-
+
Advanced settings
diff --git a/client/src/app/add-new-torrent/add-new-torrent.component.scss b/client/src/app/add-new-torrent/add-new-torrent.component.scss index 64f7f7d..f6e7423 100644 --- a/client/src/app/add-new-torrent/add-new-torrent.component.scss +++ b/client/src/app/add-new-torrent/add-new-torrent.component.scss @@ -17,3 +17,28 @@ .is-block { display: block; } + +.separator { + display: flex; + align-items: center; + text-align: center; + color: darkgray; + font-size: 10px; + margin-top: 12px; + margin-bottom: 12px; +} + +.separator::before, +.separator::after { + content: ''; + flex: 1; + border-bottom: 1px solid darkgray; +} + +.separator:not(:empty)::before { + margin-right: .25em; +} + +.separator:not(:empty)::after { + margin-left: .25em; +} \ No newline at end of file diff --git a/client/src/index.html b/client/src/index.html index be11a8e..ac0be02 100644 --- a/client/src/index.html +++ b/client/src/index.html @@ -6,9 +6,11 @@