Skip to content

A bPanel footer widget that displays exchange rate and modifies options

Notifications You must be signed in to change notification settings

bpanel-org/price-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Price widget

This plugin adds a widget to the footer that displays the current exchange rate stored in the application state by the core price plugin. In a wide enough window, it will display two dropdown menus for the user to select which fiat currency is used and which API is providing the data. This is done by dispatching the following actions which the core price plugin listens for:

REFRESH_PRICE
UPDATE_FIAT
UPDATE_FEED

When installed, this plugin will update the price in the application state every 60 seconds.

Included with other widgets in genesis-theme: screenshot

Without any theme installed: screenshot

Important: This plug in currently requires the bPanel backend plugin @bpanel/curl to be installed separately by the user:

Using bpanel-cli

$ bpanel-cli i @bpanel/curl

Optional:

The appearace of this widget can be modified by installing the additional plugin price-settings.

screenshot

About

A bPanel footer widget that displays exchange rate and modifies options

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published