Skip to content
Go to file
Cannot retrieve contributors at this time
105 lines (93 sloc) 4.88 KB
<%@ Page language="C#" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePoint"
Assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<!-- -->
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<meta charset="utf-8"/>
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width"/>
<title>The SharePoint DVWP in Ferrari mode strikes again</title>
<!-- Included metroJS CSS -->
<link rel="stylesheet" type="text/css" href="stylesheets/MetroJs.css"/>
<!-- Included CSS Files Production -->
<link rel="stylesheet" href="stylesheets/prod.css"/>
<script src="javascripts/"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31072569-1']);
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src=""></script>
<div class="row">
<div class="twelve columns">
<h1>The SharePoint DVWP in Ferrari mode strikes again</h1>
<h2 class="subheader">Running on premise on SP2010 foundation</h2>
<p>More info <a
RainerAtSpirit's blog</a>. The same version is running hosted on <a
<div id="metroTiles" class="twelve columns tiles">
<!-- DVWP with DataSourceMode="ListOfLists" -->
<WebPartPages:DataFormWebPart runat="server" AsyncRefresh="False" FrameType="None" SuppressWebPartChrome="True">
<SharePoint:SPDataSource runat="server" DataSourceMode="ListOfLists" SelectCommand=""
<!-- DVWP with DataSourceMode="ListOfLists" -->
<!-- Production JS files -->
<script src="//" type="text/javascript"></script>
<script type="text/javascript" src="javascripts/app/MetroJs.js"></script>
<script type="text/javascript" src="javascripts/app/jquery.prettyDate.js"></script>
<!-- Inline script for easier readability in HTML source mode -->
<script type="text/javascript">
$(document).ready(function () {
var doBind = (typeof (window.bindAppBarKeyboard) == "undefined" || window.bindAppBarKeyboard);
// apply regular slide universally unless .exclude class is applied
// NOTE: The default options for each liveTile are being pulled from the 'data-' attributes
$(".live-tile, .flip-list").not(".exclude").liveTile();
// showing UTC date as prettyDate
$('span.prettyDate').prettyDate({ isUTC: true });
// Showing default list/library URL on click
$("#metroTiles").on("click", ".live-tile", function (event) {
var message = "We could now redirect you to the default SharePoint view\n\nBut we won't ;-)\n\n",
url = $(this).data('target');
alert(message + url);
<SharePoint:FormDigest ID="FormDigest1" runat="server"></SharePoint:FormDigest>
<script type="text/javascript">
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
You can’t perform that action at this time.