delphimvcframework/samples/serversideviews/www/index.html
2015-10-18 16:34:10 +02:00

116 lines
4.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>DelphiMVCFramework - ServerSide Views Sample</title>
<meta name="generator" content="Bootply" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="css/bootstrap.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href="css/styles.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Project name</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="/index.html">Dashboard</a></li>
<li><a href="https://github.com/danieleteti/delphimvcframework" target="_blank">Project</a></li>
</ul>
<form class="navbar-form navbar-right">
<input type="text" class="form-control" placeholder="Search...">
</form>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row row-offcanvas row-offcanvas-left">
<div class="col-sm-3 col-md-2 sidebar-offcanvas" id="sidebar" role="navigation">
<ul class="nav nav-sidebar">
<li><a href="javascript:$('#main').load('/customers');">Customers</a></li>
<li><a href="javascript:$('#main').load('/newcustomer');">New Customer</a></li>
<li><a href="javascript:$('#main').load('/demo');">Full Demo (check the source code)</a></li>
<li><a href="https://mustache.github.io/mustache.5.html" target="_blank">Mustache Syntax</a></li>
</ul>
</div><!--/span-->
<div class="col-sm-9 col-md-10 main">
<!--toggle sidebar button-->
<p class="visible-xs">
<button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas"><i class="glyphicon glyphicon-chevron-left"></i></button>
</p>
<h1 class="page-header">
DelphiMVCFramework
<p class="lead">serverside views sample</p>
<p class="lead">This webapp is a mix between client side javascript and server side page. But it's just a demo to show the server side pages.</p>
</h1>
<div id="main">
<div class="row placeholders">
<div class="col-xs-6 col-sm-3 placeholder text-center">
<img src="//placehold.it/200/6666ff/fff" class="center-block img-responsive img-circle" alt="Generic placeholder thumbnail">
<h4>DelphiMVCFramework</h4>
<span class="text-muted">Something else</span>
</div>
<div class="col-xs-6 col-sm-3 placeholder text-center">
<img src="//placehold.it/200/66ff66/fff" class="center-block img-responsive img-circle" alt="Generic placeholder thumbnail">
<h4>DORM, "the Delphi ORM"</h4>
<span class="text-muted">Something else</span>
</div>
<div class="col-xs-6 col-sm-3 placeholder text-center">
<img src="//placehold.it/200/6666ff/fff" class="center-block img-responsive img-circle" alt="Generic placeholder thumbnail">
<h4>Delphi Redis Client</h4>
<span class="text-muted">Something else</span>
</div>
<div class="col-xs-6 col-sm-3 placeholder text-center">
<img src="//placehold.it/200/66ff66/fff" class="center-block img-responsive img-circle" alt="Generic placeholder thumbnail">
<h4>Delphi STOMP Client</h4>
<span class="text-muted">Something else</span>
</div>
</div>
<hr>
<h2 class="sub-header">HTML table generated by the server side view</h2>
<div class="table-responsive" id="#table">
</div>
<hr>
<a href="http://www.bootply.com/128936">Get the Source Code</a>
</div>
</div><!--/row-->
</div>
</div><!--/.container-->
<footer>
<p class="pull-right">2014 Company</p>
</footer>
<!-- script references -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
<script>
$(document).ready(function(){
$('div.table-responsive').load('/customers');
});
</script>
</body>
</html>