From d7621c2c01074bdcabd6a8c1a8e95c95d00319bf Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 29 Aug 2014 17:41:33 +0200 Subject: add multipaste support Signed-off-by: Florian Pritz --- application/views/file/file_info.php | 2 +- application/views/file/fragments/alert-wide.php | 3 + application/views/file/fragments/thumbnail.php | 9 +++ application/views/file/fragments/uploads_table.php | 26 +++++++ application/views/file/html_footer.php | 4 +- application/views/file/html_header.php | 89 +--------------------- application/views/file/html_paste_footer.php | 2 + application/views/file/html_paste_header.php | 79 +++++++++++++++++++ application/views/file/multipaste_info.php | 26 +++++++ application/views/file/upload_form.php | 1 + application/views/file/upload_history.php | 2 +- .../views/file/upload_history_thumbnails.php | 9 +-- 12 files changed, 154 insertions(+), 98 deletions(-) create mode 100644 application/views/file/fragments/alert-wide.php create mode 100644 application/views/file/fragments/thumbnail.php create mode 100644 application/views/file/fragments/uploads_table.php create mode 100644 application/views/file/html_paste_footer.php create mode 100644 application/views/file/html_paste_header.php create mode 100644 application/views/file/multipaste_info.php (limited to 'application/views/file') diff --git a/application/views/file/file_info.php b/application/views/file/file_info.php index 6c2772a21..0620ac9bd 100644 --- a/application/views/file/file_info.php +++ b/application/views/file/file_info.php @@ -1,4 +1,4 @@ -
+
diff --git a/application/views/file/fragments/alert-wide.php b/application/views/file/fragments/alert-wide.php new file mode 100644 index 000000000..ae303e119 --- /dev/null +++ b/application/views/file/fragments/alert-wide.php @@ -0,0 +1,3 @@ +
+ +
diff --git a/application/views/file/fragments/thumbnail.php b/application/views/file/fragments/thumbnail.php new file mode 100644 index 000000000..6bd82fcb9 --- /dev/null +++ b/application/views/file/fragments/thumbnail.php @@ -0,0 +1,9 @@ + + diff --git a/application/views/file/fragments/uploads_table.php b/application/views/file/fragments/uploads_table.php new file mode 100644 index 000000000..142d19e91 --- /dev/null +++ b/application/views/file/fragments/uploads_table.php @@ -0,0 +1,26 @@ + +
+

Non-previewable file(s):

+
+ + + + + + + + + + + + + + + + + + + + +
IDFilenameMimetypeDateSize
/">">
+
diff --git a/application/views/file/html_footer.php b/application/views/file/html_footer.php index bbec7ebd1..bd07b63f9 100644 --- a/application/views/file/html_footer.php +++ b/application/views/file/html_footer.php @@ -1,6 +1,4 @@ -
-
- +
-
+ - -
- -
- - -
-
- - -
+ diff --git a/application/views/file/html_paste_footer.php b/application/views/file/html_paste_footer.php new file mode 100644 index 000000000..22bc4dabb --- /dev/null +++ b/application/views/file/html_paste_footer.php @@ -0,0 +1,2 @@ +
+ diff --git a/application/views/file/html_paste_header.php b/application/views/file/html_paste_header.php new file mode 100644 index 000000000..f4d3021ec --- /dev/null +++ b/application/views/file/html_paste_header.php @@ -0,0 +1,79 @@ +
+
+ + +
diff --git a/application/views/file/multipaste_info.php b/application/views/file/multipaste_info.php new file mode 100644 index 000000000..5baf732a2 --- /dev/null +++ b/application/views/file/multipaste_info.php @@ -0,0 +1,26 @@ +
+
+ + + + + + + + + + + + + + + + + + + + + +
ID
Number of files
Date of upload
Date of removal
Total size (including duplicates)
+
+
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index 612a1bf82..44828c53a 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -29,6 +29,7 @@

+
diff --git a/application/views/file/upload_history.php b/application/views/file/upload_history.php index 5015e9bf6..10afc53e9 100644 --- a/application/views/file/upload_history.php +++ b/application/views/file/upload_history.php @@ -15,7 +15,7 @@ - $item): ?> + $item): ?> ]" value="" class="delete-history"> /"> diff --git a/application/views/file/upload_history_thumbnails.php b/application/views/file/upload_history_thumbnails.php index bcafc44ca..a061d9676 100644 --- a/application/views/file/upload_history_thumbnails.php +++ b/application/views/file/upload_history_thumbnails.php @@ -6,14 +6,7 @@
- - - +
-- cgit v1.2.3-24-g4f1b