* Adjust style.

This commit is contained in:
tianshujie98
2021-02-23 10:28:50 +08:00
parent f8b0e4e0e8
commit 2f9de80fe1
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -478,8 +478,8 @@ class productModel extends model
*/
public function getProductMainAction()
{
$link = html::a(helper::createLink('product', 'all'), $this->lang->product->product, '', "style='color: #fff; border: none;'");
$html = "<p><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
$link = html::a(helper::createLink('product', 'all'), $this->lang->product->product, '', "style='border: none;'");
$html = "<p style='padding-top:5px;'><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
return common::hasPriv('product', 'all') ? $html : '';
}
+4 -4
View File
@@ -31,8 +31,8 @@ class programModel extends model
*/
public function getPGMMainAction()
{
$link = html::a(helper::createLink('program', 'pgmbrowse'), $this->lang->program->PGMBrowse, '', "style='color: #fff; border: none;'");
$html = "<p><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
$link = html::a(helper::createLink('program', 'pgmbrowse'), $this->lang->program->PGMBrowse, '', "style='border: none;'");
$html = "<p style='padding-top:5px;'><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
return common::hasPriv('program', 'pgmbrowse') ? $html : '';
}
@@ -896,8 +896,8 @@ class programModel extends model
*/
public function getPRJMainAction($module, $method)
{
$link = html::a(helper::createLink('program', 'prjbrowse'), $this->lang->program->PRJBrowse, '', "style='color: #fff; border: none;'");
$html = "<p><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
$link = html::a(helper::createLink('program', 'prjbrowse'), $this->lang->program->PRJBrowse, '', "style='border: none;'");
$html = "<p style='padding-top:5px;'><i class='icon icon-list' style='padding-right:5px;'></i>" . $link . "</p>";
return common::hasPriv('program', 'prjbrowse') ? $html : '';
}