mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Add query analysis form options etc.
This commit is contained in:
		@@ -35,7 +35,7 @@
 | 
			
		||||
          <span class="card-title">Query and analysis</span>
 | 
			
		||||
          <div class="input-field">
 | 
			
		||||
            <i class="material-icons prefix">search</i>
 | 
			
		||||
              <textarea id="{{ form.query.id }}" name="{{ form.query.id }}" required="" type="text" value="" class="materialize-textarea"></textarea>
 | 
			
		||||
              <input autofocus size="1024" data-length="1024" id="{{ form.query.id }}" name="{{ form.query.id }}" required="" type="text" value="{{ query if query != None else '' }}"></input>
 | 
			
		||||
              {{ form.query.label }}
 | 
			
		||||
            {% for error in form.query.errors %}
 | 
			
		||||
              <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
@@ -44,7 +44,7 @@
 | 
			
		||||
          <div class="right-align">
 | 
			
		||||
            {{ form.submit(class='btn') }}
 | 
			
		||||
          </div>
 | 
			
		||||
          <!-- <br>
 | 
			
		||||
          <br>
 | 
			
		||||
          <span class="card-title">Help</span>
 | 
			
		||||
          <ul>
 | 
			
		||||
            <li>
 | 
			
		||||
@@ -54,17 +54,26 @@
 | 
			
		||||
          </ul>
 | 
			
		||||
          <br>
 | 
			
		||||
          <span class="card-title">Options</span>
 | 
			
		||||
          <select>
 | 
			
		||||
            <option value="" disabled selected>Choose your option</option>
 | 
			
		||||
            <option value="1">10</option>
 | 
			
		||||
            <option value="2">20</option>
 | 
			
		||||
            <option value="3">25</option>
 | 
			
		||||
            <option value="3">50</option>
 | 
			
		||||
        </select>
 | 
			
		||||
        <label>Materialize Select</label>
 | 
			
		||||
          <br>
 | 
			
		||||
            <div class="input-field">
 | 
			
		||||
              <i class="material-icons prefix">format_list_numbered</i>
 | 
			
		||||
              {{ form.hits_per_page() }}
 | 
			
		||||
              {{ form.hits_per_page.label }}
 | 
			
		||||
              {% for error in form.hits_per_page.errors %}
 | 
			
		||||
                <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
              {% endfor %}
 | 
			
		||||
            </div>
 | 
			
		||||
          <br>
 | 
			
		||||
          <div class="input-field">
 | 
			
		||||
            <i class="material-icons prefix">short_text</i>
 | 
			
		||||
            {{ form.context() }}
 | 
			
		||||
            {{ form.context.label }}
 | 
			
		||||
            {% for error in form.context.errors %}
 | 
			
		||||
              <span class="helper-text red-text">{{ error }}</span>
 | 
			
		||||
            {% endfor %}
 | 
			
		||||
          </div>
 | 
			
		||||
          <span class="card-title">Download Results</span>
 | 
			
		||||
        </div> -->
 | 
			
		||||
        </div>
 | 
			
		||||
      </form>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user