ModelInference / perfume-frontend

Web-based frontend for Perfume tool
Other
1 stars 0 forks source link

Change buttons for examples into a drop down menu #74

Closed bestchai closed 4 years ago

bestchai commented 4 years ago

The number of examples is growing and we need a way to cleanly display all of them as options to the user. This issue involves implementing a 'drop down button' that will have all of the examples as options.

See http://foundation.zurb.com/sites/docs/v/5.5.3/components/dropdown_buttons.html for examples.

[Issue created by stanleyrya: 2015-12-09] [Last updated on bitbucket: 2015-12-15]

[Comment created by ohmann: 2015-12-15] Merged in: bb8eab3f388d

[Comment created by stanleyrya: 2015-12-15] All set! :)

1348b06a5d58

[Comment created by ohmann: 2015-12-09] Unfortunately, using bootstrap for this one small feature adds almost 37KB of js. Could we consider this jquery plugin instead? It adds less than 4KB of js and css, and I just verified that it works with our jquery setup.

Sorry for making this more work, but I think it's valuable to minimize the number of frameworks on which our code relies.

[Comment created by stanleyrya: 2015-12-09] @ohmann: All set!

261d6e6f5685