mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-02-05 09:42:56 +01:00
Merge branch 'master' of https://github.com/Andoryuuta/Erupe
This commit is contained in:
@@ -18,7 +18,6 @@ function checkAuthResult() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
// Login form submission.
|
// Login form submission.
|
||||||
$("#loginform").submit(function(e){
|
$("#loginform").submit(function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -34,12 +33,13 @@ $(function() {
|
|||||||
|
|
||||||
checkAuthResult();
|
checkAuthResult();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#btn_config").click(function() {
|
// Config button.
|
||||||
|
$("#configButton").click(function(){
|
||||||
try{
|
try{
|
||||||
window.external.openMhlConfig();
|
window.external.openMhlConfig();
|
||||||
} catch(e){
|
} catch(e){
|
||||||
createErrorAlert("Error on openMhlConfig: " + e);
|
createErrorAlert("Error on openMhlConfig: " + e);
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -57,13 +57,13 @@
|
|||||||
<input type="password" class="form-control" id="password" placeholder="Password">
|
<input type="password" class="form-control" id="password" placeholder="Password">
|
||||||
</div>
|
</div>
|
||||||
<button id="submitButton" type="submit" class="btn btn-primary">Submit</button>
|
<button id="submitButton" type="submit" class="btn btn-primary">Submit</button>
|
||||||
<button id="btn_config" class="btn btn-primary">Config</button>
|
<button id="configButton" class="btn btn-secondary">Config</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4"></div>
|
<div class="col-4"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user