diff --git a/packages/common/utils.js b/packages/common/utils.js index a270ffb67db80e0651a099c7f4c6f52ceda77d61..fb31adb97ed00f544c6d35c6575d9301e1ee4aef 100644 --- a/packages/common/utils.js +++ b/packages/common/utils.js @@ -43,6 +43,9 @@ export const getAPiUrl = (path = "") => { case "production": apiBaseUrl = 'https://api.tugraz.at'; break; + case "bs": + apiBaseUrl = 'http://bs-local.com:8000'; + break; case "local": default: apiBaseUrl = 'http://127.0.0.1:8000'; diff --git a/packages/file-handling/src/dbp-nextcloud-file-picker.js b/packages/file-handling/src/dbp-nextcloud-file-picker.js index 24a7567e004e2f3554f5627173ca46b95dbf1725..0888b9caeaab4dfc3472c1e4b68b357250fd9f05 100644 --- a/packages/file-handling/src/dbp-nextcloud-file-picker.js +++ b/packages/file-handling/src/dbp-nextcloud-file-picker.js @@ -43,7 +43,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { this.uploadFileDirectory = null; this.fileList = []; this.fileNameCounter = 1; - this.activeDirectoryRights = 'SGDNVCK'; + this.activeDirectoryRights = 'RGDNVCK'; this.activeDirectoryACL = ''; this.forAll = false; this.uploadCount = 0; @@ -1343,8 +1343,11 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { .nextcloud-footer{ /*grid-area: header-r;*/ - padding-top: 0px; - grid-area: footer; + position: fixed; + bottom: 0px; + width: 100%; + left: 0px; + padding: 20px; } .info-box{