landing.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html lang='en'>
  3. <head>
  4. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  5. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  6. <title><?=$page->title?></title>
  7. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  8. <!-- CSS files -->
  9. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
  10. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>landing.css'/>
  11. <!-- Script files -->
  12. <script src="<?=$path["js"]?>ui.js"></script>
  13. <!-- Meta tags -->
  14. <link rel='canonical' href='<?=$page->canonical?>'/>
  15. <link rel='author' href='<?=$page->author?>'/>
  16. <link rel='publisher' href='<?=$page->author?>'/>
  17. <meta name='description' content='<?=$page->description?>'/>
  18. <meta property='og:title' content='<?=$page->title?>'/>
  19. <meta property='og:url' content='<?=$page->canonical?>'/>
  20. <meta property='og:description' content='<?=$page->description?>'/>
  21. <meta property='og:image' content='<?=$page->icon?>'/>
  22. <meta property='og:site_name' content='<?=$page->name?>'/>
  23. <meta property='og:type' content='website'/>
  24. <meta property='og:locale' content='en'/>
  25. <meta name='twitter:card' content='summary'/>
  26. <meta name='twitter:title' content='<?=$page->title?>'/>
  27. <meta name='twitter:description' content='<?=$page->description?>'/>
  28. <meta name='twitter:image' content='<?=$page->icon?>'/>
  29. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  30. <meta name='robots' content='index follow'/>
  31. </head>
  32. <body>
  33. <?php
  34. include __DIR__ . "/inc/header.php";
  35. ?>
  36. <section class='list'>
  37. <h2>
  38. Select player
  39. </h2>
  40. <article>
  41. <!-- TODO: Action via JS, and fllback in controller -->
  42. <form method='POST' action='/action/login/'>
  43. <table>
  44. <tr>
  45. <td class='label'>
  46. <label for='uname'>
  47. Player
  48. </label>
  49. </td>
  50. <td class='input'>
  51. <input type='text' name='uname' id='uname' required/>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td class='label'>
  56. <label for='password'>
  57. Password
  58. </label>
  59. </td>
  60. <td class='input'>
  61. <input type='password' name='password' id='password' required/>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class='submit' colspan='2'>
  66. <input type='submit' value='Go'/>
  67. </td>
  68. </tr>
  69. </table>
  70. </form>
  71. </article>
  72. </section> <!-- #catalog -->
  73. <?php
  74. include __DIR__ . "/inc/footer.php";
  75. ?>
  76. </body>
  77. </html>