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

Commit e361dcc

Browse files
committed
webui: Fix tests
1 parent b33e05a commit e361dcc

15 files changed

+15
-15
lines changed

webui/templates/branches.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
8989
</div>
9090
</div>
9191
</div>
92+
[[ template "script_db_header" . ]]
9293
[[ template "footer" . ]]
9394
<script>
9495
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -247,7 +248,6 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
247248
};
248249
});
249250
</script>
250-
[[ template "script_db_header" . ]]
251251
</body>
252252
</html>
253253
[[ end ]]

webui/templates/commits.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ <h4 style="color: red;">&nbsp;{{ statusMessage }}</h4>
9191
</div>
9292
</div>
9393
</div>
94+
[[ template "script_db_header" . ]]
9495
[[ template "footer" . ]]
9596
<script>
9697
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -163,7 +164,6 @@ <h4 style="color: red;">&nbsp;{{ statusMessage }}</h4>
163164
};
164165
});
165166
</script>
166-
[[ template "script_db_header" . ]]
167167
</body>
168168
</html>
169169
[[ end ]]

webui/templates/compare.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ <h4 style="margin: 0;">Changes between the source and destination</h4>
175175
</div>
176176
<!-- TODO: Some kind of preview would probably be useful -->
177177
</div>
178+
[[ template "script_db_header" . ]]
178179
[[ template "footer" . ]]
179180
<script>
180181
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -402,7 +403,6 @@ <h4 style="margin: 0;">Changes between the source and destination</h4>
402403
};
403404
});
404405
</script>
405-
[[ template "script_db_header" . ]]
406406
</body>
407407
</html>
408408
[[ end ]]

webui/templates/contributors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
</div>
3434
</div>
3535
</div>
36+
[[ template "script_db_header" . ]]
3637
[[ template "footer" . ]]
3738
<script>
3839
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -45,7 +46,6 @@
4546
};
4647
});
4748
</script>
48-
[[ template "script_db_header" . ]]
4949
</body>
5050
</html>
5151
[[ end ]]

webui/templates/creatediscuss.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ <h2 style="text-align: center;">Create a new discussion</h2>
5353
</div>
5454
</div>
5555
</div>
56+
[[ template "script_db_header" . ]]
5657
[[ template "footer" . ]]
5758
<script>
5859
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -86,7 +87,6 @@ <h2 style="text-align: center;">Create a new discussion</h2>
8687
};
8788
});
8889
</script>
89-
[[ template "script_db_header" . ]]
9090
</body>
9191
</html>
9292
[[ end ]]

webui/templates/database.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
&nbsp;
188188
</div>
189189
</div>
190+
[[ template "script_db_header" . ]]
190191
[[ template "footer" . ]]
191192
<script>
192193
function copyToClipboard(element_id) {
@@ -480,7 +481,6 @@
480481
};
481482
});
482483
</script>
483-
[[ template "script_db_header" . ]]
484484
</body>
485485
</html>
486486
[[ end ]]

webui/templates/diffs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ <h4>No changes</h4>
7272
</div>
7373
</div>
7474
</div>
75+
[[ template "script_db_header" . ]]
7576
[[ template "footer" . ]]
7677
<script>
7778
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -103,7 +104,6 @@ <h4>No changes</h4>
103104
};
104105
});
105106
</script>
106-
[[ template "script_db_header" . ]]
107107
</body>
108108
</html>
109109
[[ end ]]

webui/templates/discussioncomments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
162162
</div>
163163
</div>
164164
</div>
165+
[[ template "script_db_header" . ]]
165166
[[ template "footer" . ]]
166167
<script>
167168
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -470,7 +471,6 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
470471
};
471472
});
472473
</script>
473-
[[ template "script_db_header" . ]]
474474
</body>
475475
</html>
476476
[[ end ]]

webui/templates/discussionlist.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
5353
</div>
5454
</div>
5555
</div>
56+
[[ template "script_db_header" . ]]
5657
[[ template "footer" . ]]
5758
<script>
5859
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -118,7 +119,6 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
118119
};
119120
});
120121
</script>
121-
[[ template "script_db_header" . ]]
122122
</body>
123123
</html>
124124
[[ end ]]

webui/templates/mergerequestcomments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ <h4 style="margin: 0;">Commit List</h4>
232232
</div>
233233
</div>
234234
</div>
235+
[[ template "script_db_header" . ]]
235236
[[ template "footer" . ]]
236237
<script>
237238
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
@@ -598,7 +599,6 @@ <h4 style="margin: 0;">Commit List</h4>
598599
};
599600
});
600601
</script>
601-
[[ template "script_db_header" . ]]
602602
</body>
603603
</html>
604604
[[ end ]]

0 commit comments

Comments
 (0)