This change set downloads the CDN resources for the gateway
and bundles them with the other static resources for the UI.
This is needed for situations where a user does not have access
to the CDN either because of firewall rules or network policy.
The files and versions remain the same, only now loaded locally
with directory paths matching the CDN paths.
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
This minor fix selects the 'Download' radio button by default if the
function has a label with `com.openfaas.ui.ext`.
Closes#827
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
This change adds a function URL field to the UI and a 'copy to
clipboard' button next to it. If the browser does not support the copy
command, the copy icon will be hidden.
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
- Added padding to the "You need JavaScript page"
- Added padding to the "You need JavaScript page" - Added info about the CLI tthe "You need JavaScript" page
- Added a message for people who don't have JavaScript enabled
Signed-off-by: Rillian Grant <rillian.grant@hotmail.com>
Adds a more informative screen when a function is not selected
or when there are no functions to select from.
Provides a button to deploy a new function
and more information on how to deploy using
faas-cli.
Signed-off-by: ovation22 <john@1north.com>
* This feature fetches function catalogs from openfaas/store and makes
one-click deploy easy
* You can switch between "From Store" or "Manually" by tabs
* Added icon to "Deploy New Function" button
* Added function search feature to the main UI
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
reverted fixed tabs
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
**What**
- Add a simple sinner when the function is invoked
- Disable the invoke button until the request returns
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>