From 819bfc3e298ace2f822f2b4017cd8d44dc7e4174 Mon Sep 17 00:00:00 2001
From: Mathieu Baudier
Date: Thu, 28 Mar 2013 13:39:14 +0000
Subject: [PATCH 1/1] SLC Embedded HowTo
git-svn-id: https://svn.argeo.org/slc/trunk@6230 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc
---
.../howto.html | 21 ++-
.../howto.jsp | 1 -
.../index.jsp | 1 -
.../style.css | 151 ++++++++++++++++++
4 files changed, 171 insertions(+), 3 deletions(-)
delete mode 100644 modules/org.argeo.slc.server.repo.webapp/howto.jsp
delete mode 100644 modules/org.argeo.slc.server.repo.webapp/index.jsp
create mode 100644 modules/org.argeo.slc.server.repo.webapp/style.css
diff --git a/modules/org.argeo.slc.server.repo.webapp/howto.html b/modules/org.argeo.slc.server.repo.webapp/howto.html
index 8db37cdbb..0296ed496 100644
--- a/modules/org.argeo.slc.server.repo.webapp/howto.html
+++ b/modules/org.argeo.slc.server.repo.webapp/howto.html
@@ -1,3 +1,22 @@
+
+
+
+SLC Repository
+
+
+
SLC Repository
+This is a repository of OSGi bundles, which is compatible with Maven conventions.
+The first level refers to products , the second one to version branches of these products.
+
+There is one maven-style repository per branch.
+
+It is accessible anonymously at the following URL (if public access has been explicitly given to this branch):
+
http://[host]/data/public/java/[org.example.product]-[major.minor.x]
+
+Or as an authenticated user (BASIC auth) belonging to ROLE_SLC , with read/write WebDav access:
+
https://[host]/data/files/java/[org.example.product]-[major.minor.x]
+
-How to use SLC
+
+
\ No newline at end of file
diff --git a/modules/org.argeo.slc.server.repo.webapp/howto.jsp b/modules/org.argeo.slc.server.repo.webapp/howto.jsp
deleted file mode 100644
index a8295da4d..000000000
--- a/modules/org.argeo.slc.server.repo.webapp/howto.jsp
+++ /dev/null
@@ -1 +0,0 @@
-SLC Repository
diff --git a/modules/org.argeo.slc.server.repo.webapp/index.jsp b/modules/org.argeo.slc.server.repo.webapp/index.jsp
deleted file mode 100644
index abcf57dd7..000000000
--- a/modules/org.argeo.slc.server.repo.webapp/index.jsp
+++ /dev/null
@@ -1 +0,0 @@
-You can browse public artifacts here .
\ No newline at end of file
diff --git a/modules/org.argeo.slc.server.repo.webapp/style.css b/modules/org.argeo.slc.server.repo.webapp/style.css
new file mode 100644
index 000000000..d7e7730bc
--- /dev/null
+++ b/modules/org.argeo.slc.server.repo.webapp/style.css
@@ -0,0 +1,151 @@
+/* Generic Selectors */
+body {
+ font-family: sans-serif;
+ font-size: 12px;
+ color: black;
+ background-color: white;
+}
+
+li {
+ list-style-type: none;
+}
+
+h1 {
+ font-family: sans-serif;
+ font-size: 16px;
+ font-weight: bold;
+ color: #000000;
+ padding: 0px 0px 5px 0px;
+ margin: 0px;
+}
+
+h2 {
+ font-family: sans-serif;
+ font-size: 14px;
+ font-weight: bold;
+ color: #000000;
+ padding: 5px 0px 5px 0px;
+ margin: 0px;
+ margin-top: 5px;
+}
+
+table,form {
+ margin: 0px;
+}
+
+img {
+ border: none;
+}
+
+div {
+ font-size: 100%;
+}
+
+tr.list:hover {
+ background-color: lightgrey;
+}
+
+td.list {
+ border-top: 1px solid lighgrey;
+ padding: 2px 20px 2px 2px;
+ padding-right: 15px;
+}
+
+th {
+ font-size: 12px;
+ padding: 2px 20px 2px 2px;
+ vertical-align: top;
+ text-align: left;
+}
+
+td {
+ font-size: 12px;
+ padding: 1px;
+ vertical-align: middle;
+ text-align: left;
+}
+
+/**************** Navigation ****************/
+td.nav1 {
+ padding: 5px 0px 0px 0px;
+ font-size: 12px;
+ font-weight: bold;
+}
+
+td.nav2 {
+ padding: 0px 0px 0px 5px;
+ font-size: 12px;
+}
+
+/**************** Forms ****************/
+input.submit {
+ border: solid 1px grey;
+ background-color: lightgrey;
+ align: right;
+}
+
+input.submit:hover {
+ border: solid 1px #3399FF;
+ background-color: white;
+ color: #3399FF;
+}
+
+input.std {
+ border: solid 1px lightgrey;
+ padding: 1px;
+ margin: 2px;
+}
+
+.formError {
+ color: red;
+ padding: 1px;
+ margin: 2px;
+ font-weight: bold;
+}
+
+/**************** Pseudo classes ****************/
+a:link {
+ color: #0066CC;
+ text-decoration: none;
+}
+
+a:visited {
+ color: #0066CC;
+ text-decoration: none;
+}
+
+a:hover {
+ color: #3399FF;
+ text-decoration: none;
+}
+
+/************************* ID's *************************/
+#main {
+ position: absolute;
+ margin-left: 180px;
+ padding-top: 65px;
+}
+
+#navigation {
+ position: absolute;
+ width: 150px;
+ height: 800px;
+ border-right: 1px solid #0066CC;
+ font-weight: normal;
+ margin-top: 60px;
+ margin-left: 10px;
+}
+
+#banner {
+ position: absolute;
+ width: 400px;
+ height: 50px;
+}
+
+#upperRight {
+ position: absolute;
+ top: 0;
+ right: 0;
+ margin-top: 20px;
+ margin-right: 10px;
+}
\ No newline at end of file
--
2.39.2