mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-04 15:43:53 +01:00 
			
		
		
		
	oh boy
This commit is contained in:
		@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="selected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="selected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
@@ -40,7 +40,7 @@
 | 
			
		||||
{%if not current_user.is_authenticated %}
 | 
			
		||||
    <button class="unselected" onclick="location.href = '/login';">login</button>
 | 
			
		||||
{% else %}
 | 
			
		||||
<form method="post" action="/accounts/">
 | 
			
		||||
<form method="post" action="/config/">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <table>
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = 'accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = 'config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
@@ -73,12 +73,17 @@
 | 
			
		||||
            <td class="comlumn-name">Failure Link</td>
 | 
			
		||||
            <td><input type="text" id="errorsL" name="errorsL" value=""></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
 | 
			
		||||
    </table>
 | 
			
		||||
    <table>
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td></td>
 | 
			
		||||
            <td><input type="submit"  name="DISCORD" id="submit" value="Create !" class="button"/></td>
 | 
			
		||||
            <td class="comlumn-name"></td>
 | 
			
		||||
            <td style="width:60%;"><input type="submit"  name="DISCORD" id="submit" value="Create !" class="button" style="width:90%;"/></td>
 | 
			
		||||
            <td style="padding-right: 20px;">
 | 
			
		||||
                <input type="submit" name="DISCORD" id="submit" value="delete" class="button"/>
 | 
			
		||||
            </td>
 | 
			
		||||
        </tr>
 | 
			
		||||
    </table>
 | 
			
		||||
    
 | 
			
		||||
</form>
 | 
			
		||||
<script>
 | 
			
		||||
    function changecat(value) {
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
@@ -39,14 +39,30 @@
 | 
			
		||||
 | 
			
		||||
{%if not current_user.is_authenticated %}
 | 
			
		||||
    <button class="unselected" onclick="location.href = '/login';">login</button>
 | 
			
		||||
{% else %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    {% else %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <h1>Not Implemented, watch terminal</h1>
 | 
			
		||||
<form method="post" action="/override/">
 | 
			
		||||
    <input type="submit"  name="data" value="Run bot" class="button"/>
 | 
			
		||||
    <table>
 | 
			
		||||
    {% for i in data %}
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td>{{data[i]['name']}}</td>
 | 
			
		||||
            <td>
 | 
			
		||||
                <input type="time" id="{{i}}" name="time{{i}}" value="{{data[i]['time']}}">
 | 
			
		||||
            </td>
 | 
			
		||||
            <td>
 | 
			
		||||
                <input type="checkbox" id="switch{{i}}" name="switch{{i}}" {{ "checked" if data[i]['enabled'] == True else "" }}/>
 | 
			
		||||
                <label for="switch{{i}}">
 | 
			
		||||
                    Toggle
 | 
			
		||||
                </label>
 | 
			
		||||
            </td>
 | 
			
		||||
 | 
			
		||||
        </tr>
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
 | 
			
		||||
    </table>
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
    <input type="submit"  name="data" value="Update" class="button"/>
 | 
			
		||||
</form>
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
@@ -68,13 +68,14 @@
 | 
			
		||||
            <td class="comlumn-name">port : </td>
 | 
			
		||||
            <td><input type="text" name="port" value="" id="port"></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
 | 
			
		||||
        <tr>
 | 
			
		||||
            <td></td>
 | 
			
		||||
            <td><input type="submit"  name="data" id="submit" value="Create" class="button"/></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
    </table>
 | 
			
		||||
    
 | 
			
		||||
        </table>
 | 
			
		||||
        <table>
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td class="comlumn-name"></td>
 | 
			
		||||
                <td style="width:60%;"><input type="submit"  name="PROXY" id="submit" value="Create !" class="button" style="width:90%;"/></td>
 | 
			
		||||
                <td style="padding-right: 20px;"><input type="submit" name="PROXY" id="submit" value="delete" class="button"/></td>
 | 
			
		||||
            </tr>
 | 
			
		||||
        </table>
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
</form>
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/accounts';">accounts</button>
 | 
			
		||||
            <button class="unselected" onclick="location.href = '/config';">config</button>
 | 
			
		||||
        </td>  
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user