mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-24 05:47:45 +08:00
27 lines
760 B
Plaintext
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>
|