mirror of
				https://git.wownero.com/wownero/YellWOWPages.git
				synced 2024-08-15 01:03:25 +00:00 
			
		
		
		
	Rewrite to Quart web-framework, refactor code.
This commit is contained in:
		
							parent
							
								
									95b0569f7a
								
							
						
					
					
						commit
						df51c98e02
					
				
					 39 changed files with 656 additions and 980 deletions
				
			
		
							
								
								
									
										36
									
								
								yellow/templates/api.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								yellow/templates/api.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,36 @@
 | 
			
		|||
{% extends "base.html" %}
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div style="display:none">
 | 
			
		||||
{% block title %}YellWOWPages - API{% endblock %}
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div id="main">
 | 
			
		||||
  <h1>API</h1>
 | 
			
		||||
  <p>
 | 
			
		||||
    Search user: <code><a href="/api/user/dsc" data-tooltip="partial search supported">/api/user/{username}</a></code>
 | 
			
		||||
    <br><br>
 | 
			
		||||
    Get all users: <code><a href="/api/user/">/api/user/</a></code>
 | 
			
		||||
  </p>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
  #main {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    height: 80vh;
 | 
			
		||||
    display: grid;
 | 
			
		||||
    place-content: center;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  form {
 | 
			
		||||
    height: 50px;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @media (max-width: 800px) {
 | 
			
		||||
    kbd {
 | 
			
		||||
      width: 100vw;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
</style>
 | 
			
		||||
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue