diff options
author | Christian Klinger | 2016-08-22 13:56:52 +0200 |
---|---|---|
committer | Christian Klinger | 2016-08-22 13:56:52 +0200 |
commit | 2188b4df8ef30de2917f16d11b37ca635b179e9b (patch) | |
tree | 5a597878efcbe202895dea3ea009ccfedb285c8d /modules-available | |
parent | Merge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into mo... (diff) | |
download | slx-admin-2188b4df8ef30de2917f16d11b37ca635b179e9b.tar.gz slx-admin-2188b4df8ef30de2917f16d11b37ca635b179e9b.tar.xz slx-admin-2188b4df8ef30de2917f16d11b37ca635b179e9b.zip |
just use fullscreen to mitigate the positioning bugs.
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/locations/templates/location-subnets.html | 6 | ||||
-rw-r--r-- | modules-available/roomplanner/js/init.js | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/modules-available/locations/templates/location-subnets.html b/modules-available/locations/templates/location-subnets.html index 70b21113..bc507107 100644 --- a/modules-available/locations/templates/location-subnets.html +++ b/modules-available/locations/templates/location-subnets.html @@ -61,7 +61,11 @@ <br> <div class="btn-group"> {{#isLeaf}} - <a class="btn btn-default" href="?do=roomplanner&locationid={{locationid}}"><span class="glyphicon glyphicon-move"></span>{{lang_editRoomplan}}</a> + <a class="btn btn-default" href="?do=roomplanner&locationid={{locationid}}" + target="_blank" + > + <span class="glyphicon glyphicon-move"></span>{{lang_editRoomplan}} + </a> {{/isLeaf}} </div> diff --git a/modules-available/roomplanner/js/init.js b/modules-available/roomplanner/js/init.js index 825a5245..87f6c831 100644 --- a/modules-available/roomplanner/js/init.js +++ b/modules-available/roomplanner/js/init.js @@ -3,6 +3,12 @@ function initRoomplanner() { console.log('initRoomplanner'); + + /* make it fullscreen, otherwise there are too many positioning bugs */ + $('.sidebar-bg, .navbar').hide(); + $('#mainpage').css('position', 'static').css('width', '100%').css('left', '0px'); + + $('#drawarea').css('top',(-roomplanner.settings.scale*10)+'px'); $('#drawarea').css('left',(-roomplanner.settings.scale*10)+'px'); |