mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-05-11 10:55:42 +02:00
PHPMyAdmin autologin upon document ready
Update to have PHPMyAdmin autologin upon document ready. Adding a target="_blank" to the navbar link so it spawns new tab and then when this page loads you get that overall opened in a new tab feeling without losing your original cyberpanel session.
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Here we are making the phpmyadmin page autoload in current tab -->
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){$(function(){$('#phpMyAdminlogin').click();});});
|
||||
</script>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user