@@ -23,10 +23,10 @@ function createModuleItem(label: string, button: string) {
2323 const lmod_list_button = document . createElement ( 'button' ) ;
2424 lmod_list_line . append ( lmod_list_label ) ;
2525 lmod_list_line . append ( lmod_list_button ) ;
26- lmod_list_line . setAttribute ( 'class' , 'jp-RunningSessions -item' )
27- lmod_list_label . setAttribute ( 'class' , 'jp-RunningSessions -itemLabel' ) ;
26+ lmod_list_line . setAttribute ( 'class' , 'jp-Lmod -item' )
27+ lmod_list_label . setAttribute ( 'class' , 'jp-Lmod -itemLabel' ) ;
2828 lmod_list_label . innerText = label ;
29- lmod_list_button . setAttribute ( 'class' , 'jp-RunningSessions-itemShutdown jp-mod-styled' )
29+ lmod_list_button . setAttribute ( 'class' , 'jp-Lmod-itemButton jp-mod-styled' )
3030 lmod_list_button . innerHTML = button ;
3131 return lmod_list_line ;
3232}
@@ -109,24 +109,24 @@ class LmodWidget extends Widget {
109109 this . id = 'lmod-jupyterlab' ;
110110 this . title . caption = 'Softwares' ;
111111 this . title . iconClass = 'jp-LmodIcon jp-SideBar-tabIcon'
112- this . addClass ( 'jp-RunningSessions ' ) ;
112+ this . addClass ( 'jp-Lmod ' ) ;
113113
114114 const search_div = document . createElement ( 'div' ) ;
115115 const search_div_wrapper = document . createElement ( 'div' ) ;
116116 this . searchInput = document . createElement ( 'input' ) ;
117- search_div . setAttribute ( 'class' , 'lm-CommandPalette -search' ) ;
118- search_div_wrapper . setAttribute ( 'class' , 'lm-CommandPalette -wrapper' ) ;
117+ search_div . setAttribute ( 'class' , 'jp-Lmod -search' ) ;
118+ search_div_wrapper . setAttribute ( 'class' , 'jp-Lmod-search -wrapper' ) ;
119119 this . searchInput . setAttribute ( 'id' , 'modules' ) ;
120- this . searchInput . setAttribute ( 'class' , 'lm-CommandPalette -input' ) ;
120+ this . searchInput . setAttribute ( 'class' , 'jp-Lmod -input' ) ;
121121 this . searchInput . setAttribute ( 'placeholder' , 'Search available modules...' )
122122 search_div . appendChild ( search_div_wrapper ) ;
123123 search_div_wrapper . appendChild ( this . searchInput ) ;
124124 this . node . insertAdjacentElement ( 'afterbegin' , search_div ) ;
125125
126126 this . node . insertAdjacentHTML ( 'beforeend' ,
127- `<div id="lmod" class="lm-CommandPalette -content">
128- <div class="jp-RunningSessions -section">
129- <div class="jp-RunningSessions -sectionHeader"><H2>Loaded Modules</H2>
127+ `<div id="lmod" class="jp-Lmod -content">
128+ <div class="jp-Lmod -section">
129+ <div class="jp-Lmod -sectionHeader"><H2>Loaded Modules</H2>
130130 <button
131131 title="Create collection"
132132 class="jp-Lmod-collectionButton jp-mod-styled jp-AddIcon"
@@ -143,16 +143,16 @@ class LmodWidget extends Widget {
143143 id="export-button"
144144 ></button>
145145 </div>
146- <div class="jp-RunningSessions -sectionContainer">
147- <ul class="jp-RunningSessions -sectionList" id="lmod_loaded_list">
146+ <div class="jp-Lmod -sectionContainer">
147+ <ul class="jp-Lmod -sectionList" id="lmod_loaded_list">
148148 </ul>
149149 </div>
150150 </div>
151- <div class="jp-RunningSessions -section">
152- <div class="jp-RunningSessions -sectionHeader" id="avail_header"><H2>Available Modules</H2>
151+ <div class="jp-Lmod -section">
152+ <div class="jp-Lmod -sectionHeader" id="avail_header"><H2>Available Modules</H2>
153153 </div>
154- <div class="jp-RunningSessions -sectionContainer">
155- <ul class="jp-RunningSessions -sectionList" id="lmod_avail_list">
154+ <div class="jp-Lmod -sectionContainer">
155+ <ul class="jp-Lmod -sectionList" id="lmod_avail_list">
156156 </ul>
157157 </div>
158158 </div>
0 commit comments