2012-10-29 01:03:05 +00:00
|
|
|
Files.Add("home.html", "<html>\n<head>\n <title>Camlistored UI</title>\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 <script src=\"camli.js\"></script>\n <script src=\"home.js\"></script>\n <script src=\"?camli.mode=config&cb=onConfiguration\"></script>\n <link rel=\"stylesheet\" href=\"camli.css\">\n</head>\n<body class=\"camli-ui-index\">\n <h1>Camlistored UI</h1>\n <p class=\"camli-nav\"\n ><strong>Debug:</strong>\n <a href=\"disco.html\">discovery</a> |\n <a href=\"signing.html\">signing</a></p>\n\n <button id=\"btnNew\">New</button> - create a new item or collection \n\n <h2>Recent Objects</h2>\n <ul id=\"recent\"></ul>\n\n <h2>Search</h2>\n <form id=\"formSearch\">\n <p>\n <input id=\"inputSearch\" placeholder=\"tag1\">\n <input type=\"submit\" id=\"btnSearch\" value=\"Search\">\n </form>\n\n <h2>Upload</h2>\n <form method=\"POST\" id=\"uploadform\" enctype=\"multipart/form-data\">\n <input type=\"file\" id=\"fileinput\" multiple=\"true\" name=\"file\" disabled=\"true\">\n <input type=\"submit\" id=\"filesubmit\" value=\"Upload\" disabled=\"true\">\n </form>\n\n</body>\n</html>\n", time.Unix(0, 1351466432000000000));
|