# HG changeset patch # User durandn # Date 1442580172 -7200 # Node ID c8fd9dbf3804e6b092de83983628b92375194fa4 # Parent 3820cf5fe29ef3c9d64adb026ece58b911ba8510 Added support for editing the currently selected segment and its potential tags diff -r 3820cf5fe29e -r c8fd9dbf3804 src/widgets/CurrentSegmentInfobox.css --- a/src/widgets/CurrentSegmentInfobox.css Fri Sep 18 14:41:51 2015 +0200 +++ b/src/widgets/CurrentSegmentInfobox.css Fri Sep 18 14:42:52 2015 +0200 @@ -125,4 +125,10 @@ .Ldt-CurrentSegmentInfobox-Tags-Li-DeleteTagButton:hover{ color: #e16e93 +} + +.Ldt-CurrentSegmentInfobox-CreateTagInput{ + border: 2px solid #848484; + margin: 5px 0; + padding: 4px; } \ No newline at end of file diff -r 3820cf5fe29e -r c8fd9dbf3804 src/widgets/CurrentSegmentInfobox.js --- a/src/widgets/CurrentSegmentInfobox.js Fri Sep 18 14:41:51 2015 +0200 +++ b/src/widgets/CurrentSegmentInfobox.js Fri Sep 18 14:42:52 2015 +0200 @@ -13,7 +13,8 @@ project_id: false, api_serializer: "ldt_annotate", api_method: "PUT", - api_endpoint_template: "" + api_endpoint_template: "", + new_tag_button: true, }; IriSP.Widgets.CurrentSegmentInfobox.prototype.template = @@ -41,8 +42,13 @@ + '