Skip to content

Instantly share code, notes, and snippets.

@qizwiz
Created March 21, 2013 19:24
Show Gist options
  • Save qizwiz/5215881 to your computer and use it in GitHub Desktop.
Save qizwiz/5215881 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<script src="scripts/jquery.js"></script>
<script src="scripts/underscore.js"></script>
<script src="scripts/backbone.js"></script>
<script src="scripts/admin.js"></script>
<body>
<h1>THIS IS AN ADMIN INTERFACE</h1>
<table id="feeds-view" class="table table-striped">
<thead>
<tr>
<th>Name></th>
<th>URL</th>
<th>Tags</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</body>
<script id="app-view" type="text/template">
<ul id="feeds"></ul>
</script>
<script id="feed-view" type="text/template">
<td>name-placeholder</td>
<td>url-placeholder</td>
<td>tags-placeholder</td>
<td>actions-placeholder</td>
<td class="table-actions">
<%= link_to "<i class =\"icon-edit\"></i>".html_safe,
edit_establishment_path(establishment.identifier),
:class => 'btn btn-mini', title: "Edit" %>
</td>
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment