/ src / GradeView / wwwroot / index.html
index.html
 1  <!DOCTYPE html>
 2  <html>
 3  <head>
 4      <meta charset="utf-8" />
 5      <meta name="viewport" content="width=device-width" />
 6      <title>Grade View</title>
 7      <base href="/" />
 8      <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
 9      <link rel="stylesheet" href="css/site.css" />
10      <link href="manifest.json" rel="manifest" />
11      <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
12      <script src="blazorSWRegister.js"></script>
13  </head>
14  <body>
15      <app>Loading ...</app>
16      <!-- Start Single Page Apps for GitHub Pages -->
17      <script type="text/javascript">
18          // Single Page Apps for GitHub Pages
19          // https://github.com/rafrex/spa-github-pages
20          // Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
21          // ----------------------------------------------------------------------
22          // This script checks to see if a redirect is present in the query string
23          // and converts it back into the correct url and adds it to the
24          // browser's history using window.history.replaceState(...),
25          // which won't cause the browser to attempt to load the new url.
26          // When the single page app is loaded further down in this file,
27          // the correct url will be waiting in the browser's history for
28          // the single page app to route accordingly.
29          (function (l) {
30              if (l.search) {
31                  var q = {};
32                  l.search.slice(1).split('&').forEach(function (v) {
33                      var a = v.split('=');
34                      q[a[0]] = a.slice(1).join('=').replace(/~and~/g, '&');
35                  });
36                  if (q.p !== undefined) {
37                      window.history.replaceState(null, null,
38                          l.pathname.slice(0, -1) + (q.p || '') +
39                          (q.q ? ('?' + q.q) : '') +
40                          l.hash
41                      );
42                  }
43              }
44          }(window.location))
45      </script>
46      <!-- End Single Page Apps for GitHub Pages -->
47      <!-- Temporary polyfill for IE support -->
48      <!-- <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,fetch"></script> -->
49      <script src="_framework/blazor.webassembly.js"></script>
50  </body>
51  </html>