Files
deployd/lib/plugins/apps/views/layout.ejs
Ritchie Martori 96e3a9be23 renamed plugins
2011-11-26 14:43:47 -08:00

27 lines
760 B
Plaintext

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>index</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="ritchie">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="/deployd.js"></script>
<script src="/libs/jquery.cookie.js"></script>
<style>
.authed, .not-authed {display: none;}
</style>
</head>
<body>
<h1>Deployd</h1>
<%- body %>
<script>
var active = $.cookie('deployd.sid') ? '.authed' : '.not-authed';
console.log(active);
$(active).show();
</script>
</body>
</html>