1
0
Fork 0

Show current version in web UI

This commit is contained in:
Victor Felder 2016-10-02 20:07:25 +02:00
parent 408ef0f5b7
commit 4a43273ee5
6 changed files with 56 additions and 1 deletions

View file

@ -0,0 +1,14 @@
'use strict';
var angular = require('angular');
var traefikCoreVersion = 'traefik.core.version';
module.exports = traefikCoreVersion;
angular
.module(traefikCoreVersion, ['ngResource'])
.factory('Version', Version);
/** @ngInject */
function Version($resource) {
return $resource('../api/version');
}