Skip to content

Commit a949e03

Browse files
committed
JBDS-4444 Add background for about page only
1 parent 8ba6b58 commit a949e03

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

browser/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ footer {
202202
margin: 0 auto;
203203
}
204204

205+
.about-background {
206+
background-image: url(images/about-background.svg);
207+
background-size: 100%;
208+
}
209+
205210
#login-section {
206211
float: left;
207212
width: 50%;

browser/images/about-background.svg

Lines changed: 1 addition & 0 deletions
Loading

browser/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<link rel="stylesheet" href="app.css">
88
<script src="./bootstrap.js"></script>
99
</head>
10-
<body class="container-fluid">
11-
<ui-view></ui-view>
10+
<body class="container-fluid" ng-class="{'about-background':background}" ui-view>
1211
</body>
1312
</html>

browser/pages/about/controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class AboutController {
55
constructor($state, $scope, electron) {
66
this.router = $state;
77
this.scope = $scope;
8+
this.scope.background = true;
89
this.electron = electron;
910
$scope.version = electron.remote.app.getVersion();
1011
}

0 commit comments

Comments
 (0)