Commit 293515d1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

margin in admin panel fixed + title of admin panel tabs removed

parent 85aa4c3b
Pipeline #4210 passed with stage
in 1 minute and 6 seconds
......@@ -491,6 +491,11 @@ h1 {
font-weight: 400;
}
.minerva-projects-tab, .minerva-users-tab, .minerva-configuration-tab {
margin-left: 10px;
margin-top: 10px;
}
.minerva-projects-tab .minerva-menu-row button,
.minerva-edit-project-dialog .minerva-menu-row button,
.minerva-users-tab .minerva-menu-row button {
......
......@@ -20,10 +20,10 @@ AbstractAdminPanel.prototype = Object.create(Panel.prototype);
AbstractAdminPanel.prototype.constructor = AbstractAdminPanel;
AbstractAdminPanel.prototype._createHeader = function (name) {
this.getElement().appendChild(Functions.createElement({
type: "h1",
content: name
}));
// this.getElement().appendChild(Functions.createElement({
// type: "h1",
// content: name
// }));
};
AbstractAdminPanel.prototype.init = function () {
......
......@@ -20,6 +20,7 @@ function ConfigurationAdminPanel(params) {
AbstractAdminPanel.call(this, params);
var self = this;
$(self.getElement()).addClass("minerva-configuration-tab");
self._createGui();
}
......
......@@ -40,6 +40,7 @@ function initMap(){
}).then(function(result){
if (result!==undefined) {
customMap = result;
document.title = "Minerva admin panel";
}
}).catch(function(rejectReason){
minerva.GuiConnector.alert(rejectReason);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment