From c4cc87d9d1557ddd4cae4b06b79696712f61a2ad Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 5 Jan 2012 14:43:33 +0100 Subject: New directory hierachy. index and setup implemented. --- r7r_repo/templates/.htaccess | 4 ++ r7r_repo/templates/src/home.html | 35 +++++++++++++++ r7r_repo/templates/src/master.html | 90 ++++++++++++++++++++++++++++++++++++++ r7r_repo/templates/src/setup.html | 53 ++++++++++++++++++++++ 4 files changed, 182 insertions(+) create mode 100755 r7r_repo/templates/.htaccess create mode 100644 r7r_repo/templates/src/home.html create mode 100644 r7r_repo/templates/src/master.html create mode 100644 r7r_repo/templates/src/setup.html (limited to 'r7r_repo/templates') diff --git a/r7r_repo/templates/.htaccess b/r7r_repo/templates/.htaccess new file mode 100755 index 0000000..19469bf --- /dev/null +++ b/r7r_repo/templates/.htaccess @@ -0,0 +1,4 @@ + + Order Allow,Deny + Deny from all + diff --git a/r7r_repo/templates/src/home.html b/r7r_repo/templates/src/home.html new file mode 100644 index 0000000..bf9623a --- /dev/null +++ b/r7r_repo/templates/src/home.html @@ -0,0 +1,35 @@ + + +

Latest Packages

+ + + + + + + + + + + + + ~{$pkgs_n|gt|0} + + + + + + + + + + + + + + + + + +
Package NameVersionDescriptionLast update
$pkg[name]$pkg[version]$pkg[description]$pkg[last_update]
No Packages available.
+
diff --git a/r7r_repo/templates/src/master.html b/r7r_repo/templates/src/master.html new file mode 100644 index 0000000..a2dbd58 --- /dev/null +++ b/r7r_repo/templates/src/master.html @@ -0,0 +1,90 @@ + + + + + + + + + + + <ste:escape>?{$title|$title - $repo[name]|$repo[name]}</ste:escape> + + + + +
+
+

$repo[name]

+ $repo[description] +
+ +
+
+
+

Repository Base URL

+ +
+
+
+

Search

+
+ +
+
+
+ + $user[logged_in] + + Welcome, $user[name]! + + +
+

Login

+

+ Name:
+ +

+

+ Password:
+ +

+

+ ?{$repo[public]|No account? Register for a new account.|} +
+
+
+
+ +
+
+ +
+
+ +
+ + 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 @@ + + + + + + Setup + + + + +
+

Setup

+ + $error + +
+ $error +
+
+
+
+

+ Admin username
+ +

+

+ Admin initial password
+ +

+

+ Repository name
+ +

+

+ Repository description
+ +

+

+ Repostory Base URL
+ +

+

+ Repository mode
+ +

+ +
+
+ + -- cgit v1.2.3-70-g09d2