-
Notifications
You must be signed in to change notification settings - Fork 2
/
set.html
66 lines (60 loc) · 1.85 KB
/
set.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Set Cookie</title>
<style type="text/css">
body {
padding-top: 60px;
}
</style>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/jquery-1.7.2.min.js"></script>
<script src="js/common.js"></script>
<script src="js/set.js"></script>
<script src="js/bootstrap-collapse.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Gnaw Cookie</a>
<div class="nav-collapse">
<ul class="nav">
<li><a id="get-page" href="#">Get</a></li>
<li><a id="edit-page" href="#">Edit</a></li>
<li class="active"><a id="set-page" href="#">Set</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<h2>Set Cookie</h2>
<p>Input JSON formated cookies below to set them.
Remark that if there already exist cookies
whose domain, path, and name are the same,
they will be overwritten.
</p>
</div>
<div class="row-fluid">
<textarea rows="20" id="cookie" class="span12" wrap="off"></textarea>
</div>
<div class="row-fluid">
<div class="form-inline span6" id="input-box">
<button class="btn" id="set">Set Cookie</button>
</div>
<div id="information" class="alert span6" style="display: none;">
</div>
</div>
</div>
<input type="hidden" id="domain">
</body>
</html>