generated from quillcraftsman/open-source-checklist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48f3469
commit a624984
Showing
8 changed files
with
209 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{% extends "base.html" %} | ||
{% block main %} | ||
{% with object as text %} | ||
<table class="table border"> | ||
<tr> | ||
<th>Name</th> | ||
<th>Value</th> | ||
</tr> | ||
<tr> | ||
<td> | ||
<b>Text</b> | ||
</td> | ||
<td> | ||
{{text.text}} | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<b>Language</b> | ||
</td> | ||
<td> | ||
{{text.language}} | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<b>Remove Stop Words</b> | ||
</td> | ||
<td> | ||
{{text.remove_stopwords}} | ||
</td> | ||
</tr> | ||
</table> | ||
{% endwith %} | ||
{% endblock %} | ||
{% block results %} | ||
|
||
{% with object.token_set.all as items %} | ||
<table class="table table-striped"> | ||
<tr> | ||
<th>text</th> | ||
</tr> | ||
{% for item in items %} | ||
<tr> | ||
<td>{{item.value}}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
|
||
{% endwith %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{% extends "base.html" %} | ||
{% block main %} | ||
<h2>Text token list</h2> | ||
{% endblock %} | ||
{% block results %} | ||
<table class="table"> | ||
<tr> | ||
<th>Text</th> | ||
<th>Language</th> | ||
<th>Remove Stop Words</th> | ||
<th>Created</th> | ||
<th>Has Tokens</th> | ||
<th>Detail</th> | ||
</tr> | ||
{% for text in object_list %} | ||
<tr> | ||
<td> | ||
<a href="{% url 'analysis:text_token' pk=text.pk %}"> | ||
{{text.text}} | ||
</a> | ||
</td> | ||
<td>{{text.language}}</td> | ||
<td>{{text.remove_stopwords}}</td> | ||
<td> | ||
{{text.create}} | ||
</td> | ||
<td> | ||
{{text.has_tokens}} | ||
</td> | ||
<td> | ||
<a class="btn btn-info" href="{% url 'analysis:text_token' pk=text.pk %}"> | ||
Detail | ||
</a> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters