Subversion Repositories Applications.reseau

Rev

Rev 73 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <title>Tela Botanica - Remarks</title>

                <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
                <meta http-equiv="Content-style-type" content="text/css" />
                <meta http-equiv="Content-script-type" content="text/javascript" />
                <meta http-equiv="Content-language" content="fr" />

                <meta name="revisit-after" content="15 days" />
                <meta name="robots" content="index,follow" />
                <meta name="author" content="Mathias Chouet" />
                <meta name="keywords" content="Tela Botanica, remarques, erreur, bug" />
                <meta name="description" content="Widget de remarques" />

                <meta name="viewport" content="width=device-width, initial-scale=1" />

                <link rel="stylesheet" type="text/css" href="<?=$url_css?>" media="screen" />
                <link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" />

                <script src="https://resources.tela-botanica.org/jquery/1.9.1/jquery.min.js"></script>
                <script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
                <script src="<?=$url_js?>"></script>
        </head>

        <body>
                <!-- WIDGET:reseau:remarques - DEBUT -->
                <div id="widget">
                        <?php if ($envoye === true): ?>

                        <h1>Tela Botanica - Message sent !</h1>
                        <p class="alert alert-info">
                                A message was sent to service <strong><?= $service ?></strong>
                                <br/>
                                Thank you for having taken some time to submit your remark !
                        </p>
                        <a class="btn btn-default" href="">New remark</a>
                        <button class="btn btn-default fermer">Close this window</button>

                        <?php else: ?>

                        <h1>Tela Botanica - Remarks</h1>
                        <p class="alert alert-info">
                                Thank you for taking some time to fill this form.
                                When you validate it, a message will be automatically
                                sent to service <strong><?= $service ?></strong>
                        </p>
                        <form role="form" action="" method="post">
                                <div class="form-group">
                                        <div class="control">
                                                <label>Your contact information</label>
                                                <input name="coordonnees" type="email" class="form-control"
                                                        placeholder="Example: email@domain.com" />
                                        </div>
                                        <p class="help-block">If you wish to receive an answer, specify your email adress (optional).</p>
                                </div>
                                <div class="form-group">
                                        <div class="control">
                                                <label>Your remark</label>
                                                <textarea name="description" class="form-control haut" required="required"></textarea>
                                        </div>
                                        <p class="help-block">
                                                If this is an error report, explain what you intended to do, the problem you encoutered and
                                                the steps that led you to it, using as much details as you can.
                                        </p>
                                </div>
                                <p class="alert alert-info">
                                        If your remark is about a <strong>website / software error</strong>, please fill the fields below
                                </p>
                                <div class="form-group">
                                        <div class="control">
                                                <label>Browser(s) used</label>
                                                <input name="navigateur" class="form-control"
                                                        placeholder="Examples: Firefox 26, Chrome 24, Internet Explorer 11, Safari 5, Opera 10..." />
                                        </div>
                                </div>
                                <div class="form-group">
                                        <div class="control">
                                                <label>Operating system</label>
                                                <input name="systeme" class="form-control"
                                                        placeholder="Examples: Windows 8, Windows XP, Mac OSX 10.5, Ubuntu, Androïd, iOS..." />
                                        </div>
                                </div>
                                <div class="form-group">
                                        <div class="control">
                                                <label>Error severity</label>
                                                <select name="gravite" class="form-control">
                                                        <option value="inconnue">I don't know</option>
                                                        <option value="legere">Light : the application still works (buggy display, annoying message...)</option>
                                                        <option value="moyenne">Medium : all or part of the application can still be used, but with difficulties</option>
                                                        <option value="grave">Strong : the application or one of its main features doesn't work anymore</option>
                                                </select>
                                        </div>
                                </div>
                                <input name="action" value="envoyer" type="hidden"/>
                                <button type="submit" class="btn btn-success valider">Send your remark</button>
                        </form>

                        <?php endif; ?>
                </div>
                <!-- WIDGET:reseau:remarques - FIN -->
        </body>
</html>