Merge branch 'master' into captcha-login
[DeezloaderRemix.git] / app / public / index.html
index 4778a3e6d4e2997026b9977a6ce50a41cd8ac580..d692a310b326bd14a2a7e38e6a1156dde98405cd 100644 (file)
        <div class="modal-content container" id="login-page">
                <div class="card">
                        <div class="card-content">
-                               <span class="card-title">Please paste here your userToken</span>
+                               <span class="card-title">Please login to your deezer account.</span>
                                <h6 class="red-text" id="login-res-text"></h6>
                                <div class="input-field col s12">
-                                       <input autocomplete="off" type="password" id="modal_login_input_userToken"/>
-                                       <label for="modal_login_input_userToken">userToken</label>
+                                       <input autocomplete="off" type="text" id="modal_login_input_username"/>
+                                       <label for="modal_login_input_username">Email</label>
                                </div>
-        <p><a href="https://notabug.org/RemixDevs/DeezloaderRemix/wiki/Login+via+userToken" target="_blank">How do I get my userToken?</a></p>
+                               <div class="input-field col s12">
+                                       <input autocomplete="off" type="password" id="modal_login_input_password"/>
+                                       <label for="modal_login_input_password">Password</label>
+                               </div>
+                               <input id="modal_login_input_captchaResponse" type="hidden" value=""/>
+                               <iframe id="modal_login_iframe_captcha" src="cap://deezer.com/"></iframe>
                        </div>
                        <div class="card-action row">
+                               <div class="col s12 m2 right center" id="modal_login_autologin">
+                                       <label>
+                                               <input type="checkbox" class="filled-in" id="modal_login_input_autologin"/>
+                                               <span>Remember me</span>
+                                       </label>
+                               </div>
                                <a href="#" class="deezloader-primary col s12 m2 waves-effect waves-light btn" id="modal_login_btn_login">Log in</a>
                                <a href="#" class="deezloader-secondary col s12 m2 waves-effect waves-light btn" id="modal_login_btn_signup">Sign up</a>
                        </div>