mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 15:43:53 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			86 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends "base.html" %}
 | 
						|
{% block left_pannel %}
 | 
						|
 | 
						|
<table>
 | 
						|
    <tr>
 | 
						|
        <td>
 | 
						|
            <button class="unselected" onclick="location.href = '/override';">override</button>
 | 
						|
        </td>
 | 
						|
    </tr>
 | 
						|
    <tr>
 | 
						|
        <td>
 | 
						|
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
						|
        </td>  
 | 
						|
    </tr>
 | 
						|
    <tr>
 | 
						|
        <td>
 | 
						|
            <button class="unselected" onclick="location.href = '/discord';">discord</button>
 | 
						|
        </td>
 | 
						|
    </tr>
 | 
						|
    <tr>
 | 
						|
        <td>
 | 
						|
            <button class="unselected" onclick="location.href = '/database';">database</button>
 | 
						|
        </td>
 | 
						|
    </tr>
 | 
						|
    <tr>
 | 
						|
        <td>
 | 
						|
            <button class="unselected" onclick="location.href = '/proxy';">proxy</button>
 | 
						|
        </td>  
 | 
						|
    </tr>
 | 
						|
    <tr>
 | 
						|
        <td>
 | 
						|
            <button class="selected" onclick="location.href = '/settings';">settings</button>
 | 
						|
        </td>
 | 
						|
    </tr>
 | 
						|
</table>
 | 
						|
{% endblock %}
 | 
						|
 | 
						|
{% block content %}
 | 
						|
{%if not current_user.is_authenticated %}
 | 
						|
    <button class="unselected" onclick="location.href = '/login';">login</button>
 | 
						|
{% else %}
 | 
						|
<form method="post" action="/settings/">
 | 
						|
    <table>
 | 
						|
        <tr>
 | 
						|
            <td class="comlumn-name">avatar url :</td>
 | 
						|
            <td><input type="text" name="avatarlink" value="{{data['avatarlink']}}"></td>
 | 
						|
        </tr>
 | 
						|
        <tr>
 | 
						|
            <td></td>
 | 
						|
            <td>
 | 
						|
                <input type="submit"  name="settings" id="submit" value="update" class="button"/>
 | 
						|
            </td>
 | 
						|
        </tr>
 | 
						|
    </table>
 | 
						|
    <table>
 | 
						|
        <tr>
 | 
						|
            TODO
 | 
						|
        </tr>
 | 
						|
        <tr><td>reorder config</td></tr>
 | 
						|
        <tr><td>real override</td></tr>
 | 
						|
        <tr><td>ban button</td></tr>
 | 
						|
        <tr><td>database truc</td></tr>
 | 
						|
        <tr><td>pourquoi tout ne se lance pas bien ?</td></tr>
 | 
						|
        <tr><td>logs viewer</td></tr>
 | 
						|
    </table>
 | 
						|
    <br>
 | 
						|
    <table>
 | 
						|
        <tr><h2>Backup config files</h2></tr>
 | 
						|
        <tr><td><a href="/download/configs.json">download account config</a></td></tr>
 | 
						|
        <tr><td><a href="/download/discord.json">download discord config</a></td></tr>
 | 
						|
        <tr><td><a href="/download/flask.json">download flask config</a></td></tr>
 | 
						|
        <tr><td><a href="/download/proxy.json">download proxy config</a></td></tr>
 | 
						|
        <tr><td><a href="/download/settings.json">download settings</a></td></tr>
 | 
						|
    
 | 
						|
    </table>
 | 
						|
</form>
 | 
						|
<form method="POST" action="/upload_file/">
 | 
						|
    <input type="file" id="file1">
 | 
						|
    <input type="file" id="file2">
 | 
						|
    <input type="submit"  name="settings" id="submit" value="send file" class="button"/>
 | 
						|
</form>
 | 
						|
 | 
						|
{% endif %}
 | 
						|
{%endblock %}
 | 
						|
 |