landing.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <!-- Meta tags -->
  12. <link rel='canonical' href='<?=$page->canonical?>'/>
  13. <link rel='author' href='<?=$page->author?>'/>
  14. <link rel='publisher' href='<?=$page->author?>'/>
  15. <meta name='description' content='<?=$page->description?>'/>
  16. <meta property='og:title' content='<?=$page->title?>'/>
  17. <meta property='og:url' content='<?=$page->canonical?>'/>
  18. <meta property='og:description' content='<?=$page->description?>'/>
  19. <meta property='og:image' content='<?=$page->icon?>'/>
  20. <meta property='og:site_name' content='<?=$page->name?>'/>
  21. <meta property='og:type' content='website'/>
  22. <meta property='og:locale' content='en'/>
  23. <meta name='twitter:card' content='summary'/>
  24. <meta name='twitter:title' content='<?=$page->title?>'/>
  25. <meta name='twitter:description' content='<?=$page->description?>'/>
  26. <meta name='twitter:image' content='<?=$page->icon?>'/>
  27. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  28. <meta name='robots' content='index follow'/>
  29. </head>
  30. <body>
  31. <?php
  32. include __DIR__ . "/inc/header.php";
  33. ?>
  34. <section class='list'>
  35. <h2>
  36. Select player
  37. </h2>
  38. <article>
  39. <!-- TODO: Action via JS, and fllback in controller -->
  40. <form method='POST' action='/action/login/'>
  41. <table>
  42. <tr>
  43. <td class='label'>
  44. <label for='uname'>
  45. Player
  46. </label>
  47. </td>
  48. <td class='input'>
  49. <input type='text' name='uname' id='uname' required/>
  50. </td>
  51. </tr>
  52. <tr>
  53. <td class='label'>
  54. <label for='password'>
  55. Password
  56. </label>
  57. </td>
  58. <td class='input'>
  59. <input type='password' name='password' id='password' required/>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td class='submit' colspan='2'>
  64. <input type='submit' value='Go'/>
  65. </td>
  66. </tr>
  67. </table>
  68. </form>
  69. </article>
  70. </section> <!-- #catalog -->
  71. <?php
  72. include __DIR__ . "/inc/footer.php";
  73. ?>
  74. </body>
  75. </html>