Heaver server V1
This commit is contained in:
		
							
								
								
									
										29
									
								
								templates/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								templates/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <title>{{ app_title }}</title>
 | 
			
		||||
 | 
			
		||||
    <link rel="stylesheet" href="/assets/bootstrap.min.css">
 | 
			
		||||
</head>
 | 
			
		||||
<body style="margin-top: 80px">
 | 
			
		||||
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
 | 
			
		||||
    <div class="container">
 | 
			
		||||
        <a class="navbar-brand">{{ app_title }}</a>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
<div class="container">
 | 
			
		||||
    <div style="text-align: center">
 | 
			
		||||
        <a type="button" class="btn btn-outline-primary btn-lg" href="/download">Download files</a>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
<h3>Files list:</h3>
 | 
			
		||||
<ul>
 | 
			
		||||
    {% for f in files -%}
 | 
			
		||||
    <li>{{ f.to_str().unwrap() }}</li>
 | 
			
		||||
    {% endfor -%}
 | 
			
		||||
</ul>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user