mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
Move footer to its own submodule.
This commit is contained in:
parent
07183e20f1
commit
20b7e16ed4
6 changed files with 12 additions and 11 deletions
7
app/components/footer/footerController.js
Normal file
7
app/components/footer/footerController.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
angular.module('footer', [])
|
||||
.controller('FooterController', ['$scope', 'Settings', function($scope, Settings) {
|
||||
$scope.template = 'app/components/footer/statusbar.html';
|
||||
|
||||
$scope.uiVersion = Settings.uiVersion;
|
||||
$scope.apiVersion = Settings.version;
|
||||
}]);
|
3
app/components/footer/statusbar.html
Normal file
3
app/components/footer/statusbar.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div class="footer center well">
|
||||
<p><small>Docker API Version: <strong>{{ apiVersion }}</strong> UI Version: <strong>{{ uiVersion }}</strong> <a style="float:right" href="https://github.com/crosbymichael/dockerui">dockerui</a></small></p>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
angular.module('masthead', [])
|
||||
.controller('MastheadController', function($scope) {
|
||||
.controller('MastheadController', ['$scope', function($scope) {
|
||||
$scope.template = 'app/components/masthead/masthead.html';
|
||||
});
|
||||
}]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue