Jazzed up the home page. Styled links.

This commit is contained in:
michael-bailey 2025-03-17 14:16:27 +00:00
parent 8968142063
commit 6fc888dc51
3 changed files with 9 additions and 6 deletions

View File

@ -25,9 +25,9 @@ else
@foreach(var file in Model.FileHandles)
{
<tr>
<th scope="row">@file.FileName</th>
<th scope="row">@file.BlockCount</th>
<th scope="row"><a asp-controller="Files" asp-action="Index" asp-route-id="@file.Id">View...</a></th>
<th scope="row" class="align-middle">@file.FileName</th>
<th scope="row" class="align-middle">@file.BlockCount</th>
<th scope="row" class="align-middle"><a asp-controller="Files" asp-action="Index" asp-route-id="@file.Id" class="btn btn-primary">View...</a></th>
</tr>
}
</tbody>

View File

@ -4,5 +4,8 @@
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
<p>This is a simple file storage service.</p>
<p>This was created as a alternative to other services, that overload your web browser with advertising.</p>
<p>Whilst this is work in progress. I hope you can find some use in its existence.</p>
<a asp-controller="Files" asp-action="Index" class="btn btn-primary">Click here to view all files.</a>
</div>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>@ViewData["Title"] - FileStorageService.www</title>
<title>@ViewData["Title"] - BIT File Storage</title>
<script type="importmap"></script>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true"/>
@ -13,7 +13,7 @@
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
<div class="container-fluid">
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">FileStorageService.www</a>
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">BIT File Storage</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>