From abca99908b0cf8f0c947fdf9c6fec54aaf7b08be Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Fri, 22 Apr 2022 09:49:59 +0800 Subject: [PATCH] * Code for story #32201. --- module/api/control.php | 1 + module/api/css/index.css | 4 ++++ module/api/view/index.html.php | 3 +++ 3 files changed, 8 insertions(+) diff --git a/module/api/control.php b/module/api/control.php index c36f75a32d..d7f73fb697 100755 --- a/module/api/control.php +++ b/module/api/control.php @@ -73,6 +73,7 @@ class api extends control $this->setMenu($libID, $moduleID); + $this->view->lib = $lib; $this->view->isRelease = $release > 0; $this->view->release = $release; $this->view->title = $this->lang->api->pageTitle; diff --git a/module/api/css/index.css b/module/api/css/index.css index 0a5dd949bf..c1d1bbac1c 100644 --- a/module/api/css/index.css +++ b/module/api/css/index.css @@ -122,3 +122,7 @@ .tree-group:hover .tree-actions {display: block} .tree-actions a {display: inline-block; margin-left: 5px; font-size: 13px; opacity: .6;} .tree li.active > .tree-group a {font-weight: 700; color: #0c64eb;} + +.base-url {background: #f3f3f3; margin: 0; border-top: 1px solid #eee;} +.base-url > p {margin: 0; padding-left: 20px; color: black;} +.detail+.detail {border-top: 0px;} diff --git a/module/api/view/index.html.php b/module/api/view/index.html.php index e77975a522..c628dac373 100644 --- a/module/api/view/index.html.php +++ b/module/api/view/index.html.php @@ -74,6 +74,9 @@
+
+

api->baseUrl . ': ' . $lib->baseUrl;?>

+