Merge pull request 'Small Additions' (#2) from lizbian/bahnplan:design_fixes into master

Reviewed-on: https://git.zotan.services/zotan/bahnplan/pulls/2
This commit is contained in:
Laura Hausmann 2021-06-13 17:29:42 +02:00
commit cce5198e86
No known key found for this signature in database
GPG Key ID: 338D7F50C0B814EE
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;