mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 10:54:18 +00:00
User CorpusList and QueryResultList in Corpus analysis service page.
This commit is contained in:
parent
fc9c1a4732
commit
0f263df9b2
@ -59,7 +59,7 @@
|
|||||||
<input id="search-query-results" class="search" type="search"></input>
|
<input id="search-query-results" class="search" type="search"></input>
|
||||||
<label for="search-query-results">Search query result</label>
|
<label for="search-query-results">Search query result</label>
|
||||||
</div>
|
</div>
|
||||||
<table class="highlight responsive-table">
|
<table class="highlight ressource-list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
|
@ -29,17 +29,16 @@
|
|||||||
<p>Nopaque lets you create and upload as many text corpora as you want. It makes use of CQP Query Language, which allows for complex search requests with the aid of metadata and NLP tags. The results can either be displayed as text or abstract visualizations.</p>
|
<p>Nopaque lets you create and upload as many text corpora as you want. It makes use of CQP Query Language, which allows for complex search requests with the aid of metadata and NLP tags. The results can either be displayed as text or abstract visualizations.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col s12">
|
<div class="col s12" id="corpora">
|
||||||
<h2>My Corpora</h2>
|
<h2>My Corpora</h2>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content" id="corpora">
|
<div class="card-content">
|
||||||
<div class="input-field">
|
<div class="input-field">
|
||||||
<i class="material-icons prefix">search</i>
|
<i class="material-icons prefix">search</i>
|
||||||
<input id="search-corpus" class="search" type="search"></input>
|
<input id="search-corpus" class="search" type="search"></input>
|
||||||
<label for="search-corpus">Search corpus</label>
|
<label for="search-corpus">Search corpus</label>
|
||||||
</div>
|
</div>
|
||||||
<ul class="pagination paginationTop"></ul>
|
<table class="highlight ressource-list">
|
||||||
<table>
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
@ -53,7 +52,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody class="list"></tbody>
|
<tbody class="list"></tbody>
|
||||||
</table>
|
</table>
|
||||||
<ul class="pagination paginationBottom"></ul>
|
<ul class="pagination"></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-action right-align">
|
<div class="card-action right-align">
|
||||||
<a class="waves-effect waves-light btn" href="{{ url_for('corpora.import_corpus') }}"><i class="material-icons right">import_export</i>Import Corpus</a>
|
<a class="waves-effect waves-light btn" href="{{ url_for('corpora.import_corpus') }}"><i class="material-icons right">import_export</i>Import Corpus</a>
|
||||||
@ -62,17 +61,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col s12">
|
<div class="col s12" id="query-results">
|
||||||
<h2>My query results</h2>
|
<h2>My query results</h2>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-content" id="query-results">
|
<div class="card-content">
|
||||||
<div class="input-field">
|
<div class="input-field">
|
||||||
<i class="material-icons prefix">search</i>
|
<i class="material-icons prefix">search</i>
|
||||||
<input id="search-query-results" class="search" type="search"></input>
|
<input id="search-query-results" class="search" type="search"></input>
|
||||||
<label for="search-query-results">Search query result</label>
|
<label for="search-query-results">Search query result</label>
|
||||||
</div>
|
</div>
|
||||||
<ul class="pagination paginationTop"></ul>
|
<table class="highlight ressource-list">
|
||||||
<table class="highlight responsive-table">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
@ -83,19 +81,12 @@
|
|||||||
<span class="sort" data-sort="corpus">Corpus</span> and<br>
|
<span class="sort" data-sort="corpus">Corpus</span> and<br>
|
||||||
<span class="sort" data-sort="query">Query</span>
|
<span class="sort" data-sort="query">Query</span>
|
||||||
</th>
|
</th>
|
||||||
<th>{# Actions #}</th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="list">
|
<tbody class="list"></tbody>
|
||||||
<tr class="show-if-only-child">
|
|
||||||
<td colspan="5">
|
|
||||||
<span class="card-title"><i class="material-icons left">folder</i>Nothing here...</span>
|
|
||||||
<p>No query results yet imported.</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
<ul class="pagination paginationBottom"></ul>
|
<ul class="pagination"></ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-action right-align">
|
<div class="card-action right-align">
|
||||||
<a class="btn waves-effect waves-light" href="{{ url_for('corpora.add_query_result') }}">Add query result<i class="material-icons right">file_upload</i></a>
|
<a class="btn waves-effect waves-light" href="{{ url_for('corpora.add_query_result') }}">Add query result<i class="material-icons right">file_upload</i></a>
|
||||||
@ -108,9 +99,8 @@
|
|||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
<script type="module">
|
<script>
|
||||||
import {RessourceList} from '../../static/js/nopaque.lists.js';
|
let corpusList = new CorpusList(document.querySelector('#corpora'));
|
||||||
let corpusList = new RessourceList("corpora", nopaque.corporaSubscribers, "Corpus");
|
let queryResultList = new QueryResultList(document.querySelector('#query-results'));
|
||||||
let queryResultList = new RessourceList("query-results", nopaque.queryResultsSubscribers, "QueryResult");
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock scripts %}
|
{% endblock scripts %}
|
||||||
|
Loading…
Reference in New Issue
Block a user