Commit graph

31 commits

Author SHA1 Message Date
Jack 2489355975 Add JSON validation to update view
JSON validation has now been added to the update view following the same format
as create. Since 'valueDecoded' does not have the ability to check if the value
is base64 before decoding then this must be checked first; if it is base64 then
use the decoded one, if not just get the value.

Change incorrect trailing span close to label.
2017-05-02 17:20:36 +09:00
Jack cb73d83f1e Add JSON validation to UI
JSON validation added to UI. This has been implemented through the use of a flag
to enable/disable the functionality with a watcher on the value to set the
success/error class on the textarea itself.

No hard validation added to the field.
2017-05-02 17:20:35 +09:00
Matthew Irish 2fe7dd1ea8 Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
孔晨 57dfd1f46a fix base64 issue 2015-07-23 15:56:23 +08:00
孔晨 3cd8a0c214 fix 中文乱码问题 2015-07-23 14:47:32 +08:00
Jack Pearkes 70888180a4 ui: add notification system 2014-08-22 17:22:06 -07:00
Jack Pearkes 7a40350311 ui: more acl integration, condensing top bar 2014-08-22 17:21:57 -07:00
Jack Pearkes e00941fa44 ui/acls: initial commit 2014-08-22 17:21:00 -07:00
Jack Pearkes eb1d11f948 ui/models: jshint 2014-08-21 11:32:14 -07:00
Jack Pearkes b514d2677d ui: show service level tags, remove Node.nodeTags 2014-06-11 17:14:20 -04:00
Jack Pearkes 06f7630e29 ui: show isLocked for key 2014-06-06 12:21:36 -04:00
Jack Pearkes b293c686fd ui: change ember to debug build, add list-view 2014-06-04 15:44:17 -04:00
Jack Pearkes d6efab6c69 ui: show tags on node view 2014-06-03 13:53:22 -04:00
Jack Pearkes 0e3c262e53 ui: default to condensed view, add secondary actions 2014-06-02 11:49:01 -04:00
Jack Pearkes a94ef9d529 ui: initial pass at filtering and condensed view for nodes/services 2014-06-02 10:35:46 -04:00
William Tisäter 227daf1fea Allow using dashes in keys 2014-05-04 23:05:00 +02:00
Jack Pearkes 23dc417055 ui: handle "folders", directory browsing with parents 2014-04-30 23:44:31 -04:00
Jack Pearkes 3e1bc7dbad ui: fix nesting KV 2014-04-30 23:44:30 -04:00
Jack Pearkes 3329cc3846 ui: refactor controllers, routes to use promise hash, comments 2014-04-30 23:44:30 -04:00
Jack Pearkes ee1eefc997 ui: kv wire to API 2014-04-30 23:44:30 -04:00
Jack Pearkes 0a2be77e44 ui: wire up kv 2014-04-30 23:44:30 -04:00
Jack Pearkes dc1c421338 ui: wire up services, nodes, checks 2014-04-30 23:44:29 -04:00
Jack Pearkes 640027e10d ui: more ui / focus / animation states 2014-04-30 23:44:29 -04:00
Jack Pearkes 9577a63e91 ui: add support for creating/validating keys 2014-04-30 23:44:29 -04:00
Jack Pearkes c21a6c5e1a ui: kv styling and active states 2014-04-30 23:44:29 -04:00
Jack Pearkes 8999812c56 ui: show address and properly depend on Checks 2014-04-30 23:44:28 -04:00
Jack Pearkes af10fb355e ui: better kv parent navigation 2014-04-30 23:44:28 -04:00
Jack Pearkes 8d4290868e ui: kv load from url 2014-04-30 23:44:28 -04:00
Jack Pearkes 75589782ef ui: properly nest kv resources 2014-04-30 23:44:28 -04:00
Jack Pearkes 52d8a28592 ui: further k/v improvements 2014-04-30 23:44:28 -04:00
Jack Pearkes b5718ac23b ui: refactor file structure 2014-04-30 23:43:58 -04:00