Skip to content

Commit

Permalink
improves markup selection
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Sep 22, 2023
1 parent 9c82a5b commit ee7e8fb
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions skg/skgbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self):
InputWebserver.__init__(self,config=config)
self.language="en"
self.wikiId="or"
self.markup_name=None

def configure_run(self):
self.markup_names=["-","bibtex","scite","smw"]
Expand Down Expand Up @@ -123,15 +124,6 @@ async def onSearchButton(self,_msg):

except Exception as ex:
self.handleException(ex)

async def onChangeMarkup(self,msg):
"""
handle button to search for terms
"""
try:
self.markup_name=msg.value
except Exception as ex:
self.handleException(ex)

def addLanguageSelect(self):
"""
Expand Down Expand Up @@ -181,9 +173,7 @@ async def home(self,_client:Client):
self.setup_menu()
with ui.element("div").classes("w-full h-full"):
self.results=ui.element("div")
#self.markup=self.colB2
# sotsog search
self.markup_select = ui.select(options=self.markup_names)
self.add_select("markup", self.markup_names).bind_value(self,"markup_name")
#value=self.markup_name,
#change=self.onChangeMarkup,
#a=self.colB11)
Expand Down

0 comments on commit ee7e8fb

Please sign in to comment.