pip-webui
Version:
HTML5 UI for LOB applications
42 lines (30 loc) • 1.22 kB
JavaScript
/**
* @file About System page for sample application
* @copyright Digital Living Software Corp. 2014-2016
*/
(function (angular) {
'use strict';
var thisModule = angular.module('pipAboutSystem', ['pipTranslate', 'pipRest']);
thisModule.config(
function ($stateProvider, pipTranslateProvider, pipAuthStateProvider) {
// Configure module routes
pipAuthStateProvider
.state('about_system', {
url: '/about_system?party_id',
controller: 'pipAboutSystemController',
templateUrl: 'about_system.html',
auth: true
});
// Set translation strings for the module
pipTranslateProvider.translations('en', {});
pipTranslateProvider.translations('ru', {});
});
thisModule.controller('pipAboutSystemController',
function ($scope, pipAppBar) {
pipAppBar.showMenuNavIcon();
pipAppBar.showTitleBreadcrumb('ABOUT_SYSTEM', []);
pipAppBar.showLocalActions([], []);
pipAppBar.showShadow();
}
);
})(window.angular);