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
6620879
commit 6e71a1a
Showing
8 changed files
with
188 additions
and
203 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
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,46 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block main %} | ||
<main class="main"> | ||
<div class="main_content"> | ||
<h1>{{ title }}</h1> | ||
<h4>Topics Distribution</h4> | ||
<p class="chart"> | ||
{% for descriptor, value in distribution %} | ||
<span data-balloon="{{ descriptor }}" data-balloon-pos="down" class="block"> | ||
<span class="value">{{ value }}%</span> | ||
</span> | ||
{% endfor %} | ||
</p> | ||
|
||
|
||
|
||
<div class="row -narrow" style="border-top: none;"> | ||
<div class="column""> | ||
<h4 style=" margin-top: 0px;">Top 3: Similar Documents</h4> | ||
{% for document in similar_documents %} | ||
<p><button class="topic" style="width: 100%;">{{ document }}</button></p> | ||
{% endfor %} | ||
<h4>Related Topics</h4> | ||
{% for topic in related_topics %} | ||
<p><button class="topic" style="width: 100%;">{{ topic }}</button></p> | ||
{% endfor %} | ||
</div> | ||
<div class="column -wide"> | ||
<h4 style="margin-top: 0px;">Original Text</h4> | ||
{% for paragraph in text %} | ||
<p style="text-align: justify;">{{ paragraph }}</p> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script> | ||
$('.value').each(function () { | ||
var text = $(this).text(); | ||
$(this).parent().css('width', text); | ||
}); | ||
</script> | ||
</main> | ||
|
||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block main %} | ||
<main class="main"> | ||
<div class="main_content"> | ||
<h1>{{ topic }}</h1> | ||
<div class="row -narrow" style="border-top: none;"> | ||
<div class="column""> | ||
<h4 style=" margin-top: 0px;">Top 3: Similar Topics</h4> | ||
{% for topic in similar_topics %} | ||
<p><button class="topic" style="width: 100%;">{{ topic }}</button></p> | ||
{% endfor %} | ||
<h4>Related Words</h4> | ||
{% for word in related_words %} | ||
<p><button class="topic" style="width: 100%;">{{ word }}</button></p> | ||
{% endfor %} | ||
</div> | ||
<div class="column -wide"> | ||
<h4 style="margin-top: 0px;">Related Documents</h4> | ||
{% for document in related_documents %} | ||
<p><button class="topic" style="width: 100%;">{{ document }}</button></p> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<script> | ||
$('.value').each(function () { | ||
var text = $(this).text(); | ||
$(this).parent().css('width', text); | ||
}); | ||
</script> | ||
</main> | ||
|
||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.