diff --git a/gemeinsamforschen/src/main/webapp/assets/css/annotationStyle.css b/gemeinsamforschen/src/main/webapp/assets/css/annotationStyle.css index dc6ea1210c4797d7f67ea360d1c76d421af7d03b..74ac1c7a1a6fa585af3de0ca37f55496f13f22e9 100644 --- a/gemeinsamforschen/src/main/webapp/assets/css/annotationStyle.css +++ b/gemeinsamforschen/src/main/webapp/assets/css/annotationStyle.css @@ -22,6 +22,7 @@ ol { /* background-color: blue; */ } .leftcolumn { + padding: 10px; float: left; width: 75%; display: inline-block; @@ -31,7 +32,9 @@ ol { margin: 10px; } .leftcontent { - margin: 10px; + max-height: 100%; + display: flex; + flex-flow: column; /* background-color: white; */ } .spacing { @@ -138,4 +141,11 @@ ol { .full-height { height: 100%; } +.leftcontent-buttons-next { + float: right; + margin: 20px; +} +.leftcontent-text { + overflow: scroll; +} diff --git a/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js b/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js index 04c2e913ef7ff6b0a39ab4faa40ed4fed56cebcf..aa2683ebebc92c0f3b633a44f04c3698e1f3d678 100644 --- a/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js +++ b/gemeinsamforschen/src/main/webapp/assets/js/annotationScript.js @@ -51,9 +51,13 @@ $(document).ready(function() { } }); - /* - * PAGE LOADED + /** + * next button */ + $('#btnSave').click(function () { + location.href="#" + }); + documentText = $('#documentText').html(); // fetch annotations from server on page start diff --git a/gemeinsamforschen/src/main/webapp/pages/annotation_document.html b/gemeinsamforschen/src/main/webapp/pages/annotation_document.html index d9c45b67d7b68a04894df6ebcddf44e40ec1f743..1939604ebfd5b6fbfe0e80d88c32849881ebae85 100644 --- a/gemeinsamforschen/src/main/webapp/pages/annotation_document.html +++ b/gemeinsamforschen/src/main/webapp/pages/annotation_document.html @@ -60,9 +60,15 @@ </div> <div class="content-mainpage"> <div class="leftcolumn"> - <div class="leftcontent "> - <div class="text context-menu-one" id="documentText"> + <div class="leftcontent"> + <div class="leftcontent-text context-menu-one" id="documentText"> Style never met and those among great. At no or september sportsmen he perfectly happiness attending. Depending listening delivered off new she procuring satisfied sex existence. Person plenty answer to exeter it if. Law use assistance especially resolution cultivated did out sentiments unsatiable. Way necessary had intention happiness but september delighted his curiosity. Furniture furnished or on strangers neglected remainder engrossed. Shot what able cold new the see hold. Friendly as an betrayed formerly he. Morning because as to society behaved moments. Put ladies design mrs sister was. Play on hill felt john no gate. Am passed figure to marked in. Prosperous middletons is ye inhabiting as assistance me especially. For looking two cousins regular amongst. + Style never met and those among great. At no or september sportsmen he perfectly happiness attending. Depending listening delivered off new she procuring satisfied sex existence. Person plenty answer to exeter it if. Law use assistance especially resolution cultivated did out sentiments unsatiable. Way necessary had intention happiness but september delighted his curiosity. Furniture furnished or on strangers neglected remainder engrossed. Shot what able cold new the see hold. Friendly as an betrayed formerly he. Morning because as to society behaved moments. Put ladies design mrs sister was. Play on hill felt john no gate. Am passed figure to marked in. Prosperous middletons is ye inhabiting as assistance me especially. For looking two cousins regular amongst. + </div> + <div class="leftcontent-buttons"> + <div class="leftcontent-buttons-next"> + <button id="btnSave" type="button" class="btn btn-secondary">Weiter</button> + </div> </div> </div> </div>