cloudbuild-storybook-index.html.m4 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. divert(`-1')
  2. define(`foreach', `pushdef(`$1')_foreach($@)popdef(`$1')')
  3. define(`_arg1', `$1')
  4. define(`_foreach', `ifelse(`$2', `()', `',
  5. `define(`$1', _arg1$2)$3`'$0(`$1', (shift$2), `$3')')')
  6. divert`'dnl
  7. <html lang="en">
  8. <head>
  9. <meta charset="utf-8">
  10. <title>Overleaf Storybook builds</title>
  11. <style>
  12. body {
  13. background-color: #fff;
  14. color: #5d6879;
  15. font-family: Lato,sans-serif;
  16. font-size: 16px;
  17. line-height: 1.5625;
  18. min-height: 100%;
  19. position: relative;
  20. margin: 0px;
  21. }
  22. h1, h2, h3, h4, h5, h6 {
  23. color: rgb(80, 80, 80);
  24. font-family: Merriweather, serif;
  25. font-weight: 500;
  26. line-height: 1.35;
  27. }
  28. h1 {
  29. margin-top: 0px;
  30. padding-top: 100px;
  31. }
  32. .navbar-default {
  33. background-color: #1e2530;
  34. border-color: transparent;
  35. height: 68px;
  36. padding: 15px 10px;
  37. position: absolute;
  38. top: 0;
  39. width: 100%;
  40. box-sizing: border-box;
  41. display: block;
  42. }
  43. .navbar-default .navbar-brand {
  44. background-image: url(https://cdn.overleaf.com/images/overleaf-white-65b70e33f35fccdf6f8d.svg);
  45. background-position: 0;
  46. background-repeat: no-repeat;
  47. background-size: contain;
  48. bottom: 5px;
  49. padding: 0;
  50. position: absolute;
  51. top: 5px;
  52. width: 130px;
  53. }
  54. </style>
  55. </head>
  56. <body>
  57. <nav class="navbar-default">
  58. <a class="navbar-brand" href="https://www.overleaf.com/"></a>
  59. </nav>
  60. <h1>Overleaf Storybook builds</h1>
  61. <h2>Branches:</h2>
  62. <ul>
  63. foreach(DIR, (LIST),
  64. <li>
  65. <a href="DIR/">DIR/</a>
  66. <a href="https://github.com/overleaf/internal/tree/DIR">
  67. <img src="https://github.com/favicon.ico" alt="GitHub" width="15em">
  68. </a>
  69. </li>
  70. )
  71. </ul>
  72. <small>
  73. Last updated on syscmd(date)dnl
  74. for ifdef(`BRANCH_NAME',<a href="BRANCH_NAME/">BRANCH_NAME</a>,unknown branch)
  75. (<a href="https://console.cloud.google.com/cloud-build/builds?project=overleaf-dev&pageState=(%22builds%22:(%22f%22:%22%255B%257B_22k_22_3A_22Trigger%2520Name_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22storybook-pr-trigger_5C_22_22_2C_22s_22_3Atrue_2C_22i_22_3A_22triggerName_22%257D_2C%257B_22k_22_3A_22_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22OR_5C_22_22_2C_22o_22_3Atrue_2C_22s_22_3Atrue%257D_2C%257B_22k_22_3A_22Trigger%2520Name_22_2C_22t_22_3A10_2C_22v_22_3A_22_5C_22storybook-push-trigger_5C_22_22_2C_22s_22_3Atrue_2C_22i_22_3A_22triggerName_22%257D%255D%22))">build history</a>).
  76. </small>
  77. </body>
  78. </html>