-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
Makes the controller interface friendlier for text-only browsers/any use without stylesheets.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ let html ?current_page ?header content = | |
~a:[ a_class [ "d-Layout__Aside" ] ] | ||
[ nav | ||
([ Info; Network; Localization; SystemStatus; Changelog ] | ||
|> List.map (menu_item current_page)) | ||
|> List.concat_map (fun page -> [ menu_item current_page page; txt " " ])) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
knuton
Author
Member
|
||
; div | ||
~a: [ a_class [ "d-Layout__Shutdown" ] ] | ||
[ menu_item current_page Shutdown ] | ||
|
Add a small comment to explain the reason to add text spaces ?