+ Make sure that this layout matches: http://anvoz.github.io/bootstrap-tldr/
+
+
+ Typography
+
+
+
+
+
+
+ .lead
+
+ b (bold)
+ strong
+
+
+
+
+ small
+ .small
+
+
+
+
+ em
+ i (italic)
+
+
+
+
+ del
+
+ s
+ (strikethrough)
+
+ ins
+
+ u (underline)
+
+
+
+
+ code
+
+ var
+
+ samp
+
+
+
+
+ mark
+
+ kbd
+
+
+
+
+
+
+
+
+ .text-lowercase .text-uppercase .text-capitalize
+
+
+
+
+
+
+
+
+
+
+
+
+
+ blockquote.blockquote-reverse p
+
+
+ Someone famous in Source
+ Title
+
+
+
+
+
+
+
+
+
+
ul
+
+
+ li
+
+ List item
+
+
+
+
+ List item
+
+
+
+
+
ol
+
+
+ List item
+
+ List item
+
+
+ List item
+
+ List item
+
+
+
+ List item
+
+
+
+
+
ul.list-unstyled
+
+
+ List item
+
+ List item
+
+
+ List item
+
+ List item
+
+
+
+ List item
+
+
+
+
+
ul.list-inline
+
+
+ List item
+
+ List item
+
+ List item
+
+
+
+
+
+
+
+
+
dl
+
+
+ dt
+
+ dd
+
+ Term
+
+ Description
+ Description
+
+
+
+
+
dl.dl-horizontal
+
+
+ Term
+
+ Description
+
+ Long term will be truncated
+
+ Description
+ Description
+
+
+
+
+ Tables
+
+
+
table.table
+
+
+
+
+ thead tr th
+
+ th
+
+ Header
+
+ Header
+
+
+
+
+
+ tbody tr td
+
+ td
+
+ Data
+
+ Data
+
+
+
+ Data
+
+ Data
+
+ Data
+
+ Data
+
+
+
+
+
+
+
+
+
+
.table-striped
+
+
+
+
+ Header
+
+ Header
+
+
+
+
+
+ Data
+
+ Data
+
+
+
+ Data
+
+ Data
+
+
+
+
+
+
+
.table-bordered
+
+
+
+
+ Header
+
+ Header
+
+
+
+
+
+ Data
+
+ Data
+
+
+
+ Data
+
+ Data
+
+
+
+
+
+
+
+
+
+
+
.table-hover
+
+
+
+
+ Header
+
+ Header
+
+
+
+
+
+ Data
+
+ Data
+
+
+
+ Data
+
+ Data
+
+
+
+
+
+
+
.table-condensed
+
+
+
+
+ Header
+
+ Header
+
+
+
+
+
+ Data
+
+ Data
+
+
+
+ Data
+
+ Data
+
+
+
+
+
+
+
+
div.table-responsive table.table
+
+
+
+
+
+ Header
+
+ Header
+
+ Header
+
+ Header
+
+ Header
+
+
+
+
+
+ td.active
+
+ td.success
+
+ td.info
+
+ td.warning
+
+ td.danger
+
+
+
+ tr.active td
+
+ Applies the hover color to a particular
+ row or cell
+
+
+
+ tr.success td
+
+ Indicates a successful or positive
+ action
+
+
+
+ tr.info td
+
+ Indicates a neutral informative change
+ or action
+
+
+
+ tr.warning td
+
+ Indicates a warning that might need
+ attention
+
+
+
+ tr.danger td
+
+ Indicates a dangerous or potentially
+ negative action
+
+
+
+
+
+
+
+
+
+
+
+
form.form-inline
+
+
+
+
+
+
+
+ .checkbox
+ input[type="checkbox"]
+
Submit
+
+
+
+
+
+
form.form-horizontal
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Validation styles on form controls
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ button.btn.btn-default .btn-primary .btn-success .btn-info .btn-warning .btn-danger .btn-link
+
+ .btn-lg Default button size .btn-sm .btn-xs
+
+
+ .btn-block .btn-block
+
+ a button
+
+
+
+
+ a.active button.active
+
+ a.disabled button[disabled]
+
+ Images
+
+
+
+
.img-rounded
+
+
+
.img-circle
+
+
+
.img-thumbnail
+
+
+
.img-responsive
+
+
+ Helper classes
+
+ .text-muted
+ .text-primary .text-success .text-info .text-warning .text-danger
+
+ .bg-primary
+ .bg-success .bg-info .bg-warning
+ .bg-danger
+
+ button.close → ×
+
+ .caret
+
+
+
+
.clearfix
+
+
+
+ .pull-left
+
+
+
+ .pull-right
+
+
+
+
+
+ .center-block: Set an element to display: block
+ and center via margin.
+
+
+ .show and .hidden: Showing and hiding
+ content.
+ .invisible: Toggle only the visibility of an element.
+
+
+ .sr-only: Hide an element to all devices except screen
+ readers .
+
+
+ .text-hide: Replace an element's text content with a
+ background image.
+
+
+
+ Glyphicons
+
+ Glyphicons classes:
+ glyphicon glyphicon-*
+
+
+ asterisk
+
+ plus
+
+ minus
+
+ ok
+
+ remove
+
+
+
+
+ remove-circle
+
+ ok-circle
+
+
+ ban-circle
+
+
+
+
+ copyright-mark
+
+
+ registration-mark
+
+
+
+
+ chevron-left
+
+
+ chevron-right
+
+
+ chevron-up
+
+
+ chevron-down
+
+
+
+
+ arrow-left
+
+
+ arrow-right
+
+ arrow-up
+
+
+ arrow-down
+
+
+
+ hand-left
+
+
+ hand-right
+
+ hand-up
+
+ hand-down
+
+ thumbs-up
+
+
+ thumbs-down
+
+
+
+
+ circle-arrow-left
+
+
+ circle-arrow-right
+
+
+ circle-arrow-up
+
+
+ circle-arrow-down
+
+
+
+ signal
+
+ envelope
+
+ inbox
+
+ cloud
+
+
+
+
+ cloud-download
+
+
+ cloud-upload
+
+
+ download-alt
+
+ download
+
+ upload
+
+
+
+ transfer
+
+ share-alt
+
+ send
+
+ retweet
+
+
+
+
+
+ open
+
+ save
+
+ saved
+
+ import
+
+ export
+
+
+
+
+ play
+
+ pause
+
+ stop
+
+ eject
+
+
+
+
+ fast-backward
+
+
+ step-backward
+
+ backward
+
+ forward
+
+
+ step-forward
+
+
+ fast-forward
+
+
+
+ zoom-in
+
+ zoom-out
+
+
+ fullscreen
+
+
+
+
+ resize-full
+
+
+ resize-small
+
+
+ resize-vertical
+
+
+ resize-horizontal
+
+
+
+ eye-open
+
+ eye-close
+
+
+
+ check
+
+ unchecked
+
+ expand
+
+
+ collapse-down
+
+
+ collapse-up
+
+
+
+ log-in
+
+ log-out
+
+
+ new-window
+
+ edit
+
+ share
+
+
+
+ font
+
+ bold
+
+ italic
+
+ header
+
+
+ text-height
+
+
+ text-width
+
+
+
+
+ align-left
+
+
+ align-center
+
+
+ align-right
+
+
+ align-justify
+
+
+ indent-left
+
+
+ indent-right
+
+
+
+ list
+
+ list-alt
+
+ th-list
+
+ th-large
+
+ th
+
+ filter
+
+
+
+ sort
+
+
+ sort-by-alphabet
+
+
+ sort-by-alphabet-alt
+
+
+ sort-by-order
+
+
+ sort-by-order-alt
+
+
+ sort-by-attributes
+
+
+ sort-by-attributes-alt
+
+
+
+
+ floppy-disk
+
+
+ floppy-saved
+
+
+ floppy-remove
+
+
+ floppy-save
+
+
+ floppy-open
+
+
+
+ home
+
+ dashboard
+
+ tasks
+
+ stats
+
+ link
+
+ comment
+
+ calendar
+
+ time
+
+ print
+
+
+
+ user
+
+
+ certificate
+
+ qrcode
+
+ barcode
+
+
+
+ globe
+
+ tower
+
+ road
+
+
+ tree-conifer
+
+
+ tree-deciduous
+
+ leaf
+
+
+
+ heart
+
+
+ heart-empty
+
+ star
+
+
+ star-empty
+
+ flash
+
+ fire
+
+
+
+ search
+
+ flag
+
+ pencil
+
+ wrench
+
+ cog
+
+ cutlery
+
+
+
+ plane
+
+ trash
+
+
+ shopping-cart
+
+ briefcase
+
+ gift
+
+ glass
+
+
+
+ phone-alt
+
+ earphone
+
+ phone
+
+ bullhorn
+
+ bell
+
+
+
+ hdd
+
+
+ folder-close
+
+
+ folder-open
+
+ file
+
+ tags
+
+ tag
+
+ book
+
+ bookmark
+
+
+
+ lock
+
+
+ compressed
+
+ magnet
+
+ paperclip
+
+ pushpin
+
+
+
+ plus-sign
+
+
+ minus-sign
+
+
+ remove-sign
+
+ ok-sign
+
+
+ question-sign
+
+ info-sign
+
+
+ exclamation-sign
+
+
+ warning-sign
+
+
+
+ picture
+
+
+ map-marker
+
+ adjust
+
+ tint
+
+ move
+
+
+ screenshot
+
+
+
+ film
+
+ camera
+
+
+ facetime-video
+
+
+
+ sd-video
+
+ hd-video
+
+ subtitles
+
+
+
+ music
+
+
+ headphones
+
+
+
+
+ volume-off
+
+
+ volume-down
+
+ volume-up
+
+
+
+
+ play-circle
+
+ repeat
+
+ record
+
+ off
+
+ random
+
+ refresh
+
+
+
+
+ sound-stereo
+
+
+ sound-dolby
+
+ sound-5-1
+
+ sound-6-1
+
+ sound-7-1
+
+
+
+
+ credit-card
+
+ euro
+
+ usd
+
+ gbp
+
+
+ Dropdowns
+
+
+
.dropdown ul.dropdown-menu
+
+
+
+
+
+
+
+
+
+
+
+
.btn-group
+
+
+ #1
+ #2
+ #3
+
+
+
+
+
.btn-toolbar .btn-group
+
+
+
+
+
+
+
+
.btn-group.btn-group-justified
+
+
+
+
+
+
.btn-group.dropup
+
+
+ .dropdown-menu
+ →
+
+
+
+
+
+ .dropdown-menu-right
+ →
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Navs
+
+
+
+
+
+
+
ul.nav.nav-pills
+
+
+
+
+
+
+
+
ul.nav.nav-pills.nav-stacked
+
+
+
+
+
+
+
+
ul.nav.nav-tabs.nav-justified
+
+
+
+
+
+
+
+
ul.nav.nav-pills.nav-justified
+
+
+
+
+ Navbar
+
+
+
.navbar.navbar-default .container-fluid
+
+
+
+
+
+
+
+
.navbar.navbar-inverse .container-fluid
+
+
+
+
+
+
p.navbar-text a.navbar-link
+
+
.navbar-btn .btn-sm .btn-xs
+
+
+
+
+
+
Complex navbar with navbar-left,
+ navbar-right and navbar-collapse.
+
+
+
+
+
+
+
+
+
+
+
+
Submit
+
+
+
+
+
+
+
+
+ Breadcrumbs
+
+
+
ol.breadcrumb
+
+
+
+ li a
+
+
+
+ Link #2
+
+
+ li.active
+
+
+
+
+
+
+
+ ul.pagination
+
+
+
+
+
+
+
+ ul.pagination.pagination-lg
+
+
+
+
+
+
+
+ ul.pagination.pagination-sm
+
+
+
+
+
+
+
+ Labels
+
+ .label.label-default .label.label-primary .label.label-success .label.label-info .label.label-warning .label.label-danger
+
+ Jumbotron
+
+
+
.jumbotron
+
+
+
Heading
+
+
Paragraph
+
+
Button
+
+
+
+
+
+
+
+
+
+ Thumbnails
+
+
+
+
+
.thumbnail
+
+
+
+
+
+
.caption h3
+
+
Paragraph
+
+
Button
+
+
+
+
+
+
.thumbnail
+
+
+
+
+
+
Caption
+
+
Paragraph
+
+
Button
+
+
+
+
+
+
.thumbnail
+
+
+
+
+
+
Caption
+
+
Paragraph
+
+
Button
+
+
+
+
+
+
.thumbnail
+
+
+
+
+
+
Caption
+
+
Paragraph
+
+
Button
+
+
+
+
+
+ Alerts
+
+
+
+
+
+ × .alert.alert-dismissible
+
+
+
+
+
+ Progress bars
+
+
+
.progress
+
+
+
+
+
+ .progress-bar.progress-bar-success
+
+
+
+
+
+ .progress-bar.progress-bar-info
+
+
+
+
+
+ .progress-bar.progress-bar-warning
+
+
+
+
+
+ .progress-bar.progress-bar-danger
+
+
+
+
+
+
.progress .progress-bar.progress-bar-striped
+
+
+
+
+
+
.progress.active
+ .progress-bar.progress-bar-striped
+
+
+
+
+
+
+
+
+
+
+
+
+ List group
+
+
+
ul.list-group
+
+
+ li.list-group-item
+
+ List item #2 .badge
+
+ List item #3
+
+
+
+
+
+
+
+ Panels
+
+
+
.panel.panel-default
+
+
+
+ .panel-heading
+
+
+
+
.panel-heading h3.panel-title
+
+
+
+ .panel-body
+
+
+
+
+
+
+
+
.panel.panel-primary
+
+
+
+ .panel-heading
+
+
+
+ .panel-body
+
+
+
+
+
+
+
.panel.panel-success
+
+
+
+ .panel-heading
+
+
+
+ .panel-body
+
+
+
+
+
+
.panel.panel-info
+
+
+
+ .panel-heading
+
+
+
+ .panel-body
+
+
+
+
+
+
+
+
.panel.panel-warning (with table)
+
+
+
+ .panel-heading
+
+
+
+
+
+ Header
+
+ Header
+
+ Header
+
+
+
+
+
+ Data
+
+ Data
+
+ Data
+
+
+
+ Data
+
+ Data
+
+ Data
+
+
+
+
+
+
+
+
.panel.panel-danger (with list group)
+
+
+
+ .panel-heading
+
+
+
+ List item
+
+ List item
+
+ List item
+
+
+
+
+
+ Wells
+
+
+
+
+
+ Modals
+
+ Via data attributes:
+ data-toggle="modal" data-target="#modal"
+ Launch
+ modal
+
+ Via Javascript: $('#modal').modal()
+ Launch modal
+
+
+
+
+
+
+
+
+
.modal .modal-dialog .modal-content
+
+
+
+
+
+ .modal-body
+
+
+
+
+
+
+
+
+ Options: backdrop: true|false|'static' keyboard:
+ true|false show: true|false remote:
+ false|path
+
+ Methods: .modal('toggle') .modal('show')
+ .modal('hide')
+
+ Events: show.bs.modal shown.bs.modal
+ hide.bs.modal hidden.bs.modal
+ loaded.bs.modal
+
+
+
+
+
+
+
+ .modal-body
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .modal-body
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .modal-body
+
+
+
+
+
+
+
+ Dropdowns
+
+ Via data attributes: data-toggle="dropdown"
+
+
+
+
+ Via Javascript:
+ $('.dropdown-toggle').dropdown()(data-toggle="dropdown"
+ still required)
+
+ Methods: .dropdown('toggle')
+
+ Events: show.bs.dropdown shown.bs.dropdown
+ hide.bs.dropdown hidden.bs.dropdown
+
+ Tabs
+
+ Via data attributes: data-toggle="tab"
+
+
+
+
+
+
+
Content #1: .table-content .tab-pane.active
+
+
+
+
Content #2: .table-content .tab-pane
+
+
+
+
+ Via Javascript: $(this).tab('show')
+
+
+
+
+
+
+
Content #1: .table-content .tab-pane.fade.in.active
+
+
+
+
Content #2: .table-content .tab-pane.fade
+
+
+
+
+ Events: show.bs.tab shown.bs.tab
+
+
+
+ Usage: $('[data-toggle="tooltip"]').tooltip()
+
+
+ Left Top Bottom Right
+
+
+
+
+ Options: animation: true|false html:
+ false|true selector: false|string
+ title: ''|function container: false|string
+ placement: top|location|auto|function
+ trigger: hover focus|click|manual
+ delay: 0|{show:500, hide:100}
+
+ Methods: .tooltip('show') .tooltip('hide')
+ .tooltip('toggle') .tooltip('destroy')
+
+ Events: show.bs.tooltip shown.bs.tooltip
+ hide.bs.tooltip hidden.bs.tooltip
+
+ Popovers
+
+ Usage: $('[data-toggle="popover"]').popover()
+
+
+ Left Top Bottom Right
+
+
+
+
+
+
+
+
+
Popover
+
+
+
You must initialize them yourself
+
+
+
+
+
+ Options: animation: true|false html: false|true
+ selector: false|string
+ title: ''|function content: ''|function
+ container: false|string
+ placement: right|location|auto|function
+ trigger: click|hover|focus|manual
+ delay: 0|{show:500, hide:100}
+
+ Methods: .popover('show') .popover('hide')
+ .popover('toggle') .popover('destroy')
+
+ Events: show.bs.popover shown.bs.popover
+ hide.bs.popover hidden.bs.popover
+
+ Alerts
+
+ Via data attributes (close button):
+ data-dismiss="alert"
+
+
+
+ × .alert.alert-danger.fade.in
+
+
+
+ Via Javascript: $('.alert').alert()
+
+ Methods: .alert('close')
+
+ Events: close.bs.alert closed.bs.alert
+
+
+
+ Stateful button: data-loading-text="Loading..."
+ data-complete-text="Completed"
+
+
+ $('#stateful').button('loading') $('#stateful').button('complete') $('#stateful').button('reset')
+
+
+
+ Single toggle: [data-toggle="button"]
+
+
+
+
+
+
+ Methods: .button('toggle') .button('loading')
+ .button('reset') .button(string)
+
+ Collapse
+
+ Via data attributes: data-toggle="collapse"
+
+
+
#accordion.panel-group
+
+
+
+
+
+
+
+ #collapse-1.collapse.in
+
+
+
+
+
+
+
+
+
+ #collapse-2.collapse
+
+
+
+
+
+
+ Via Javascript: $(".collapse").collapse()
+
+ Options: parent: false|selector toggle:
+ true|false
+
+ Methods: .collapse('toggle') .collapse('show')
+ .collapse('hide')
+
+ Events: show.bs.collapse shown.bs.collapse
+ hide.bs.collapse hidden.bs.collapse
+
+ Carousel
+
+ Via data attributes: data-target="#carousel"
+ data-slide data-slide-to
+ data-ride
+
+ Via Javascript: $('.carousel').carousel()
+
+
+
.carousel.slide
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
.carousel-caption h3
+
+
Paragraph
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Options: interval: 5000 pause: hover
+ wrap: true|false
+
+ Methods: .carousel('cycle') .carousel('pause')
+ .carousel(number) .carousel('prev')
+ .carousel('next')
+
+ Events: slide.bs.carousel slid.bs.carousel
+
diff --git a/luciexpress/htdocs/plugins/core/pages/bootstrap.js b/luciexpress/htdocs/plugins/core/pages/bootstrap.js
new file mode 100644
index 000000000..1033811a0
--- /dev/null
+++ b/luciexpress/htdocs/plugins/core/pages/bootstrap.js
@@ -0,0 +1 @@
+// bootstrap example page
diff --git a/luciexpress/htdocs/plugins/core/plugin.json b/luciexpress/htdocs/plugins/core/plugin.json
index a958ff913..cd50c3d53 100644
--- a/luciexpress/htdocs/plugins/core/plugin.json
+++ b/luciexpress/htdocs/plugins/core/plugin.json
@@ -17,6 +17,9 @@
},
"login": {
"view": "pages/login"
+ },
+ "bootstrap": {
+ "view": "pages/bootstrap"
}
}
}
diff --git a/luciexpress/htdocs/plugins/core/widgets/luci.footer.html b/luciexpress/htdocs/plugins/core/widgets/luci.footer.html
index 1b2f27d12..c8ac3fbf8 100644
--- a/luciexpress/htdocs/plugins/core/widgets/luci.footer.html
+++ b/luciexpress/htdocs/plugins/core/widgets/luci.footer.html
@@ -4,9 +4,13 @@