mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Tidied up some of the angular code, split the UI into it's own directives for easier maintainability
Also changed the spinner to white for #715
This commit is contained in:
parent
a2639375fb
commit
0185e8238d
13 changed files with 264 additions and 203 deletions
|
@ -0,0 +1,25 @@
|
|||
(function () {
|
||||
|
||||
module.directive('tableComponent',
|
||||
function () {
|
||||
return {
|
||||
templateUrl: createBaseUrl(getBaseUrl(), 'Content/app/userManagement/Directives/table.html')
|
||||
};
|
||||
})
|
||||
.directive('addUser',
|
||||
function () {
|
||||
return {
|
||||
templateUrl: createBaseUrl(getBaseUrl(), 'Content/app/userManagement/Directives/addUser.html')
|
||||
};
|
||||
})
|
||||
.directive('sidebar',
|
||||
function () {
|
||||
return {
|
||||
templateUrl: createBaseUrl(getBaseUrl(), 'Content/app/userManagement/Directives/sidebar.html')
|
||||
};
|
||||
});
|
||||
|
||||
function getBaseUrl() {
|
||||
return $('#baseUrl').text();
|
||||
}
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue