mirror of
				https://git.wownero.com/wownero/YellWOWPages.git
				synced 2024-08-15 01:03:25 +00:00 
			
		
		
		
	turn search into include, limit user results, minimum term search 2, show date of address addition
This commit is contained in:
		
							parent
							
								
									37208b102b
								
							
						
					
					
						commit
						b13f03855d
					
				
					 10 changed files with 50 additions and 48 deletions
				
			
		| 
						 | 
				
			
			@ -5,25 +5,15 @@
 | 
			
		|||
</div>
 | 
			
		||||
 | 
			
		||||
<div id="main">
 | 
			
		||||
    <form action="{{ url_for('bp_routes.search') }}" method="GET">
 | 
			
		||||
        <input type="text" name="username" placeholder="Username to search">
 | 
			
		||||
    </form>
 | 
			
		||||
    {% include 'includes/search.html' %}
 | 
			
		||||
 | 
			
		||||
    <br>
 | 
			
		||||
    Result(s): {{users|length}}
 | 
			
		||||
 | 
			
		||||
    {% if not users %}
 | 
			
		||||
    <br>Nothing found...
 | 
			
		||||
      <br>Nothing found...
 | 
			
		||||
    {% else %}
 | 
			
		||||
    <div id="addresses">
 | 
			
		||||
        {% for user in users %}
 | 
			
		||||
        <article>
 | 
			
		||||
            <header>
 | 
			
		||||
                <em>{{user.username}}</em>
 | 
			
		||||
            </header>
 | 
			
		||||
            <kbd>{{user.address}}</kbd>
 | 
			
		||||
        </article>
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
    </div>
 | 
			
		||||
      {% include 'includes/user_results.html' %}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -45,11 +35,6 @@
 | 
			
		|||
    #addresses::-webkit-scrollbar{
 | 
			
		||||
        display: none;
 | 
			
		||||
    }
 | 
			
		||||
    #footer{
 | 
			
		||||
        height: 12vh;
 | 
			
		||||
        width: 100%;
 | 
			
		||||
        text-align: center;
 | 
			
		||||
    }
 | 
			
		||||
    @media (max-width: 800px) {
 | 
			
		||||
        kbd{
 | 
			
		||||
            width: 100vw;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue