mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-08-26 22:45:15 +02:00
Initial commit for v2.4.3
This commit is contained in:
38
databases/templates/databases/phpMyAdmin.html
Normal file
38
databases/templates/databases/phpMyAdmin.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% extends "baseTemplate/index.html" %}
|
||||
{% load i18n %}
|
||||
{% block title %}{% trans "PHPMYAdmin - CyberPanel" %}{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% load static %}
|
||||
{% get_current_language as LANGUAGE_CODE %}
|
||||
<!-- Current language: {{ LANGUAGE_CODE }} -->
|
||||
|
||||
|
||||
<div ng-controller="phpMyAdmin" class="container">
|
||||
<div id="page-title">
|
||||
<h2>{% trans "PHPMYAdmin" %}</h2>
|
||||
<p>{% trans "Access your databases via PHPMYAdmin" %}</p>
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
<div class="panel-body">
|
||||
<h3 class="title-hero">
|
||||
{% trans "PHPMYAdmin" %}
|
||||
</h3>
|
||||
<div class="example-box-wrapper">
|
||||
|
||||
<p>{% trans "Auto-login for PHPMYAdmin is now supported. Click the button below to generate auto-access for PHPMYAdmin" %}</p>
|
||||
<br>
|
||||
<a ng-click="generateAccess()" href="#">
|
||||
<button id="phpMyAdminlogin" class="btn btn-primary">Access Now <img ng-hide="cyberPanelLoading" src="{% static 'images/loading.gif' %}"></button>
|
||||
</a>
|
||||
|
||||
</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 %}
|
||||
Reference in New Issue
Block a user