Skip to content

Commit

Permalink
adding the placeholder for statistics, addresses #67
Browse files Browse the repository at this point in the history
  • Loading branch information
bansp committed Oct 17, 2021
1 parent d20f3f5 commit 432abe5
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SIS/clarin/modules/menu.xql
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ declare function menu:view(){
<td class="tdmenu">
<a style="display:block" href="{app:link("views/list-mimetypes.xq")}">Media Types</a>
</td>
</tr>
<tr>
<td width="10px"></td>
<td class="tdmenu">
<a style="display:block" href="{app:link("views/list-statistics.xq")}">Statistics</a>
</td>
</tr>
<tr>
<td colspan="2" class="tdmenu">
Expand Down
44 changes: 44 additions & 0 deletions SIS/clarin/views/list-statistics.xq
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
xquery version "3.0";

declare namespace exist = "http://exist.sourceforge.net/NS/exist";
declare option exist:serialize "method=xhtml media-type=text/html indent=yes doctype-system=about:legacy-compat";

import module namespace menu = "http://clarin.ids-mannheim.de/standards/menu" at "../modules/menu.xql";
import module namespace app = "http://clarin.ids-mannheim.de/standards/app" at "../modules/app.xql";
import module namespace fm = "http://clarin.ids-mannheim.de/standards/format-module" at "../modules/format.xql";

(:
@author margaretha, banski
:)

<html>
<head>
<title>Statistics</title>
<link rel="stylesheet" type="text/css" href="{app:resource("style.css", "css")}"/>
<script type="text/javascript" src="{app:resource("edit.js", "js")}"/>
<script type="text/javascript" src="{app:resource("utils.js", "js")}"/>
</head>
<body>
<div id="all">
<div class="logoheader"/>
{menu:view()}
<div class="content">
<div class="navigation">
&gt; <a href="{app:link("views/list-statistics.xq")}">Statistics</a>
</div>
<div class="title">Format Statistics</div>
<div>
<p>This section of the SIS is going to present various statistics concerning data deposition
formats. Feel welcome to add your suggestions to the
<a href="https://github.com/clarin-eric/standards/issues/67">discussion at GitHub</a>.</p>
</div>
<div>
<ul style="padding:0px; margin-left:15px;">

</ul>
</div>
</div>
<div class="footer">{app:footer()}</div>
</div>
</body>
</html>

0 comments on commit 432abe5

Please sign in to comment.