mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
moves the news titel to the component and adds css classes for darker dropdown buttons for the different menu levels
This commit is contained in:
@@ -16,17 +16,22 @@ if(isset($template_kurzbz)){
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->load->view('templates/CISVUE-Header', $includesArray);
|
||||
if(defined('CIS4')){
|
||||
$this->load->view('templates/CISVUE-Header', $includesArray);
|
||||
}else{
|
||||
$this->load->view('templates/FHC-Header', $includesArray);
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<h2 ><?php echo isset($content_id)? "Content" : "News" ?></h2>
|
||||
<hr/>
|
||||
<div id="cms">
|
||||
<?php echo (isset($content_id) ? '<cms-content :content_id="'.$content_id.'" :version="'.$version.'" :sprache="'.$sprache.'" :sichtbar="'.$sichtbar.'" />' : '<cms-news/>'); ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('templates/CISVUE-Footer', $includesArray); ?>
|
||||
<?php
|
||||
if (defined('CIS4')) {
|
||||
$this->load->view('templates/CISVUE-Footer', $includesArray);
|
||||
} else {
|
||||
$this->load->view('templates/FHC-Footer', $includesArray);
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
+17
-1
@@ -68,10 +68,26 @@ html {
|
||||
background-color: var(--fhc-cis-menu-lvl-1-bg-hover);
|
||||
}
|
||||
|
||||
/* makes the dropdown button darker*/
|
||||
/* makes the dropdown button darker for level1*/
|
||||
#cis-header .btn-level-1+.btn:not(.btn-level-1){
|
||||
background-color:var(--fhc-cis-menu-lvl-1-bg-hover) !important;
|
||||
}
|
||||
/* makes the dropdown button darker for level2*/
|
||||
#cis-header .btn-level-2+.btn:not(.btn-level-2){
|
||||
background-color: var(--fhc-cis-menu-lvl-2-bg-hover) !important;
|
||||
}
|
||||
/* makes the dropdown button darker for level3*/
|
||||
#cis-header .btn-level-3+.btn:not(.btn-level-3){
|
||||
background-color: var(--fhc-cis-menu-lvl-3-bg-hover) !important;
|
||||
}
|
||||
/* makes the dropdown button darker for level4*/
|
||||
#cis-header .btn-level-4+.btn:not(.btn-level-4){
|
||||
background-color: var(--fhc-cis-menu-lvl-4-bg-hover) !important;
|
||||
}
|
||||
/* makes the dropdown button darker for level5*/
|
||||
#cis-header .btn-level-5+.btn:not(.btn-level-5){
|
||||
background-color: var(--fhc-cis-menu-lvl-5-bg-hover) !important;
|
||||
}
|
||||
|
||||
#cis-header .btn-level-2,
|
||||
#cis-header .btn-level-2 + .btn,
|
||||
|
||||
@@ -35,6 +35,8 @@ export default {
|
||||
});
|
||||
},
|
||||
template: /*html*/ `
|
||||
<h2 >News</h2>
|
||||
<hr/>
|
||||
<pagination :page_size="page_size" @page="loadNewPageContent" :maxPageCount="maxPageCount">
|
||||
<div v-html="content"></div>
|
||||
</pagination>`,
|
||||
|
||||
Reference in New Issue
Block a user