diff --git a/RaceLapTimer/Interfaces/INotifierProvider.cs b/RaceLapTimer/Interfaces/INotifierProvider.cs index fab93f2..b252737 100644 --- a/RaceLapTimer/Interfaces/INotifierProvider.cs +++ b/RaceLapTimer/Interfaces/INotifierProvider.cs @@ -1,14 +1,8 @@ -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Interfaces +namespace Interfaces { public interface INotifierProvider { string GetDisplayName(); - string GetNotifierType(); void NotifyRaceStarted(NotificationEventArgs args); void NotifyRaceStarting(NotificationEventArgs args); void NotifyRaceLapEvent(NotificationEventArgs args, Pilot pilot); diff --git a/RaceLapTimer/Interfaces/INotifierProviderFactory.cs b/RaceLapTimer/Interfaces/INotifierProviderFactory.cs index 8f4ef4a..e43b286 100644 --- a/RaceLapTimer/Interfaces/INotifierProviderFactory.cs +++ b/RaceLapTimer/Interfaces/INotifierProviderFactory.cs @@ -1,14 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Interfaces +namespace Interfaces { public interface INotifierProviderFactory { INotifierProvider CreateProvider(); - string GetType(); } } diff --git a/RaceLapTimer/Interfaces/IPluginLocator.cs b/RaceLapTimer/Interfaces/IPluginLocator.cs index 8904315..75f4006 100644 --- a/RaceLapTimer/Interfaces/IPluginLocator.cs +++ b/RaceLapTimer/Interfaces/IPluginLocator.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Interfaces { diff --git a/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs b/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs index 1916af9..70e12a1 100644 --- a/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs +++ b/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs @@ -28,11 +28,11 @@ namespace RaceLapTimer // We don't call "base" here to prevent auto-discovery of // types/dependencies // Configure things for a wider purpose, non-requestcontroller based. - container.Bind().To(); - container.Bind().To(); container.Bind().To(); - container.Bind().To().InSingletonScope(); + container.Bind().To(); container.Bind().To(); + container.Bind().To(); + container.Bind().To().InSingletonScope(); //load dynamic plugins..: var cfgFilePath = Path.Combine(container.Get().GetPath, "NinjectConfig.xml"); @@ -41,8 +41,8 @@ namespace RaceLapTimer container.Bind().To().InSingletonScope(); - var nM = container.Get(); - nM.NotifyRaceStarted(new NotificationEventArgs()); + //var nM = container.Get(); + //nM.NotifyRaceStarted(new NotificationEventArgs()); } protected override void ConfigureRequestContainer(IKernel container, NancyContext context) diff --git a/RaceLapTimer/RaceLapTimer/Extensions/PluginLocator.cs b/RaceLapTimer/RaceLapTimer/Extensions/PluginLocator.cs index a2be69c..d2e451f 100644 --- a/RaceLapTimer/RaceLapTimer/Extensions/PluginLocator.cs +++ b/RaceLapTimer/RaceLapTimer/Extensions/PluginLocator.cs @@ -20,12 +20,12 @@ namespace RaceLapTimer.Extensions _pluginPath = pluginPath; } - public async Task> LocateAsync() - { - return await Task.Run(()=> Locate()); - } + //public async List Locate() + //{ + // return await Task.Run(()=> Locate()); + //} - private List Locate() + public List Locate() { if (!Directory.Exists(_pluginPath.GetPluginPath)) return new List(); var files = Directory.GetFiles(_pluginPath.GetPluginPath); diff --git a/RaceLapTimer/RaceLapTimer/www/Views/login.cshtml b/RaceLapTimer/RaceLapTimer/www/Views/login.cshtml index 509c35c..c17592b 100644 --- a/RaceLapTimer/RaceLapTimer/www/Views/login.cshtml +++ b/RaceLapTimer/RaceLapTimer/www/Views/login.cshtml @@ -3,7 +3,7 @@ Layout = "razor-layout.cshtml"; } -
+
Username
@@ -23,6 +23,6 @@ @if (Model.Errored) {
-
Invalid Username or Password
+
Invalid Username or Password
}
\ No newline at end of file diff --git a/RaceLapTimer/RaceLapTimer/www/Views/razor-layout.cshtml b/RaceLapTimer/RaceLapTimer/www/Views/razor-layout.cshtml index b71df0e..70f4613 100644 --- a/RaceLapTimer/RaceLapTimer/www/Views/razor-layout.cshtml +++ b/RaceLapTimer/RaceLapTimer/www/Views/razor-layout.cshtml @@ -88,22 +88,20 @@
diff --git a/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css b/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css index 74a96c5..18644e2 100644 --- a/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css +++ b/RaceLapTimer/RaceLapTimer/www/css/stickyfooter.css @@ -4,13 +4,13 @@ } body { /* Margin bottom by footer height */ - margin-bottom: 60px; + margin-bottom: 70px; } .footer { position: absolute; bottom: 0; width: 100%; /* Set the fixed height of the footer here */ - height: 60px; + height: 70px; background-color: #f5f5f5; } \ No newline at end of file