Fix Rename and Dup Actions ...

This commit is contained in:
Paulo Gustavo Veiga 2012-05-18 23:43:22 -03:00
parent 73c99fe252
commit 4546aaad98
8 changed files with 397 additions and 681 deletions

View File

@ -225,86 +225,53 @@ td.formLabel {
vertical-align: top; vertical-align: top;
} }
#keyboardTable {
/* */ clear: both;
.btn-primary { width: 100%;
cursor: pointer; height: 300px;
display: inline-block; overflow: auto;
padding: 5px 14px 6px; border: 0 solid gray;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); background-color: white;
color: #333; z-index: 2;
font-size: 13px; position: relative;
line-height: normal;
border: 1px solid #ccc;
border-bottom-color: #bbb;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-webkit-transition: 0.1s linear all;
-moz-transition: 0.1s linear all;
-ms-transition: 0.1s linear all;
-o-transition: 0.1s linear all;
transition: 0.1s linear all;
color: #ffffff;
background-color: #0064cd;
background-repeat: repeat-x;
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
background-image: -o-linear-gradient(top, #049cdb, #0064cd);
background-image: linear-gradient(top, #049cdb, #0064cd);
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
border-color: #0064cd #0064cd #003f81;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
margin-top: 7px;
} }
.btn-primary:hover { #keyboardTable table {
background-position: 0 -15px; width: 100%;
text-decoration: none; border: 0 solid gray;
} }
.btn-secondary { #keyboardTable thead {
cursor: pointer; background-color: #093A9D;
display: inline-block; font-size: 12px;
background-color: #e6e6e6; font-weight: normal;
background-repeat: no-repeat; padding: 5px;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6)); }
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6); #keyboardTable td {
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); border-bottom: 1px solid #EEEEEE;
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); color: #5f5f5f;
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6); font-size: 12px;
padding: 5px 14px 6px; padding: 3px;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); }
color: #333;
font-size: 13px; #keyboardTable th {
line-height: normal; color: white;
border: 1px solid #ccc; border-right: 1px dotted #ffffff;
border-bottom-color: #bbb; font-weight: bold;
-webkit-border-radius: 4px; text-align: center;
-moz-border-radius: 4px; font-size: 12px;
border-radius: 4px; padding: 5px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); }
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); #keyboardTable tbody tr:hover {
-webkit-transition: 0.1s linear all; background-color: #E2f0f6;
-moz-transition: 0.1s linear all; }
-ms-transition: 0.1s linear all;
-o-transition: 0.1s linear all; #keyboardTable tr {
transition: 0.1s linear all; padding: 5px;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
margin-top: 7px;
} }
.btn-secondary:hover {
background-position: 0 -15px;
text-decoration: none;
} }
/*--- Modal Dialog Form ---*/ /*--- Modal Dialog Form ---*/

View File

@ -1,532 +0,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;
}
/**
* Percents could work for IE, but for backCompat purposes, we are using keywords.
* x-small is for IE6/7 quirks mode.
*
*/
body {
font: 13px arial, helvetica, clean, sans-serif;
font-size: small;
font: x-small;
}
table {
font-size: inherit;
font-size: 100%;
}
/**
* 99% for safari; 100% is too large
*/
select, input, textarea {
font: 99% arial, helvetica, clean, sans-serif;
}
/**
* Bump up !IE to get to 13px equivalent
*/
pre, code {
font: 115% monospace;
font-size: 100%;
}
/**
* Default line-height based on font-size rather than "computed-value"
* see: http://www.w3.org/TR/CSS21/visudet.html#line-height
*/
body * {
line-height: 1.22em;
}
* {
margin: 0;
padding: 0;
}
body {
font: normal 80% "trebuchet ms", verdana, arial, helvetica, sans-serif;
background-color: #fff;
}
img {
border: 0;
}
form {
padding: 0px;
margin: 0px;
}
p {
margin: 5px 0 5px 0;
}
ul {
list-style-position: inside;
}
a:link, a:visited {
font: bold 100%;
text-decoration: underline;
color: black;
}
a:hover, a:active {
font: bold 100%;
text-decoration: underline;
color: black;
}
h2 {
font-size: 160%;
color: #8e9181;
}
h1 {
font-style: normal;
font-size: 180%;
color: white;
padding-bottom: 2px;
}
h3 {
/* use as subhead on main body */
clear: left;
font-style: normal;
font-size: 130%;
color: #6b6f5b;
}
h4 {
/* use as headers in footer */
font-weight: bold;
font-size: 120%;
border-bottom: 1px solid #8e9181;
color: #e2e3dd;
padding-bottom: 10px;
width: 400px;
}
#centerContent {
text-align: center;
}
/* HEADER STYLES */
#header {
margin-top: 2px;
height: 78px;
width: 100%;
background: white;
border-bottom: 1px solid #bbb4d6;
position: absolute;
top: 0;
left: 0;
}
#headerToolbar {
height: 25px;
width: 100%;
background-color: #171a17;
border-top: 1px solid #999999;
border-bottom: 1px solid #424141;
color: white;
font-size: small;
font-style: normal;
}
#headerContent {
width: 800px;
height: 78px;
position: relative;
top: 0;
left: 0;
margin: auto;
}
#headerLogo {
margin-top: 8px;
height: 80px;
width: 160px;
background: url("../images/logo-medium.png") no-repeat;
position: absolute;
top: 0;
left: -50px;
}
#headerSlogan {
position: absolute;
border-left: 1px dashed gray;
margin-top: 8px;
height: 1em;
width: 100px;
top: 40px;
left: 137px;
white-space: nowrap;
padding-left: 7px;
font-weight: bold;
vertical-align: middle;
}
#headerButtons {
position: absolute;
top: 65px;
left: 150px;
}
#newsLink, #blogLink, #aboutLink, #newsLink, #faqLink, #feedbackLink, #supportLink, #logoutLink {
float: right;
z-index: 300;
}
div#headerButtons a {
float: left;
color: #6F6F6F;
padding: 0 10px;
text-decoration: none;
font-weight: bold;
font-size: 120%;
white-space: nowrap;
}
div#headerTitle {
float: left;
font-weight: bold;
font-size: 15px;
margin-right: 5px;
margin-left: 5px;
}
span#headerSubTitle {
font-weight: lighter;
font-size: 12px;
}
div#headerButtons a:hover {
/*text-decoration: underline;*/
color: #7e72ad;
}
div#headerButtons activelink a, div#headerButtons activelink a:hover {
text-decoration: none;
border-top: 0;
border-bottom: 0;
}
#signUpHeader {
padding-right: 8px;
padding-top: 4px;
position: absolute;
right: 0;
z-index: 50;
text-align: center;
}
#signUpHeader a, #signUpHeader a:hover {
font-size: 100%;
color: #BBB4D6;
text-decoration: underline;
}
#editorHeader {
height: 40px;
width: 100%;
background: white;
border-bottom: 1px solid #bbb4d6;
position: absolute;
top: 0;
left: 0;
}
#editorHeader #headerToolbar {
height: 40px;
width: 100%;
background-color: #171a17;
border-top: 1px solid #999999;
border-bottom: 1px solid #424141;
color: white;
font-size: small;
font-style: normal;
}
div#editorHeader div#headerTitle {
float: left;
font-weight: bold;
font-size: 22px;
margin-right: 5px;
margin-left: 5px;
}
div#editorHeader span#headerSubTitle {
font-weight: lighter;
font-size: 12px;
}
div#editorHeader div#headerActions {
padding-right: 8px;
padding-top: 4px;
position: absolute;
right: 0;
top: 4px;
z-index: 50;
}
div#editorHeader div#headerActions a:hover, div#headerActions a:active, div#headerActions a:link, div#headerActions a:visited {
color: white;
}
#footer {
width: 100%;
border-top: 1px solid #8e9181;
text-align: center;
font-size: 90%;
background-color: white;
float: left;
}
div#paypal {
float: left;
margin: -29px;
}
.errorMsg {
color: #990000;
font-size: 90%;
font-weight: bold;
padding-left: 5px;
}
#headerLogo {
cursor: pointer;
}
#headerLoading {
padding-left: 40px;
background: url('../images/ajax-loader.gif') #BBB4D6 no-repeat left;
position: absolute;
right: 3px;
top: 5px;
width: 75px;
height: 20px;
color: white;
font-weight: bold;
border: 1px solid;
border-color: #f5f5f5;
background-position: 5px 2px;
visibility: hidden;
}
div#headerActions {
padding-right: 8px;
padding-top: 4px;
position: absolute;
right: 0;
z-index: 50;
}
div#headerActions a:hover, div#headerActions a:active, div#headerActions a:link, div#headerActions a:visited {
color: white;
}
div.header_languages {
position: absolute;
right: 0;
top: 30px;
width: 100px;
height: 20px;
}
div.header_language_flag {
float: left;
margin-right: 3px;
}
/*-- Main Page Style -- */
div.pageBody {
margin: 10px auto;
width: 800px;
min-height: 500px;
}
div.pageBodyContent {
padding-top: 30px;
}
div.pageBodyContent h1 {
color: #093A9D;
font-size: 200%;
margin-bottom: 5px;
font-weight: bold;
}
div.pageBodyContent h2 {
color: gray;
font-size: 150%;
border-bottom: 1px dashed #BBB4D6;
margin: 20px 0;
}
div.pageBodyContent ul {
padding: 5px;
}
div.pageBodyContent li {
list-style-type: disc;
margin-left: 12px;
}
/*-- End Main Page Style -- */
/* Share Styles */
#userEmails {
float: left;
width: 50%;
padding: 5px;
}
#userEmails textarea {
width: 100%;
}
#currentUsers {
float: left;
width: 40%;
height: 400px;
padding: 5px;
padding-left: 15px;
margin-left: 15px;
border-left: 1px dotted gray;
}
#currentUsers table {
width: 100%;
}
#invitation {
border: 1px dotted gray;
}
td.formLabel {
text-align: right;
padding: 2px 10px;
white-space: nowrap;
font-weight: bolder;
vertical-align: top;
}
span.fieldRequired {
font-weight: bold;
color: #ff4500;
margin: 0 4px;
}
#keyboardTable {
clear: both;
width: 100%;
height: 300px;
overflow: auto;
border: 0 solid gray;
background-color: white;
z-index: 2;
position: relative;
}
#keyboardTable table {
width: 100%;
border: 0 solid gray;
}
#keyboardTable thead {
background-color: #093A9D;
font-size: 12px;
font-weight: normal;
padding: 5px;
}
#keyboardTable td {
border-bottom: 1px solid #EEEEEE;
color: #5f5f5f;
font-size: 12px;
padding: 3px;
}
#keyboardTable th {
color: white;
border-right: 1px dotted #ffffff;
font-weight: bold;
text-align: center;
font-size: 12px;
padding: 5px;
}
#keyboardTable tbody tr:hover {
background-color: #E2f0f6;
}
#keyboardTable tr {
padding: 5px;
}
div.installCFG {
width: 100%;
font-size: 130%;
}
div.installCFG h1 {
width: 100%;
font-size: 130%;
}
div.installCFG h2 {
font-size: 100%;
border-bottom: 0 solid black;
}
.chromeFrameInstallDefaultStyle {
position: relative;
left: 0;
top: 0;
margin: 0;
}

View File

@ -1,4 +1,7 @@
@import "css/common.css"; @import "bootstrap/css/bootstrap.min.css";
@import "bootstrap/css/bootstrap-responsive.min.css";
@import "css/pageHeaders.css";
@html-background: #dedede repeat-x scroll; @html-background: #dedede repeat-x scroll;
@body-width: 956px; @body-width: 956px;

View File

@ -0,0 +1,186 @@
/* HEADER STYLES */
#header {
margin-top: 2px;
height: 78px;
width: 100%;
background: white;
border-bottom: 1px solid #bbb4d6;
position: absolute;
top: 0;
left: 0;
}
#headerToolbar {
height: 25px;
width: 100%;
background-color: #171a17;
border-top: 1px solid #999999;
border-bottom: 1px solid #424141;
color: white;
font-size: small;
font-style: normal;
}
#headerContent {
width: 800px;
height: 78px;
position: relative;
top: 0;
left: 0;
margin: auto;
}
#headerLogo {
margin-top: 8px;
height: 80px;
width: 160px;
background: url("../images/logo-medium.png") no-repeat;
position: absolute;
top: 0;
left: -50px;
}
#headerSlogan {
position: absolute;
border-left: 1px dashed gray;
margin-top: 8px;
height: 1em;
width: 100px;
top: 40px;
left: 137px;
white-space: nowrap;
padding-left: 7px;
font-weight: bold;
vertical-align: middle;
}
#headerButtons {
position: absolute;
top: 65px;
left: 150px;
}
#aboutLink, #faqLink, #feedbackLink, #logoutLink {
float: right;
z-index: 300;
}
div#headerButtons a {
float: left;
color: #6F6F6F;
padding: 0 10px;
text-decoration: none;
font-weight: bold;
font-size: 120%;
white-space: nowrap;
}
div#headerTitle {
float: left;
font-weight: bold;
font-size: 15px;
margin-right: 5px;
margin-left: 5px;
}
span#headerSubTitle {
font-weight: lighter;
font-size: 12px;
}
div#headerButtons a:hover {
/*text-decoration: underline;*/
color: #7e72ad;
}
div#headerButtons activelink a, div#headerButtons activelink a:hover {
text-decoration: none;
border-top: 0;
border-bottom: 0;
}
#signUpHeader {
padding-right: 8px;
padding-top: 4px;
position: absolute;
right: 0;
z-index: 50;
text-align: center;
}
#signUpHeader a, #signUpHeader a:hover {
font-size: 100%;
color: #BBB4D6;
text-decoration: underline;
}
#editorHeader {
height: 40px;
width: 100%;
background: white;
border-bottom: 1px solid #bbb4d6;
position: absolute;
top: 0;
left: 0;
}
#footer {
width: 100%;
border-top: 1px solid #8e9181;
text-align: center;
font-size: 90%;
background-color: white;
float: left;
}
div#paypal {
float: left;
margin: -29px;
}
#headerLogo {
cursor: pointer;
}
#headerLoading {
padding-left: 40px;
background: url('../images/ajax-loader.gif') #BBB4D6 no-repeat left;
position: absolute;
right: 3px;
top: 5px;
width: 75px;
height: 20px;
color: white;
font-weight: bold;
border: 1px solid;
border-color: #f5f5f5;
background-position: 5px 2px;
visibility: hidden;
}
div#headerActions {
padding-right: 8px;
padding-top: 4px;
position: absolute;
right: 0;
z-index: 50;
}
div#headerActions a:hover, div#headerActions a:active, div#headerActions a:link, div#headerActions a:visited {
color: white;
}
div.header_languages {
position: absolute;
right: 0;
top: 30px;
width: 100px;
height: 20px;
}
div.header_language_flag {
float: left;
margin-right: 3px;
}

View File

@ -1,5 +1,5 @@
/* GLOBAL COMPONENTS */ @import "../bootstrap/css/bootstrap.min.css";
@import "common.css"; @import "pageHeaders.css";
/* INTRO STYLES */ /* INTRO STYLES */
.button { .button {
@ -191,3 +191,109 @@ div.pageBodyContent ol li {
border-radius: 16px; border-radius: 16px;
} }
.errorMsg {
color: #990000;
font-size: 90%;
font-weight: bold;
padding-left: 5px;
}
div.pageBody {
margin: 10px auto;
width: 800px;
min-height: 500px;
}
div.pageBodyContent {
padding-top: 30px;
}
div.pageBodyContent h1 {
color: #093A9D;
font-size: 200%;
margin-bottom: 5px;
font-weight: bold;
}
div.pageBodyContent h2 {
color: gray;
font-size: 150%;
border-bottom: 1px dashed #BBB4D6;
margin: 20px 0;
}
div.pageBodyContent ul {
padding: 5px;
}
div.pageBodyContent li {
list-style-type: disc;
margin-left: 12px;
}
/*-- End Main Page Style -- */
/* Share Styles */
#userEmails {
float: left;
width: 50%;
padding: 5px;
}
#userEmails textarea {
width: 100%;
}
#currentUsers {
float: left;
width: 40%;
height: 400px;
padding: 5px;
padding-left: 15px;
margin-left: 15px;
border-left: 1px dotted gray;
}
#currentUsers table {
width: 100%;
}
#invitation {
border: 1px dotted gray;
}
td.formLabel {
text-align: right;
padding: 2px 10px;
white-space: nowrap;
font-weight: bolder;
vertical-align: top;
}
span.fieldRequired {
font-weight: bold;
color: #ff4500;
margin: 0 4px;
}
div.installCFG {
width: 100%;
font-size: 130%;
}
div.installCFG h1 {
width: 100%;
font-size: 130%;
}
div.installCFG h2 {
font-size: 100%;
border-bottom: 0 solid black;
}
.chromeFrameInstallDefaultStyle {
position: relative;
left: 0;
top: 0;
margin: 0;
}

View File

@ -35,9 +35,9 @@
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input type="submit" value="<spring:message code="SUBMIT"/>" class="btn-primary" <input type="submit" value="<spring:message code="SUBMIT"/>" class="btn btn-primary"
id="submitButton"> id="submitButton">
<input type="button" value="<spring:message code="CANCEL"/>" class="btn-secondary" <input type="button" value="<spring:message code="CANCEL"/>" class="btn"
onclick="window.location='<c:url value="mymaps.htm"/>'"> onclick="window.location='<c:url value="mymaps.htm"/>'">
</td> </td>
</tr> </tr>

View File

@ -64,7 +64,7 @@
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td> <td>
<input type="submit" class="btn-primary" id="submitButton" <input type="submit" class="btn btn-primary" id="submitButton"
value="<spring:message code="SIGN_IN"/>"> value="<spring:message code="SIGN_IN"/>">
<div style="text-align:right;"><a href="<c:url value="/c/forgotPassword.htm"/>"> <div style="text-align:right;"><a href="<c:url value="/c/forgotPassword.htm"/>">

View File

@ -15,8 +15,6 @@
<script type="text/javascript" language="javascript" src="js/jquery-1.7.2.min.js"></script> <script type="text/javascript" language="javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" language="javascript" src="bootstrap/js/bootstrap.js"></script> <script type="text/javascript" language="javascript" src="bootstrap/js/bootstrap.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-responsive.css"/>
<!--jQuery DataTables--> <!--jQuery DataTables-->
@ -182,7 +180,7 @@
}); });
}); });
$("#importMap").click(function() { $("#importBtn").click(function() {
window.open('c/map/import.htm'); window.open('c/map/import.htm');
}); });
@ -195,7 +193,7 @@
// Obtain map name ... // Obtain map name ...
var rowData = tableElem.dataTable().fnGetData(rows[0]); var rowData = tableElem.dataTable().fnGetData(rows[0]);
$('#duplicateMessage').text("Duplicate '" + rowData.title + "'"); $('#dupDialogTitle').text("Duplicate '" + rowData.title + "'");
// Obtains map id ... // Obtains map id ...
var mapId = rowData.id; var mapId = rowData.id;
@ -211,9 +209,7 @@
} }
}); });
$("#actionButtons .renameMap").button({ $("#renameBtn").click(function() {
icons: { primary: "ui-icon-gear" }
}).click(function() {
// Map to be cloned ... // Map to be cloned ...
var tableElem = $('#mindmapListTable'); var tableElem = $('#mindmapListTable');
var rows = tableElem.dataTableExt.getSelectedRows(); var rows = tableElem.dataTableExt.getSelectedRows();
@ -228,6 +224,11 @@
$("#rename-dialog-modal input[name='title']").attr('value', rowData.title); $("#rename-dialog-modal input[name='title']").attr('value', rowData.title);
$("#rename-dialog-modal input[name='description']").attr('value', rowData.description); $("#rename-dialog-modal input[name='description']").attr('value', rowData.description);
// Set title ...
$('#renameDialogTitle').text("Rename '" + rowData.title + "'");
// Initialize dialog ... // Initialize dialog ...
$("#rename-dialog-modal").dialogForm({ $("#rename-dialog-modal").dialogForm({
modal: true, modal: true,
@ -249,27 +250,25 @@
}); });
$("#actionButtons .delete").button({ $("#deleteBtn").click(function() {
icons: { primary: "ui-icon-trash" } var mapIds = $('#mindmapListTable').dataTableExt.getSelectedMapsIds();
}).click(function() { if (mapIds.length > 0) {
var mapIds = $('#mindmapListTable').dataTableExt.getSelectedMapsIds(); var html2 = $('#delete-dialog-modal p span');
if (mapIds.length > 0) { $("#delete-dialog-modal").dialog({
var html2 = $('#delete-dialog-modal p span'); height: 140,
$("#delete-dialog-modal").dialog({ modal: true,
height: 140, buttons: {
modal: true, "Delete": function() {
buttons: { $('#mindmapListTable').dataTableExt.removeSelectedRows();
"Delete": function() { $(this).dialog("close");
$('#mindmapListTable').dataTableExt.removeSelectedRows(); },
$(this).dialog("close"); Cancel: function() {
}, $(this).dialog("close");
Cancel: function() { }
$(this).dialog("close");
}
}
});
} }
}); });
}
});
$("#actionButtons .printMap").button({ $("#actionButtons .printMap").button({
icons: { primary: "ui-icon-print" } icons: { primary: "ui-icon-print" }
@ -294,19 +293,6 @@
icons: { primary: "ui-icon-print" } icons: { primary: "ui-icon-print" }
}).click(function() { }).click(function() {
}); });
$("#actionButtons .moreActions").button({
icons: {
primary: "ui-icon-gear",
secondary: "ui-icon-triangle-1-s"
},
text: false
}).click(function() {
$("#actionPane").toggle('fast', function(event) {
console.log(event);
});
});
}); });
// Register time update functions .... // Register time update functions ....
@ -343,8 +329,8 @@
<span class="caret"></span> <span class="caret"></span>
</button> </button>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li id="duplicateBtn"><a href="#" onclick="return false">Duplicate</a></li> <li id="duplicateBtn"><a href="#" onclick="return false"><i class="icon-plus-sign"></i> Duplicate</a></li>
<li id="renameMap"><a href="#" onclick="return false">Rename</a></li> <li id="renameBtn"><a href="#" onclick="return false"><i class="icon-edit"></i> Rename</a></li>
<li id="printMap"><a href="#" onclick="return false"><i class="icon-print"></i> Print</a></li> <li id="printMap"><a href="#" onclick="return false"><i class="icon-print"></i> Print</a></li>
<li id="publishMap"><a href="#" onclick="return false"><i class="icon-globe"></i>Publish</a></li> <li id="publishMap"><a href="#" onclick="return false"><i class="icon-globe"></i>Publish</a></li>
<li id="exportMap"><a href="#" onclick="return false"><i class="icon-download-alt"></i> Export</a> <li id="exportMap"><a href="#" onclick="return false"><i class="icon-download-alt"></i> Export</a>
@ -393,7 +379,7 @@
<div id="duplicate-dialog-modal" class="modal fade" style="display: none"> <div id="duplicate-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header"> <div class="modal-header">
<button class="close" data-dismiss="modal">X</button> <button class="close" data-dismiss="modal">X</button>
<h3 id="duplicateMessage"></h3> <h3 id="dupDialogTitle"></h3>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div id="errorMessage"></div> <div id="errorMessage"></div>
@ -418,36 +404,36 @@
</div> </div>
</div> </div>
<!-- Duplicate map dialog --> <!-- Rename map dialog -->
<div id="rename-dialog-modal" title="Rename" style="display: none"> <div id="rename-dialog-modal" class="modal fade" style="display: none">
<div id="errorMessage"></div> <div class="modal-header">
<table> <button class="close" data-dismiss="modal">x</button>
<tr> <h3 id="renameDialogTitle"></h3>
<td class="formLabel"> </div>
<span class="fieldRequired">*</span> <div class="modal-body">
<label for="renTitle"><spring:message code="NAME"/>:</label> <div id="errorMessage"></div>
</td> <form class="form-horizontal">
<td> <fieldset>
<input name="title" id="renTitle" required="true"/> <div class="control-group">
</td> <label for="renTitle" class="control-label"><spring:message code="NAME"/>: </label>
</tr> <input name="title" id="renTitle" class="control" required="true"/>
<tr> </div>
<td class="formLabel"> <div class="control-group">
<label for="renDescription"><spring:message code="DESCRIPTION"/>:</label> <label for="renDescription" class="control-label"><spring:message
</td> code="DESCRIPTION"/>:</label>
<td> <input name="description" class="control" id="renDescription"/>
<input name="description" id="renDescription"/> </div>
</td> </fieldset>
</tr> </form>
</table> </div>
</div> <div class="modal-footer">
<button class="btn btn-primary btn-accept">Rename</button>
<button class="btn btn-cancel">Close</button>
<div id="share-dialog-modal" title="Share maps" style="display: none"> </div>
<p>Are you sure you want to share maps <span></span> ?</p>
</div> </div>
</div> </div>
<div> <div>
<div id="map-table"> <div id="map-table">
<table class="display" id="mindmapListTable"> <table class="display" id="mindmapListTable">