Commit 12cf42ebe3c3baf27a8f4f5082fa423873a56b74
1 parent
da54755a
[~] replace <p> tag by <li> tag in sidebar for adminlte4
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
web/frameworks/adminlte4/sidebar.anubis
| @@ -45,7 +45,7 @@ define List(HTML) | @@ -45,7 +45,7 @@ define List(HTML) | ||
| 45 | event(onclick, load_content(_target_id, _action, _extra, _replace, _overlay))],text(_T(_text)))), | 45 | event(onclick, load_content(_target_id, _action, _extra, _replace, _overlay))],text(_T(_text)))), |
| 46 | 46 | ||
| 47 | title(_title_id, subtitle, _classes, _text) then | 47 | title(_title_id, subtitle, _classes, _text) then |
| 48 | - p([class(if subtitle then "menu_subtitle" else "menu_title"), class((if _title_id=selected then " active" else "")+ " "+join(" ", _classes))], text([],_T(_text))) | 48 | + li([class(if subtitle then "menu_subtitle" else "nav-header"), class((if _title_id=selected then " active" else "")+ " "+join(" ", _classes))], text([],_T(_text))) |
| 49 | // p([class("menu_title"), class("item "+_title_id+"_icon"+if _title_id=selected then " selected" else ""+ " "+join(" ", _classes))], text([],_T(_text))) | 49 | // p([class("menu_title"), class("item "+_title_id+"_icon"+if _title_id=selected then " selected" else ""+ " "+join(" ", _classes))], text([],_T(_text))) |
| 50 | }, | 50 | }, |
| 51 | make_sidebar(_T, t, selected, [ entry . so_far]) | 51 | make_sidebar(_T, t, selected, [ entry . so_far]) |