mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Partial support for locale in spanish.
This commit is contained in:
parent
36c34b6962
commit
dd74a7a63d
@ -454,7 +454,7 @@
|
||||
<plugin>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>jetty-maven-plugin</artifactId>
|
||||
<version>8.1.0.v20120127</version>
|
||||
<version>8.1.4.v20120524</version>
|
||||
<configuration>
|
||||
<stopKey>foo</stopKey>
|
||||
<stopPort>9999</stopPort>
|
||||
|
@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright [2011] [wisemapping]
|
||||
*
|
||||
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
|
||||
* It is basically the Apache License, Version 2.0 (the "License") plus the
|
||||
* "powered by wisemapping" text requirement on every single page;
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the license at
|
||||
*
|
||||
* http://www.wisemapping.org/license
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.wisemapping.filter;
|
||||
|
||||
import com.wisemapping.model.User;
|
||||
import com.wisemapping.security.Utils;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springframework.beans.propertyeditors.LocaleEditor;
|
||||
import org.springframework.web.servlet.LocaleResolver;
|
||||
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
|
||||
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
|
||||
import org.springframework.web.servlet.support.RequestContextUtils;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.util.Locale;
|
||||
|
||||
public class UserLocaleInterceptor extends HandlerInterceptorAdapter {
|
||||
|
||||
public static final String USER_LOCALE = "user.locale";
|
||||
|
||||
public boolean preHandle(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response, Object object) throws Exception {
|
||||
|
||||
final HttpSession session = request.getSession(false);
|
||||
User user = Utils.getUser(false);
|
||||
|
||||
if (user != null && session != null) {
|
||||
String userLocale = user.getLocale();
|
||||
final String sessionLocale = (String) session.getAttribute(SessionLocaleResolver.LOCALE_SESSION_ATTRIBUTE_NAME);
|
||||
if (userLocale != null && !userLocale.equals(sessionLocale)) {
|
||||
// LocaleResolver localeResolver = RequestContextUtils.getLocaleResolver(request);
|
||||
// if (localeResolver == null) {
|
||||
// throw new IllegalStateException("No LocaleResolver found: not in a DispatcherServlet request?");
|
||||
// }
|
||||
// LocaleEditor localeEditor = new LocaleEditor();
|
||||
// localeEditor.setAsText(userLocale);
|
||||
// localeResolver.setLocale(request, response, (Locale) localeEditor.getValue());
|
||||
session.setAttribute(SessionLocaleResolver.LOCALE_SESSION_ATTRIBUTE_NAME, userLocale);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
@ -18,6 +18,8 @@
|
||||
|
||||
package com.wisemapping.model;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.*;
|
||||
|
||||
@ -33,6 +35,8 @@ public class User
|
||||
private String username;
|
||||
private Set<String> tags = new HashSet<String>();
|
||||
private boolean allowSendEmail = false;
|
||||
private String locale;
|
||||
|
||||
|
||||
public User() {
|
||||
}
|
||||
@ -119,6 +123,7 @@ public class User
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int hashCode() {
|
||||
int result;
|
||||
result = (firstname != null ? firstname.hashCode() : 0);
|
||||
@ -136,4 +141,11 @@ public class User
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getLocale() {
|
||||
return locale;
|
||||
}
|
||||
|
||||
public void setLocale(@NotNull String locale) {
|
||||
this.locale = locale;
|
||||
}
|
||||
}
|
||||
|
@ -80,6 +80,21 @@ public class AccountController extends BaseController {
|
||||
userService.updateUser(user);
|
||||
}
|
||||
|
||||
@RequestMapping(method = RequestMethod.PUT, value = "account/locale", consumes = {"text/plain"})
|
||||
@ResponseStatus(value = HttpStatus.NO_CONTENT)
|
||||
public void changeLanguage(@RequestBody String language) {
|
||||
if (language == null) {
|
||||
throw new IllegalArgumentException("language can not be null");
|
||||
|
||||
} if (!language.equals("en") && !language.equals("es") ){
|
||||
throw new IllegalArgumentException("language not supported yet");
|
||||
}
|
||||
|
||||
final User user = Utils.getUser();
|
||||
user.setLocale(language);
|
||||
userService.updateUser(user);
|
||||
}
|
||||
|
||||
@RequestMapping(method = RequestMethod.POST, value = "logger/editor", consumes = {"application/xml", "application/json"}, produces = {"application/json", "text/html", "application/xml"})
|
||||
@ResponseStatus(value = HttpStatus.NO_CONTENT)
|
||||
public void changePassword(@RequestBody RestLogItem item) {
|
||||
|
@ -28,6 +28,7 @@
|
||||
<property name="activationDate" column="activation_date"/>
|
||||
<property name="activationCode"/>
|
||||
<property name="allowSendEmail"/>
|
||||
<property name="locale"/>
|
||||
<set name="tags" table="TAG">
|
||||
<key column="user_id"/>
|
||||
<element column="name" type="string"/>
|
||||
|
@ -2,7 +2,6 @@ NAME=Name
|
||||
DESCRIPTION=Description
|
||||
FILE_FORMAT=File Format
|
||||
OK=Ok
|
||||
WISEMAPPING=WiseMapping
|
||||
ADD=Add
|
||||
ACTIONS=Actions
|
||||
ADD_COLLABORATORS=Add Collaborators
|
||||
@ -31,18 +30,17 @@ SIGN_IN=Sign In
|
||||
SIGN_UP=Sign Up
|
||||
ACCOUNT=Account
|
||||
USERNAME=Username
|
||||
BACK=Back
|
||||
CLOSE=Close
|
||||
NOT_READY_A_USER=Not a member yet?
|
||||
NOT_READY_A_USER_MESSAGE=Registration is free and takes just a moment.
|
||||
JOIN_NOW=Join Now!
|
||||
REMOVE=Remove
|
||||
MINDMAP=Mindmap
|
||||
ROLE=Role
|
||||
YOUR_ROLE=Your Role
|
||||
CAPTCHA= Word Verification
|
||||
FORGOT_PASSWORD=Forgot Password ?
|
||||
CHANGE_PASSWORD=Change Password
|
||||
CHANGE_LANGUAGE=Change Language
|
||||
FAQ=Frequent Asked Questions
|
||||
SHORT_FAQ=FAQ
|
||||
LOGIN=Login
|
||||
@ -95,8 +93,6 @@ ALREADY_A_MEMBER=Already a member?
|
||||
WORD_VERIFICATION=Word Verification
|
||||
TERM_OF_THE_SERVICE=Terms of Service:
|
||||
FORGOT_PASSWORD_MESSAGE=Please enter an email address to help us locate your WiseMapping account.
|
||||
SEARCH_FIELD=Map Title or Tag
|
||||
|
||||
FIELD_REQUIRED=Required field cannot be left blank
|
||||
EMAIL_ALREADY_EXIST=Email already exists
|
||||
NO_VALID_EMAIL_ADDRESS=Invalid email address
|
||||
@ -128,7 +124,7 @@ CURRENT_CONTACTS = Current Contacts
|
||||
MESSAGE=Message
|
||||
COLLABORATION= Collaboration
|
||||
SHARE_DETAILS=Share your maps with your colleagues. Invite them to collaborate with you.
|
||||
NEW_MAP_MSG=Fill all the fields to create a new map
|
||||
NEW_MAP_MSG=Create a new map
|
||||
|
||||
TAG=Tag
|
||||
PUBLISH=Publish
|
||||
@ -153,7 +149,6 @@ TAG_IT=Tag It
|
||||
PUBLISH_IT=Publish It
|
||||
UNSUPPORTED_BROWSER=Unsupported Browser
|
||||
FIELD_REQUIRED_MSG=Fields marked with an asterisk <span class="fieldRequired">*</span> are required.
|
||||
TAGS_MSG=Tagging is a simple way to keep your maps in order and help other people to find your public maps
|
||||
COMMA_SEPARATED_EMAILS=Comma separated emails
|
||||
INVITE_USERS=Invite Users
|
||||
AS_COLLABORATOR=as Collaborators
|
||||
@ -234,21 +229,13 @@ MAP_TITLE_ALREADY_EXISTS=You have already a map with the same name
|
||||
EMBEDDED_VIEWER=Embed a map viewer in your own web site, blog or post!
|
||||
EMBEDDED_VIEWER_MESSAGE=Once you make your map public, you will be able to embed a mind map viewer in your own web site, blog or post just as we did it here!<br/>Try it!!, you can drag nodes, pan the map, and zoom in and out.
|
||||
FREEMIND_EXPORT_IMPORT=Import and Export maps from/to FreeMind
|
||||
FREEMIND_EXPORT_IMPORT_MESSAGE=You can now easily import and export mind maps from/to FreeMind.
|
||||
EDITOR_TOOLBAR_IMPROVED=Usability Improvement: The editor toolbar has been redesign
|
||||
EDITOR_TOOLBAR_IMPROVED_MESSAGE= The toolbar has been redesign to improve its usability.
|
||||
COLLABORATE=Collaborate
|
||||
GO_TO= Go to my maps
|
||||
NEWS_AND_ARTICLES=News & Articles
|
||||
NEWS_TITLE_EMBEDDED_MAPS=Embed your maps in anyplace
|
||||
NEWS_DESC_EMBEDDED_MAPS=With this new feature, you can embed your maps in blogs and web pages.
|
||||
NEWS_TITLE_FREEMIND=FreeMind import and export
|
||||
NEWS_DESC_FREEMIND=Now, you can import and export your FreeMind maps.
|
||||
NEWS_DESC_KEYBOARD_NAVIGATION=WiseMapping let's you create the most powerfull mind maps using the keyboard
|
||||
JOIN_WISEMAPPING=Join WiseMapping
|
||||
IT_IS_FREE=It's free!
|
||||
EDITOR_HELP=A Help button has been placed at the bottom-left corner of the editor. From there you can see all the editor keyboard shortcuts you can use while editing your maps, and a quick tutorial on how to use the editor.
|
||||
SHRINK_TEXT=You can now collapse and expand nodes by clicking on the node's dot, or by pressing the space bar button.
|
||||
EDITOR_LINKS=Mind Map feature: Add links to the topics
|
||||
EDITOR_LINKS_SHORT=Add links to the topics
|
||||
#####FOOTER
|
||||
@ -278,3 +265,16 @@ EMBEDDED_MAP_SIZE=* Note: You can change embedded map size modifying 'height' an
|
||||
EXPORT_FORMAT_RESTRICTIONS=Exporting to Image, PDF or SVG is available only in the editor toolbar.
|
||||
STARRED=Starred
|
||||
LOADING_MSG=Loading ...
|
||||
ALL_MAPS=All
|
||||
MY_MAPS=My Maps
|
||||
SHARED_WITH_ME=Shared With Me
|
||||
PUBLIC_MAPS=Public Maps
|
||||
ACCEPT=Accept
|
||||
SAVING=Saving
|
||||
INFO=Info
|
||||
DELETE_MINDMAP=Delete
|
||||
DUPLICATE=Duplicate
|
||||
CREATE=Create
|
||||
LANGUAGE=Language
|
||||
REMOVE=Borrar
|
||||
IMPORT_MINDMAP=Import Map
|
@ -1,7 +1,6 @@
|
||||
NAME=Nombre
|
||||
DESCRIPTION=Descripción
|
||||
OK=Ok
|
||||
WISEMAPPING=WiseMapping
|
||||
SITE.TITLE=WiseMapping
|
||||
SITE.SLOGAN=COMPLETE
|
||||
ADD=Agregar
|
||||
@ -25,7 +24,7 @@ SAVE_AND_CLOSE=Grabar y Salir
|
||||
RETYPE_PASSWORD=Reingresar contraseña
|
||||
REGISTER=Registración
|
||||
REMEMBER_ME=Recordar mi sesión
|
||||
SIGN_IN=Entrar
|
||||
SIGN_IN=Ingresar
|
||||
SIGN_UP=Registrate
|
||||
ACCOUNT=Configuración
|
||||
USERNAME=Nombre de usuario
|
||||
@ -83,7 +82,6 @@ WORD_VERIFICATION=Verificación de palabra
|
||||
TERM_OF_THE_SERVICE=Términos de servicio:
|
||||
FORGOT_PASSWORD_MESSAGE=Ingrese su e-mail para iniciar el proceso de recuperación de su contraseña.
|
||||
LOADING_MSG=Cargando...
|
||||
SEARCH_FIELD=Título o etiqueta del mapa
|
||||
TRYNOW= Prueba la Demo!
|
||||
FIELD_REQUIRED=Campo requerido
|
||||
EMAIL_ALREADY_EXIST=e-mail ya existente
|
||||
@ -115,7 +113,7 @@ CURRENT_CONTACTS = Contactos actuales
|
||||
MESSAGE=Mensaje
|
||||
COLLABORATION=Colaboración
|
||||
SHARE_DETAILS=Comparta los mapas con sus colegas. Invitelos a colaborar con usted.
|
||||
NEW_MAP_MSG=Llene todos los campos para crear un mapa nuevo
|
||||
NEW_MAP_MSG=Crear un nuevo mapa
|
||||
|
||||
TAG=Etiqueta
|
||||
PUBLISH=Publicar
|
||||
@ -140,7 +138,6 @@ TAG_IT=Etiquetalo!
|
||||
PUBLISH_IT=Publicalo!
|
||||
UNSUPPORTED_BROWSER=Navegador no soportado
|
||||
FIELD_REQUIRED_MSG=Fields marked with an asterisk <span class="fieldRequired">*</span> are required.
|
||||
TAGS_MSG=Tagging is a simple way to keep your maps in order and help other people to find your public maps
|
||||
COMMA_SEPARATED_EMAILS=E-mails separados por comas
|
||||
INVITE_USERS=Invitar usuarios
|
||||
AS_COLLABORATOR=como Colaborador
|
||||
@ -200,29 +197,16 @@ UNEXPECTED_ERROR_DETAILS=Disculpas, un error ha ocurrido y no podremos procesar
|
||||
NO_ENOUGH_PERMISSIONS=Outch!!. EL mapa buscado no se encuentra disponible.
|
||||
NO_ENOUGH_PERMISSIONS_DETAILS=No tiene suficiente permisos de acceso para ver este mapa. El mapa no es mas publico o ha sido borrado.
|
||||
SHARING=Colaboración
|
||||
IMPORT_MINDMAP=Importar mapa
|
||||
IMPORT_MINDMAP_DETAILS=
|
||||
IMPORT_MINDMAP=Importar Mapa
|
||||
PRINT=Imprimir
|
||||
IMPORT_MAP_ERROR=El archivo importado no parece ser un archivo FreeMind válido
|
||||
MAP_TITLE_ALREADY_EXISTS=Nombre de mapa ya existente.
|
||||
EMBEDDED_VIEWER=Incluya un visor de mapa en su sitio web, blog o post.
|
||||
EMBEDDED_VIEWER_MESSAGE=Una vez que su mapa es publico, usted podrá incorporar un visor de mapas mentales en su propio sitio web, blog o post tal como lo hicimos aquí! just as we did it here!<br/>Try it!!, you can drag nodes, pan the map, and zoom in and out.
|
||||
FREEMIND_EXPORT_IMPORT=Importar y exportar mapas desde/hacia FreeMind
|
||||
FREEMIND_EXPORT_IMPORT_MESSAGE=Ahora puedes importar y exportar mapas mentales desde/hacia FreeMind.
|
||||
EDITOR_TOOLBAR_IMPROVED=La barra de herramientas ha sido rediseñr;ada.
|
||||
EDITOR_TOOLBAR_IMPROVED_MESSAGE=La barra de herramientas ha sido rediseñada para mejorar la usabilidad.
|
||||
COLLABORATE=Colaborar
|
||||
PRINT_FEATURE_IMPLEMENTED=Ahora puedes imprimir tus mapas
|
||||
EMBEDDED_MAP_SIZE=* Note: You can change embedded map size modifying 'height' and 'width' style properties. You can also adjust the zoom factor modifying 'zoom' parameter from the URL.
|
||||
|
||||
NEWS_AND_ARTICLES=Noticias y Articulos
|
||||
NEWS_TITLE_EMBEDDED_MAPS=Incluya sus mapas en cualquier lugar
|
||||
NEWS_DESC_EMBEDDED_MAPS=Con esta nueva funcionalidad puede incluir sus mapas en blogs y sitios web.
|
||||
NEWS_TITLE_FREEMIND=Importar y exportar mapas de FreeMind
|
||||
NEWS_DESC_FREEMIND=Ahora, puede importar y exportar sus mapas con formato de FreeMind.
|
||||
NEWS_TITLE_KEYBOARD_NAVIGATION=
|
||||
NEWS_DESC_KEYBOARD_NAVIGATION=WiseMapping lo deja crear sus mapas mentales utilzando solo el teclado.
|
||||
|
||||
JOIN_WISEMAPPING=Utilice WiseMapping
|
||||
IT_IS_FREE=Es gratis!
|
||||
|
||||
@ -253,3 +237,27 @@ UNEXPECTED_ERROR_SERVER_ERROR=Lo sentimos, un error ha ocurrido y no es posible
|
||||
UNDO=Rehacer
|
||||
TYPE=Tipo
|
||||
NOTE=Nota
|
||||
SHARE=Compartir
|
||||
SHAPE=Figura
|
||||
SEND_ME_A_NEW_PASSWORD=Enviar Nuevo Password
|
||||
ALL_MAPS=Todos
|
||||
CREATE=Crear
|
||||
DUPLICATE=Duplicar
|
||||
DELETE_MINDMAP=Borrar
|
||||
INFO=Infomaci<EFBFBD>n
|
||||
SAVING=Grabando
|
||||
PUBLIC_MAPS=Mapas Publicos
|
||||
MY_MAPS=Mis Mapas
|
||||
NEW_PASSWORD=Nuevo Password
|
||||
LANGUAGE=Idioma
|
||||
SHARED_WITH_ME=Compartidos
|
||||
ACCEPT=Aceptar
|
||||
IMPORT=Importar
|
||||
HISTORY=Historia
|
||||
ITALIC=Italica
|
||||
INVALID_EMAIL_ERROR=El e-mail no fue verificado
|
||||
ICON=Icono
|
||||
LAST_UPDATE=Ultima Actualización
|
||||
LAST_UPDATE_BY=Ultima Actualización Por
|
||||
SIZE=Tamaño
|
||||
NO_PRODUCTION_DATABASE_CONFIGURED=COMPLETE
|
||||
|
@ -119,7 +119,7 @@ CURRENT_CONTACTS = Contacts actuels
|
||||
MESSAGE = Message
|
||||
COLLABORATION = Contribution
|
||||
SHARE_DETAILS = Partagez vos cartes avec vos amis ou vos coll\u00e8gues. Donnez-leur acc\u00e8s \u00e0 vos cartes et invitez-les \u00e0 se joindre \u00e0 votre r\u00e9flexion.
|
||||
NEW_MAP_MSG = Renseignez tous les champs pour cr<63>er une nouvelle carte.
|
||||
NEW_MAP_MSG =
|
||||
TAG = Mot-cl\u00e9
|
||||
PUBLISH = Publier
|
||||
PUBLISH_MSG = Il est possible d\'utiliser vos cartes dans votre site internet et votre blog!
|
||||
@ -238,3 +238,11 @@ CONTACT=COMPLETE
|
||||
COPYRIGHT=COMPLETE
|
||||
CONFIRM_NEW_PASSWORD=COMPLETE
|
||||
UNEXPECTED_ERROR_SERVER_ERROR=COMPLETE
|
||||
SEND_ME_A_NEW_PASSWORD=COMPLETE
|
||||
ALL_MAPS=COMPLETE
|
||||
CREATE=COMPLETE
|
||||
DUPLICATE=COMPLETE
|
||||
DELETE_MINDMAP=COMPLETE
|
||||
INFO=COMPLETE
|
||||
SAVING=COMPLETE
|
||||
PUBLIC_MAPS=COMPLETE
|
@ -35,8 +35,7 @@
|
||||
</set>
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="localeChangeInterceptor" class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor">
|
||||
<property name="paramName" value="language"/>
|
||||
<bean id="userLocaleInterceptor" class="com.wisemapping.filter.UserLocaleInterceptor">
|
||||
</bean>
|
||||
</mvc:interceptors>
|
||||
|
||||
|
@ -2,11 +2,20 @@
|
||||
@import "bootstrap/css/bootstrap-responsive.min.css";
|
||||
@import "css/pageHeaders.css";
|
||||
|
||||
@html-background: #dedederepeat-x scroll
|
||||
|
||||
@html-background: #dedede repeat-x scroll;
|
||||
;
|
||||
@body-width: 956px;
|
||||
|
||||
@font-family: "Lucida Grande", "Arial", "Helvetica", "Verdana", "sans-serif";
|
||||
@font-family: "Lucida Grande",
|
||||
"Arial"
|
||||
,
|
||||
"Helvetica"
|
||||
,
|
||||
"Verdana"
|
||||
,
|
||||
"sans-serif"
|
||||
;
|
||||
@base-font-size: 11px;
|
||||
|
||||
@base-margin: 10px;
|
||||
@ -23,22 +32,21 @@
|
||||
padding: @base-padding;
|
||||
}
|
||||
|
||||
.rounded-corners (@radius: 5px) {
|
||||
border-radius: @radius;
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
.rounded-corners(@radius: 5px){
|
||||
border-radius: @radius;
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------ Table --------------------------------- */
|
||||
|
||||
@table-gap: 2%;
|
||||
@table-width: 100%;
|
||||
|
||||
#map-table {
|
||||
width: 100% !important;
|
||||
width: 100% !important;
|
||||
display: inline-block;
|
||||
float:right;
|
||||
float: right;
|
||||
border-top: 1px solid black
|
||||
}
|
||||
|
||||
@ -59,31 +67,30 @@ input#selectAll {
|
||||
|
||||
@th-background-color: #FFFFFF;
|
||||
|
||||
.rounded-corners (@radius: 5px) {
|
||||
border-radius: @radius;
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
.rounded-corners(@radius: 5px){
|
||||
border-radius: @radius;
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
}
|
||||
|
||||
.dataTables_processing {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 250px;
|
||||
height: 30px;
|
||||
margin-left: -125px;
|
||||
margin-top: -15px;
|
||||
padding: 14px 0 2px 0;
|
||||
border: 1px solid #ddd;
|
||||
text-align: center;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
background-color: white;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 250px;
|
||||
height: 30px;
|
||||
margin-left: -125px;
|
||||
margin-top: -15px;
|
||||
padding: 14px 0 2px 0;
|
||||
border: 1px solid #ddd;
|
||||
text-align: center;
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
|
||||
.dataTables_filter {
|
||||
float:right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#mindmapListTable th {
|
||||
@ -92,12 +99,12 @@ input#selectAll {
|
||||
|
||||
/* Pagination Styles */
|
||||
#paginateContainer {
|
||||
height:40px;
|
||||
width:100%;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dataTables_length {
|
||||
float: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.dataTables_paginate {
|
||||
@ -107,27 +114,27 @@ input#selectAll {
|
||||
/* ---------------------------- Sorting --------------------------------- */
|
||||
|
||||
.sorting_asc {
|
||||
background: @th-background-color url('../images/sort_asc.png') no-repeat center right;
|
||||
background: @th-background-color url('../images/sort_asc.png') no-repeat center right;
|
||||
}
|
||||
|
||||
.sorting_desc {
|
||||
background: @th-background-color url('../images/sort_desc.png') no-repeat center right;
|
||||
background: @th-background-color url('../images/sort_desc.png') no-repeat center right;
|
||||
}
|
||||
|
||||
.sorting {
|
||||
background: @th-background-color url('../images/sort_both.png') no-repeat center right;
|
||||
background: @th-background-color url('../images/sort_both.png') no-repeat center right;
|
||||
}
|
||||
|
||||
.sorting_disabled {
|
||||
background: @th-background-color;
|
||||
background: @th-background-color;
|
||||
}
|
||||
|
||||
.sorting_asc_disabled {
|
||||
background: @th-background-color url('../images/sort_asc_disabled.png') no-repeat center right;
|
||||
background: @th-background-color url('../images/sort_asc_disabled.png') no-repeat center right;
|
||||
}
|
||||
|
||||
.sorting_desc_disabled {
|
||||
background: @th-background-color url('../images/sort_desc_disabled.png') no-repeat center right;
|
||||
background: @th-background-color url('../images/sort_desc_disabled.png') no-repeat center right;
|
||||
}
|
||||
|
||||
/* ----------------------------- Misc ----------------------------------- */
|
||||
@ -137,10 +144,10 @@ input#selectAll {
|
||||
}
|
||||
|
||||
.dataTables_empty {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.row-selected {
|
||||
.row-selected {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
@ -151,24 +158,24 @@ input#selectAll {
|
||||
#tableActions {
|
||||
float: right;
|
||||
width: 350px;
|
||||
white-space:nowrap;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#tableActions > div {
|
||||
float: right;
|
||||
margin-left:5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#pageInfo {
|
||||
padding-top:5px;
|
||||
padding-left:8px;
|
||||
padding-top: 5px;
|
||||
padding-left: 8px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#tableFooter {
|
||||
width:100%;
|
||||
height:50px;
|
||||
white-space:nowrap;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#foldersContainer {
|
||||
@ -178,26 +185,26 @@ input#selectAll {
|
||||
margin-top: 80px
|
||||
}
|
||||
|
||||
span.starredOff{
|
||||
span.starredOff {
|
||||
background: url('../images/star-off.png') no-repeat center left;
|
||||
padding: 10px;
|
||||
margin: 0 0px 0 15px;
|
||||
}
|
||||
|
||||
span.starredOff:hover{
|
||||
span.starredOff:hover {
|
||||
background: url('../images/star-off-hover.png') no-repeat center left;
|
||||
}
|
||||
|
||||
span.starredOn{
|
||||
span.starredOn {
|
||||
background: url('../images/star-on.png') no-repeat center left;
|
||||
padding: 10px;
|
||||
margin: 0 0px 0 15px;
|
||||
}
|
||||
|
||||
span.starredOn:hover{
|
||||
span.starredOn:hover {
|
||||
background: url('../images/star-on-hover.png') no-repeat center left;
|
||||
}
|
||||
|
||||
abbr[title] {
|
||||
cursor:default;
|
||||
cursor: default;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
@header-height : 75px;
|
||||
@header-toolbar-height : 35px;
|
||||
@header-info-height : @header-height - @header-toolbar-height;
|
||||
@header-height: 75px;
|
||||
@header-toolbar-height: 35px;
|
||||
@header-info-height: @header-height - @header-toolbar-height;
|
@ -1,5 +1,6 @@
|
||||
<%@ page autoFlush="true" buffer="none" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
|
||||
<div style="position:relative;">
|
||||
<div id="prompt">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<%@ page autoFlush="true" buffer="none" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<h2><spring:message code="INSTALL_CFG"/></h2>
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div>
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#changeUserPanel" data-toggle="pill">General</a></li>
|
||||
<li><a href="#changePasswordPanel" data-toggle="pill">Security</a></li>
|
||||
<li><a href="#languagePanel" data-toggle="pill">Language</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="tab-content">
|
||||
@ -25,7 +27,6 @@
|
||||
|
||||
<label for="lastname"><strong><spring:message code="LASTNAME"/>:</strong></label>
|
||||
<input type="text" name="lastname" id="lastname" required="required" value="${user.lastname}"/>
|
||||
|
||||
<br/>
|
||||
<input type="submit" id="changeUserInfoBtn" class="btn btn-primary" value="Save"/>
|
||||
</fieldset>
|
||||
@ -48,33 +49,51 @@
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="languagePanel">
|
||||
<div id="languageMsg" class="alert">
|
||||
</div>
|
||||
<form action="#" method="POST" id="languageForm">
|
||||
<fieldset>
|
||||
<label for="language"><strong><spring:message code="LANGUAGE"/>:</strong></label>
|
||||
<select name="language" id="language">
|
||||
<option value="en">English</option>
|
||||
<option value="es" <c:if test="${user.locale=='es'}">selected="selected" </c:if>>Español
|
||||
</option>
|
||||
</select>
|
||||
<br/>
|
||||
<input type="submit" id="changeLanguageBtn" class="btn btn-primary"
|
||||
value="<spring:message code="CHANGE_LANGUAGE"/>"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#changePasswordMsg').hide();
|
||||
$('#changeInfoMsg').hide();
|
||||
$('#languageMsg').hide();
|
||||
|
||||
function postChange(url, postBody, msgContainerId, successMsg) {
|
||||
// Change success message ...
|
||||
jQuery.ajax(url, {
|
||||
async:false,
|
||||
dataType: 'json',
|
||||
data: postBody,
|
||||
type: 'PUT',
|
||||
dataType:'json',
|
||||
data:postBody,
|
||||
type:'PUT',
|
||||
contentType:"text/plain; charset=utf-8",
|
||||
success : function(data, textStatus, jqXHR) {
|
||||
success:function (data, textStatus, jqXHR) {
|
||||
$('#' + msgContainerId).removeClass('alert-error').addClass('alert-info').show();
|
||||
$('#' + msgContainerId).text(successMsg);
|
||||
},
|
||||
error: function(jqXHR, textStatus, errorThrown) {
|
||||
error:function (jqXHR, textStatus, errorThrown) {
|
||||
$('#' + msgContainerId).removeClass('alert-info').addClass('alert-error').show();
|
||||
$('#' + msgContainerId).text(textStatus);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$('#changePasswordForm').submit(function(event) {
|
||||
$('#changePasswordForm').submit(function (event) {
|
||||
|
||||
var inputVal = $('#changePasswordForm #password').val();
|
||||
var rinputVal = $('#changePasswordForm #repassword').val();
|
||||
@ -88,14 +107,19 @@
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
$('#changeUserForm').submit(function(event) {
|
||||
$('#changeUserForm').submit(function (event) {
|
||||
|
||||
var fistname = $('#changeUserForm #firstname').val();
|
||||
var lastname = $('#changeUserForm #lastname').val();
|
||||
|
||||
postChange("service/account/firstname", fistname, 'changeInfoMsg', 'Your info has been changed successfully');
|
||||
postChange("service/account/lastname", lastname, 'changeInfoMsg', 'Your info has been changed successfully');
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
$('#languageForm').submit(function (event) {
|
||||
|
||||
var locale = $('#languageForm option:selected').val();
|
||||
postChange("service/account/locale", locale, 'languageMsg', 'Your info has been changed successfully');
|
||||
event.preventDefault();
|
||||
});
|
||||
</script>
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div class="modalDialog">
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div class="modalDialog">
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<h2>Opps!!!. Your browser is not currently supported</h2>
|
||||
<h2>Ups!!!. Your browser is not currently supported</h2>
|
||||
|
||||
<p>Your browser has not been fully tested and it might not be completely functional. WiseMapping has been optimized
|
||||
for:</p>
|
||||
|
@ -1,7 +1,9 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<tiles:importAttribute name="title" scope="page"/>
|
||||
<tiles:importAttribute name="details" scope="page"/>
|
||||
@ -9,7 +11,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<base href="${baseURL}/">
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<![endif]-->
|
||||
|
@ -1,12 +1,17 @@
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
|
||||
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<tiles:importAttribute name="title" scope="page"/>
|
||||
<tiles:importAttribute name="details" scope="page"/>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<tiles:insertAttribute name="body"/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,58 +0,0 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<div>
|
||||
<form:form method="post" commandName="editProfile">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="formLabel">
|
||||
<span class="fieldRequired">*</span>
|
||||
<spring:message code="FIRSTNAME"/>
|
||||
:
|
||||
</td>
|
||||
<td>
|
||||
<form:input path="firstname" id="firstname" tabindex="1"/>
|
||||
<form:errors path="firstname" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel">
|
||||
<span class="fieldRequired">*</span>
|
||||
<spring:message code="LASTNAME"/>
|
||||
:
|
||||
</td>
|
||||
<td>
|
||||
<form:input path="lastname" id="lastname" tabindex="2"/>
|
||||
<form:errors path="lastname" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel">
|
||||
<span class="fieldRequired">*</span>
|
||||
<spring:message code="EMAIL"/>
|
||||
:
|
||||
</td>
|
||||
<td>
|
||||
<form:input path="email" id="email" tabindex="3"/>
|
||||
<form:errors path="email" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel">
|
||||
<spring:message code="NEWSLETTER_DESC"/>
|
||||
:
|
||||
</td>
|
||||
<td>
|
||||
<form:checkbox path="allowSendEmail" id="allowSendEmail" tabindex="4"/>
|
||||
<form:errors path="allowSendEmail" cssClass="errorMsg"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn-primary">
|
||||
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-primary"
|
||||
onclick="MOOdalBox.close();">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form:form>
|
||||
</div>
|
@ -1,8 +1,18 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
|
||||
<%@ page import="com.wisemapping.model.User" %>
|
||||
<%@ page import="com.wisemapping.security.Utils" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
|
||||
<%
|
||||
User user = Utils.getUser(false);
|
||||
if (user != null) {
|
||||
request.setAttribute("principal", user);
|
||||
}
|
||||
%>
|
||||
|
||||
<div id="settings-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
@ -12,7 +22,7 @@
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CLOSE"/></button>
|
||||
<button class="btn btn-cancel"><spring:message code="CLOSE"/></button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="header">
|
||||
@ -39,17 +49,6 @@
|
||||
</div>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
<div class="header_languages">
|
||||
<div class="header_language_flag">
|
||||
<a href="/c/login?language=en"><img src="/images/flag-uk.gif" alt="English"></a>
|
||||
</div>
|
||||
<div class="header_language_flag">
|
||||
<a href="/c/login?language=fr"><img src="/images/flag-fr.gif" alt="Frances"></a>
|
||||
</div>
|
||||
<div class="header_language_flag">
|
||||
<a href="/c/login?language=es"><img src="/images/flag-es.gif" alt="Español"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<c:if test="${param.onlyActionHeader!=true}">
|
||||
@ -67,12 +66,15 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#userSettingsBtn').click(
|
||||
function(event) {
|
||||
$('#settings-dialog-modal .modal-body').load("/c/account/settings"),function() {
|
||||
$('#settings-dialog-modal .btn-accept').unbind('click').click(function() {
|
||||
// hacer lago ...
|
||||
});
|
||||
};
|
||||
function (event) {
|
||||
$('#settings-dialog-modal .modal-body').load("/c/account/settings",
|
||||
function () {
|
||||
$('#settings-dialog-modal .btn-cancel').unbind('click').click(function () {
|
||||
$('#settings-dialog-modal').modal("hide");
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
);
|
||||
$('#settings-dialog-modal').modal();
|
||||
event.preventDefault();
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<%
|
||||
response.sendRedirect(request.getContextPath() + "/c/maps/");
|
||||
%>
|
@ -1,5 +1,7 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<div>
|
||||
<iframe src='${url}' style="border: 0;width: 100%;height:100%" id="dialogContentIframe"></iframe>
|
||||
|
@ -1,4 +1,3 @@
|
||||
<%@ page session="false" contentType="text/html;charset=UTF-8" %>
|
||||
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||||
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
|
@ -1,7 +1,8 @@
|
||||
<%--@elvariable id="isHsql" type="boolean"--%>
|
||||
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<%--@elvariable id="isHsql" type="boolean"--%>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(function() {
|
||||
$('.btn-primary').click(function() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
<%--@elvariable id="mindmap" type="com.wisemapping.view.MindMapBean"--%>
|
||||
|
||||
<div>
|
||||
|
@ -1,3 +1,6 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%--@elvariable id="mindmap" type="com.wisemapping.model.MindMap"--%>
|
||||
@ -5,12 +8,10 @@
|
||||
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
|
||||
<%--@elvariable id="mapXml" type="com.wisemapping.model.User"--%>
|
||||
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<html>
|
||||
<head>
|
||||
<base href="${baseURL}/">
|
||||
<title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<![endif]-->
|
||||
|
@ -1,7 +1,8 @@
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<div id="keyboardTable">
|
||||
<table>
|
||||
<colgroup>
|
||||
|
@ -1,3 +1,6 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%--@elvariable id="mindmap" type="com.wisemapping.model.MindMap"--%>
|
||||
@ -5,18 +8,11 @@
|
||||
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
|
||||
<%--@elvariable id="mapXml" type="com.wisemapping.model.User"--%>
|
||||
|
||||
<%@ page import="java.text.DateFormat" %>
|
||||
<%@ page import="java.text.SimpleDateFormat" %>
|
||||
<%@ page import="java.util.Calendar" %>
|
||||
|
||||
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<base href="${baseURL}/">
|
||||
<title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
@ -32,7 +28,7 @@
|
||||
<script type="text/javascript">
|
||||
var mapId = '${mindmap.id}';
|
||||
var mapXml = '${mindmap.xmlAsJsLiteral}';
|
||||
$(document).addEvent('loadcomplete', function(resource) {
|
||||
$(document).addEvent('loadcomplete', function (resource) {
|
||||
|
||||
// Configure designer options ...
|
||||
var options = loadDesignerOptions();
|
||||
@ -59,11 +55,11 @@
|
||||
var mindmap = persistence.loadFromDom(mapId, domDocument);
|
||||
designer.loadMap(mindmap);
|
||||
|
||||
$('zoomIn').addEvent('click', function() {
|
||||
$('zoomIn').addEvent('click', function () {
|
||||
designer.zoomIn();
|
||||
});
|
||||
|
||||
$('zoomOut').addEvent('click', function() {
|
||||
$('zoomOut').addEvent('click', function () {
|
||||
designer.zoomOut();
|
||||
});
|
||||
});
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<p class="alert alert-info">
|
||||
<spring:message code="EXPORT_DETAILS"/>
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<style type="text/css">
|
||||
#historyContainer {
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div>
|
||||
|
||||
|
@ -1,11 +1,12 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<html>
|
||||
<head>
|
||||
<base href="${baseURL}">
|
||||
<title><spring:message code="SITE.TITLE"/></title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<![endif]-->
|
||||
@ -52,11 +53,16 @@
|
||||
<div id="foldersContainer">
|
||||
<ul class="nav nav-list">
|
||||
<li class="nav-header">Filters</li>
|
||||
<li data-filter="all" class="active"><a href="#"><i class="icon-inbox icon-white"></i> All</a></li>
|
||||
<li data-filter="my_maps"><a href="#"><i class="icon-user"></i> My Maps</a></li>
|
||||
<li data-filter="shared_with_me"><a href="#"><i class="icon-share"></i> Shared With Me</a></li>
|
||||
<li data-filter="starred"><a href="#"><i class="icon-star"></i> Starred</a></li>
|
||||
<li data-filter="public"><a href="#"><i class="icon-globe"></i> Public Maps</a></li>
|
||||
<li data-filter="all" class="active"><a href="#"><i class="icon-inbox icon-white"></i> <spring:message
|
||||
code="ALL_MAPS"/></a></li>
|
||||
<li data-filter="my_maps"><a href="#"><i class="icon-user"></i> <spring:message code="MY_MAPS"/></a>
|
||||
</li>
|
||||
<li data-filter="shared_with_me"><a href="#"><i class="icon-share"></i> <spring:message
|
||||
code="SHARED_WITH_ME"/></a></li>
|
||||
<li data-filter="starred"><a href="#"><i class="icon-star"></i> <spring:message code="STARRED"/></a>
|
||||
</li>
|
||||
<li data-filter="public"><a href="#"><i class="icon-globe"></i> <spring:message code="PUBLIC_MAPS"/></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -121,7 +127,7 @@
|
||||
<div id="new-dialog-modal" title="Add new map" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Create a new map</h3>
|
||||
<h3><spring:message code="NEW_MAP_MSG"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="errorMessage"></div>
|
||||
@ -141,8 +147,9 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ...">Create</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ..."><spring:message
|
||||
code="CREATE"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -172,8 +179,9 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ...">Duplicate</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="<spring:message code="SAVING"/> ...">
|
||||
<spring:message code="DUPLICATE"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -201,8 +209,9 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ...">Rename</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ..."><spring:message
|
||||
code="RENAME"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -210,7 +219,7 @@
|
||||
<div id="delete-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Delete MindMap</h3>
|
||||
<h3><spring:message code="DELETE_MINDMAP"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="alert alert-block">
|
||||
@ -219,8 +228,9 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ...">Delete</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ..."><spring:message
|
||||
code="DELETE"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -228,13 +238,13 @@
|
||||
<div id="info-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Info</h3>
|
||||
<h3><spring:message code="INFO"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Close</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CLOSE"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -242,14 +252,15 @@
|
||||
<div id="publish-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Publish</h3>
|
||||
<h3><spring:message code="PUBLISH"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving...">Accept</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="<spring:message code="SAVING"/>...">
|
||||
<spring:message code="ACCEPT"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -257,14 +268,15 @@
|
||||
<div id="export-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Export</h3>
|
||||
<h3><spring:message code="EXPORT"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Exporting...">Export</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Exporting..."><spring:message
|
||||
code="EXPORT"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -272,14 +284,15 @@
|
||||
<div id="import-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Import</h3>
|
||||
<h3><spring:message code="IMPORT"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Importing...">Import</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Importing..."><spring:message
|
||||
code="IMPORT"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -287,28 +300,29 @@
|
||||
<div id="share-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>Share</h3>
|
||||
<h3><spring:message code="SHARE"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="Saving ..">Accept</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Cancel</button>
|
||||
<button class="btn btn-primary btn-accept" data-loading-text="<spring:message code="SAVING"/> ...">
|
||||
<spring:message code="ACCEPT"/></button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CANCEL"/></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- History Dialog Config -->
|
||||
<div id="history-dialog-modal" class="modal fade" >
|
||||
<div id="history-dialog-modal" class="modal fade">
|
||||
<div class="modal-header">
|
||||
<button class="close" data-dismiss="modal">x</button>
|
||||
<h3>History</h3>
|
||||
<h3><spring:message code="HISTORY"/></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-cancel" data-dismiss="modal">Close</button>
|
||||
<button class="btn btn-cancel" data-dismiss="modal"><spring:message code="CLOSE"/></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,18 +1,17 @@
|
||||
<!DOCTYPE HTML>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<%--@elvariable id="mindmap" type="com.wisemapping.model.MindMap"--%>
|
||||
<%--@elvariable id="editorTryMode" type="java.lang.Boolean"--%>
|
||||
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
|
||||
<%--@elvariable id="mapXml" type="com.wisemapping.model.User"--%>
|
||||
|
||||
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<base href="${baseURL}/">
|
||||
<title><spring:message code="SITE.TITLE"/> - ${mindmap.title} </title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
|
@ -1,4 +1,6 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<style type="text/css">
|
||||
#wizardContainer input {
|
||||
width: 50px;
|
||||
|
@ -1,4 +1,6 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<style type="text/css">
|
||||
#sharingContainer {
|
||||
height: 180px;
|
||||
|
@ -1,17 +1,17 @@
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
<tiles:importAttribute name="title" scope="request"/>
|
||||
<tiles:importAttribute name="details" scope="request"/>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<base href="${baseURL}/">
|
||||
<title>
|
||||
<spring:message code="SITE.TITLE"/>
|
||||
-
|
||||
<spring:message code="SITE.TITLE"/>-
|
||||
<c:choose>
|
||||
<c:when test="${requestScope.viewTitle!=null}">
|
||||
${requestScope.viewTitle}
|
||||
@ -21,7 +21,6 @@
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</title>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/pageTemplate.css"/>
|
||||
|
||||
<link rel="icon" href="images/favicon.ico" type="image/x-icon"/>
|
||||
|
@ -1,4 +1,6 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div>
|
||||
<form:form method="post" commandName="changePassword">
|
||||
<table>
|
||||
|
@ -1,4 +1,6 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(function() {
|
||||
$('.btn-primary').click(function() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<h2>The email is not register or you account is not active yet.</h2>
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<h2>
|
||||
Your temporal password has been sent
|
||||
|
@ -1,4 +1,6 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div>
|
||||
<div class="fform">
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<%@include file="/jsp/init.jsp" %>
|
||||
|
||||
<div>
|
||||
<h2 style="font-weight:bold;">Thanks for signing up!</h2>
|
||||
|
@ -13,6 +13,7 @@ password varchar(255) NOT NULL,
|
||||
activationCode BIGINT NOT NULL,
|
||||
activation_date DATE,
|
||||
allowSendEmail CHAR(1) NOT NULL,
|
||||
locale varchar(5),
|
||||
FOREIGN KEY(colaborator_id) REFERENCES COLLABORATOR(id)
|
||||
);
|
||||
|
||||
|
@ -14,6 +14,7 @@ password varchar(255) CHARACTER SET utf8 NOT NULL,
|
||||
activationCode BIGINT(20) NOT NULL,
|
||||
activation_date date,
|
||||
allowSendEmail char(1) CHARACTER SET utf8 NOT NULL default 0,
|
||||
locale varchar(5),
|
||||
FOREIGN KEY(colaborator_id) REFERENCES COLLABORATOR(id) ON DELETE CASCADE ON UPDATE NO ACTION
|
||||
) CHARACTER SET utf8 ;
|
||||
|
||||
|
@ -31,6 +31,8 @@ ALTER TABLE ACCESS_AUDITORY
|
||||
, ADD INDEX `user_id` () ;
|
||||
|
||||
|
||||
ALTER TABLE `wisemapping`.`user` ADD COLUMN `locale` VARCHAR(5) NULL AFTER `allowSendEmail` ;
|
||||
|
||||
# INSERT INTO `wisemapping`.`collaborator` (`id`, `email`, `creation_date`) VALUES (8081, 'fake@wisemapping.com', '2007-10-09');
|
||||
# DELETE FROM `wisemapping`.`USER` where activation_date is null;
|
||||
# DROP TABLE FEEDBACK;
|
||||
|
Loading…
Reference in New Issue
Block a user