Skip to content

Commit

Permalink
add the btn and alert widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau committed Jul 27, 2020
1 parent f62771e commit f732b4c
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 1 deletion.
17 changes: 17 additions & 0 deletions sepal_ui.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Metadata-Version: 1.1
Name: sepal-ui
Version: 0.2
Summary: wrapper for ipyvuetify widgets to unify the display of voila dashboards in the sepal plateform
Home-page: https://github.com/12rambau/sepal_ui
Author: Pierrick Rambaud
Author-email: [email protected]
License: MIT
Download-URL: https://github.com/12rambau/sepal_ui/archive/v_0.2.tar.gz
Description: UNKNOWN
Keywords: UI,Python,widget,sepal
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
15 changes: 15 additions & 0 deletions sepal_ui.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
README.md
setup.py
sepal_ui/widgetBinding.py
sepal_ui/widgetFactory.py
sepal_ui.egg-info/PKG-INFO
sepal_ui.egg-info/SOURCES.txt
sepal_ui.egg-info/dependency_links.txt
sepal_ui.egg-info/requires.txt
sepal_ui.egg-info/top_level.txt
sepal_ui/scripts/FIPS_code_to_country.csv
sepal_ui/scripts/gee.py
sepal_ui/scripts/mapping.py
sepal_ui/scripts/messages.py
sepal_ui/scripts/run_aoi_selection.py
sepal_ui/scripts/utils.py
1 change: 1 addition & 0 deletions sepal_ui.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions sepal_ui.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
haversine
ipyvuetify
geemap
ipyvuetify
earthengine-api
bqplot
1 change: 1 addition & 0 deletions sepal_ui.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sepal_ui
11 changes: 10 additions & 1 deletion sepal_ui/widgetFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def TileAOI(io):
AOI_MESSAGE='Click on "Selet these inputs" to validate your AOI'

#create the output
aoi_output = v.Alert(children=[AOI_MESSAGE], type='info', text=True, class_="mt-5")
aoi_output = OutputWidget(AOI_MESSAGE)

#create the inputs widgets
aoi_file_input = v.Select(
Expand Down Expand Up @@ -453,7 +453,16 @@ def TileAOI(io):
)

return AOI_content_main

#create an alert
def OutputWidget(text='Click it'):
"""
create an output alert that can be used to display the process outputs
"""

alert = v.Alert(children=[text], type='info', text=True, class_="mt-5")

return alert



0 comments on commit f732b4c

Please sign in to comment.