alerts.jspf 870 Bytes
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1 2 3
<%@include file="/WEB-INF/jsp/init.jsp"%>

<!-- Alerts -->
4 5 6
<gui:alert type="info">
	<b>Info:</b> This accession is in the Multilateral System of the ITPGRFA. 
</gui:alert>
7 8 9 10
<div class="mcboatface">
	<p>Different types of alerts are used: <code>success</code>, <code>info</code>, <code>warning</code>, <code>danger</code> (Coming from Bootstrap).</p>
	<pre>&lt;gui:alert type="info" display="true"&gt;Contents here&lt;/gui:alert&gt;</pre>
	<p>The <code>display</code> attribute determines whether the alert is rendered or not.</p>
Matija Obreza's avatar
Matija Obreza committed
11 12
</div>

13 14 15
<gui:alert type="success">
	<b>Success!</b> This accession is in the Multilateral System of the ITPGRFA. 
</gui:alert>
Matija Obreza's avatar
Matija Obreza committed
16

17 18 19 20 21 22 23
<gui:alert type="warning">
	<b>Warning!</b> This accession is in the Multilateral System of the ITPGRFA. 
</gui:alert>

<gui:alert type="danger">
	<b>Danger!</b> Do not panic. 
</gui:alert>