From 4e2802b696b4c0edcde0f889c289fc8770fdb73c Mon Sep 17 00:00:00 2001 From: Michael Heppler Date: Wed, 25 Mar 2020 17:04:05 -0400 Subject: [PATCH] Intial commit for responsive btns on file pg [ref #6684] --- src/main/webapp/dataset-citation.xhtml | 2 +- src/main/webapp/dataset.xhtml | 11 +- src/main/webapp/file.xhtml | 439 +++++++++++--------- src/main/webapp/resources/css/structure.css | 8 +- 4 files changed, 255 insertions(+), 205 deletions(-) diff --git a/src/main/webapp/dataset-citation.xhtml b/src/main/webapp/dataset-citation.xhtml index fcbbc89c9bf..caad8698c4a 100644 --- a/src/main/webapp/dataset-citation.xhtml +++ b/src/main/webapp/dataset-citation.xhtml @@ -32,7 +32,7 @@
-
+
diff --git a/src/main/webapp/dataset.xhtml b/src/main/webapp/dataset.xhtml index 2e14cb273bb..92d65cdd4b7 100644 --- a/src/main/webapp/dataset.xhtml +++ b/src/main/webapp/dataset.xhtml @@ -107,7 +107,6 @@
-
@@ -412,7 +411,7 @@
- @@ -420,7 +419,7 @@ #{bundle['contact.contact']} OWNER - #{bundle['share']} @@ -433,9 +432,11 @@
-
+
-
+
#{bundle['metrics.dataset.title']} diff --git a/src/main/webapp/file.xhtml b/src/main/webapp/file.xhtml index 03188e86ca1..7b641241e7f 100644 --- a/src/main/webapp/file.xhtml +++ b/src/main/webapp/file.xhtml @@ -35,158 +35,30 @@
-
-
- -
- -
- - - - - - #{bundle['contact.contact']} - - - #{bundle['share']} - -
- - -
- - - - - - - - - - - -
- - #{bundle['dataset.editBtn']} - -
-
- - -
- -
- - -
- - - - - - - - - - - - -
- -
- -
-
+ + +
-
-
-
- - - - - - - +
+
+
+ #{FilePage.fileMetadata.label} + +

+ + + +

+
- - - - + + + + + + + + @@ -195,18 +67,19 @@
+ +
- -
-
+ +
+ +
-
- -
-
-
+ +
+
-
+
@@ -215,10 +88,10 @@
-
-
-
+ +
 
+ +
- + + -
-

- - - -

- -
-
-
+ +
+
-
+
@@ -269,10 +141,10 @@
-
-
-
+ +
 
+ +
+ +
+ +
+ + +
+ +
+ + +
+
+ + +
+
+ + +
+ + + + + + + + + + + +
+ + #{bundle['dataset.editBtn']} + +
+
+ + +
+ +
+ + + +
+ + + + + + + + + + + + +
+ + + +
+ + + + + + #{bundle['contact.contact']} OWNER + + + #{bundle['share']} + +
+ +
+
- - -
-
-
+ +
+ +
+
#{bundle['metrics.file.title']}
-
+
@@ -335,13 +376,18 @@
+
- -
- -
-
-
+ + + + +
+ + +
+
#{bundle['dataset.deaccession.reason']}

#{FilePage.fileMetadata.datasetVersion.versionNote}

@@ -349,8 +395,13 @@
+ + + +
- + +
diff --git a/src/main/webapp/resources/css/structure.css b/src/main/webapp/resources/css/structure.css index 4b973e3930a..2d32ecaa2dc 100644 --- a/src/main/webapp/resources/css/structure.css +++ b/src/main/webapp/resources/css/structure.css @@ -846,7 +846,6 @@ div[id$="filesTable"].ui-datatable thead th.col-file-action, div[id$="filesTable thead.ui-datatable-scrollable-theadclone {display:none} /* FILE */ -#fileImageTitle {margin-bottom: 12px;} #file-preview-icon-block > #border-block {/*border:1px solid #DDD;border-radius:4px; padding: 10px;*/} #file-preview-icon-block > #border-block > #preview-square {/*position: relative; overflow:hidden; padding-bottom:100%;*/} #file-preview-icon-block > #border-block > #preview-square > span.text-muted {font-size:6.5em; line-height:1 !important; /*text-align: center; position: absolute; width: 100%; height: 100%; margin:0;*/} @@ -866,11 +865,10 @@ thead.ui-datatable-scrollable-theadclone {display:none} font-size: 17.5em; } } -#fileImageTitle span.glyphicon-lock, #fileImageTitle span.icon-unlock {font-size:1.5em;} -#fileImageTitle #file-title-block span.file-title-label {font-size:1.5em;font-weight:bold;margin-right:.5em;} -#fileImageTitle #file-title-block span.label {margin-right:.5em;vertical-align: text-top;} + +#file-title-block span.file-title-label {font-size:1.5em;font-weight:bold;margin-right:.5em;} +#file-title-block span.label {margin-right:.5em;vertical-align: text-top;} #fileCategoriesBlock span.label {margin-right: 0.5em;} -#fileImageTitle #deaccession-reason-block.col-xs-12 {padding-left:15px;padding-right:15px;} /* BLOCK UI */ .ui-blockui.ui-widget-overlay {background:#fff; opacity:.6;}