Commit ba4a02da authored by Miguel Rodriguez's avatar Miguel Rodriguez

Adjusting menus

parent ba6916a0
......@@ -51,7 +51,7 @@ public interface NodeListMapper {
"JOIN alf_namespace ns ON (names.ns_id = ns.id) " +
"WHERE nodes.type_qname_id=names.id " +
"AND nodes.store_id in (select id from alf_store where protocol = 'workspace' and identifier = 'SpacesStore') " +
"GROUP BY substring(nodes.audit_created, 0, 8), nodes.type_qname_id, names.local_name, ns.uri ")
"GROUP BY substring(nodes.audit_created, 0, 8), nodes.type_qname_id, names.local_name, ns.uri")
List<NodesList> findNodesByContentTypeAndMonthPostgres();
// MySQL queries
......@@ -76,7 +76,7 @@ public interface NodeListMapper {
"JOIN alf_namespace ns ON (names.ns_id = ns.id) " +
"WHERE nodes.type_qname_id=names.id " +
"AND nodes.store_id in (select id from alf_store where protocol = 'workspace' and identifier = 'SpacesStore') " +
"GROUP BY substring(nodes.audit_created, 1, 7), nodes.type_qname_id, names.local_name, ns.uri ")
"GROUP BY substring(nodes.audit_created, 1, 7), nodes.type_qname_id, names.local_name, ns.uri")
List<NodesList> findNodesByContentTypeAndMonthMySQL();
// Oracle queries
......
......@@ -5,6 +5,7 @@
<title>Alfresco DB Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="webjars/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/app.css">
</head>
<body>
......@@ -13,10 +14,10 @@
<!-- Add navigation bar here -->
<div th:insert="navBar :: navBar"></div>
<div class="container-fluid">
<div class="starter-template">
<h1>Alfresco Database Reporting</h1>
<div class="center panel panel-primary">
<div class="panel-heading">
<h1>Alfresco Database Reporting</h1>
</div>
<ul class="list-group">
<li class="list-group-item"><span class="glyphicon glyphicon glyphicon-hand-right" aria-hidden="true"></span> <a href="dbSize.html">Database Size</a> - Database Size Information</li>
<li class="list-group-item"><span class="glyphicon glyphicon glyphicon-hand-right" aria-hidden="true"></span> <a href="largeFolders.html" th:href="@{/largeFolders(size=${largeFolderSize})}">Large Folders</a> - Large folders are those folders containing large number of child nodes. Alfresco recommends to keep then number of child nodes per single folder under <span th:text="${largeFolderSize}"></span>.</li>
......@@ -38,7 +39,6 @@
<li class="list-group-item"><span class="glyphicon glyphicon glyphicon-hand-right" aria-hidden="true"></span> <a href="report.html" >Generate Report</a> - Run all queries.</li>
</ul>
</div>
</div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment