Add support for themes (fixes #1925)
This commit is contained in:
16
gui/default/syncthing/core/modalDirective.js
Normal file
16
gui/default/syncthing/core/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