woodpecker/web
Robert Kaussow e21a41de8c
Add option to render button as link (#2378)
Fixes: https://github.com/woodpecker-ci/woodpecker/issues/1259

Work from https://github.com/woodpecker-ci/woodpecker/pull/1602/files

With this approach, existing buttons are still working and buttons with
`to="https://..."` are rendered as `a` tag. Not sure about the
"recursive render" issue from the original PR, have not seen any
rendering issue, any idea about this?


![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/2e87be21-3d3d-47b3-a2c4-1ffe5cfee592)
2023-09-08 08:44:22 +02:00
..
public/favicons Improve favicons (#576) 2021-12-08 13:58:00 +01:00
src Add option to render button as link (#2378) 2023-09-08 08:44:22 +02:00
.eslintignore Update dependencies and tiny adjustments to UI (#1083) 2022-08-09 14:13:32 +02:00
.eslintrc.js Hide not owned repos from sidebar and repo list (#1453) 2023-01-31 09:37:11 +01:00
.gitignore Lazy-load TimeAgo locales (#2094) 2023-08-03 19:25:12 +02:00
.prettierignore lint en.json locales file (#2108) 2023-08-03 23:11:52 +02:00
.prettierrc.js Rewrite of WebUI (#245) 2021-11-03 17:40:31 +01:00
components.d.ts Add org list (#2338) 2023-08-28 11:15:16 +02:00
index.html Fix vite server (#2134) 2023-08-07 17:03:26 +02:00
LICENSE Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
package.json close sidebar on outside click (#2325) 2023-09-07 22:28:36 +02:00
pnpm-lock.yaml close sidebar on outside click (#2325) 2023-09-07 22:28:36 +02:00
tsconfig.eslint.json Update dependencies and tiny adjustments to UI (#1083) 2022-08-09 14:13:32 +02:00
tsconfig.json Rewrite of WebUI (#245) 2021-11-03 17:40:31 +01:00
vite.config.ts Lazy-load TimeAgo locales (#2094) 2023-08-03 19:25:12 +02:00
web.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
windi.config.ts Fix alt text contrast in code boxes (#2089) 2023-08-02 10:36:14 +02:00