The next generation of the Teknik Services. Written in ASP.NET.
https://www.teknik.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
3.4 KiB
87 lines
3.4 KiB
@model Teknik.ViewModels.ViewModelBase |
|
|
|
@using Teknik.Helpers |
|
|
|
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
@if (Model.Config.PiwikConfig.Enabled) |
|
{ |
|
string sub = Request.RequestContext.RouteData.Values["sub"].ToString(); |
|
if (Model.Config.DevEnvironment) |
|
{ |
|
sub = "dev - " + sub; |
|
} |
|
|
|
<!-- Piwik --> |
|
<script type="text/javascript"> |
|
var _paq = _paq || []; |
|
_paq.push(["setDocumentTitle", "@sub/@ViewBag.Title"]); |
|
_paq.push(["setCookieDomain", "*.teknik.io"]); |
|
_paq.push(["setDomains", ["*.teknik.io"]]); |
|
_paq.push(['trackPageView']); |
|
_paq.push(['enableLinkTracking']); |
|
(function() { |
|
var u="//stats.teknik.io/"; |
|
_paq.push(['setTrackerUrl', u+'piwik.php']); |
|
_paq.push(['setSiteId', 1]); |
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); |
|
})(); |
|
</script> |
|
<!-- End Piwik Code --> |
|
} |
|
<script type="text/javascript"> |
|
var startTime = new Date(); |
|
</script> |
|
<meta charset="utf-8" /> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
<meta name="description" content="@ViewBag.Description" /> |
|
<meta name="author" content="@Model.Config.Author" /> |
|
<title>@ViewBag.Title</title> |
|
<link rel="shortcut icon" href="/Images/favicon.ico" type="image/x-icon" /> |
|
|
|
@Styles.Render("~/Content/Common") |
|
@Scripts.Render("~/bundles/common") |
|
|
|
</head> |
|
<body data-twttr-rendered="true"> |
|
<div id="wrap"> |
|
@Html.Partial("_Navbar") |
|
<div class="container"> |
|
<div class="row"> |
|
<div class="col-xs-12 text-center"> |
|
<div id="top_msg"></div> |
|
</div> |
|
</div> |
|
</div> |
|
<!-- NoScript Alert --> |
|
<noscript> |
|
@if (Model.Config.PiwikConfig.Enabled) |
|
{ |
|
<!-- Piwik Image Tracker--> |
|
<img src="https://stats.teknik.io/piwik.php?idsite=1&rec=1" style="border:0" alt="" /> |
|
<!-- End Piwik --> |
|
} |
|
<div class="container"> |
|
<div class="row"> |
|
<div class="col-xs-12 text-center"> |
|
<div class="alert alert-danger"> |
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> |
|
<span><strong>Notice: </strong> JavaScript is not enabled. To experience the site at its best, <a href="http://enable-javascript.com/" class="alert-link">please enable JavaScript</a>.</span> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</noscript> |
|
|
|
@RenderBody() |
|
</div> |
|
@Html.Partial("_Footer") |
|
|
|
<script type="text/javascript"> |
|
$(document).ready(function () {pageloadDoTimer();}); |
|
</script> |
|
</body> |
|
</html>
|
|
|