Removed webview as it's not possible to build it on windows and macOS

This commit is contained in:
RemixDev 2020-04-15 18:56:14 +02:00
parent 4693e386d3
commit 1a1e713db0
2 changed files with 0 additions and 10 deletions

View File

@ -180,7 +180,6 @@ <h1>Settings</h1>
<p>You are logged in as <b id="settings_username"></b></p> <p>You are logged in as <b id="settings_username"></b></p>
<button onclick="logout()" id="settings_btn_logout">Logout</button> <button onclick="logout()" id="settings_btn_logout">Logout</button>
</div> </div>
<button id="open_login_prompt" type="button" name="button" onclick="openLoginPrompt()" disabled>Login with e-mail</button>
<div class="inline-flex"> <div class="inline-flex">
<input autocomplete="off" type="password" id="login_input_arl" placeholder="ARL"/> <input autocomplete="off" type="password" id="login_input_arl" placeholder="ARL"/>
<button onclick="copyARLtoClipboard()" id="settings_btn_copyArl"><i class="material-icons">assignment</i></button> <button onclick="copyARLtoClipboard()" id="settings_btn_copyArl"><i class="material-icons">assignment</i></button>

View File

@ -59,12 +59,6 @@ socket.on("message", function(msg){
console.log(msg) console.log(msg)
}) })
window.addEventListener('pywebviewready', function() {
if (window.pywebview.platform == "gtk"){
$('#open_login_prompt').prop('disabled', false);
}
})
$(function(){ $(function(){
if (localStorage.getItem("arl")){ if (localStorage.getItem("arl")){
socket.emit("login", localStorage.getItem("arl")); socket.emit("login", localStorage.getItem("arl"));
@ -95,9 +89,6 @@ document.querySelector("#hide_download_tab").onclick = (ev)=>{
} }
// Login stuff // Login stuff
function openLoginPrompt(){
socket.emit("loginpage")
}
function loginButton(){ function loginButton(){
let arl = document.querySelector("#login_input_arl").value let arl = document.querySelector("#login_input_arl").value