From 68fb1f9711013278f65acc434db70cafc4dc1449 Mon Sep 17 00:00:00 2001 From: "James P. Walters" Date: Mon, 25 Apr 2016 01:56:20 -0400 Subject: [PATCH] Plugin Version - Show the plugin version if there's a 'version' parameter in the plugin.json file. - Added a new version column to the plugin list page. - Added a new version section to hte plugin detail config page. #367 --- OpenVBX/views/page/config.php | 4 ++++ OpenVBX/views/settings/site-plugins.php | 2 ++ assets/c/admin.css | 4 ++++ assets/c/master.css | 2 ++ 4 files changed, 12 insertions(+) diff --git a/OpenVBX/views/page/config.php b/OpenVBX/views/page/config.php index 0591fd27..5658d771 100644 --- a/OpenVBX/views/page/config.php +++ b/OpenVBX/views/page/config.php @@ -17,6 +17,10 @@ Description + + Version + + Author diff --git a/OpenVBX/views/settings/site-plugins.php b/OpenVBX/views/settings/site-plugins.php index eeb0cb0e..cb4af530 100644 --- a/OpenVBX/views/settings/site-plugins.php +++ b/OpenVBX/views/settings/site-plugins.php @@ -4,6 +4,7 @@ Name + Version Author Description Installed Path @@ -14,6 +15,7 @@ + diff --git a/assets/c/admin.css b/assets/c/admin.css index 191da8ab..b910ffcc 100755 --- a/assets/c/admin.css +++ b/assets/c/admin.css @@ -688,6 +688,10 @@ pre { width: 15%; } +#settings-plugins .plugin-version { + width: 5%; +} + #settings-plugins .plugin-author { width: 15%; } diff --git a/assets/c/master.css b/assets/c/master.css index d401b6d8..3852c114 100755 --- a/assets/c/master.css +++ b/assets/c/master.css @@ -1122,6 +1122,8 @@ button.inline-button { float: left; margin: 0 10px 0 0 !important;} #settings-plugins .plugin-name { width: 15%;} +#settings-plugins .plugin-version { width: 5%;} + #settings-plugins .plugin-author { width: 15%;} #settings-plugins .plugin-desc { width: 22%;}