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