From ec1e3ff052a230023421685bfdc95688b7964c23 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 18 Dec 2018 19:40:23 +0400 Subject: [PATCH] fix scripts --- src/main/resources/public/css/agency.css | 2 +- src/main/resources/public/js/papers.js | 65 +++++++++++-------- .../resources/templates/grants/grant.html | 1 - .../resources/templates/papers/dashboard.html | 8 --- .../resources/templates/papers/paper.html | 5 +- .../resources/templates/papers/papers.html | 41 ------------ 6 files changed, 40 insertions(+), 82 deletions(-) diff --git a/src/main/resources/public/css/agency.css b/src/main/resources/public/css/agency.css index 35e526b..91f7593 100644 --- a/src/main/resources/public/css/agency.css +++ b/src/main/resources/public/css/agency.css @@ -50,7 +50,7 @@ section { } section h2.section-heading { - font-size: 3vw; + font-size: 3.5vw; margin-top: 0; margin-bottom: 15px; } diff --git a/src/main/resources/public/js/papers.js b/src/main/resources/public/js/papers.js index c8982df..78d3120 100644 --- a/src/main/resources/public/js/papers.js +++ b/src/main/resources/public/js/papers.js @@ -1,33 +1,42 @@ -function deletePaper() { - $("#remove-paper-modal").modal('show'); +/*\n' + + ' \n' + + ' '); + } + $('#dataConfirmModal').find('#myModalLabel').text($(this).attr('data-confirm')); + $('#dataConfirmOK').attr('href', href); + $('#dataConfirmModal').modal({show:true}); + return false; }); -} \ No newline at end of file +}); +/*]]>*/ \ No newline at end of file diff --git a/src/main/resources/templates/grants/grant.html b/src/main/resources/templates/grants/grant.html index a77b856..2f74adb 100644 --- a/src/main/resources/templates/grants/grant.html +++ b/src/main/resources/templates/grants/grant.html @@ -175,7 +175,6 @@ - - - \ No newline at end of file diff --git a/src/main/resources/templates/papers/paper.html b/src/main/resources/templates/papers/paper.html index 0b6957e..811e522 100644 --- a/src/main/resources/templates/papers/paper.html +++ b/src/main/resources/templates/papers/paper.html @@ -57,11 +57,11 @@ -
+
-
+
-