diff --git a/source/web/css/alfresco.css b/source/web/css/alfresco.css new file mode 100644 index 0000000000..e247af99f4 --- /dev/null +++ b/source/web/css/alfresco.css @@ -0,0 +1,135 @@ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + src: url(opensans.woff) format('woff'); +} +@font-face { + font-family: 'Open Sans Bold'; + font-style: normal; + font-weight: 600; + src: url(opensansbold.woff) format('woff'); +} +@font-face { + font-family: 'Open Sans Condensed'; + font-style: normal; + font-weight: 300; + src: url(opensanscondensed.woff) format('woff'); +} + +/* Root styles, footer and links */ + +body, html +{ + height: 100%; + font: 13px/1.231 Open Sans, Arial, sans-serif; +} + +.sticky-wrapper +{ + min-height: 100%; + height: auto !important; + height: 100%; + margin: 0 auto -32px; /* the bottom margin is the negative value of the footer's height */ +} + +.footer, .push +{ + height: 32px; /* .push must be the same height as .footer and inverse of .sticky-wrapper height */ +} + +.footer +{ + clear: both; + text-align: center; + line-height: 32px; /* centers text within .footer height */ +} + +a, +a:visited, +a:hover +{ + color: #333; +} + +a, +a:visited +{ + text-decoration: none; +} + +a:hover +{ + text-decoration: underline; +} + +h1 +{ + font-size: 220%; + font-family: Open Sans Condensed, Arial, sans-serif; + color: #333; +} + +h2 +{ + font-size: 108%; + font-family: Open Sans Bold, Arial, sans-serif; + padding-top: 1em; + border-bottom: 1px solid #ccc; + padding-bottom: 0.166em; +} + +h3 +{ + font-size: 125%; + font-family: Open Sans, Arial, sans-serif; + border-bottom: 1px solid #ccc; + padding: 4px 0; +} + +.title +{ + margin: 1em 0 0; +} + +.title .logo +{ + position: relative; + top: 8px; +} + +.title .logo-separator +{ + display: inline-block; + border-right: 1px solid #ccc; + position: relative; + top: -22px; + height: 40px; + margin-bottom: -12px; +} + +.title > h1 +{ + display: inline; + position: relative; + left: 7px; + top: -5px; +} + +.index +{ + margin-left: 18em; + padding-top: 1em; +} + +.index-list +{ + padding-top: 4em; + border-top: 1px solid #eee; +} + +p +{ + line-height: 1.333em; + padding-bottom: 0.333em; +} diff --git a/source/web/css/base.css b/source/web/css/base.css deleted file mode 100644 index 60348ed85b..0000000000 --- a/source/web/css/base.css +++ /dev/null @@ -1,80 +0,0 @@ -body -{ - margin: 4px; - font-family: Trebuchet MS, Arial, sans-serif; - font-size: 12px; - color: #515D6B; -} - -div -{ - font-family: Trebuchet MS, Arial, sans-serif; - font-size: 12px; - color: #515D6B; -} - -div.title -{ - font-weight: bold; - font-size: 13px; -} - -div.titlebar -{ - font-weight: bold; - padding: 2px 0px 2px 8px; - background-color: #DCE4EB; - border-bottom: 1px solid #CCD4DB; -} - -div.indent -{ - padding-left: 3px; -} - -span -{ - font-size: 11px; -} - -span.title -{ - font-weight: bold; - font-size: 13px; - color: #666677; -} - -span.indent -{ - padding-left: 3px; -} - -a:link, a:visited -{ - font-family: Trebuchet MS, Arial, sans-serif; - text-decoration: none; - color: #168ECE; -} - -a:hover -{ - color: #168ECE; - text-decoration: underline; -} - -form -{ - padding: 0px; - margin: 0px; -} - -input -{ - font-family: Trebuchet MS, Arial, sans-serif; - font-size: 12px; - margin: 2px; - padding: 1px 2px 1px 2px; - color: #515D6B; - background-color: #F8FCFD; - border: 1px solid #CCD4DB; -} \ No newline at end of file diff --git a/source/web/css/ie6.css b/source/web/css/ie6.css deleted file mode 100644 index bfa2999557..0000000000 --- a/source/web/css/ie6.css +++ /dev/null @@ -1,8 +0,0 @@ -/* IE6 Fixes */ - -/* - *** .png fix - */ -img { - behavior: url(/alfresco/scripts/iepngfix.htc) -} diff --git a/source/web/css/opensans.woff b/source/web/css/opensans.woff new file mode 100644 index 0000000000..feaed88cf2 Binary files /dev/null and b/source/web/css/opensans.woff differ diff --git a/source/web/css/opensansbold.woff b/source/web/css/opensansbold.woff new file mode 100644 index 0000000000..cf0f21b25a Binary files /dev/null and b/source/web/css/opensansbold.woff differ diff --git a/source/web/css/opensanscondensed.woff b/source/web/css/opensanscondensed.woff new file mode 100644 index 0000000000..0021dd9a66 Binary files /dev/null and b/source/web/css/opensanscondensed.woff differ diff --git a/source/web/css/reset.css b/source/web/css/reset.css new file mode 100644 index 0000000000..e8ea97eb39 --- /dev/null +++ b/source/web/css/reset.css @@ -0,0 +1,15 @@ +/* +Copyright (c) 2007, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 2.2.0 +*/ +body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;} +table{border-collapse:collapse;border-spacing:0;} +fieldset,img{border:0;} +address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;} +ol,ul {list-style:none;} +caption,th {text-align:left;} +h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;} +q:before,q:after{content:'';} +abbr,acronym {border:0;} \ No newline at end of file diff --git a/source/web/images/logo/logo.png b/source/web/images/logo/logo.png new file mode 100644 index 0000000000..cf143364ac Binary files /dev/null and b/source/web/images/logo/logo.png differ diff --git a/source/web/index.jsp b/source/web/index.jsp index 62bfb8905a..5c3abebfd4 100644 --- a/source/web/index.jsp +++ b/source/web/index.jsp @@ -17,8 +17,13 @@ * along with Alfresco. If not, see . --%> - +<%@ page import="org.springframework.web.context.WebApplicationContext" %> +<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %> +<%@ page import="org.alfresco.repo.admin.SysAdminParams" %> +<%@ page import="org.alfresco.service.descriptor.DescriptorService" %> +<%@ page import="org.alfresco.util.UrlUtil" %> + <% // route WebDAV requests if (request.getMethod().equalsIgnoreCase("PROPFIND") || request.getMethod().equalsIgnoreCase("OPTIONS")) @@ -27,12 +32,51 @@ if (request.getMethod().equalsIgnoreCase("PROPFIND") || request.getMethod().equa } %> +<% +WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(session.getServletContext()); +SysAdminParams sysAdminParams = (SysAdminParams)context.getBean("sysAdminParams"); +DescriptorService descriptorService = (DescriptorService)context.getBean("descriptorComponent"); +%> + Alfresco + + +
+
+ +
+ +   +

Welcome to Alfresco

+
+ +
+

Online Documentation

+

+

Alfresco Share

+

Alfresco WebDav

+

+

Alfresco WebScripts Home (admin only)

+<% + if (descriptorService.getLicenseDescriptor().getLicenseMode().toString().equals("ENTERPRISE")) + { +%> +

Alfresco Administration Console (admin only)

+<% } %> +

+

CMIS AtomPub Binding: AtomPub Service Document

+

CMIS Web Services Binding: WSDL Documents

+

CMIS Browser Binding (CMIS 1.1, experimental): Repository Info (JSON)

+
+ +
+
+