From 8742c4d43c733b3aa040fc32218c23401eee59d0 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 14 Jun 2019 17:51:26 +0100 Subject: [PATCH] Added extra content to test schema --- .../plugins/default/camera_calibration/plugin.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/openflexure_microscope/plugins/default/camera_calibration/plugin.py b/openflexure_microscope/plugins/default/camera_calibration/plugin.py index 87a03a1a..07dee05d 100644 --- a/openflexure_microscope/plugins/default/camera_calibration/plugin.py +++ b/openflexure_microscope/plugins/default/camera_calibration/plugin.py @@ -17,8 +17,19 @@ API_SCHEMA = { { 'fieldType': "htmlBlock", 'name': "heading", - 'content': "This is different form in a plugin!" - } + 'content': "This plugin was generated from JSON!

In fact, I'm typing this HTML block into my Python plugin right now." + }, + { + 'fieldType': "radioList", + 'name': "coolness", + 'label': "How cool is that!?", + 'options': ["Very", "Very very", "I'm losing my mind"] + }, + { + 'fieldType': "htmlBlock", + 'name': "subheading", + 'content': "I should apologise to the auto-calibrate plugin though. I'm using that as a test-bed..." + }, ] } ]