Moved db to Data folder
Added Favicon
This commit is contained in:
parent
0703de3d74
commit
b0dd765110
@ -13,7 +13,7 @@ namespace UWLecturePlan.Controllers
|
||||
|
||||
public IActionResult Index(LecturesViewModel model)
|
||||
{
|
||||
LectureContext db = new(@"lecture.db");
|
||||
LectureContext db = new(@"Data/lecture.db");
|
||||
|
||||
model.Semester ??= GetSemester(DateTime.Now);
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||
USER app
|
||||
USER root
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
EXPOSE 8081
|
||||
|
||||
@ -17,4 +17,10 @@
|
||||
<ProjectReference Include="..\UWLib\UWLib.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Data\lecture.db">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - UWLecturePlan</title>
|
||||
<title>@ViewData["Title"] - UniForAll</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/UWLecturePlan.styles.css" asp-append-version="true" />
|
||||
@ -16,13 +16,14 @@
|
||||
@RenderBody()
|
||||
</main>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
<footer class="p-3">
|
||||
<p class="container-fluid text-center">
|
||||
© 2024 Uni for All
|
||||
<address>
|
||||
<a href="mailto:uniforall@nihil.foo">uniforall@nihil.foo</a>
|
||||
</address>
|
||||
<footer class="p-3 text-center">
|
||||
<p class="container-fluid">
|
||||
© 2024 UniForAll
|
||||
</p>
|
||||
<address class="d-inline">
|
||||
<a href="mailto:uniforall@nihil.foo">uniforall@nihil.foo</a>
|
||||
</address>
|
||||
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Condensed&display=swap');
|
||||
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
@ -16,3 +18,8 @@ html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
:root {
|
||||
--bs-primary: #0d6efd;
|
||||
--bs-primary: #ff0000;
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 15 KiB |
@ -5,9 +5,9 @@ VisualStudioVersion = 17.10.35027.167
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UWScraper", "UWScraper\UWScraper.csproj", "{AEBB2AEC-4BC8-427E-BFCB-C27607B3342F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UWLecturePlan", "UWLecturePlan\UWLecturePlan.csproj", "{3E0B740E-C2B9-40E5-A56F-241552C771EB}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UWLecturePlan", "UWLecturePlan\UWLecturePlan.csproj", "{3E0B740E-C2B9-40E5-A56F-241552C771EB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UWLib", "UWLib\UWLib.csproj", "{2D556C07-8FE5-47B1-AE98-671069D3ABFC}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UWLib", "UWLib\UWLib.csproj", "{2D556C07-8FE5-47B1-AE98-671069D3ABFC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user