Move WDQS report and add a heading.
This commit is contained in:
		
							parent
							
								
									0ef6eced13
								
							
						
					
					
						commit
						e849f18660
					
				
							
								
								
									
										2
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.py
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -899,7 +899,7 @@ def missing_image_report():
 | 
			
		|||
 | 
			
		||||
    return render_template('missing_image.html', item_list=item_list)
 | 
			
		||||
 | 
			
		||||
@app.route('/report/query')
 | 
			
		||||
@app.route('/report/wdqs')
 | 
			
		||||
def wikidata_query_list():
 | 
			
		||||
    q = WikidataQuery.query.order_by(WikidataQuery.start_time.desc())
 | 
			
		||||
    return render_template('query_list.html', q=q)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,6 +4,14 @@
 | 
			
		|||
<div class="p-2">
 | 
			
		||||
 | 
			
		||||
  <div class="container">
 | 
			
		||||
    <div class="row">
 | 
			
		||||
      <div class="col">
 | 
			
		||||
        <h1>Wikidata Query Service report</h1>
 | 
			
		||||
 | 
			
		||||
        <p>This report lists every query sent to the <a href="https://query.wikidata.org/">Wikidata Query Service</a> (WQDS) by WADE. Failed queries are in red.</p>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div class="row">
 | 
			
		||||
      <div class="col-2">when</div>
 | 
			
		||||
      <div class="col-3">page</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue