Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
a8895dd5b7 | |||
dcb2134744 | |||
d824bf4c1b |
@ -67,7 +67,7 @@ if secret == "":
|
||||
#Automatic start of MsRewards
|
||||
"""
|
||||
def daily_command():
|
||||
subprocess.Popen(["git",'pull'])
|
||||
subprocess.Popen(["git","pull"])
|
||||
subprocess.Popen(["pkill","-9","chrome"])
|
||||
subprocess.Popen(["pkill","-9","Xvfb"])
|
||||
subprocess.Popen(["pkill","-9","Xvnc"])
|
||||
|
@ -231,7 +231,7 @@ body {
|
||||
margin: auto;
|
||||
width: 20%;
|
||||
}
|
||||
.comlumn-name{
|
||||
.column-name{
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
<form method="post" action="/change_password/">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="comlumn-name">Change password</td>
|
||||
<td class="column-name">Change password</td>
|
||||
<td><input type="text" name="password"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -20,30 +20,30 @@
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">name</td>
|
||||
<td class="column-name">name</td>
|
||||
<td><input type="text" id="name" name="name" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">Send errors</td>
|
||||
<td class="column-name">Send errors</td>
|
||||
<td><input type="checkbox" id="errorsT" name="errorsT" class="toogle"/><label for="errorsT">Toggle</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">Send success</td>
|
||||
<td class="column-name">Send success</td>
|
||||
<td><input type="checkbox" id="successT" name="successT" class="toogle"/><label for="successT">Toggle</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">Success link</td>
|
||||
<td class="column-name">Success link</td>
|
||||
<td><input type="text" id="successL" name="successL" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">Failure Link</td>
|
||||
<td class="column-name">Failure Link</td>
|
||||
<td><input type="text" id="errorsL" name="errorsL" value=""></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="comlumn-name"></td>
|
||||
<td class="column-name"></td>
|
||||
<td style="width:60%;"><input type="submit" name="DISCORD" id="submit" value="Create !" class="confirm" style="width:86%;"/></td>
|
||||
<td style="padding-right: 20px;">
|
||||
<input type="submit" name="DISCORD" id="submit" value="delete" class="ban" style="width:60%;"/>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<form method="post" action="/login/">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="comlumn-name">password</td>
|
||||
<td class="column-name">password</td>
|
||||
<td><input type="password" name="password"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td class="comlumn-name"></td>
|
||||
<td class="column-name"></td>
|
||||
<td>
|
||||
<script>data = JSON.parse('{{data|tojson}}');</script>
|
||||
<select name="select" onchange="change_proxy(this.value, data, '{{len}}')">
|
||||
@ -24,21 +24,21 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">name : </td>
|
||||
<td class="column-name">name : </td>
|
||||
<td><input type="text" name="name" value="" id="name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">address : </td>
|
||||
<td class="column-name">address : </td>
|
||||
<td><input type="text" name="address" value="" id="address"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="comlumn-name">port : </td>
|
||||
<td class="column-name">port : </td>
|
||||
<td><input type="text" name="port" value="" id="port"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td class="comlumn-name"></td>
|
||||
<td class="column-name"></td>
|
||||
<td style="width:60%;"><input type="submit" name="PROXY" id="submit" value="Create !" class="confirm" style="width:86%;"/></td>
|
||||
<td style="padding-right: 20px;"><input type="submit" name="PROXY" id="submit" value="delete" class="ban" style="width:60%;"/></td>
|
||||
</tr>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<form method="post" action="/settings/">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="comlumn-name">avatar url :</td>
|
||||
<td class="column-name">avatar url :</td>
|
||||
<td><input type="text" name="avatarlink" value="{{data['avatarlink']}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
1
V6.py
1
V6.py
@ -1019,6 +1019,7 @@ def log_error(msg):
|
||||
|
||||
def check_updated():
|
||||
if config.has_been_updated():
|
||||
subprocess.Popen(["pip","install", "-r", "requirements.txt"])
|
||||
config.discord.wh.send(f"Updated to {config.version}", username="update",
|
||||
avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user