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.

Simple.cshtml 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. @model Teknik.Areas.Paste.ViewModels.PasteViewModel
  2. @{
  3. Layout = null;
  4. string format = Model.Syntax;
  5. string formatName = "Text";
  6. if (HighlightHelper.Languages.ContainsKey(format))
  7. {
  8. formatName = HighlightHelper.Languages[format];
  9. }
  10. }
  11. <!DOCTYPE html>
  12. <html>
  13. <head>
  14. <meta charset="utf-8" />
  15. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  16. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  17. <meta name="description" content="@Config.Description" />
  18. <meta name="author" content="@Config.Author" />
  19. <title>@ViewBag.Title</title>
  20. <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
  21. <bundle src="css/paste.view.min.css" append-version="true"></bundle>
  22. <bundle src="css/paste.view.min.css" append-version="true"></bundle>
  23. </head>
  24. <body data-twttr-rendered="true">
  25. <pre class="line-numbers"><code class="language-@(format)">@Model.Content</code></pre>
  26. <bundle src="js/common.min.js" append-version="true"></bundle>
  27. <bundle src="js/paste.view.min.js" append-version="true"></bundle>
  28. <script>
  29. $(document).ready(function () { pageloadDoTimer(); });
  30. </script>
  31. </body>
  32. </html>