diff options
-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'); |