From a657f79f49668bf84929325beed7d885ffb64715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Sun, 24 Nov 2019 15:24:46 +0100 Subject: Extend submission forms --- .../cloudatlas/client/templates/attribForm.html | 21 ++++++++++++++++++++- .../cloudatlas/client/templates/contactsForm.html | 9 +++++++-- 2 files changed, 27 insertions(+), 3 deletions(-) (limited to 'src/main/resources/pl/edu/mimuw') diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html index 0499bc8..ed6dcd2 100644 --- a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html +++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribForm.html @@ -31,11 +31,30 @@ + +
- + + + + If set or list was chosen in the previous option, please enter whole nested type as a comma-separated list, including wrapper type speccified above. Example: [List, Set, String] + +
+
+ + + Use Json list for complex types and stick to proper format in duration and time.
Examples:
+ Time: 3600
+ Duration (version 1): 3600
+ Duration (version 2): +0 00:00:00.001
+ Contact: { "contactName" : [ 1, 1, 1, 1 ] }
+ Query: { "&queryName" : "query" }
+ List: [ 1, 2, 3 ]
+ Set: [ [1, 2], [3, 4], [5, 6] ]
+
diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html index 40af9b4..79a9f5f 100644 --- a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html +++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/contactsForm.html @@ -3,7 +3,7 @@ - Query form + Contacts query form @@ -13,8 +13,13 @@
- + + + Use Json format for entering contacts. Examples:
+ Contact: { "contactName" : [ 1, 1, 1, 1 ] }
+ Contact: { "contactName1" : [ 1, 1, 1, 1 ], "contactName2" : [ 2, 2, 2, 2 ] } +
-- cgit v1.2.3