mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #655 from openclassify/dia
#1946 arabam-theme left menu add
This commit is contained in:
commit
07e1bdd360
@ -260,6 +260,7 @@ class AdvsController extends PublicController
|
|||||||
$mainCats[] = [
|
$mainCats[] = [
|
||||||
'id' => $current_cat->id,
|
'id' => $current_cat->id,
|
||||||
'val' => $current_cat->name,
|
'val' => $current_cat->name,
|
||||||
|
'slug' => $current_cat->slug,
|
||||||
];
|
];
|
||||||
$subCats = $this->category_repository->getSubCatById($categoryId->id);
|
$subCats = $this->category_repository->getSubCatById($categoryId->id);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -177,6 +177,7 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
|
|||||||
$new = array();
|
$new = array();
|
||||||
$new['id'] = $main->id;
|
$new['id'] = $main->id;
|
||||||
$new['val'] = $main->name;
|
$new['val'] = $main->name;
|
||||||
|
$new['slug'] = $main->slug;
|
||||||
$categories[] = $new;
|
$categories[] = $new;
|
||||||
if ($main->parent_category_id != null) {
|
if ($main->parent_category_id != null) {
|
||||||
$id = $main->parent_category_id;
|
$id = $main->parent_category_id;
|
||||||
|
|||||||
@ -85,5 +85,4 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: #000;
|
background: #000;
|
||||||
opacity: .2;
|
opacity: .2;
|
||||||
z-index: 999;
|
|
||||||
}
|
}
|
||||||
@ -1,8 +1,8 @@
|
|||||||
$('#navbarSideButton').on('click', function() {
|
$('#navbarSideButton').on('click', function() {
|
||||||
$('#navbarSide').addClass('reveal');
|
$('#navbarSide').addClass('reveal');
|
||||||
$('.overlay').show();
|
$('.overlay').css({'z-index': 999}).show();
|
||||||
});
|
});
|
||||||
$('.overlay').on('click', function(){
|
$('.overlay').on('click', function(){
|
||||||
$('#navbarSide').removeClass('reveal');
|
$('#navbarSide').removeClass('reveal');
|
||||||
$('.overlay').hide();
|
$('.overlay').css({'z-index': 'initial'}).hide();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user