From e94f0b4e8c2cbea92688975b1a45a061af48911e Mon Sep 17 00:00:00 2001 From: Dave Lerner Date: Tue, 4 Mar 2014 15:02:58 -0600 Subject: bitbake: toaster: add jquery treetable plugin This commit includes the critical javascript and css files downloaded from http://plugins.jquery.com/treetable version 3.1.0. The following is from the author's README.md included with the license files in the directory static/jquery-treetable-license. "jQuery treetable is a plugin for jQuery, the 'Write Less, Do More, JavaScript Library'. With this plugin you can display a tree in an HTML table, e.g. a directory structure or a nested list... Download the latest release from the jQuery Plugin Registry or grab the source code from Github. Please report issues through Github issues. This plugin is released under both the MIT and the GPLv2 license by Ludo van den Boom... See index.html for technical documentation and examples. The most recent version of this document is also available online at http://ludo.cubicphuse.nl/jquery-treetable. An AJAX enabled example built with Ruby on Rails can be found at https://github.com/ludo/jquery-treetable-ajax-example." Author: Ludo van den Boom The relevant files were moved to the static/js and static/css directories to match the existing javascript and css toaster deployment model. The applicable licenses and the README are in static/jquery-treetable-license. (Bitbake rev: 9a260d8b08053e3dcc2fe5960e060b2da1109790) Signed-off-by: Dave Lerner Signed-off-by: Richard Purdie --- .../toastergui/static/css/jquery.treetable.css | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css (limited to 'bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css') diff --git a/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css b/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css new file mode 100644 index 0000000000..4e95bfd3a8 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/static/css/jquery.treetable.css @@ -0,0 +1,28 @@ +table.treetable span.indenter { + display: inline-block; + margin: 0; + padding: 0; + text-align: right; + + /* Disable text selection of nodes (for better D&D UX) */ + user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -o-user-select: none; + -webkit-user-select: none; + + /* Force content-box box model for indenter (Bootstrap compatibility) */ + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + + width: 19px; +} + +table.treetable span.indenter a { + background-position: left center; + background-repeat: no-repeat; + display: inline-block; + text-decoration: none; + width: 19px; +} -- cgit v1.2.3-54-g00ecf