This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
fradrive-old/templates/default-layout.hamlet
2022-12-14 09:37:59 +01:00

51 lines
1.4 KiB
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Felix Hamann <felix.hamann@campus.lmu.de>,Gregor Kleen <gregor.kleen@ifi.lmu.de>,Sarah Vaupel <vaupel.sarah@campus.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
$if not isModal
$with containers <- filter isNavHeaderContainer nav
$if not (null containers)
<input name=nav-container type=radio .navbar__container-radio--none checked #container-radio-none uw-no-radiobox>
$forall (_, containerIdent, _, _) <- containers
<input name=nav-container type=radio .navbar__container-radio ##{containerIdent}-radio uw-no-radiobox>
<!-- navigation -->
^{navbar}
$maybe ribbon <- contentRibbon
<div .ribbon>
^{ribbon}
<div .main>
<div .main__content uw-poc :isJust currentHandler:uw-handler=#{fromMaybe "" currentHandler}>
$if not isModal
<!-- breadcrumbs -->
$if not $ Just NewsR == mcurrentRoute
^{breadcrumbsWgt}
<div .main__content-body>
$maybe headline <- contentHeadline
<h1 .headline-one>
<!-- $maybe back <- lastMaybe parents
<a .breadcrumbs__link href="@{fst back}">#{snd back} -->
^{headline}
$if hasPageActions
<!-- page actions -->
^{pageaction}
<!-- actual content -->
^{widget}
<!-- alerts -->
^{alerts}
<!-- footer -->
$if not isModal
^{footer}