move web interface around

This commit is contained in:
Adam R Grey 2024-04-05 23:07:48 -04:00
parent 2dd9e903db
commit bed8d3cbef
9 changed files with 1292 additions and 1 deletions

View File

@ -1,6 +1,7 @@
@{
ViewData["Title"] = "Home Page";
}
<div id="tree"></div>
<div>
<a href="Users">Users</a>
</div>
@ -10,3 +11,6 @@
<div>
<a href="Channels">Channels</a>
</div>
<div>
<a href="Behaviors">Behaviors</a>
</div>

View File

@ -16,6 +16,7 @@
</div>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="bootstrap-treeview.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
@await RenderSectionAsync("Scripts", required: false)
</body>

View File

@ -12,5 +12,5 @@
"TwitchConfigs": [
],
"exchangePairsLocation": "assets/exchangepairs.json",
"DBConnectionString": "Host=localhost;Database=db;Username=db;Password=db"
"DBConnectionString": "Host=azure.club;Database=db;Username=user;Password=password"
}

37
wwwroot/css/bootstrap-treeview.css vendored Normal file
View File

@ -0,0 +1,37 @@
/* =========================================================
* bootstrap-treeview.css v1.2.0
* =========================================================
* Copyright 2013 Jonathan Miles
* Project URL : http://www.jondmiles.com/bootstrap-treeview
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================= */
.treeview .list-group-item {
cursor: pointer;
}
.treeview span.indent {
margin-left: 10px;
margin-right: 10px;
}
.treeview span.icon {
width: 12px;
margin-right: 5px;
}
.treeview .node-disabled {
color: silver;
cursor: not-allowed;
}

1249
wwwroot/js/bootstrap-treeview.js vendored Normal file

File diff suppressed because it is too large Load Diff