Small Additions #2

Merged
zotan merged 2 commits from :design_fixes into master 2021-06-13 17:29:43 +02:00
3 changed files with 17 additions and 4 deletions

View file

@ -10,8 +10,10 @@
- Most importantly: have fun.
## Development / testing requirements
- .NET Core SDK (version 3.1.3 or higher; arch package `dotnet-sdk`)
- ASP.NET Core Runtime (version 3.1.3 or higher; arch package `aspnet-runtime`)
- .NET Core SDK (version 5.0 or higher; arch package `dotnet-sdk`)
- ASP.NET Core Runtime (version 5,0 or higher; arch package `aspnet-runtime`)
- Redis instance running on localhost
- `cd bahnplan.web`
- `cp database.db.example database.db`
- `dotnet run`

View file

@ -11,7 +11,7 @@
<div class="text-center">
@if (HttpContext.Session.GetString("authorized") != "true") {
<h1 class="display-4">Welcome</h1>
<p>Please log in to see your personal plan.</p>
<p>Please <a href="/Login">log in</a> to see your personal plan.</p>
}
else {
<h1 class="display-4">
@ -87,7 +87,7 @@
</div>
<div class="d-flex p-2" style="width: 40%">
<form style="width: 100%" method="GET" action="/OEAPI">
<h3>Add trip from oeffisear.ch</h3>
<h3>Add trip from <a href="https://oeffisear.ch" target="_blank">oeffisear.ch</a></h3>
<br/>
<div class="form-group">
<input type="text" class="form-control" name="link" placeholder="oeffisear.ch link / shortcode">

View file

@ -12,6 +12,17 @@ a {
color: #0366d6;
}
/* oeffisear.ch link */
h3 a, h3 a:hover {
color: #212529;
}
h3 a {
text-decoration: underline;
text-decoration-style: dotted;
text-decoration-thickness: 1.5pt;
}
.btn-primary {
color: #fff;
background-color: #1b6ec2;