git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/admin/remove-account-portlet@158832 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f4a29c04c7
commit
64b6f72d07
|
@ -1,5 +0,0 @@
|
|||
#Generated by Maven
|
||||
#Mon Nov 27 16:23:54 CET 2017
|
||||
version=1.0.0-SNAPSHOT
|
||||
groupId=org.gcube.portlets.admin
|
||||
artifactId=remove-account-portlet
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE display PUBLIC "-//Liferay//DTD Display 6.2.0//EN" "http://www.liferay.com/dtd/liferay-display_6_2_0.dtd">
|
||||
|
||||
<display>
|
||||
<category name="category.tools">
|
||||
<portlet id="remove-account"></portlet>
|
||||
</category>
|
||||
</display>
|
|
@ -1,9 +0,0 @@
|
|||
name=RemoveAccount
|
||||
module-group-id=liferay
|
||||
module-incremental-version=1
|
||||
tags=
|
||||
short-description=
|
||||
change-log=
|
||||
page-url=http://www.gcube-system.org
|
||||
author=M. Assante
|
||||
licenses=EUPL
|
|
@ -1,34 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd">
|
||||
|
||||
<liferay-portlet-app>
|
||||
<portlet>
|
||||
<portlet-name>remove-account</portlet-name>
|
||||
<icon>/icon.png</icon>
|
||||
<control-panel-entry-category>my</control-panel-entry-category>
|
||||
<control-panel-entry-weight>10</control-panel-entry-weight>
|
||||
<control-panel-entry-class>com.liferay.portlet.LiberalControlPanelEntry</control-panel-entry-class>
|
||||
<header-portlet-css>/css/main.css</header-portlet-css>
|
||||
<footer-portlet-javascript>
|
||||
/js/main.js
|
||||
</footer-portlet-javascript>
|
||||
<css-class-wrapper>remove-account-portlet</css-class-wrapper>
|
||||
<system>true</system>
|
||||
</portlet>
|
||||
<role-mapper>
|
||||
<role-name>administrator</role-name>
|
||||
<role-link>Administrator</role-link>
|
||||
</role-mapper>
|
||||
<role-mapper>
|
||||
<role-name>guest</role-name>
|
||||
<role-link>Guest</role-link>
|
||||
</role-mapper>
|
||||
<role-mapper>
|
||||
<role-name>power-user</role-name>
|
||||
<role-link>Power User</role-link>
|
||||
</role-mapper>
|
||||
<role-mapper>
|
||||
<role-name>user</role-name>
|
||||
<role-link>User</role-link>
|
||||
</role-mapper>
|
||||
</liferay-portlet-app>
|
|
@ -1,67 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd" version="2.0">
|
||||
<portlet>
|
||||
<portlet-name>RemoveAccount</portlet-name>
|
||||
<display-name>RemoveAccount</display-name>
|
||||
<portlet-class>com.liferay.util.bridges.mvc.MVCPortlet</portlet-class>
|
||||
<init-param>
|
||||
<name>view-template</name>
|
||||
<value>/view.jsp</value>
|
||||
</init-param>
|
||||
<expiration-cache>0</expiration-cache>
|
||||
<supports>
|
||||
<mime-type>text/html</mime-type>
|
||||
</supports>
|
||||
<portlet-info>
|
||||
<title>RemoveAccount</title>
|
||||
<short-title>RemoveAccount</short-title>
|
||||
<keywords>RemoveAccount</keywords>
|
||||
</portlet-info>
|
||||
<security-role-ref>
|
||||
<role-name>administrator</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>guest</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>power-user</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>user</role-name>
|
||||
</security-role-ref>
|
||||
</portlet>
|
||||
<portlet>
|
||||
<portlet-name>remove-account</portlet-name>
|
||||
<display-name>Remove Account</display-name>
|
||||
<portlet-class>
|
||||
org.gcube.portlets.admin.RemoveAccountPortlet
|
||||
</portlet-class>
|
||||
<init-param>
|
||||
<name>view-template</name>
|
||||
<value>/html/removeaccount/view.jsp</value>
|
||||
</init-param>
|
||||
<expiration-cache>0</expiration-cache>
|
||||
<supports>
|
||||
<mime-type>text/html</mime-type>
|
||||
<portlet-mode>view</portlet-mode>
|
||||
</supports>
|
||||
<portlet-info>
|
||||
<title>Delete Account</title>
|
||||
<short-title>Delete Account</short-title>
|
||||
<keywords></keywords>
|
||||
</portlet-info>
|
||||
<security-role-ref>
|
||||
<role-name>administrator</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>guest</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>power-user</role-name>
|
||||
</security-role-ref>
|
||||
<security-role-ref>
|
||||
<role-name>user</role-name>
|
||||
</security-role-ref>
|
||||
</portlet>
|
||||
</portlet-app>
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
</web-app>
|
|
@ -1,24 +0,0 @@
|
|||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
|
||||
|
||||
<portlet:defineObjects />
|
||||
<liferay-theme:defineObjects />
|
||||
|
||||
<portlet:actionURL var="deleteAccountURL" name="deleteAccount" />
|
||||
|
||||
<h3>Delete your Account</h3>
|
||||
<p>Deleting your account will disable your profile and remove your
|
||||
name and photo from most things you've shared on this <a href="http://www.d4science.org/" target="_blank">D4Science</a> gateway.</p>
|
||||
<p>Some information may still be visible to others, such as your
|
||||
name in the posts and private messages you sent. Non shared files and folders of your virtual workspace will be removed.</p>
|
||||
|
||||
<div class="alert alert-block">
|
||||
<h4>Warning</h4>
|
||||
Clicking on "Confirm delete account" below is an undoable operation, your account will be removed and you'll be automatically logged out from this Gateway.
|
||||
</div>
|
||||
|
||||
<form action="<%=deleteAccountURL%>" method="post"
|
||||
id="removeAccountForm" name="myForm">
|
||||
<button class="btn btn-large" type="button"
|
||||
onClick="document.getElementById('removeAccountForm').submit()">Confirm delete
|
||||
account</button>
|
||||
</form>
|
Binary file not shown.
Before Width: | Height: | Size: 467 B |
|
@ -1,21 +0,0 @@
|
|||
<%--
|
||||
/**
|
||||
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
|
||||
*
|
||||
* This library 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 2.1 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This library 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.
|
||||
*/
|
||||
--%>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
|
||||
|
||||
<portlet:defineObjects />
|
||||
|
||||
This is the <b>RemoveAccount</b>.
|
Reference in New Issue