Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 49dda0c

Browse files
committed
webui: Remove AngularJS from the first couple of pages
1 parent ad20115 commit 49dda0c

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

webui/templates/about.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[ define "aboutPage" ]]
22
<!doctype html>
3-
<html ng-app="DBHub" ng-controller="aboutView">
3+
<html>
44
[[ template "head" . ]]
55
<body>
66
[[ template "header" . ]]
@@ -74,11 +74,6 @@ <h2><a id="pricing"></a>How much will it cost?</h2>
7474
</div>
7575
</div>
7676
[[ template "footer" . ]]
77-
<script>
78-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
79-
app.controller('aboutView', function($scope) {
80-
});
81-
</script>
8277
</body>
8378
</html>
8479
[[ end ]]

webui/templates/createbranch.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[ define "createBranchPage" ]]
22
<!doctype html>
3-
<html ng-app="DBHub" ng-controller="createbranchView">
3+
<html>
44
[[ template "head" . ]]
55
<body>
66
[[ template "header" . ]]
@@ -47,11 +47,6 @@ <h2 style="text-align: center;" data-cy="createbranch">Create new branch</h2>
4747
</div>
4848
</div>
4949
[[ template "footer" . ]]
50-
<script>
51-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
52-
app.controller('createbranchView', function($scope, $http, $httpParamSerializerJQLike) {
53-
});
54-
</script>
5550
</body>
5651
</html>
5752
[[ end ]]

webui/templates/error.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[ define "errorPage" ]]
22
<!doctype html>
3-
<html ng-app="DBHub" ng-controller="errorView">
3+
<html>
44
[[ template "head" . ]]
55
<body>
66
[[ template "header" . ]]
@@ -17,11 +17,6 @@ <h2 data-cy="errormsg">[[ .Message ]]</h2>
1717
</div>
1818
</div>
1919
[[ template "footer" . ]]
20-
<script>
21-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
22-
app.controller('errorView', function($scope) {
23-
});
24-
</script>
2520
</body>
2621
</html>
2722
[[ end ]]

0 commit comments

Comments
 (0)