48 Commits

Author SHA1 Message Date
Ken Fukuyama
8f249792fe On funcstore error, change to manual tab
Fixed the UI so that when an error occurs, the tab automatically changes
to the manual tab in order to show the errors.

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-04-10 14:06:51 -07:00
Ken Fukuyama
4877a60aee Changed the download functionality to cover IE.
Since IE doesn't work well with `.click()` (because of access denied) we
can take advantage of the `navigator.msSaveOrOpenBlob`.
https://stackoverflow.com/questions/46232980/click-giving-access-denied-in-ie11/46233123#46233123

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-03-23 16:43:38 +00:00
Ivana Yovcheva
c633fbb96d Fix mouse click error on IE11
MouseEvent initialization was failing on IE11.
Add a separate case for IE11 that fixes the issue.

Signed-off-by: Ivana Yovcheva <iyovcheva@vmware.com>
2018-03-23 16:43:38 +00:00
Ivana Yovcheva
0f126ce241 Fix crypto breaking error for IE11
window.crypto is throwing an error on IE11
which required a modification to use window.msCrypto
instead in case of running on IE11

Signed-off-by: Ivana Yovcheva <iyovcheva@vmware.com>
2018-03-23 16:43:38 +00:00
David Muckle
5824d865c6 Add a title to the index.html for the gateway
This will replace the gateway URL showing up as the title.

Signed-off-by: David Muckle <dvdmuckle@dvdmuckle.xyz>
2018-03-23 16:38:19 +00:00
Ken Fukuyama
7d860bff41 fixed unexpected behavior where the selected function properties don't get
updated after adding/deleting a different function.

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-03-08 22:30:45 +01:00
Ken Fukuyama
02642ffb3f Edited unnecessary fields and $scopes.
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-03-08 22:30:45 +01:00
Alex Ellis
b9d705ebd4 UI: in-line ready directive
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-08 22:30:45 +01:00
Alex Ellis
a8d91590ab UI: fix ng-model complaint
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-08 22:30:45 +01:00
Alex Ellis
ccfb8f7be4 Make UI block until function reports readiness
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-08 22:30:45 +01:00
Ken Fukuyama
4cc51adffb added missing return statement
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-03-03 17:41:56 +00:00
Ken Fukuyama
d96674468c fixed another missing closing tag.
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-03-03 17:41:56 +00:00
Ken Fukuyama
a6a657295f fixed ES6 syntax accidentally used in JavaScript.
fixed markup closing typo.

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-03-03 17:41:56 +00:00
Ken Fukuyama
365e348865 upgraded angularjs from 1.5.5 to 1.6.9
The $https service deprecated the `success` method, so changed `success`
to `then`.

This will fix #528

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-02-25 12:07:41 +00:00
Ken Fukuyama
ead18a3059 Fixed UI to use relative paths for ajax requests in order to work with kube proxy.
This fixes issue #519.

Signed-off-by: Ken Fukuyama <fukuyama@supersoftware.co.jp>
2018-02-25 11:55:54 +00:00
Ken Fukuyama
cc103ada94 added repo link to func store. will open repo page on new window or tab
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-12-16 16:04:59 +00:00
Alex Ellis
3502c67d88 Allow valid UI label values
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:29:56 +00:00
Alex Ellis
e6eec64c0d UI: allow binary download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
Alex Ellis
5c8bb37bfb Experimental UI download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
Alex Ellis
ca34fd0ed1 Adds env-vars to store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-12 06:51:04 -08:00
Ken Fukuyama
aba3a8ca2d * Added function store feature to the "Deploy New Function"
* 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>
2017-11-30 09:55:52 +01:00
Alex Ellis
59d46938fe Tooltips
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-22 19:32:32 +00:00
Javier Revillas
86c83f0dcd Fix JSON serialization relying on response content
Signed-off-by: Javier Revillas <jrevillas@massivedynamic.io>
2017-11-20 10:32:42 +00:00
Alex Ellis
9783f96f7b Enable client response time in the UI
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-18 09:20:02 +00:00
Lucas Roesler
be4eea92a1 Add spinner during funciton invoke in the web ui
**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>
2017-10-24 18:17:26 +01:00
Alex Ellis
c92b462f36 Target blank for Logo / Link in Gateway UI 2017-10-23 17:38:03 +01:00
Thom Toogood
533118adbb Add link to www.openfaas.com on OpenFaaS Icon.
Signed-off-by: Thom Toogood <thomtoogood@gmail.com>
2017-10-23 17:35:02 +01:00
Alex Young
eed9641254 Display function creation error in UI
Signed-off-by: Alex Young <alex@heuris.io>
2017-10-02 20:54:29 +01:00
Ken Fukuyama
ac3e91cbdc added a sidenav toggle button when the sidenav is hidden.
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-10-01 09:42:10 +02:00
John McCabe
d7bc2695c3 Add favicons for broad range of browsers/devices
Signed-off-by: John McCabe <john@johnmccabe.net>
2017-09-26 09:32:21 +01:00
Ken Fukuyama
ab8a7e6869 Added feature to delete functions from the UI
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-09-13 08:43:19 -07:00
Alex Ellis
d127dc7cb0 Give feedback via toast in UI. 2017-09-08 10:43:44 +01:00
Alex Ellis
b6002e1c85 Add EnvProcess and logo to UI
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-23 09:01:44 +01:00
Fabien Le Frapper
e8f387fa47 Use Roboto Mono for code blocks & use on imports for all fonts
Signed-off-by: Fabien Le Frapper <contact@fabienlefrapper.me>
2017-08-22 17:49:39 +01:00
Alex
569ccbf323 Add license into code files for MIT 2017-04-27 23:21:50 +01:00
Alex Ellis
bafea3e79a Add text type by default to tester page 2017-04-06 21:07:30 +01:00
Alex
a740783c78 Make function button clearer 2017-03-31 20:40:25 +01:00
Alex Ellis
a63dd8ee4c Simplify instrumentation metrics.
- fix javascript deserialization in UI with json response
-  create swarm watcher to monitor replicas
2017-03-14 22:10:24 +00:00
Alex Ellis
5802cd11dc Print error message in UI portal 2017-03-13 17:04:34 +00:00
Alex
fe1e9fc52e Create your own functionk working. 2017-03-12 12:56:53 +00:00
Alex
98c9ef67f4 Initial pop-up for new function. 2017-03-12 12:56:53 +00:00
Alex
edc2c4b29e Initial pop-up design 2017-03-12 12:56:53 +00:00
Alex Ellis
f734a6f07d Update index.html 2017-02-03 19:04:21 +00:00
Alex Ellis
cb807d2fa9 Adjust documentation
Allow content-type for UI
2017-01-31 17:30:42 +00:00
Alex Ellis
048bc18a8a Remove logging 2017-01-31 09:11:33 +00:00
Alex Ellis
4e73f787da Include markdown sample
Fix UI refresh problem
Enable invocation from portal
2017-01-31 09:08:58 +00:00
Alex Ellis
79bc6a54ea Add auto-refresh to UI 2017-01-22 14:11:36 +00:00
Alex Ellis
ff429ce493 Add static front end + functions endpoint. 2017-01-22 10:45:42 +00:00