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

Commit 2900b0f

Browse files
committed
webui: Fix more tests after 18f97b2
Let me know when you think I really should set up a local test environment.
1 parent adb8f65 commit 2900b0f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

webui/templates/about.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ <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>
7782
</body>
7883
</html>
7984
[[ end ]]

webui/templates/error.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[[ template "head" . ]]
55
<body>
66
[[ template "header" . ]]
7-
<div style="margin-left: 2%; margin-right: 2%; padding-left: 2%; padding-right: 2%;">
7+
<div class="container">
88
<div class="row">
99
<div class="col-md-12">
1010
<h2 data-cy="errormsg">[[ .Message ]]</h2>
@@ -17,6 +17,11 @@ <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>
2025
</body>
2126
</html>
2227
[[ end ]]

0 commit comments

Comments
 (0)