1
0

Added GUT.Schedule download page

This commit is contained in:
Michael Gordeev
2020-03-16 16:10:39 +03:00
parent 17bdf1ea77
commit 84babdc055
4 changed files with 44 additions and 0 deletions
@@ -129,5 +129,10 @@ namespace MyWebsite.Areas.Admin.Controllers
[Route("/Projects/GUTSchedule/PrivacyPolicy")] [Route("/Projects/GUTSchedule/PrivacyPolicy")]
public IActionResult PrivacyPolicy() => public IActionResult PrivacyPolicy() =>
View("Areas/Projects/Views/GUTSchedule/PrivacyPolicy.cshtml", new ResumeViewModel(db.PrivacyPolicies.Find(CultureInfo.CurrentCulture.TwoLetterISOLanguageName) ?? db.PrivacyPolicies.Find("en") ?? db.PrivacyPolicies.Find("ru"), Database)); View("Areas/Projects/Views/GUTSchedule/PrivacyPolicy.cshtml", new ResumeViewModel(db.PrivacyPolicies.Find(CultureInfo.CurrentCulture.TwoLetterISOLanguageName) ?? db.PrivacyPolicies.Find("en") ?? db.PrivacyPolicies.Find("ru"), Database));
[AllowAnonymous]
[Route("/Projects/GUTSchedule")]
public IActionResult GetGUTSchedule() =>
View();
} }
} }
@@ -0,0 +1,35 @@
@{
ViewData["Title"] = "Скачайте ГУТ.Расписание сейчас!";
Layout = "/Views/Shared/_Layout.cshtml";
}
<header>
<h1>Скачайте ГУТ.Расписание сейчас!</h1>
</header>
<article>
<img src="~/images/GUTSchedulePoster.png" style="max-width:800px; width: 100%" />
<h2>Для Windows 10</h2>
<div id="mspb-cgyfrexl3uyg" class="9NXKDK52W3RX"></div>
<h2>Для Android</h2>
<small>Доступно для версий Android 4.1 и выше</small><br />
<a href="https://play.google.com/store/apps/details?id=com.xfox111.gut.schedule" target="_blank">
<img alt='Доступно в Google Play' style="max-width:475px; width:100%" src='https://play.google.com/intl/en_us/badges/static/images/badges/ru_badge_web_generic.png' />
</a>
<p>
<small>Microsoft Store и логотип Майкрософт являются товарными знаками корпорации Майкрософт.</small><br />
<small>Google Play и логотип Google Play являются товарными знаками корпорации Google LLC.</small>
</p>
</article>
@section Imports
{
<script src="https://storebadge.azureedge.net/src/badge-1.8.4.js"></script>
<script>
mspb('9NXKDK52W3RX', function (badge)
{
document.getElementById('mspb-cgyfrexl3uyg').innerHTML = badge;
});
</script>
}
+4
View File
@@ -13,6 +13,10 @@
<match url="Projects/GUTSchedule/PrivacyPolicy.txt" /> <match url="Projects/GUTSchedule/PrivacyPolicy.txt" />
<action type="Redirect" url="https://xfox111.net/Projects/GUTSchedule/PrivacyPolicy" redirectType="Permanent" appendQueryString="false" /> <action type="Redirect" url="https://xfox111.net/Projects/GUTSchedule/PrivacyPolicy" redirectType="Permanent" appendQueryString="false" />
</rule> </rule>
<rule name="GUT.Schedule download page" stopProcessing="true">
<match url="guttime/get" />
<action type="Redirect" url="https://xfox111.net/Projects/GUTSchedule" redirectType="Permanent" appendQueryString="false" />
</rule>
<rule name="FoxTubr Privacy policy" stopProcessing="true"> <rule name="FoxTubr Privacy policy" stopProcessing="true">
<match url="Projects/FoxTube/PrivacyPolicy.txt" /> <match url="Projects/FoxTube/PrivacyPolicy.txt" />
<action type="Redirect" url="https://xfox111.net/Projects/FoxTube/PrivacyPolicy" redirectType="Permanent" appendQueryString="false" /> <action type="Redirect" url="https://xfox111.net/Projects/FoxTube/PrivacyPolicy" redirectType="Permanent" appendQueryString="false" />
Binary file not shown.

After

Width:  |  Height:  |  Size: 251 KiB