1 <%@page contentType="text/html" pageEncoding="UTF-8"%>
2 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
3 <!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
7 <meta http-equiv="content-language" content="cs"/>
8 <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"/>
9 <title>Upozornění e-mailem</title>
10 <link type="text/css" href="css/ui-lightness/jquery-ui-1.7.custom.css" rel="stylesheet" />
11 <link type="text/css" href="css/styl.css" rel="stylesheet" />
12 <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
13 <script type="text/javascript" src="js/jquery-ui-1.7.custom.min.js"></script>
14 <script type="text/javascript" src="js/ui.datepicker-cs.js"></script>
17 <h1><img src="logo.png" alt="logo" id="logo"/>Upozornění e-mailem</h1>
20 <script type="text/javascript">
25 $("#datepicker").datepicker();
35 <li><a href="#tabs-1">Přidat upozornění</a></li>
36 <li><a href="#tabs-2">Šablony</a></li>
37 <li><a href="#tabs-3">Moje upozornění</a></li>
41 <form action="?akce=zaloz" method="post">
43 <label title="Kam bude odesláno upozornění.">E-mail: <input type="text" name="email"/></label><br/>
44 <label title="Kdy bude odesláno upozornění.">Datum: <input id="datepicker" type="text" name="datum"/></label><br/>
45 <label title="Předmět upozorňovacího e-mailu.">Předmět: <input type="text" name="predmet"/></label><br/>
46 <label title="Text upozorňovacího e-mailu.">Text: <textarea type="text" name="text"></textarea></label><br/>
47 <img src="protiZlymRobotum.jpg" alt="Kaptcha" id="protiZlymRobotum" title="Pokud je obrázek nečitelný, klikněte na něj a vygeneruje se nový."/><br/>
48 <script type="text/javascript">
50 $('#protiZlymRobotum').click(function () { $(this).attr('src', 'protiZlymRobotum.jpg?' + Math.floor(Math.random()*100) ); })
53 <label title="Opište kód z obrázku.">Kontrolní kód: <input type="text" name="protiZlymRobotum"/></label><br/>
54 <button title="Vytvoží upozornění a pošle vám potvrzovací e-mail.">Přidat upozornění!</button>
73 <div class="ui-widget">
74 <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
75 <p>Tady bude informace o licenci.</p>