000_index.sql 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. DROP TABLE IF EXISTS sqlpage_cards;
  2. CREATE TABLE IF NOT EXISTS sqlpage_cards (
  3. link text,
  4. title text,
  5. top_image text,
  6. description_md text,
  7. color text,
  8. grouping int,
  9. icon text
  10. );
  11. INSERT INTO sqlpage_cards
  12. VALUES
  13. (
  14. '/feed/news/rss.html',
  15. 'News Feed',
  16. NULL,
  17. 'Notable events but not weather or sports',
  18. NULL,
  19. 4,
  20. NULL
  21. ),
  22. (
  23. '/feed/discovery/rss.html',
  24. 'Discovery Feed',
  25. NULL,
  26. 'Cool and inspirational articles',
  27. NULL,
  28. 4,
  29. NULL
  30. ),
  31. (
  32. '/feed/humour/rss.html',
  33. 'Humour Feed',
  34. NULL,
  35. 'Humourous articles, memes or anything funny',
  36. NULL,
  37. 4,
  38. NULL
  39. ),
  40. (
  41. '/clip?',
  42. 'Clipboard',
  43. 'https://shandan.one/static/clip/clip-favicon_square.svg',
  44. 'Paste snippets to share via tiny URL',
  45. 'green',
  46. 2,
  47. 'clipboard'
  48. ),
  49. (
  50. '/goto?',
  51. 'Short URL',
  52. 'https://shandan.one/static/goto/chain-link2fr-3-2.svg',
  53. 'Make long URLs shorter and easy to type and say',
  54. 'pinterest',
  55. 2,
  56. 'link'
  57. ),
  58. (
  59. '/upload?',
  60. 'Share a File',
  61. 'https://shandan.one/static/upload/upload-favicon_square.svg',
  62. 'Upload a file and generate a short URL to share easily',
  63. 'yellow',
  64. 2,
  65. 'cloud-share'
  66. ),
  67. (
  68. '/code?',
  69. 'Track Vouchers',
  70. 'https://shandan.one/static/code/qr.svg',
  71. 'Save scanned voucher codes to keep them handy and not forgotten',
  72. 'azure',
  73. 2,
  74. 'barcode'
  75. ),
  76. (
  77. 'https://mealie.shandan.one/g/das',
  78. 'Recipes',
  79. 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" class="v-icon__svg" style="font-size: 100px; height: 100px; width: 100px; fill: rgb(229, 131, 37)"><path d="M8.1,13.34L3.91,9.16C2.35,7.59 2.35,5.06 3.91,3.5L10.93,10.5L8.1,13.34M13.41,13L20.29,19.88L18.88,21.29L12,14.41L5.12,21.29L3.71,19.88L13.36,10.22L13.16,10C12.38,9.23 12.38,7.97 13.16,7.19L17.5,2.82L18.43,3.74L15.19,7L16.15,7.94L19.39,4.69L20.31,5.61L17.06,8.85L18,9.81L21.26,6.56L22.18,7.5L17.81,11.84C17.03,12.62 15.77,12.62 15,11.84L14.78,11.64L13.41,13Z"></path></svg>',
  80. 'Share recipes and meal plans',
  81. 'yellow',
  82. 3,
  83. 'tools-kitchen-2'
  84. ),
  85. (
  86. 'https://shandan.one/grocery/internal/apply.sql?groups[]=Fish,%20Meat,%20Eggs&apply=Apply&title=Trend',
  87. 'Trending Prices',
  88. 'https://shandan.one/grocery/favicon_square.svg',
  89. 'Plot charts showing historic price data',
  90. 'youtube',
  91. 3,
  92. 'shopping-cart'
  93. ),
  94. (
  95. 'https://cropswap.shandan.one/',
  96. 'Taupiri Crop Swap',
  97. 'https://cropswap.shandan.one/user/themes/quark/images/favicon.png',
  98. 'Local crop sharing community',
  99. 'lime',
  100. 3,
  101. 'plant'
  102. ),
  103. (
  104. 'https://mail.cropswap.shandan.one/',
  105. 'Crop Swap Mail',
  106. 'https://www.mhonarc.org/MHonArc/logo/xmhastampw_t.png.pagespeed.ic.JEPpZUA3TZ.webp',
  107. 'Member mailing list',
  108. 'github',
  109. 3,
  110. 'mail'
  111. ),
  112. (
  113. NULL, --'https://wol.shandan.one?location=outside',
  114. 'Wake a Device',
  115. 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="rgb(205,57,57)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-power"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M7 6a7.75 7.75 0 1 0 10 0" /><path d="M12 4l0 8" /></svg>',
  116. 'Wake a device from [home](https://wol.shandan.one?location=home) or [outside](https://wol.shandan.one?location=outside)',
  117. 'red',
  118. 3,
  119. 'power'
  120. ),
  121. (
  122. 'https://shandan.one/pgadmin4',
  123. 'pgAdmin',
  124. 'https://raw.githubusercontent.com/postgres/pgadmin4/c1ba645dceed5c9551a5f408e37a14d1041ee598/web/pgadmin/static/favicon.ico',
  125. 'Manage And access postgresql databases',
  126. 'azure',
  127. 3,
  128. 'database'
  129. ),
  130. (
  131. 'https://shandan.one/guacamole',
  132. 'Guacamole',
  133. 'https://raw.githubusercontent.com/apache/guacamole-website/main/images/logos/guac-classic-logo.svg',
  134. 'Remote desktop',
  135. 'teal',
  136. 3,
  137. 'avocado'
  138. ),
  139. (
  140. 'https://gogs.shandan.one',
  141. 'Gogs',
  142. 'https://gogs.shandan.one/img/favicon.png',
  143. 'Manage and access git repositories',
  144. 'yellow',
  145. 3,
  146. 'brand-git'
  147. ),
  148. (
  149. 'https://syncthing.shandan.one',
  150. 'Syncthing',
  151. 'https://syncthing.net/img/logo-horizontal.svg',
  152. 'Monitor and configure file shares',
  153. 'blue',
  154. 3,
  155. 'topology-complex'
  156. ),
  157. (
  158. 'https://shandan.one/wekan',
  159. 'WeKan',
  160. 'https://raw.githubusercontent.com/wekan/wekan/master/public/logo-header.png',
  161. 'Kanban board
  162. Manage projects and tasks',
  163. 'teal',
  164. 3,
  165. 'layout-kanban'
  166. ),
  167. (
  168. 'https://mouse.shandan.one/#remote-mouse',
  169. 'Remote Touchpad',
  170. 'https://raw.githubusercontent.com/Unrud/remote-touchpad/master/webdata/icon.png',
  171. 'Use device as touchpad
  172. Turn your device''s touchscreen into a remote touchpad',
  173. 'github',
  174. 3,
  175. 'pointer'
  176. ),
  177. (
  178. 'https://gateway.shandan.one',
  179. 'Gateway',
  180. 'https://gateway.shandan.one/favicon.ico?t=6dcc8b66',
  181. 'Access the gateway
  182. Manage local LAN and internet connection settings',
  183. 'cyan',
  184. 3,
  185. 'router'
  186. ),
  187. (
  188. 'https://listgarden.shandan.one',
  189. 'ListGarden',
  190. 'https://www.wikicalc.org/images/listgardenlogo48.gif',
  191. 'Manage RSS Feeds
  192. Publish news items and create new feeds',
  193. 'green',
  194. 3,
  195. 'seeding'
  196. ),
  197. (
  198. 'https://shandan.one/pyapi/random',
  199. 'Prayer Generator',
  200. '',
  201. 'Generate a template prayer following the form of the model prayer outlined in Matthew&nbsp;6:9‑13 and Luke&nbsp;11:2‑4',
  202. 'orange',
  203. 3,
  204. 'pray'
  205. )
  206. ;