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'); +/*" + - "
" + - "
" + - "" + - "" + - "" + - "" + - "
" + - "
" + - "" + paper.title + "" + - "

" + paper.authorsString + "

" + - "
" + - "
" + - ""); - }); + $('a[data-confirm]').click(function(ev) { + var href = $(this).attr('href'); + if (!$('#dataConfirmModal').length) { + $('#modalDelete').append(''); + } + $('#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 @@ -
+
-
+
-