password.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <!--
  3. The MIT License
  4. Copyright 2015 Jeroen De Meerleer <me@jeroened.be>.
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11. The above copyright notice and this permission notice shall be included in
  12. all copies or substantial portions of the Software.
  13. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. THE SOFTWARE.
  20. --><!doctype html>
  21. <html lang="en">
  22. <head>
  23. <meta charset="utf-8">
  24. <meta name="viewport" content="width=device-width, initial-scale=1">
  25. <meta name="description" content="Presto is a simple webapp to store and view presentations made in reveal.js">
  26. <meta name="keywords" content="presto, reveal.js, presentations, webapp, JeroenED, MIT, Open-Source">
  27. <meta name="author" content="Jeroen De Meerleer">
  28. <title>Presto :: Reveal the treasure</title>
  29. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  30. <link type="text/css" href="css/presto.css" rel="stylesheet">
  31. <link rel="shortcut icon" href="/favicon.ico" />
  32. </head>
  33. <body>
  34. <div id="container">
  35. <header>
  36. <img src="images/logo.png" alt="Presto :: Reveal the treasure">
  37. </header>
  38. <div id="content">
  39. <form method="post" action="<?php echo "//$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>"">
  40. <p><label for="password">Please give in the password for this presentation</label></p>
  41. <p><input type="password" id="password" name="password"></p>
  42. <p class="error"><?=$error?></p>
  43. <p><input type="submit" id="search-button" value="Reveal the treasure"></p>
  44. </p>
  45. </form>
  46. </div>
  47. </div>
  48. </body>
  49. </html>