diff --git a/public/app/features/apps/edit_ctrl.ts b/public/app/features/apps/edit_ctrl.ts
index 2cbeb4a2ae1..d793f045690 100644
--- a/public/app/features/apps/edit_ctrl.ts
+++ b/public/app/features/apps/edit_ctrl.ts
@@ -7,10 +7,9 @@ export class AppEditCtrl {
appModel: any;
/** @ngInject */
- constructor(private backendSrv: any, private $routeParams: any) {}
-
- init() {
+ constructor(private backendSrv: any, private $routeParams: any) {
this.appModel = {};
+
this.backendSrv.get(`/api/org/apps/${this.$routeParams.appId}/settings`).then(result => {
this.appModel = result;
});
diff --git a/public/app/features/apps/partials/edit.html b/public/app/features/apps/partials/edit.html
index fc09dc4754c..4de73a25901 100644
--- a/public/app/features/apps/partials/edit.html
+++ b/public/app/features/apps/partials/edit.html
@@ -5,99 +5,99 @@
-
-
+
+
+
+ {{ctrl.appModel.name}}
+
+
+ {{ctrl.appModel.info.description}}
+
+ Version: {{ctrl.appModel.info.version}} Updated: {{ctrl.appModel.info.updated}}
+
+
-
-
- {{ctrl.appModel.name}}
-
-
- {{ctrl.appModel.info.description}}
-
- Version: {{ctrl.appModel.info.version}} Updated: {{ctrl.appModel.info.updated}}
-
-
-
-
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/public/less/apps.less b/public/less/apps.less
index b53b0272290..de8ad65b83c 100644
--- a/public/less/apps.less
+++ b/public/less/apps.less
@@ -1,26 +1,26 @@
-.apps-side-box {
- float: left;
-}
-.apps-side-box-logo {
- padding: 15px;
+.app-edit-logo-box {
+ padding: 1.2rem;
background: @grafanaPanelBackground;
- width: 120px;
text-align: center;
img {
- max-width: 100px;
+ max-width: 7rem;
}
- margin-bottom: 10px;
+ margin-right: 2rem;
}
-.app-side-box-links {
+.app-edit-links {
list-style: none;
- margin: 0;
+ margin: 0 0 0 2rem;
li {
background: @grafanaPanelBackground;
margin-top: 4px;
- padding-left: 10px;
- line-height: 25px;
+ padding: 0.2rem 1rem;
}
}
+
+.app-edit-description {
+ font-style: italic;
+ margin-bottom: 1.5rem;
+}
diff --git a/public/less/simple-box.less b/public/less/simple-box.less
index 65cd63fe0e3..9bf21f960c7 100644
--- a/public/less/simple-box.less
+++ b/public/less/simple-box.less
@@ -44,3 +44,7 @@
.flex-container {
display: flex;
}
+
+.flex-column {
+ flex-direction: row;
+}