forked from perkeep/perkeep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zembed_debug.html.go
69 lines (65 loc) · 2.38 KB
/
zembed_debug.html.go
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
67
68
69
// THIS FILE IS AUTO-GENERATED FROM debug.html
// DO NOT EDIT.
package newui
import "time"
import "camlistore.org/pkg/fileembed"
func init() {
Files.Add("debug.html", 1751, time.Unix(0, 1370942742232957700), fileembed.String("<!doctype html>\n"+
"<html>\n"+
"<head>\n"+
" <title>Camlistored UI</title>\n"+
" <script src=\"closure/goog/base.js\"></script>\n"+
" <script src=\"./deps.js\"></script>\n"+
" <script src=\"?camli.mode=config&var=CAMLISTORE_CONFIG\"></script>\n"+
" <!-- Begin non-Closure cheating; but depended on by server_connection.js -->\n"+
" <script type=\"text/javascript\" src=\"base64.js\"></script>\n"+
" <script type=\"text/javascript\" src=\"Crypto.js\"></script>\n"+
" <script type=\"text/javascript\" src=\"SHA1.js\"></script>\n"+
" <!-- End non-Closure cheating -->\n"+
" <script>\n"+
" goog.require('camlistore.DebugPage');\n"+
" </script>\n"+
"\n"+
"</head>\n"+
"<body>\n"+
" <form>\n"+
" <h2>Root Discovery</h2>\n"+
" <p><input type=\"button\" id=\"discobtn\" value=\"Do Discovery\" /></p>\n"+
" <div id=\"discores\" style=\"border: 2px solid gray\">(discovery results)</div>\n"+
"\n"+
" <h2>Signing Discovery</h2>\n"+
" <p><input type=\"button\" id=\"sigdiscobtn\" value=\"Do jsonSign discovery\" /></p>\n"+
" <div id=\"sigdiscores\" style=\"border: 2px solid gray\">(jsonsign discovery result"+
"s)</div>\n"+
"\n"+
" <h2>Signing Debug</h2>\n"+
" <table>\n"+
" <tr align='left'>\n"+
" <th>JSON blob to sign: <input type='button' id='addkeyref' value=\"Add keyref\"/"+
"></th>\n"+
" <th></th>\n"+
" <th>Signed blob:</th>\n"+
" <th></th>\n"+
" <th>Verification details:</th>\n"+
" </tr>\n"+
" <tr>\n"+
" <td><textarea id='clearjson' rows=10 cols=40>{\"camliVersion\": 1, \"camliType\": "+
"\"whatever\", \"foo\": \"bar\"}</textarea></td>\n"+
" <td valign='middle'><input type='button' id='sign' value=\"Sign >>\" /></t"+
"d>\n"+
" <td><textarea id=\"signedjson\" rows=10 cols=40></textarea></td>\n"+
" <td valign='middle'><input type='button' id='verify' value=\"Verify >>\" /"+
"></td>\n"+
" <td><div id='verifyinfo'></div></td>\n"+
" </tr>\n"+
" </table>\n"+
" </form>\n"+
"\n"+
" <script>\n"+
" var page = new camlistore.DebugPage(CAMLISTORE_CONFIG);\n"+
" page.decorate(document.body);\n"+
" </script>\n"+
"</body>\n"+
"</html>\n"+
""))
}