mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
80926: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud) 80888: ACE-2091 EOL Explorer. - Basic /alfresco index page added with links to documentation, Share, Admin Console, WebScripts, CMIS etc. - Rearranged some core CSS files from Admin Console so they are reusable in standard webapp git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@83134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84 lines
3.4 KiB
Plaintext
84 lines
3.4 KiB
Plaintext
<%--
|
|
* Copyright (C) 2005-2014 Alfresco Software Limited.
|
|
*
|
|
* This file is part of Alfresco
|
|
*
|
|
* Alfresco is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Alfresco is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
--%>
|
|
|
|
<%@ 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" %>
|
|
|
|
<!-- Enterprise index-jsp placeholder -->
|
|
<%
|
|
// route WebDAV requests
|
|
if (request.getMethod().equalsIgnoreCase("PROPFIND") || request.getMethod().equalsIgnoreCase("OPTIONS"))
|
|
{
|
|
response.sendRedirect(request.getContextPath() + "/webdav/");
|
|
}
|
|
%>
|
|
|
|
<%
|
|
WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(session.getServletContext());
|
|
SysAdminParams sysAdminParams = (SysAdminParams)context.getBean("sysAdminParams");
|
|
DescriptorService descriptorService = (DescriptorService)context.getBean("descriptorComponent");
|
|
%>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Alfresco</title>
|
|
<link rel="stylesheet" type="text/css" href="./css/reset.css" />
|
|
<link rel="stylesheet" type="text/css" href="./css/alfresco.css" />
|
|
</head>
|
|
<body>
|
|
<div class="sticky-wrapper">
|
|
<div class="index">
|
|
|
|
<div class="title">
|
|
<span class="logo"><img src="./images/logo/logo.png" width="145" height="48" alt="" /></span>
|
|
<span class="logo-separator"> </span>
|
|
<h1>Welcome to Alfresco</h1>
|
|
</div>
|
|
|
|
<div class="index-list">
|
|
<p><a href="http://docs.alfresco.com/">Online Documentation</a></p>
|
|
<p></p>
|
|
<p><a href="<%=UrlUtil.getShareUrl(sysAdminParams)%>">Alfresco Share</a></p>
|
|
<p><a href="./webdav">Alfresco WebDav</a></p>
|
|
<p></p>
|
|
<p><a href="./s/index">Alfresco WebScripts Home</a> (admin only)</p>
|
|
<%
|
|
if (descriptorService.getLicenseDescriptor().getLicenseMode().toString().equals("ENTERPRISE"))
|
|
{
|
|
%>
|
|
<p><a href="./s/enterprise/admin">Alfresco Administration Console</a> (admin only)</p>
|
|
<% } %>
|
|
<p></p>
|
|
<p><a href="./cmisatom">CMIS AtomPub Binding: AtomPub Service Document</a></p>
|
|
<p><a href="./cmisws/cmis?wsdl">CMIS Web Services Binding: WSDL Documents</a></p>
|
|
<p><a href="./cmisbrowser">CMIS Browser Binding (CMIS 1.1, experimental): Repository Info (JSON)</a></p>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="push"></div>
|
|
</div>
|
|
<div class="footer">
|
|
Alfresco Software, Inc. © 2005-2014 All rights reserved.
|
|
</div>
|
|
</body>
|
|
</html> |