fradrive/templates/i18n/admin-test/en-eu.hamlet

91 lines
2.7 KiB
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>,Steffen Jost <jost@tcs.ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
<section>
<p>
This page is intended only to test certain functionality and to demonstrate
various helper functions and modules.
This handler should contain up to date examples of all functions so it can
be the first point of contact.
<p>
^{iconTooltip testTooltipMsg Nothing False}
^{messageTooltip msgInfoTooltip}
^{messageTooltip msgSuccessTooltip}
^{messageTooltip msgWarningTooltip}
^{messageTooltip msgErrorTooltip}
^{messageTooltip msgNonDefaultIconTooltip}
<p>
<span .tooltip>
<span .tooltip__content>Buy Tooltip-White for brighter tooltips!
The tooltip handle should always be set so tooltips are usable on mobile devices and without javascript.
<section>
<h2>Manually created table
<table .table .table--striped>
<tr .table__row .table__row--head>
<th .table__th colspan=2> Header A
<th .table__th rowspan=2> Header
<tr .table__row .table__row--head>
<th .table__th>
B
^{iconTooltip testTooltipMsg Nothing True}
<th .table__th> C
<tr .table__row title="Example of line tooltip">
<td .table__td>1
<td .table__td>2
<td .table__td>3
<tr .table__row>
<td .table__td>
<span .tooltip>
<span .tooltip__content>Buy Tooltip-White for brighter tooltips! (DOES NOT WORK)
4
<td .table__td>5
<span .tooltip>
<span .tooltip__content>Buy Tooltip-White for brighter tooltips! (DOES NOT WORK)
<td .table__td>6
<tr .table__row>
<td .table__td>7
<td .table__td>8
<td .table__td>9
<section>
<h2>Functions for testing
<ul>
<li>
Button test:
^{btnForm}
<li>
Modals:
<ul>
<li>^{modal "Click me for ajax test" (Left $ SomeRoute UsersR)}
<li>^{modal "Click me for content test" (Right "Test message for this modal message")}
<li>^{modal "Email-Test" (Right emailWidget')}
<li>
Modal as button
<ul>
<li>^{modal btnModalText (Right "Just another test message for a button bodal")}
<li>^{btnModal (text2message "Yet another button") [BCIsButton, BCDanger] (Right "Yet another text")}
<li>
Some icons: ^{isVisible False} ^{hasComment True}
<section>
<h2>
Download a generated PDF
<p>
Here is a #
<a href=@{AdminTestPdfR}>
Download-Link
\ for a preview.
<p>
Following the link, the pdf will also be saved
to the /tmp directory, once without
and once with password protection.