* Finish task #9102.
This commit is contained in:
@@ -24,9 +24,11 @@ class docModel extends model
|
||||
*/
|
||||
public function setMenu($type = '', $libID = 0, $moduleID = 0, $productID = 0, $projectID = 0, $crumb = '')
|
||||
{
|
||||
$selectHtml = "<div class='btn-group angle-btn'>";
|
||||
$selectHtml .= html::a(helper::createLink('doc', 'index'), $this->lang->doc->index, '', "class='btn'");
|
||||
$selectHtml .= '</div>';
|
||||
$btnStyle = $this->lang->navGroup->doc == 'doc' ? 'header-angle-btn' : 'angle-btn';
|
||||
$isLimitWidth = $this->lang->navGroup->doc == 'doc' ? '' : 'btn-limit';
|
||||
$selectHtml = "<div class='btn-group $btnStyle'>";
|
||||
$selectHtml .= html::a(helper::createLink('doc', 'index'), $this->lang->doc->index, '', "class='btn'");
|
||||
$selectHtml .= '</div>';
|
||||
|
||||
if($type)
|
||||
{
|
||||
@@ -49,9 +51,9 @@ class docModel extends model
|
||||
if(isset($this->lang->doc->libTypeList[$type]))
|
||||
{
|
||||
$mainLib = $this->lang->doc->libTypeList[$type];
|
||||
$selectHtml .= "<div class='btn-group angle-btn'>";
|
||||
$selectHtml .= "<div class='btn-group $btnStyle'>";
|
||||
$selectHtml .= "<div class='btn-group'>";
|
||||
$selectHtml .= "<a data-toggle='dropdown' class='btn btn-limit' title=$mainLib>" . $mainLib . " <span class='caret'></span></a>";
|
||||
$selectHtml .= "<a data-toggle='dropdown' class='btn $isLimitWidth' title=$mainLib>" . $mainLib . " <span class='caret'></span></a>";
|
||||
$selectHtml .= "<ul class='dropdown-menu'>";
|
||||
foreach($this->lang->doc->libTypeList as $libType => $libName)
|
||||
{
|
||||
@@ -79,9 +81,9 @@ class docModel extends model
|
||||
}
|
||||
$currentLibName = is_array($currentGroups[$currentLib]) ? $currentGroups[$currentLib]['name'] : $currentGroups[$currentLib];
|
||||
|
||||
$selectHtml .= "<div class='btn-group angle-btn'>";
|
||||
$selectHtml .= "<div class='btn-group $btnStyle'>";
|
||||
$selectHtml .= "<div class='btn-group'>";
|
||||
$selectHtml .= "<a data-toggle='dropdown' class='btn btn-limit' title=$currentLibName>" . $currentLibName . ' <span class="caret"></span></a>';
|
||||
$selectHtml .= "<a data-toggle='dropdown' class='btn $isLimitWidth' title=$currentLibName>" . $currentLibName . ' <span class="caret"></span></a>';
|
||||
$selectHtml .='<ul class="dropdown-menu">';
|
||||
if($type == 'product' or $type == 'project')
|
||||
{
|
||||
|
||||
@@ -12,7 +12,13 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>#mainHeader{height: 0px;}</style>
|
||||
<style>
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<?php $spliter = (empty($this->app->user->feedback) && !$this->cookie->feedbackView) ? true : false;?>
|
||||
<div class="main-row <?php if($spliter) echo 'split-row';?> fade" id="mainRow">
|
||||
|
||||
@@ -14,14 +14,11 @@
|
||||
<?php include '../../common/view/datepicker.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>
|
||||
#mainHeader {height: 0px;}
|
||||
#subHeader {background: #1183fb linear-gradient(-90deg,#0a48d1 0,#1183fb 100%); background-color: #1183fb; border-top-color: #0c64eb; border-bottom-color: #e9f2fb;}
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
#pageNav .angle-btn { border: none; background: none; border: rgba(255,255,255,.4) solid 1px; border-right-width: 0px;}
|
||||
#pageNav .btn {background-color: none; background: none; color: white; font-size: 13px; font-weight: unset;}
|
||||
#pageNav .angle-btn:after {border-left-color: #107df7;}
|
||||
#pageNav .btn-group:after {border-left-color: #107df7;}
|
||||
#pageNav .btn-group:before {border-left-color: #107df7;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<?php js::set('browseType', $browseType);?>
|
||||
|
||||
@@ -31,7 +31,13 @@
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php include '../../common/view/markdown.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>#mainHeader{height: 0px;}</style>
|
||||
<style>
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<?php js::set('holders', $lang->doc->placeholder);?>
|
||||
<?php js::set('type', 'doc');?>
|
||||
|
||||
@@ -14,7 +14,13 @@
|
||||
<?php if($doc->contentType == 'html') include '../../common/view/kindeditor.html.php';?>
|
||||
<?php if($doc->contentType == 'markdown') include '../../common/view/markdown.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>#mainHeader{height: 0px;}</style>
|
||||
<style>
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='center-block'>
|
||||
|
||||
@@ -13,9 +13,10 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>
|
||||
#mainHeader{height: 0px;}
|
||||
#subHeader {background: #1183fb linear-gradient(-90deg,#0a48d1 0,#1183fb 100%); background-color: #1183fb; border-top-color: #0c64eb; border-bottom-color: #e9f2fb;}
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<div class='main-row split-row fade' id='mainRow'>
|
||||
|
||||
@@ -15,7 +15,13 @@
|
||||
<style>.panel-body{min-height: 180px}</style>
|
||||
<?php endif;?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>#mainHeader{height: 0px;}</style>
|
||||
<style>
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<div class="fade main-row <?php if($this->from == 'doc') echo 'split-row';?>" id="mainRow">
|
||||
<?php if($this->from == 'doc'):?>
|
||||
|
||||
@@ -12,7 +12,13 @@
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>#mainHeader{height: 0px;}</style>
|
||||
<style>
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<div class="main-row fade <?php if($this->from == 'doc') echo 'split-row';?>" id="mainRow">
|
||||
<?php if($this->from == 'doc'):?>
|
||||
|
||||
@@ -13,7 +13,13 @@
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php include '../../common/view/kindeditor.html.php';?>
|
||||
<?php if($lang->navGroup->doc == 'doc'):?>
|
||||
<style>#mainHeader{height: 0px;}</style>
|
||||
<style>
|
||||
#subHeader {margin-top: -50px; background-color: rgba(0,0,0,0);}
|
||||
#pageActions .btn-link { color: #84a2e2; font-size: 14px; line-height: 18px; border: #84a2e2 1px solid;}
|
||||
.header-angle-btn {padding: 0;}
|
||||
.header-angle-btn .btn{padding: 6px 12px;}
|
||||
.header-angle-btn+.header-angle-btn::after, .header-angle-btn+.header-angle-btn::before {top: -40px;}
|
||||
</style>
|
||||
<?php endif;?>
|
||||
<?php echo css::internal($keTableCSS);?>
|
||||
<style>.detail-content .file-image {padding: 0 50px 0 10px;}</style>
|
||||
|
||||
Reference in New Issue
Block a user