Skip to content

Instantly share code, notes, and snippets.

@samertm
Created February 2, 2012 01:27
Show Gist options
  • Save samertm/1720785 to your computer and use it in GitHub Desktop.
Save samertm/1720785 to your computer and use it in GitHub Desktop.
trimph users
<html class="no-js">
<head>
<title>Users</title>
<link rel="stylesheet" type="text/css" href="stylesheets/base.css">
<link rel="stylesheet" type="text/css" href="stylesheets/home.css">
<link type="image/png" rel="SHORTCUT ICON" href="images/trophy.png">
<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Bitter:700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.0.6/modernizr.min.js"></script>
<script type="text/javascript">
$(window).load(function(){
$('#wrapper').fadeIn(700);
});
</script>
</head>
<body class="load">
<div id="wrapper">
<h1>TRIUMPH</h1>
<div id="home-play">
<div class="play-choice">
<ul>
<% for(var i=0; i<users.length; i++) {%>
<li><%= users[i].username %><form action='/users/delete/<%= users[i].username %>' method="post"><input type="submit" value="delete"></form></li>
<% } %>
</ul>
</div>
<div class="logout">
<a href="/logout" class="button grey">Logout</a>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment