123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <title>iVProgH - LInE (free educational software and contents)</title>
- <link href="../css/bootstrap.min.css" rel="stylesheet">
- <link href="../css/style.css" rel="stylesheet">
- </head>
- <body>
- <nav class="navbar navbar-expand-md navbar-dark fixed-top" style="background-color: #03396c;">
- <b><a class="navbar-brand" href="../">iVProgH</a></b>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarsExampleDefault">
- <ul class="navbar-nav mr-auto">
- <li class="nav-item active">
- <a class="nav-link" href="../"
- title="Navigate to iVProgH homepage.">Home</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../sobre_ivprog.html"
- title="Know what iVProgH is and what iVProgH is for.">About</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../ex_pt/index.html"
- title="See some examples and test iVProgH online.">Examples</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../download.html"
- title="Download a copy of iVProgH for your computer.">Download</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../manual_pt/index.html"
- title="Access online iVProgH manual and learn about all the features.">Help</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../bugs/report.html"
- title="Send a message to the iVProgH team.">Contact</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="//www.usp.br/line/"
- title="Meet the Laboratory of Informatics in Education of the Institute of Mathematics and Statistics of USP.">LInE</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../docs/"
- title="Get access to all iVProgH documentation.">Developers</a>
- </li>
- <li class="nav-item">
- <a class="nav-link" href="../publicacoes.html"
- title="Read the team publications about iVProgH.">Publications</a>
- </li>
- </ul>
- <div class="form-inline my-2 my-lg-0">
- <img src="../img/img_flag_brazil.png" />
- <img src="../img/img_flag_usa.png" ;>
- </div>
- </div>
- </nav>
- <main role="main">
- <div class="jumbotron ivprogh-desc">
- <div class="container">
- <h1>Contact</h1>
- </div>
- </div>
- <div class="container ivprog-container" style="padding: 3em; margin-top: 3em;">
- <p style="color: gray">Thank you for your interest in contacting iVProgH! <br />
- Please, fill in the fields below.</p>
- <form action="get.php" method="post" class="needs-validation" novalidate>
- <input type="hidden" name="redirect" value="report.html">
- <div class="form-group row">
- <label for="inputname" class="col-sm-2 col-form-label">Name:</label>
- <div class="col-sm-10">
- <input type="text" class="form-control" id="inputname" name="name">
- </div>
- </div>
- <div class="form-group row">
- <label for="inputemail" class="col-sm-2 col-form-label">E-mail:</label>
- <div class="col-sm-10">
- <input type="email" class="form-control" id="inputemail" name="email">
- </div>
- </div>
- <div class="form-group row">
- <label for="inputsummary" class="col-sm-2 col-form-label">Subject:</label>
- <div class="col-sm-10">
- <input type="text" class="form-control" id="inputsummary" name="summary">
- </div>
- </div>
- <div class="form-group row">
- <label for="inputdetails" class="col-sm-2 col-form-label">Message:*</label>
- <div class="col-sm-10">
- <textarea id="inputdetails" class="form-control" name="details" style="height: 15em;" required></textarea>
- <div class="invalid-feedback">
- Please give us a message!
- </div>
- </div>
- </div>
- <div class="form-group row">
- <div class="offset-sm-2 col-sm-10">
- <button type="submit" class="btn btn-primary">Submit</button>
- <span class="reported" style="color: green; font-size: 120%;"></span>
- <span class="error" style="color: red; font-size: 120%;"></span>
- </div>
- </div>
- </form>
- </div>
- </main>
- <footer class="container text-center">
- <a href="http://www.ime.usp.br/line">iVProgH</a> |
- <a href="http://www.ime.usp.br/line">LInE</a> |
- <a href="http://www.matematica.br">iMática</a>
- </footer>
- <script src="../js/jquery.min.js"></script>
- <script src="../js/bootstrap.bundle.min.js"></script>
- <script type="text/javascript">
- $( document ).ready(function() {
- $( '#inputname' ).focus();
- var forms = document.getElementsByClassName('needs-validation');
- // Loop over them and prevent submission
- var validation = Array.prototype.filter.call(forms, function(form) {
- form.addEventListener('submit', function(event) {
- if (form.checkValidity() === false) {
- event.preventDefault();
- event.stopPropagation();
- $(' #inputdetails').focus();
- }
- form.classList.add('was-validated');
- }, false);
- });
- if (getUrlParameter('reported')) {
- $('.reported').text('The information has been sent successfully!');
- } else if (getUrlParameter('error')) {
- $('.error').text('There was an error while trying to send the data, please try again!');
- }
- });
- function getUrlParameter(sParam) {
- var sPageURL = window.location.search.substring(1),
- sURLVariables = sPageURL.split('&'),
- sParameterName,
- i;
- for (i = 0; i < sURLVariables.length; i++) {
- sParameterName = sURLVariables[i].split('=');
- if (sParameterName[0] === sParam) {
- return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
- }
- }
- }
-
- </script>
- </body>
- </html>
|