diff --git a/Styles/Interface/Behavior.HtmlTable.less b/Styles/Interface/Behavior.HtmlTable.less new file mode 100644 index 0000000..242f8e3 --- /dev/null +++ b/Styles/Interface/Behavior.HtmlTable.less @@ -0,0 +1,121 @@ +table[data-filters*=HtmlTable] { + width: 100%; +} +table[data-filters*=HtmlTable] thead, table[data-filters*=HtmlTable] tfoot { + background: url(th_back.png); +} +table[data-filters*=HtmlTable] thead th, table[data-filters*=HtmlTable] tfoot th { + text-align: left; + white-space: nowrap; + padding: 0px 6px; + border: 1px solid #b2b2b2; + border-width: 0px 1px 1px 0px; + height: 16px !important; + line-height: 16px !important; + font-size: 12px; + font-weight: normal; + overflow: hidden; +} +table[data-filters*=HtmlTable] th:last-child { + border-right: none; +} + +table[data-filters*=HtmlTable] td { + white-space: nowrap; + padding: 0px 8px; + height: 20px; + line-height: 20px; + background: #fff; + border: none; + overflow: hidden; +} +table[data-filters*=HtmlTable] tr.table-tr-odd td { + background-color: #f3f3f3; +} +table.jframe-bordered-table { + width: 98%; + margin: 4px 1%; + border: 1px solid #888; +} + +table[data-filters*=HtmlTable].selectable tr:hover > td, table[data-filters*=HtmlTable].selectable tr.table-tr-hovered td, + table[data-filters*=HtmlTable].multiselect tr:hover > td, table[data-filters*=HtmlTable].multiselect tr.table-tr-hovered td, + table[data-filters*=HtmlTable].selectable tr:hover > td a, table[data-filters*=HtmlTable].selectable tr.table-tr-hovered td a, + table[data-filters*=HtmlTable].multiselect tr:hover > td a, table[data-filters*=HtmlTable].multiselect tr.table-tr-hovered td a { + background-color: #d4e7f8; + color: #000; + cursor: pointer; +} + +table[data-filters*=HtmlTable] tr.selected td, + table[data-filters*=HtmlTable] tr.table-tr-selected td, + table[data-filters*=HtmlTable] tr.selected td a, + table[data-filters*=HtmlTable] tr.table-tr-selected td a, + table[data-filters*=HtmlTable] tr.selected:hover td, + table[data-filters*=HtmlTable] tr.table-tr-selected:hover td, + table[data-filters*=HtmlTable] tr.selected:hover td a, + table[data-filters*=HtmlTable] tr.table-tr-selected:hover td a { + background-color: #3875d7; + color: #fff; +} +table.table-sortable th { + cursor: pointer; +} +table.table-sortable th div { + position: relative; + padding-right: 10px; +} +span.table-th-sort-span { + width: 7px; + height: 16px; + display: block; + cursor: pointer; + position: absolute; + right: -2px; + top: 0px; +} +.table-th-sort span.table-th-sort-span { + background: url(bullet_arrow_down.png) -4px top no-repeat; +} +.table-th-sort-rev span.table-th-sort-span { + background: url(bullet_arrow_up.png) -4px top no-repeat; +} +table[data-filters*=HtmlTable].treeView tr.hidden { + display: none; +} +table[data-filters*=HtmlTable].treeView tr a.expand { + display: block; + float: left; + width: 10px; + height: 10px; + background: url(divots.png); + position: relative; + top: 4px; + left: -4px; + text-indent: -200px; + overflow: hidden; +} +table[data-filters*=HtmlTable].treeView tr.table-expanded a.expand { + background: url(divots.png) 0px -14px; +} +table[data-filters*=HtmlTable].treeView tbody tr > td:first-child { + padding-right: 20px; +} +.table-th-resizable.table-th-sort span.table-th-sort-span, .table-th-resizable.table-th-sort-rev span.table-th-sort-span { + padding-right: 13px; +} + +table.table-resizable th div { + position: relative; + padding-right: 0px; +} +span.table-th-resizer { + position: absolute; + cursor: col-resize; + right: 9px; + width: 6px; + top: 0px; + display: block; + height: 100%; + z-index: 1; +} \ No newline at end of file diff --git a/Styles/Interface/bullet_arrow_down.png b/Styles/Interface/bullet_arrow_down.png new file mode 100644 index 0000000..9b23c06 Binary files /dev/null and b/Styles/Interface/bullet_arrow_down.png differ diff --git a/Styles/Interface/bullet_arrow_up.png b/Styles/Interface/bullet_arrow_up.png new file mode 100644 index 0000000..24df0f4 Binary files /dev/null and b/Styles/Interface/bullet_arrow_up.png differ diff --git a/Styles/Interface/divots.png b/Styles/Interface/divots.png new file mode 100644 index 0000000..c889574 Binary files /dev/null and b/Styles/Interface/divots.png differ diff --git a/Styles/Interface/th_back.png b/Styles/Interface/th_back.png new file mode 100644 index 0000000..51fa538 Binary files /dev/null and b/Styles/Interface/th_back.png differ diff --git a/Tests/Behaviors/Behavior.FormRequest.html b/Tests/Behaviors/Behavior.FormRequest.html index c0d9a5f..12d6db9 100644 --- a/Tests/Behaviors/Behavior.FormRequest.html +++ b/Tests/Behaviors/Behavior.FormRequest.html @@ -1,20 +1,30 @@ -
Click either submit button to update the box below. The box should have an ajax spinner and then update with the content in the button.
+ + + +Click either submit button to update the box below. The box should have an ajax spinner and then update with the content in the button.
- -Validates that a form's inputs are correct. Fill out the form as described and submit it. Errors should be displayed as you enter invalid values.
- +Validates that a form's inputs are correct. Fill out the form as described and submit it. Errors should be displayed as you enter invalid values.
- - + + + + + + + \ No newline at end of file diff --git a/Tests/Behaviors/Behavior.FxAccordion.html b/Tests/Behaviors/Behavior.FxAccordion.html index 1618996..d5630c8 100644 --- a/Tests/Behaviors/Behavior.FxAccordion.html +++ b/Tests/Behaviors/Behavior.FxAccordion.html @@ -1,15 +1,23 @@ -Below is an accordion, only one of the target areas should be visible at a time, dependent on which toggle was clicked last.
-Below is an accordion, only one of the target areas should be visible at a time, dependent on which toggle was clicked last.
++ ID + | ++ TimeZone + | ++ Name + | ++ GEO Latitude + | ++ GEO Longitude + | +
---|---|---|---|---|
+ 22 + | ++ New York City + | ++ America/New_York + | ++ 40.7255 + | ++ -73.9983 + | +
+ 23 + | ++ San Francisco + | ++ America/Los_Angeles + | ++ 37.7587 + | ++ -122.433 + | +
+ 24 + | ++ Boston + | ++ America/New_York + | ++ 42.3583 + | ++ -71.0603 + | +
+ 25 + | ++ Denver + | ++ America/Denver + | ++ 39.734 + | ++ -105.026 + | +
+ 31 + | ++ Washington, DC + | ++ America/New_York + | ++ 38.8964 + | ++ -77.0447 + | +
+ 32 + | ++ Chicago + | ++ America/Chicago + | ++ 41.8858 + | ++ -87.6181 + | +
+ 33 + | ++ Philadelphia + | ++ America/New_York + | ++ 39.8694 + | ++ -75.2731 + | +
+ 34 + | ++ Los Angeles + | ++ America/Los_Angeles + | ++ 34.0443 + | ++ -118.251 + | +
+ 37 + | ++ Portland + | ++ America/Los_Angeles + | ++ 45.527 + | ++ -122.685 + | +
+ 38 + | ++ San Diego + | ++ America/Los_Angeles + | ++ 32.7153 + | ++ -117.156 + | +
+ 39 + | ++ Miami + | ++ America/New_York + | ++ 25.7323 + | ++ -80.2436 + | +
+ 41 + | ++ Seattle + | ++ America/Los_Angeles + | ++ 47.6036 + | ++ -122.326 + | +
+ 42 + | ++ Austin + | ++ America/Chicago + | ++ 30.2669 + | ++ -97.7428 + | +
+ 43 + | ++ Dallas / Fort Worth + | ++ America/Chicago + | ++ 32.7887 + | ++ -96.7676 + | +
+ 46 + | ++ Atlanta + | ++ America/New_York + | ++ 33.7525 + | ++ -84.3888 + | +
+ 47 + | ++ Detroit + | ++ America/New_York + | ++ 42.3333 + | ++ -83.0484 + | +
+ 48 + | ++ Houston + | ++ America/Chicago + | ++ 29.7594 + | ++ -95.3594 + | +
+ 49 + | ++ Las Vegas + | ++ America/Los_Angeles + | ++ 36.1721 + | ++ -115.122 + | +
+ 51 + | ++ Minneapolis / St. Paul + | ++ America/Chicago + | ++ 44.9609 + | ++ -93.2642 + | +
+ 52 + | ++ New Orleans + | ++ America/Chicago + | ++ 29.9544 + | ++ -90.075 + | +
+ 53 + | ++ Phoenix + | ++ America/Phoenix + | ++ 33.4483 + | ++ -112.073 + | +
+ 56 + | ++ Amsterdam + | ++ Europe/Amsterdam + | ++ 52.3789 + | ++ 4.90067 + | +
+ 57 + | ++ Raleigh / Durham + | ++ America/New_York + | ++ 35.7797 + | ++ -78.6434 + | +
+ 59 + | ++ Vancouver + | ++ America/Vancouver + | ++ 49.259515 + | ++ -123.103867 + | +
+ 60 + | ++ Pittsburgh + | ++ America/New_York + | ++ 40.4405 + | ++ -79.9961 + | +
+ 61 + | ++ London + | ++ Europe/London + | ++ 51.50714 + | ++ -0.126171 + | +
+ 62 + | ++ St. Louis + | ++ America/Chicago + | ++ 38.627491 + | ++ -90.198417 + | +
+ 63 + | ++ Baltimore + | ++ America/New_York + | ++ 39.294255 + | ++ -76.614275 + | +
+ 64 + | ++ Cleveland + | ++ America/New_York + | ++ 41.499819 + | ++ -81.693716 + | +
+ 65 + | ++ Kansas City + | ++ America/Chicago + | ++ 39.090431 + | ++ -94.583644 + | +
+ 66 + | ++ Indianapolis + | ++ America/New_York + | ++ 39.767016 + | ++ -86.156255 + | +
+ 67 + | ++ Milwaukee + | ++ America/Chicago + | ++ 43.038902 + | ++ -87.906474 + | +
+ 68 + | ++ San Antonio + | ++ America/Chicago + | ++ 29.424122 + | ++ -98.493628 + | +
+ 69 + | ++ Toronto + | ++ America/New_York + | ++ 43.670233 + | ++ -79.386755 + | +
+ 70 + | ++ Montreal + | ++ America/New_York + | ++ 45.545447 + | ++ -73.639076 + | +
+ 71 + | ++ Salt Lake City + | ++ America/Denver + | ++ 40.760779 + | ++ -111.891047 + | +
+ 72 + | ++ Omaha + | ++ America/Chicago + | ++ 41.254006 + | ++ -95.999258 + | +
+ 73 + | ++ Richmond + | ++ America/New_York + | ++ 37.542979 + | ++ -77.469092 + | +
- ID - | -- TimeZone - | -- Name - | -- GEO Latitude - | -- GEO Longitude - | -
---|---|---|---|---|
- 22 - | -- New York City - | -- America/New_York - | -- 40.7255 - | -- -73.9983 - | -
- 23 - | -- San Francisco - | -- America/Los_Angeles - | -- 37.7587 - | -- -122.433 - | -
- 24 - | -- Boston - | -- America/New_York - | -- 42.3583 - | -- -71.0603 - | -
- 25 - | -- Denver - | -- America/Denver - | -- 39.734 - | -- -105.026 - | -
- 31 - | -- Washington, DC - | -- America/New_York - | -- 38.8964 - | -- -77.0447 - | -
- 32 - | -- Chicago - | -- America/Chicago - | -- 41.8858 - | -- -87.6181 - | -
- 33 - | -- Philadelphia - | -- America/New_York - | -- 39.8694 - | -- -75.2731 - | -
- 34 - | -- Los Angeles - | -- America/Los_Angeles - | -- 34.0443 - | -- -118.251 - | -
- 37 - | -- Portland - | -- America/Los_Angeles - | -- 45.527 - | -- -122.685 - | -
- 38 - | -- San Diego - | -- America/Los_Angeles - | -- 32.7153 - | -- -117.156 - | -
- 39 - | -- Miami - | -- America/New_York - | -- 25.7323 - | -- -80.2436 - | -
- 41 - | -- Seattle - | -- America/Los_Angeles - | -- 47.6036 - | -- -122.326 - | -
- 42 - | -- Austin - | -- America/Chicago - | -- 30.2669 - | -- -97.7428 - | -
- 43 - | -- Dallas / Fort Worth - | -- America/Chicago - | -- 32.7887 - | -- -96.7676 - | -
- 46 - | -- Atlanta - | -- America/New_York - | -- 33.7525 - | -- -84.3888 - | -
- 47 - | -- Detroit - | -- America/New_York - | -- 42.3333 - | -- -83.0484 - | -
- 48 - | -- Houston - | -- America/Chicago - | -- 29.7594 - | -- -95.3594 - | -
- 49 - | -- Las Vegas - | -- America/Los_Angeles - | -- 36.1721 - | -- -115.122 - | -
- 51 - | -- Minneapolis / St. Paul - | -- America/Chicago - | -- 44.9609 - | -- -93.2642 - | -
- 52 - | -- New Orleans - | -- America/Chicago - | -- 29.9544 - | -- -90.075 - | -
- 53 - | -- Phoenix - | -- America/Phoenix - | -- 33.4483 - | -- -112.073 - | -
- 56 - | -- Amsterdam - | -- Europe/Amsterdam - | -- 52.3789 - | -- 4.90067 - | -
- 57 - | -- Raleigh / Durham - | -- America/New_York - | -- 35.7797 - | -- -78.6434 - | -
- 59 - | -- Vancouver - | -- America/Vancouver - | -- 49.259515 - | -- -123.103867 - | -
- 60 - | -- Pittsburgh - | -- America/New_York - | -- 40.4405 - | -- -79.9961 - | -
- 61 - | -- London - | -- Europe/London - | -- 51.50714 - | -- -0.126171 - | -
- 62 - | -- St. Louis - | -- America/Chicago - | -- 38.627491 - | -- -90.198417 - | -
- 63 - | -- Baltimore - | -- America/New_York - | -- 39.294255 - | -- -76.614275 - | -
- 64 - | -- Cleveland - | -- America/New_York - | -- 41.499819 - | -- -81.693716 - | -
- 65 - | -- Kansas City - | -- America/Chicago - | -- 39.090431 - | -- -94.583644 - | -
- 66 - | -- Indianapolis - | -- America/New_York - | -- 39.767016 - | -- -86.156255 - | -
- 67 - | -- Milwaukee - | -- America/Chicago - | -- 43.038902 - | -- -87.906474 - | -
- 68 - | -- San Antonio - | -- America/Chicago - | -- 29.424122 - | -- -98.493628 - | -
- 69 - | -- Toronto - | -- America/New_York - | -- 43.670233 - | -- -79.386755 - | -
- 70 - | -- Montreal - | -- America/New_York - | -- 45.545447 - | -- -73.639076 - | -
- 71 - | -- Salt Lake City - | -- America/Denver - | -- 40.760779 - | -- -111.891047 - | -
- 72 - | -- Omaha - | -- America/Chicago - | -- 41.254006 - | -- -95.999258 - | -
- 73 - | -- Richmond - | -- America/New_York - | -- 37.542979 - | -- -77.469092 - | -
The table below will appear to be a tree view table immediately, even before scripts are loaded. It will become interactive once the scripts have loaded. You should be able to click a section's expand arrow to expand it. Keys should work - up and down to navigate, shift + up and down to multiselect, left and right to collapse and expand sections.
-The table below will turn into a treeview on startup. It will appear to be a normal table until then. The add row link above the table will add a new item inside the Documents folder.
-Add Row to Documents -Name | -Date Modified | -Size | - - -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- Documents - | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Resume.pdf | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notes.txt | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- Receipts - | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
starbucks.txt | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
safeway.txt | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
movies.txt | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- Taxes - | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- 2008 Taxes.pdf - | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- 2009 Taxes.pdf - | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- 2010 Taxes.pdf - | -Jul 10, 2010 1:39pm | --- | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pictures | +
Name | +Date Modified | +Size | + + +
---|---|---|
+ Documents + | +Jul 10, 2010 1:39pm | +-- | +
Resume.pdf | Jul 10, 2010 1:39pm | -- |
- Baby.jpg - | +||
notes.txt | Jul 10, 2010 1:39pm | -- |
- Bar.txt + Receipts | Jul 10, 2010 1:39pm | -- |
- Candy - | -Jul 10, 2010 1:39pm | --- | -
starbucks.txt | +Jul 10, 2010 1:39pm | +-- | +
safeway.txt | +Jul 10, 2010 1:39pm | +-- | +
movies.txt | +Jul 10, 2010 1:39pm | +-- | +
+ Taxes + | +Jul 10, 2010 1:39pm | +-- | +
+ 2008 Taxes.pdf + | +Jul 10, 2010 1:39pm | +-- | +
+ 2009 Taxes.pdf + | +Jul 10, 2010 1:39pm | +-- | +
+ 2010 Taxes.pdf + | +Jul 10, 2010 1:39pm | +-- | +
Pictures | +Jul 10, 2010 1:39pm | +-- | +
+ Baby.jpg + | +Jul 10, 2010 1:39pm | +-- | +
+ Bar.txt + | +Jul 10, 2010 1:39pm | +-- | +
+ Candy + | +Jul 10, 2010 1:39pm | +-- | +
+ Snickers.txt + | +Jul 10, 2010 1:39pm | +-- | +
- Snickers.txt + Foo.txt | Jul 10, 2010 1:39pm | -- |
- Foo.txt - | -Jul 10, 2010 1:39pm | --- | -