Commit Graph

31 Commits

Author SHA1 Message Date
Jack efb905c707 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 a7d65fd3a2 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 dd1796b99a Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
孔晨 6b4cdc3c4d fix base64 issue 2015-07-23 15:56:23 +08:00
孔晨 9e1106dda2 fix 中文乱码问题 2015-07-23 14:47:32 +08:00
Jack Pearkes bc0339bd13 ui: add notification system 2014-08-22 17:22:06 -07:00
Jack Pearkes e970ea8ddf ui: more acl integration, condensing top bar 2014-08-22 17:21:57 -07:00
Jack Pearkes 1080cb398a ui/acls: initial commit 2014-08-22 17:21:00 -07:00
Jack Pearkes bcff0c6700 ui/models: jshint 2014-08-21 11:32:14 -07:00
Jack Pearkes 1c9275f37e ui: show service level tags, remove Node.nodeTags 2014-06-11 17:14:20 -04:00
Jack Pearkes 2226255832 ui: show isLocked for key 2014-06-06 12:21:36 -04:00
Jack Pearkes 6c4c2b3761 ui: change ember to debug build, add list-view 2014-06-04 15:44:17 -04:00
Jack Pearkes 5908b675b7 ui: show tags on node view 2014-06-03 13:53:22 -04:00
Jack Pearkes 2ed76d0a27 ui: default to condensed view, add secondary actions 2014-06-02 11:49:01 -04:00
Jack Pearkes a0c07c5e3d ui: initial pass at filtering and condensed view for nodes/services 2014-06-02 10:35:46 -04:00
William Tisäter bf3b65e907 Allow using dashes in keys 2014-05-04 23:05:00 +02:00
Jack Pearkes 8d36cf39dd ui: handle "folders", directory browsing with parents 2014-04-30 23:44:31 -04:00
Jack Pearkes 0d4ea0eda0 ui: fix nesting KV 2014-04-30 23:44:30 -04:00
Jack Pearkes 11acb28c1f ui: refactor controllers, routes to use promise hash, comments 2014-04-30 23:44:30 -04:00
Jack Pearkes b84b090a5d ui: kv wire to API 2014-04-30 23:44:30 -04:00
Jack Pearkes b2ea2bd96e ui: wire up kv 2014-04-30 23:44:30 -04:00
Jack Pearkes 50060c9df9 ui: wire up services, nodes, checks 2014-04-30 23:44:29 -04:00
Jack Pearkes 8b2dc6dc4f ui: more ui / focus / animation states 2014-04-30 23:44:29 -04:00
Jack Pearkes e2ce4179df ui: add support for creating/validating keys 2014-04-30 23:44:29 -04:00
Jack Pearkes 7df7c41d0c ui: kv styling and active states 2014-04-30 23:44:29 -04:00
Jack Pearkes 3e8f823a0b ui: show address and properly depend on Checks 2014-04-30 23:44:28 -04:00
Jack Pearkes 452cad725a ui: better kv parent navigation 2014-04-30 23:44:28 -04:00
Jack Pearkes b8a13ac721 ui: kv load from url 2014-04-30 23:44:28 -04:00
Jack Pearkes 2c22cb833c ui: properly nest kv resources 2014-04-30 23:44:28 -04:00
Jack Pearkes f8ffdee2bd ui: further k/v improvements 2014-04-30 23:44:28 -04:00
Jack Pearkes 4cbdc94e29 ui: refactor file structure 2014-04-30 23:43:58 -04:00