aboutsummaryrefslogtreecommitdiff
path: root/r7r_repo/templates/src/setup.html
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-05 14:43:33 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-05 14:43:33 +0100
commitc4cc87d9d1557ddd4cae4b06b79696712f61a2ad (patch)
tree081b31be890c484040a63f626063e846ef583680 /r7r_repo/templates/src/setup.html
parente99281261767710f96b9967a0ab03a3ea24a05e0 (diff)
downloadr7r-repo-c4cc87d9d1557ddd4cae4b06b79696712f61a2ad.tar.gz
r7r-repo-c4cc87d9d1557ddd4cae4b06b79696712f61a2ad.tar.bz2
r7r-repo-c4cc87d9d1557ddd4cae4b06b79696712f61a2ad.zip
New directory hierachy. index and setup implemented.
Diffstat (limited to 'r7r_repo/templates/src/setup.html')
-rw-r--r--r7r_repo/templates/src/setup.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/r7r_repo/templates/src/setup.html b/r7r_repo/templates/src/setup.html
new file mode 100644
index 0000000..c73abb4
--- /dev/null
+++ b/r7r_repo/templates/src/setup.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+ <title>Setup</title>
+ <link rel="stylesheet" type="text/css" media="screen" href="$rel_path_to_root/r7r_repo/css/common.css" />
+ <link rel="stylesheet" type="text/css" media="screen" href="$rel_path_to_root/r7r_repo/css/setup.css" />
+</head>
+<body>
+ <div id="maincontainer">
+ <h1>Setup</h1>
+ <ste:if>
+ $error
+ <ste:then>
+ <div class="error">
+ <ste:escape>$error</ste:escape>
+ </div>
+ </ste:then>
+ </ste:if>
+ <form action="$rel_path_to_root/setup" method="POST" accept-charset="UTF-8">
+ <p>
+ <strong>Admin username</strong><br />
+ <input type="text" name="admin_name" value="" />
+ </p>
+ <p>
+ <strong>Admin initial password</strong><br />
+ <input type="password" name="admin_password" />
+ </p>
+ <p>
+ <strong>Repository name</strong><br />
+ <input type="text" name="repo_name" />
+ </p>
+ <p>
+ <strong>Repository description</strong><br />
+ <input type="text" name="repo_description" />
+ </p>
+ <p>
+ <strong>Repostory Base URL</strong><br />
+ <input type="text" name="repo_baseurl" value="<ste:escape>$baseurl_predicted</ste:escape>"/>
+ </p>
+ <p>
+ <strong>Repository mode</strong><br />
+ <select name="repo_mode">
+ <option value="public" selected="selected">Public - Everyone (ie. registered users) is allowed to publish packages.</option>
+ <option value="private"> Private - Only administrators are allowed to publish packages.</option>
+ </select>
+ </p>
+ <input type="submit" name="send_data" />
+ </form>
+ </div>
+</body>
+</html>