@@ -6,6 +6,7 @@ from pkg_resources import resource_string
fromxmodule.x_moduleimportXModule
fromxmodule.raw_moduleimportRawDescriptor
fromxblock.coreimportScope,String
fromxmodule.annotator_tokenimportretrieve_token
importtextwrap
...
...
@@ -30,7 +31,7 @@ class AnnotatableFields(object):
scope=Scope.settings,
default='Text Annotation',
)
tags=String(
instructor_tags=String(
display_name="Tags for Assignments",
help="Add tags that automatically highlight in a certain color using the comma-separated form, i.e. imagery:red,parallelism:blue",
scope=Scope.settings,
...
...
@@ -43,6 +44,7 @@ class AnnotatableFields(object):
default='None',
)
annotation_storage_url=String(help="Location of Annotation backend",scope=Scope.settings,default="http://your_annotation_storage.com",display_name="Url for Annotation Storage")
annotation_token_secret=String(help="Secret string for annotation storage",scope=Scope.settings,default="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",display_name="Secret Token String for Annotation")
@@ -7,6 +7,7 @@ from pkg_resources import resource_string
fromxmodule.x_moduleimportXModule
fromxmodule.raw_moduleimportRawDescriptor
fromxblock.coreimportScope,String
fromxmodule.annotator_tokenimportretrieve_token
importtextwrap
...
...
@@ -31,7 +32,7 @@ class AnnotatableFields(object):
sourceurl=String(help="The external source URL for the video.",display_name="Source URL",scope=Scope.settings,default="http://video-js.zencoder.com/oceans-clip.mp4")
annotation_storage_url=String(help="Location of Annotation backend",scope=Scope.settings,default="http://your_annotation_storage.com",display_name="Url for Annotation Storage")
annotation_token_secret=String(help="Secret string for annotation storage",scope=Scope.settings,default="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",display_name="Secret Token String for Annotation")