GUI Rework: reorganized folders and split app.js
This commit is contained in:
committed by
Jakob Borg
parent
8588625937
commit
3b88ee623b
16
gui/scripts/syncthing/core/directives/modalDirective.js
Normal file
16
gui/scripts/syncthing/core/directives/modalDirective.js
Normal file
@@ -0,0 +1,16 @@
|
||||
angular.module('syncthing.core')
|
||||
.directive('modal', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'modal.html',
|
||||
replace: true,
|
||||
transclude: true,
|
||||
scope: {
|
||||
title: '@',
|
||||
status: '@',
|
||||
icon: '@',
|
||||
close: '@',
|
||||
large: '@'
|
||||
}
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user