Enhance modal code

This commit is contained in:
Patrick Jentsch 2020-10-23 10:44:27 +02:00
parent 6d2abeb5df
commit 70a1725f31
6 changed files with 9 additions and 20 deletions

View File

@ -1,6 +1,4 @@
<!-- Analysis init modal. User feedback showing that the analysis session is <!-- Analysis init modal. User feedback showing that the analysis session is loading. -->
loading. -->
<div class="modal no-autoinit" id="analysis-init-modal"> <div class="modal no-autoinit" id="analysis-init-modal">
<div class="modal-content"> <div class="modal-content">
<h4>Initializing your corpus analysis session...</h4> <h4>Initializing your corpus analysis session...</h4>
@ -14,4 +12,4 @@ loading. -->
</div> </div>
<p id="analysis-init-error" class="hide red-text"></p> <p id="analysis-init-error" class="hide red-text"></p>
</div> </div>
</div> </div>

View File

@ -1,5 +1,4 @@
<!-- Modal showing detailed context info for one match. --> <!-- Modal showing detailed context info for one match. -->
<div id="context-modal" class="modal"> <div id="context-modal" class="modal">
<div class="modal-content"> <div class="modal-content">
<form> <form>
@ -73,4 +72,4 @@
</a> </a>
<a href="#!" class="modal-close waves-effect waves-light red btn">Close</a> <a href="#!" class="modal-close waves-effect waves-light red btn">Close</a>
</div> </div>
</div> </div>

View File

@ -1,6 +1,4 @@
<!-- Export query results modal. Allos the user to download the results in <!-- Export query results modal. Allos the user to download the results in different file formats. WIP -->
different file formats. WIP -->
<div id="query-results-download-modal" <div id="query-results-download-modal"
class="modal modal-fixed-footer no-autoinit"> class="modal modal-fixed-footer no-autoinit">
<div class="modal-content"> <div class="modal-content">
@ -51,4 +49,4 @@ different file formats. WIP -->
<div class="modal-footer"> <div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-light red btn">Close</a> <a href="#!" class="modal-close waves-effect waves-light red btn">Close</a>
</div> </div>
</div> </div>

View File

@ -1,6 +1,4 @@
<!-- Modal showing the corpus files for the current query results including <!-- Modal showing the corpus files for the current query results including title ant match count per corpus file. -->
title ant match count per corpus file. -->
<div id="show-corpus-files-modal" class="modal bottom-sheet"> <div id="show-corpus-files-modal" class="modal bottom-sheet">
<div class="container"> <div class="container">
<div class="row"> <div class="row">

View File

@ -1,6 +1,4 @@
<!-- Modal showing the meta data for the current query results or the imported <!-- Modal showing the meta data for the current query results or the imported results -->
results -->
<div id="meta-data-modal" class="modal bottom-sheet"> <div id="meta-data-modal" class="modal bottom-sheet">
<div class="container"> <div class="container">
<div class="row"> <div class="row">

View File

@ -1,6 +1,4 @@
<!-- Modal to show all metadata of one text/corpus file. Used in conjunction <!-- Modal to show all metadata of one text/corpus file. Used in conjunction with the show_meta_data.html.j2 template.-->
with the show_meta_data.html.j2 template.-->
<div id="modal-text-details" class="modal modal-fixed-footer"> <div id="modal-text-details" class="modal modal-fixed-footer">
<div class="modal-content"> <div class="modal-content">
<h4>Bibliographic data</h4> <h4>Bibliographic data</h4>
@ -9,4 +7,4 @@ with the show_meta_data.html.j2 template.-->
<div class="modal-footer"> <div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green red btn">Close</a> <a href="#!" class="modal-close waves-effect waves-green red btn">Close</a>
</div> </div>
</div> </div>