HTML5 word games involving finding anagrams https://apps.aweirdimagination.net/anagram-games/
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

70 satır
1.9 KiB

  1. #!/bin/sh
  2. cat > www/index.html <<DOC
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <title>A Weird Imagination anagram games</title>
  9. <link rel="stylesheet" type="text/css" href="/static/css/style.css">
  10. </head>
  11. <body>
  12. <header>
  13. <nav>
  14. Back to
  15. <a href="../">all web apps</a>
  16. </nav>
  17. </header>
  18. <h1>Anagram Games</h1>
  19. <ul class="apps">
  20. DOC
  21. for app in $(find www -mindepth 1 -maxdepth 1 -type d -exec basename {} \;)
  22. do
  23. if [ "$app" != "wordlist" -a "$app" != "static" ]
  24. then
  25. qrencode -o "../root/www/static/qr/anagram-games-${app}.png" "https://apps.aweirdimagination.net/anagram-games/${app}/"
  26. if [ -f "www/$app/description" ]
  27. then
  28. description=$(cat "www/$app/description")
  29. else
  30. description=$app
  31. fi
  32. if [ -f "www/$app/offline" ]
  33. then
  34. offline=" offline"
  35. else
  36. offline=""
  37. fi
  38. cat >> www/index.html <<DOC
  39. <li>
  40. <div class="app">
  41. <div class="qr">
  42. <a href="/static/qr/anagram-games-${app}.png">
  43. <img class="qr" src="/static/qr/anagram-games-${app}.png"/>
  44. </a>
  45. </div>
  46. <div class="text$offline">
  47. <a href="$app/">$app</a>:
  48. $description
  49. </div>
  50. </div>
  51. </li>
  52. DOC
  53. fi
  54. done
  55. cat >> www/index.html <<DOC
  56. </ul>
  57. <footer>
  58. Web apps by
  59. <a href="https://aweirdimagination.net/~perelman/">Daniel
  60. Perelman</a>,
  61. author of the blog <a href="https://aweirdimagination.net/">A Weird
  62. Imagination</a>.
  63. </footer>
  64. </body>
  65. </html>
  66. DOC