mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-06 07:03:33 +00:00
Starting modal for module info.
This commit is contained in:
parent
e8d45d80e7
commit
8a8ee5dadc
8 changed files with 146 additions and 4 deletions
|
|
@ -10,13 +10,14 @@
|
|||
'use strict';
|
||||
|
||||
var module = angular.module('xe.ui.code', [
|
||||
'ui.bootstrap',
|
||||
'xe.log',
|
||||
'xe.session'
|
||||
]);
|
||||
|
||||
|
||||
module.controller('CodeTabController', function(
|
||||
$rootScope, $scope, app, log) {
|
||||
$rootScope, $scope, $modal, app, log) {
|
||||
$scope.moduleList = [];
|
||||
$scope.selectedModule = null;
|
||||
$scope.functionList = [];
|
||||
|
|
@ -61,6 +62,22 @@ module.controller('CodeTabController', function(
|
|||
});
|
||||
};
|
||||
|
||||
$scope.showModuleInfo = function(module) {
|
||||
var modalInstance = $modal.open({
|
||||
templateUrl: 'assets/ui/code/module-info.html',
|
||||
controller: 'ModuleInfoController',
|
||||
windowClass: 'debugger-module-info'
|
||||
// resolve: {
|
||||
// items: function () {
|
||||
// return $scope.items;
|
||||
// }
|
||||
// }
|
||||
});
|
||||
modalInstance.result.then(function() {
|
||||
}, function () {
|
||||
});
|
||||
};
|
||||
|
||||
$scope.showLocation = function() {
|
||||
//
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue