Skip to content

Theme plugin for adminer to enable css includes based on the sql server selected

License

Notifications You must be signed in to change notification settings

mmokross/AdminerCustomizeThemeBasedOnServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdminerCustomizeThemeBasedOnServer

The plugin AdminerCustomizeThemeBasedOnServer enables the customization of the active theme based on the active server selected.

It tries to add a SERVER specific CSS file using the following convention

  • same directory as adminer.css
  • name it server-[SERVER]-adminer.css
  • add any additional CSS styles, you want to apply to the adminer.css or the default.css

See the example

  • adminer/plugin.php to add the plugin AdminerCustomizeThemeBasedOnServer
  • adminer/server-MY.LOCAL-adminer.css
  • adminer/server-MY.LOCAL-ICON.png
  • plugins/customize-theme-by-server.php
  • run the adminer/index.php and set server to MY.LOCAL

About

Theme plugin for adminer to enable css includes based on the sql server selected

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published