Open.sql 774 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. SELECT 'text' AS component
  2. , '<style>
  3. .form-fieldset {
  4. border: none;
  5. }
  6. .form-fieldset .row {
  7. align-items: center;
  8. justify-content: center;
  9. }
  10. input[name=hash] {
  11. text-align: center;
  12. }
  13. </style>' AS html
  14. ;
  15. SELECT 'button' AS component
  16. , 'center' AS justify
  17. , 'lg' AS size
  18. ;
  19. SELECT 'New '||$title AS title
  20. , 2 AS width
  21. , 'gray-500' AS color
  22. , '/'||$tool AS link
  23. ;
  24. SELECT 'form' AS component
  25. , $tool||'-open' AS id
  26. , '/'||$tool||'/' AS action
  27. , '' AS validate
  28. , 'get' AS method
  29. ;
  30. SELECT 'C0DE' AS placeholder
  31. , 'input' AS type
  32. , '' AS label
  33. , 'hash' AS name
  34. , 2 AS width
  35. , TRUE AS autofocus
  36. ;
  37. SELECT 'button' AS component
  38. , 'center' AS justify
  39. , 'lg' AS size
  40. , 2 AS width
  41. ;
  42. SELECT 'Submit' AS title
  43. , 1 AS width
  44. , $tabler_color AS color
  45. , $tool||'-open' AS form
  46. ;