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

Commit b692027

Browse files
committed
webui: Remove angular-bootstrap module from pages in which it is unused
1 parent 0717779 commit b692027

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

webui/templates/contributors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
[[ template "script_db_header" . ]]
3939
[[ template "footer" . ]]
4040
<script>
41-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
41+
let app = angular.module('DBHub', ['ngSanitize']);
4242
app.controller('contributorsView', function($scope) {
4343
$scope.Contributors = [[ .Contributors ]];
4444

webui/templates/creatediscuss.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h2 style="text-align: center;">Create a new discussion</h2>
4444
[[ template "script_db_header" . ]]
4545
[[ template "footer" . ]]
4646
<script>
47-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
47+
let app = angular.module('DBHub', ['ngSanitize']);
4848
app.controller('createDiscussionView', function($scope, $http, $httpParamSerializerJQLike) {
4949
// Handler for the cancel button. Just bounces back to the commits page
5050
$scope.cancelCreate = function() {

webui/templates/diffs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h4>No changes</h4>
6868
[[ template "script_db_header" . ]]
6969
[[ template "footer" . ]]
7070
<script>
71-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
71+
let app = angular.module('DBHub', ['ngSanitize']);
7272
app.controller('diffView', function($scope, $http) {
7373
$scope.Diffs = [[ .Diffs.Diff ]];
7474
$scope.ColumnNamesBefore = [[ .ColumnNamesBefore ]];

webui/templates/forks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h2 style="text-align: center;">
3434
[[ template "script_db_header" . ]]
3535
[[ template "footer" . ]]
3636
<script>
37-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
37+
let app = angular.module('DBHub', ['ngSanitize']);
3838
app.controller('forksView', function($scope) {
3939
$scope.forks = { Forks: [[ .Forks ]] }
4040

webui/templates/preferences.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h4 style="color: {{ statusMessageColour }};">&nbsp;{{ statusMessage }}</h4>
8888
</div>
8989
[[ template "footer" . ]]
9090
<script>
91-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
91+
let app = angular.module('DBHub', ['ngSanitize']);
9292
app.controller('prefView', function($scope, $http, $httpParamSerializerJQLike) {
9393
// API Keys
9494
$scope.apiKeys = [[ .APIKeys ]];

webui/templates/selectusername.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h2 style="text-align: center;">Select your preferred username</h2>
3838
</div>
3939
[[ template "footer" . ]]
4040
<script>
41-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
41+
let app = angular.module('DBHub', ['ngSanitize']);
4242
app.controller('selectusernameView', function($scope, $http) {
4343
$scope.checkMsg = "";
4444

webui/templates/stars.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3 ng-if="stars.Stars === null" style="text-align: center;">No-one has starred
2828
[[ template "script_db_header" . ]]
2929
[[ template "footer" . ]]
3030
<script>
31-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
31+
let app = angular.module('DBHub', ['ngSanitize']);
3232
app.controller('starsView', function($scope) {
3333
$scope.stars = { Stars: [[ .Stars ]] }
3434

webui/templates/updates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h4>No new status updates</h4>
4141
</div>
4242
[[ template "footer" . ]]
4343
<script>
44-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
44+
let app = angular.module('DBHub', ['ngSanitize']);
4545
app.controller('updatesView', function($scope) {
4646
$scope.updates = [[ .Updates ]];
4747
});

webui/templates/watchers.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3 ng-if="watchers.Watchers === null" style="text-align: center;">No-one is wat
2828
[[ template "script_db_header" . ]]
2929
[[ template "footer" . ]]
3030
<script>
31-
let app = angular.module('DBHub', ['ui.bootstrap', 'ngSanitize']);
31+
let app = angular.module('DBHub', ['ngSanitize']);
3232
app.controller('watchersView', function($scope) {
3333
$scope.watchers = { Watchers: [[ .Watchers ]] }
3434

0 commit comments

Comments
 (0)