Bugfixes and whatnot.

This commit is contained in:
Thomas Hounsell 2015-09-12 12:18:19 +01:00
parent a3bf1d2d5e
commit 97c3a4ea86
6 changed files with 14 additions and 11 deletions

View File

@ -134,9 +134,9 @@ public ActionResult thanks_register()
} }
[Route("rss")] [Route("rss")]
public ActionResult rss() public async Task<ActionResult> rss()
{ {
ViewBag.Labs = bModel.SelectBuildLabs(); ViewBag.Labs = await bModel.SelectBuildLabs();
return View(); return View();
} }

View File

@ -22,7 +22,7 @@
<meta name="twitter:description" content="@metaDesc" /> <meta name="twitter:description" content="@metaDesc" />
} }
<h1>@Model.FullBuildString</h1> <h1 dir="ltr">@Model.FullBuildString</h1>
<div class="row"> <div class="row">
<div class="col-sm-6"> <div class="col-sm-6">

View File

@ -1,4 +1,4 @@
@model Tuple<BuildFeed.Models.BuildGroup, IEnumerable<BuildFeed.Models.BuildModel>> @model Tuple<BuildFeed.Models.BuildGroup, List<BuildFeed.Models.BuildModel>>
@using Humanizer; @using Humanizer;
@{ @{
ViewBag.Title = string.Format("{0} | {1}", Model.Item1.ToString(), BuildFeed.Local.Common.SiteName); ViewBag.Title = string.Format("{0} | {1}", Model.Item1.ToString(), BuildFeed.Local.Common.SiteName);

View File

@ -1,12 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html dir="@(System.Globalization.CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft ? "rtl" : "ltr")">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.5/slate/bootstrap.min.css" rel="stylesheet" /> <link href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.5/slate/bootstrap.min.css" rel="stylesheet" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" /> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" />
<link href="//fonts.googleapis.com/css?family=Hind:300,700,400" rel="stylesheet" type="text/css" /> <link href="//fonts.googleapis.com/css?family=Hind:300,700,400&subset=latin,latin-ext" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="~/favicon.ico" /> <link rel="shortcut icon" href="~/favicon.ico" />
<link rel="icon" href="~/favicon.ico" /> <link rel="icon" href="~/favicon.ico" />
<link rel="canonical" href="@Url.Action()" /> <link rel="canonical" href="@Url.Action()" />
@ -91,7 +91,8 @@
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<p> <p>
<a href="@Url.Action("sitemap", new { controller = "support" })">@BuildFeed.Local.Common.Sitemap</a> <a href="@Url.Action("sitemap", new { controller = "support" })">@BuildFeed.Local.Common.Sitemap</a><br />
<i class="fa fa-language"></i>&ensp;@System.Globalization.CultureInfo.CurrentUICulture.NativeName
</p> </p>
</div> </div>
<div class="col-sm-4 text-right"> <div class="col-sm-4 text-right">

View File

@ -12,9 +12,11 @@
<li> <li>
@BuildFeed.Local.Model.FlightLevel @BuildFeed.Local.Model.FlightLevel
<ul> <ul>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "low" })" title="@BuildFeed.Local.Model.FlightLow"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightLow</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "wis" })" title="@BuildFeed.Local.Model.FlightWIS"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightWIS</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "medium" })" title="@BuildFeed.Local.Model.FlightMedium"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightMedium</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "wif" })" title="@BuildFeed.Local.Model.FlightWIF"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightWIF</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "high" })" title="@BuildFeed.Local.Model.FlightHigh"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightHigh</a></li> <li><a href="@Url.Action("flight", new { controller = "rss", id = "osg" })" title="@BuildFeed.Local.Model.FlightOSG"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightOSG</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "msit" })" title="@BuildFeed.Local.Model.FlightMSIT"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightMSIT</a></li>
<li><a href="@Url.Action("flight", new { controller = "rss", id = "canary" })" title="@BuildFeed.Local.Model.FlightCanary"><i class="fa fa-sm fa-rss"></i> @BuildFeed.Local.Model.FlightCanary</a></li>
</ul> </ul>
</li> </li>
<li> <li>

View File

@ -19,7 +19,7 @@
<system.web> <system.web>
<compilation debug="true" targetFramework="4.6" /> <compilation debug="true" targetFramework="4.6" />
<httpRuntime targetFramework="4.5" /> <httpRuntime targetFramework="4.5" />
<globalization culture="nl-nl" uiCulture="nl-nl" enableClientBasedCulture="false" /> <globalization culture="qps-ploc" uiCulture="qps-ploc" enableClientBasedCulture="false" />
<trace enabled="true" requestLimit="40" pageOutput="false" /> <trace enabled="true" requestLimit="40" pageOutput="false" />
<sessionState cookieless="UseCookies" /> <sessionState cookieless="UseCookies" />
<anonymousIdentification cookieless="UseCookies" enabled="false" /> <anonymousIdentification cookieless="UseCookies" enabled="false" />