Skip to content

Instantly share code, notes, and snippets.

@alikhajeh1
Created February 1, 2012 16:02
Show Gist options
  • Save alikhajeh1/1717715 to your computer and use it in GitHub Desktop.
Save alikhajeh1/1717715 to your computer and use it in GitHub Desktop.
Web App Experiment Index Page, GET /videos returns this page
<!DOCTYPE html>
<html>
<head>
<title>MyApp</title>
<link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/twitter/bootstrap.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/scaffolds.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/videos.css?body=1" media="all" rel="stylesheet" type="text/css" />
<script src="/assets/jquery.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery_ujs.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery-ui.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/alerts.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/buttons.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/dropdown.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/modal.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/twipsy.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/popover.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/scrollspy.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/tabs.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap.js?body=1" type="text/javascript"></script>
<script src="/assets/videos.js?body=1" type="text/javascript"></script>
<script src="/assets/application.js?body=1" type="text/javascript"></script>
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/c/video.js"></script>
</head>
<body>
<h1>Listing videos</h1>
<table>
<tr>
<th>Name</th>
<th>Description</th>
<th>Author</th>
<th>Thumbnail</th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td>Test 1</td>
<td></td>
<td>Ali 1</td>
<td><img alt="Movie?style=thumb&amp;1328108764" src="/videos/30/movie?style=thumb&amp;1328108764" /></td>
<td><a href="/videos/30">Show</a></td>
<td><a href="/videos/30/edit">Edit</a></td>
<td><a href="/videos/30" data-confirm="Are you sure?" data-method="delete" rel="nofollow">Destroy</a></td>
</tr>
<tr>
<td>Test 2</td>
<td>Desc 2</td>
<td>Ali 2</td>
<td><img alt="Movie?style=thumb&amp;1328112036" src="/videos/31/movie?style=thumb&amp;1328112036" /></td>
<td><a href="/videos/31">Show</a></td>
<td><a href="/videos/31/edit">Edit</a></td>
<td><a href="/videos/31" data-confirm="Are you sure?" data-method="delete" rel="nofollow">Destroy</a></td>
</tr>
</table>
<br />
<a href="/videos/new">New Video</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment