Skip to content

Commit

Permalink
#55 Switch off theme manager in phpmyadmin config
Browse files Browse the repository at this point in the history
Remove `Add new database` button above phpmyadmin frame
  • Loading branch information
waseemsadiq committed Jun 5, 2022
1 parent 570d127 commit 9a367cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion config/phpmyadmin/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
declare(strict_types=1);

$cfg['AllowThirdPartyFraming'] = true;
$cfg['ThemeDefault'] = 'bootstrap';
$cfg['ThemeDefault'] = 'bootstrap';
$cfg['ThemeManager'] = false;
5 changes: 0 additions & 5 deletions sites/dashboard/pages/php/phpmyadmin.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,5 @@
---

<section class="max-w-7xl mx-auto py-4 px-5 h-screen">
<div class="flex justify-end items-center pb-4 border-b border-gray-300">
<button onclick="window.location.href='http://phpmyadmin.localhost/index.php?route=/server/databases'" type="button" class="px-6 py-2.5 bg-jtblue-600 text-white font-medium text-xs leading-tight uppercase rounded shadow-md hover:bg-jtblue-700 hover:shadow-lg focus:bg-jtblue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-jtblue-800 active:shadow-lg transition duration-150 ease-in-out">
Add a database
</button>
</div>
<object type="text/html" data="http://phpmyadmin.localhost/" class="min-h-screen w-full"></object>
</section>

0 comments on commit 9a367cc

Please sign in to comment.