diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index aacdad6..2f99d5d 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -94,7 +94,7 @@ class CCPMethodEditorController extends HTMLElement{ z-index: 10; } - ul.author_list{ + ul.author_list, ul.context_list{ list-style: none; display: flex; flex-direction: row; @@ -115,6 +115,18 @@ class CCPMethodEditorController extends HTMLElement{ color: #9900CC; border: solid 1px #9900CC; } + li.context_list_item{ + display: inline-block; + padding: 0.25em 0.4em; + line-height: 1; + text-align: center; + white-space: nowrap; + vertical-align: baseline; + border-radius: 0.25rem; + background-color: #eeffff; + color: #0099CC; + border: solid 1px #0099CC; + } ` #erase_icon = ` @@ -372,6 +384,9 @@ class CCPMethodEditorController extends HTMLElement{
${this.renderAuthors()}
+
+ ${this.renderContexts()} +
@@ -725,7 +740,17 @@ class CCPMethodEditorController extends HTMLElement{ + ` + } + + renderContexts(){ + return ` + ` }