wisemapping-open-source/wise-webapp/src/main/webapp/jsp/mindmapList.jsp

314 lines
13 KiB
Plaintext
Raw Normal View History

<!DOCTYPE HTML>
<%@ include file="/jsp/init.jsp" %>
<html>
<head>
2012-05-30 03:56:14 +02:00
<base href="${pageContext.request.contextPath}/"/>
<title><spring:message code="SITE.TITLE"/></title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
2012-04-06 22:05:42 +02:00
2012-05-30 03:56:14 +02:00
<link rel="icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon"/>
2012-05-30 03:56:14 +02:00
<link rel="stylesheet/less" type="text/css" href="css/mymaps.less"/>
2012-04-06 22:05:42 +02:00
2012-05-30 03:56:14 +02:00
<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 src="js/less.js" type="text/javascript"></script>
2012-05-30 03:56:14 +02:00
<!--jQuery DataTables-->
<script type="text/javascript" language="javascript" src="js/jquery.dataTables.min.js"></script>
<script type="text/javascript" language="javascript" src="js/mymaps.js"></script>
2012-05-30 03:56:14 +02:00
<!-- Update timer plugging -->
<script type="text/javascript" language="javascript" src="js/jquery.timeago.js"></script>
2012-05-30 03:56:14 +02:00
<script type="text/javascript" language="javascript">
var principalEmail = '${principal.email}';
</script>
2012-05-20 17:28:10 +02:00
2012-04-06 22:05:42 +02:00
</head>
<body>
2012-05-24 01:05:16 +02:00
<jsp:include page="header.jsp">
<jsp:param name="removeSignin" value="false"/>
<jsp:param name="showLogout" value="true"/>
</jsp:include>
2012-04-06 22:05:42 +02:00
2012-05-24 02:54:03 +02:00
<div style="min-height: 500px">
<div id="mindmapListContainer">
<div id="messagesPanel" class="alert alert-error alert-block fade in hide" style="margin-top: 10px">
<strong><spring:message code="UNEXPECTED_ERROR"/></strong>
2012-06-06 05:48:46 +02:00
<p><spring:message code="UNEXPECTED_ERROR_SERVER_ERROR"/></p>
2012-04-06 22:05:42 +02:00
<div></div>
</div>
2012-05-24 02:54:03 +02:00
<div id="foldersContainer">
2012-05-24 02:54:03 +02:00
<ul class="nav nav-list">
2012-05-24 05:58:42 +02:00
<li class="nav-header">Filters</li>
2012-05-24 04:48:55 +02:00
<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>
2012-05-24 02:54:03 +02:00
<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>
2012-05-24 02:54:03 +02:00
<li data-filter="public"><a href="#"><i class="icon-globe"></i> Public Maps</a></li>
2012-05-24 02:54:03 +02:00
</ul>
2012-04-15 13:00:51 +02:00
</div>
2012-05-24 02:54:03 +02:00
<div style="width: 78%;float: left;">
<div id="buttonsToolbar" class="btn-toolbar">
<div class="btn-group">
<button id="newBtn" class="btn btn-primary"><i class="icon-file icon-white"></i> New</button>
<button id="importBtn" class="btn btn-primary"><i class="icon-upload icon-white"></i> Import
</button>
</div>
<div class="btn-group act-multiple" id="deleteBtn" style="display:none">
<button class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</button>
</div>
<div id="infoBtn" class="btn-group act-single" style="display:none">
<button class="btn btn-primary"><i class="icon-exclamation-sign icon-white"></i> Info</button>
</div>
<div id="actionsBtn" class="btn-group act-single" style="display:none">
<button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
<i class="icon-asterisk icon-white"></i> More
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li id="duplicateBtn"><a href="#" onclick="return false"><i class="icon-plus-sign"></i>
Duplicate</a></li>
<li id="renameBtn"><a href="#" onclick="return false"><i class="icon-edit"></i> Rename</a></li>
<li id="publishBtn"><a href="#" onclick="return false"><i class="icon-globe"></i> Publish</a>
2012-05-27 23:15:46 +02:00
</li>
2012-05-24 02:54:03 +02:00
<li id="shareBtn"><a href="#" onclick="return false"><i class="icon-share"></i> Share</a></li>
<li id="exportBtn"><a href="#" onclick="return false"><i class="icon-download"></i> Export</a>
</li>
<li id="printBtn"><a href="#" onclick="return false"><i class="icon-print"></i> Print</a></li>
2012-05-27 23:15:46 +02:00
<li id="historyBtn"><a href="#" onclick="return false"><i class="icon-time"></i> History</a>
</li>
2012-05-24 02:54:03 +02:00
</ul>
</div>
<div id="tableActions" class="btn-toolbar">
<div class="btn-group" id="pageButtons">
<button class="btn" id="pPageBtn"><strong>&lt;</strong></button>
<button class="btn" id="nPageBtn"><strong>&gt;</strong></button>
</div>
<div id="pageInfo"></div>
</div>
</div>
<div id="map-table">
<table class="table" id="mindmapListTable"></table>
<div id="tableFooter" class="form-inline"></div>
</div>
2012-05-24 01:05:16 +02:00
</div>
2012-05-24 02:54:03 +02:00
</div>
</div>
<jsp:include page="footer.jsp"/>
2012-04-08 01:05:50 +02:00
2012-05-24 02:54:03 +02:00
<div id="dialogsContainer">
<!-- New map dialog -->
<div id="new-dialog-modal" title="Add new map" class="modal fade" style="display:none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>Create a new map</h3>
2012-05-24 01:05:16 +02:00
</div>
2012-05-24 02:54:03 +02:00
<div class="modal-body">
<div class="errorMessage"></div>
<form class="form-horizontal">
<fieldset>
<div class="control-group">
<label class="control-label" for="newTitle"><spring:message code="NAME"/>:</label>
2012-06-06 06:19:55 +02:00
<input class="control" name="title" id="newTitle" type="text" required="required"
2012-05-24 02:54:03 +02:00
placeholder="Name of the new map to create" autofocus="autofocus"/>
</div>
<div class="control-group">
<label class="control-label" for="newDec"><spring:message code="DESCRIPTION"/>:</label>
<input class="control" name="description" id="newDec" type="text"
placeholder="Some description for your map"/>
</div>
</fieldset>
</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>
2012-04-06 22:05:42 +02:00
</div>
2012-05-24 01:05:16 +02:00
</div>
2012-04-06 22:05:42 +02:00
2012-05-24 02:54:03 +02:00
<!-- Duplicate map dialog -->
<div id="duplicate-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
2012-06-06 06:19:55 +02:00
<button class="close" data-dismiss="modal">x</button>
2012-05-24 02:54:03 +02:00
<h3 id="dupDialogTitle"></h3>
2012-05-20 07:25:54 +02:00
</div>
2012-05-24 02:54:03 +02:00
<div class="modal-body">
<div class="errorMessage"></div>
<form class="form-horizontal">
<fieldset>
<div class="control-group">
<label for="title" class="control-label"><spring:message code="NAME"/>: </label>
<input name="title" id="title" type="text" required="required"
placeholder="Name of the new map to create" autofocus="autofocus"
class="control"/>
</div>
<div class="control-group">
<label for="description" class="control-label"><spring:message
code="DESCRIPTION"/>: </label>
<input name="description" id="description" type="text"
placeholder="Some description for your map" class="control"/>
</div>
</fieldset>
</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>
2012-05-20 07:25:54 +02:00
</div>
2012-05-24 02:54:03 +02:00
</div>
2012-05-20 07:25:54 +02:00
2012-05-24 02:54:03 +02:00
<!-- Rename map dialog -->
<div id="rename-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3 id="renameDialogTitle"></h3>
</div>
<div class="modal-body">
<div class="errorMessage"></div>
<form class="form-horizontal">
<fieldset>
<div class="control-group">
<label for="renTitle" class="control-label"><spring:message code="NAME"/>: </label>
<input name="title" id="renTitle" required="required" autofocus="autofocus"
class="control"/>
</div>
<div class="control-group">
<label for="renDescription" class="control-label"><spring:message
code="DESCRIPTION"/>:</label>
<input name="description" class="control" id="renDescription"/>
</div>
</fieldset>
</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>
2012-05-20 02:36:34 +02:00
</div>
2012-05-24 01:05:16 +02:00
</div>
2012-05-20 02:36:34 +02:00
2012-05-24 01:05:16 +02:00
<!-- Delete map dialog -->
<div id="delete-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>Delete MindMap</h3>
</div>
<div class="modal-body">
<div class="alert alert-block">
<h4 class="alert-heading">Warning!</h4>Deleted mindmap can not be recovered. Do you want to
continue ?.
</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>
</div>
</div>
2012-05-20 17:28:10 +02:00
2012-05-24 01:05:16 +02:00
<!-- Info map dialog -->
<div id="info-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>Info</h3>
2012-04-06 22:05:42 +02:00
</div>
2012-05-24 01:05:16 +02:00
<div class="modal-body">
2012-05-20 17:28:10 +02:00
2012-05-24 01:05:16 +02:00
</div>
<div class="modal-footer">
<button class="btn btn-cancel" data-dismiss="modal">Close</button>
</div>
2012-04-06 22:05:42 +02:00
</div>
2012-05-24 01:05:16 +02:00
<!-- Publish Dialog Config -->
<div id="publish-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>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>
</div>
</div>
<!-- Export Dialog Config -->
<div id="export-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>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>
</div>
</div>
2012-06-06 06:19:55 +02:00
<!-- Import Dialog Config -->
2012-06-06 05:48:46 +02:00
<div id="import-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>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>
</div>
</div>
<!-- Share Dialog Config -->
<div id="share-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>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>
</div>
</div>
2012-06-17 07:51:01 +02:00
<!-- History Dialog Config -->
<div id="history-dialog-modal" class="modal fade" style="display: none">
<div class="modal-header">
<button class="close" data-dismiss="modal">x</button>
<h3>History</h3>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button class="btn btn-cancel" data-dismiss="modal">Close</button>
</div>
</div>
2012-05-27 23:15:46 +02:00
</div>
</body>
</html>