From 4566c9a9f3948873059e94eb88759cb96024287a Mon Sep 17 00:00:00 2001
From: Florent Viard
Date: Tue, 10 Jun 2014 01:59:23 +0200
Subject: [PATCH] Reworked getUris/getTorrents/getMetalinks to be nicer and to
have the advanced options as a collapsable block.
---
css/modals.css | 45 +++++++++-
index.html | 165 ++++++++++++++++++++++++++++---------
js/ctrls/modal.js | 57 ++++++-------
js/services/rpc/helpers.js | 8 +-
4 files changed, 198 insertions(+), 77 deletions(-)
diff --git a/css/modals.css b/css/modals.css
index 05e0549..5c75112 100644
--- a/css/modals.css
+++ b/css/modals.css
@@ -1,13 +1,50 @@
-.modal-adduris textarea {
- width: 100%;
-}
-
.modal-large {
width: 80%; /* respsonsive width */
margin-left:-40%; /* width/2) */
}
+.modal-header {
+ /*padding-bottom: 0px;*/
+ margin-bottom: 0px;
+}
+
.modal-body {
+ padding-top: 5px;
padding-bottom: 0px;
margin-bottom: 5px;
}
+
+.modal-body textarea {
+ width: 100%;
+}
+
+.modal-advanced-title {
+ font-weight: bold;
+ margin-bottom: 0px;
+ background-color: rgb(245, 245, 245);
+ border: 1px solid rgba(0, 0, 0, 0.05);
+ border-bottom: 0px;
+ border-radius: 4px 4px 0px 0px;
+ box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
+ cursor: pointer;
+}
+
+.modal-advanced-options {
+ /*width: 100%;
+ margin-bottom: 10px;*/
+ margin-top:0px;
+ margin-bottom: 2px;
+ background-color: rgb(245, 245, 245);
+ border: 1px solid rgba(0, 0, 0, 0.05);
+ border-top: 0px;
+ border-radius: 0px 0px 4px 4px;
+ box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05);
+}
+
+.modal-form-input-verylarge {
+ width: 95%;
+}
+
+.modal-form-input-number {
+ width: 80px;
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index 6abb26b..45723af 100755
--- a/index.html
+++ b/index.html
@@ -624,6 +624,7 @@
@@ -690,22 +717,54 @@ http://ex1.com/f2.mp4 http://ex2.com/f2.mp4
- You can select multiple torrents to start multiple downloads
- To add a magnet torrent url, use the add url option and add it there.
-
-
-
-
+
+
-
-
-
+
+
+ Download settings
+
+
+
+
+
+ Advanced settings
+
+
+
+
-
-