delphimvcframework/samples/serversideviewsprimer/bin/templates/header.html

32 lines
984 B
HTML
Raw Normal View History

2016-02-14 18:15:56 +01:00
<!DOCTYPE html>
<html>
<header>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<style>
body {
padding: 20px 50px 20px 50px;
}
</style>
<script>
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0)==' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length,c.length);
}
}
return "";
}
function onWindowLoad(){
document.getElementById('lastresponsefromcookie').innerHTML = 'Last Response: ' + decodeURIComponent(getCookie('lastresponse'));
}
</script>
2016-02-14 18:15:56 +01:00
</header>
<body onload="onWindowLoad()">
2016-02-14 18:15:56 +01:00
<h1>Server Side Views Primer <small>DMVCFramework</small></h1>
<div id="main" class="container">