1
0
mirror of synced 2024-11-23 13:36:01 +03:00
Commit Graph

2121 Commits

Author SHA1 Message Date
Kevin Brown
04a4e41504 Merge pull request #3324 from stretch4x4/MultiSelectStyling
Adding container support issue #3222
2015-06-10 20:09:28 -04:00
Kevin Brown
599de5bdaf Merge pull request #3454 from stretch4x4/3326-MaximumSelection-documentation
#3326 Maximum selection example
2015-06-10 19:56:04 -04:00
Mathias Schaefer (molily)
62b2391972 ContainerCss: Remove magic :all: correctly. Fixes #3446. 2015-06-10 23:15:43 +02:00
Stretch
e60ab22a85 Adding single select support and testing 2015-06-10 20:05:07 +10:00
Stretch
d91dfecd98 #3326 Maximum selection example
Fixing the documentation for maximumselectionlength
2015-06-10 18:59:09 +10:00
Kevin Brown
44cd938dce Merge pull request #3376 from select2/docs-improvements
New documentation theme
2015-06-07 20:47:59 -04:00
Florian Kissling
42739b780e Merge branch 'master' into docs-improvements
Conflicts:
	docs/examples.html

In the docs-improvements branch, the docs examples live in partials located in docs/_includes/examples.
The updated AJAX example code from https://github.com/select2/select2/pull/3357 – the conflicting addition to docs/examples.html – has been ported to the appropiate partial in docs/_includes/examples.data.html.
2015-06-08 02:27:33 +02:00
Florian Kissling
691dfe5340 Tidy and simplify CSS; add very basic documentation. 2015-06-08 01:46:53 +02:00
Florian Kissling
14e1c4d5f9 JavaScript indention. 2015-06-07 17:05:17 +02:00
Florian Kissling
44c64cf6da Replace "..." with an ellipsis, fix a typo. 2015-06-07 16:42:20 +02:00
Florian Kissling
2b8865b3b3 Indention, whitespace. 2015-06-07 16:40:00 +02:00
Florian Kissling
2c627b4875 Fix layout. 2015-06-07 01:03:37 +02:00
Florian Kissling
ab3d5ee884 Ditch Sass' indented syntax. 2015-06-07 00:46:05 +02:00
Florian Kissling
419242fc16 Nesting, whitespace. 2015-06-06 15:32:11 +02:00
Kevin Brown
b4a44ccfdf Adjusted the home page text
This adds the final box, which I've chosen to be for the browser
support (though that can be changed).

The last two boxes on the first row have also been swapped, partially
because the text sizes now match the second row, but also because
the AJAX support should be more prominent than the theme support.
2015-05-31 16:15:55 -04:00
Kevin Brown
038c709c8b Adjusted some wording 2015-05-31 15:11:01 -04:00
Kevin Brown
21bac6a6d8 Updated front page features
This adds correct links to the linked text on the front page under
the features section. There is still one panel which needs to be
written, the last one that includes the AJAX text again, before it
can really be considered finished.

The wording around the Bootstrap theme was adjusted pending further
discussion about how that is going to be handled.
2015-05-31 14:53:39 -04:00
Kevin Brown
bd6148e39f Merge pull request #3350 from cvrebert/patch-1
bower.json: main: select2.css => core.scss
2015-05-24 20:17:20 -04:00
Kevin Brown
fdb2b6aaf2 Merge pull request #3375 from vyrotek/patch-1
Fixed AjaxAdapter's super constructor call
2015-05-19 19:52:46 -04:00
Jason
da5a72c3ac Fixed AjaxAdapter's super constructor call
Replaced ArrayAdapter super constructor call with correct AjaxAdapter super constructor call. This will allow users to initialize an Ajax select with data.
2015-05-19 16:10:16 -07:00
Kevin Brown
dd9af68934 Merge pull request #3357 from pgilad/patch-1
Update ajax example to reflect pagination
2015-05-13 10:42:21 -04:00
Gilad Peleg
45cfac7456 Update ajax example to reflect pagination 2015-05-13 17:34:38 +03:00
Chris Rebert
b0a1192716 bower.json: main: select2.css => core.scss
Per bower/bower.json-spec#43 :
> Use source files with module exports and imports over pre-built distribution files.

Also, the example in that PR includes
/sass/motion.scss in and excludes
/dist/movement.css & /dist/movement.min.css
from its `main`.
2015-05-12 22:14:39 -07:00
Florian Kissling
87f5425464 Drop "_s2-docs-" prefix from Sass partials. 2015-05-08 04:14:41 +02:00
Florian Kissling
14c6113eef Fix indention. 2015-05-08 04:08:31 +02:00
Florian Kissling
922d54615f Fix indention, consistently declare anchor-nav relevant IDs for <h1> (instead of <section>). 2015-05-08 03:41:52 +02:00
Florian Kissling
dc679f7cbd Add a "feature overview" section to the homepage.
While I'm not too happy with things as they currently are, it's a start.
This also removes the icon from the "Download" button.
2015-05-08 03:29:16 +02:00
Florian Kissling
a2ff7a6046 Move button-specific CSS to partial. 2015-05-08 03:21:42 +02:00
Florian Kissling
bc3ce2c5b4 Navigation CSS improvements. 2015-05-08 02:47:20 +02:00
Stretch
581af39288 #3222 test cleanup
Improving my test from feedback.
2015-05-08 08:03:46 +10:00
Florian Kissling
fa421cdfc0 Fix footer border color. 2015-05-07 18:57:06 +02:00
Florian Kissling
83e0f6b034 Add link to contributors to footer. 2015-05-07 15:36:09 +02:00
Florian Kissling
9c8ddd16b8 Move select.js-source-states to partial. 2015-05-07 14:31:58 +02:00
Stretch
13cead0bd0 Adding container support #3222
Fixes issue #3222
Now templateSelection can have access to the parent container so that
classes can be added for styling
2015-05-07 21:59:51 +10:00
Florian Kissling
a0db9efdef Fix version number in footer. 2015-05-07 02:04:43 +02:00
Florian Kissling
5fd72d2052 Set "width" to "100%" as default for all Select2s on the "Examples" page. 2015-05-06 09:28:48 +02:00
Florian Kissling
cc0d662fe6 Fix ID. 2015-05-06 09:22:04 +02:00
Florian Kissling
96abf64472 Rename section "Other data sources" to "Data sources".
Also adds an introductional paragraph to the section.
2015-05-06 03:36:29 +02:00
Florian Kissling
20b64cfe15 Group single and multiple select box examples under "The basics". 2015-05-06 03:20:44 +02:00
Florian Kissling
ea70cbc24c Remove p.lead. 2015-05-06 03:05:27 +02:00
Florian Kissling
45d8486dbb Remove p.lead from .jumbotrons. 2015-05-06 03:04:48 +02:00
Florian Kissling
635b8b2f68 Use https to include ghbtns.com iframes. 2015-05-06 02:57:29 +02:00
Florian Kissling
60bcff089f FIx filename. 2015-05-06 02:51:18 +02:00
Florian Kissling
60710af6ed Add GitHub fork and star buttons to footer.
Directly borrowed from the Bootstrap docs again.
2015-05-06 02:51:10 +02:00
Florian Kissling
dfc8eecdcb Add "type" to stylesheet link tag. 2015-05-06 02:47:53 +02:00
Florian Kissling
f822cd904b Convert "Options" page contents to partials. 2015-05-06 01:47:44 +02:00
Florian Kissling
b74a0ae6e0 Move all examples to partials. 2015-05-06 01:19:05 +02:00
Florian Kissling
f54993050e This h1 should be an h2. 2015-05-04 04:28:28 +02:00
Florian Kissling
a728044fa9 More grouping on the "Examples" page.
* "Loading array data" and "Loading remote data" now go together under "Other data sources",
* "Events" and "Programmatic access" under "Programmatic control",
* "Theme support", "Responsive design" and "Templating" under "Themes, templating and responsive design"
2015-05-04 03:04:09 +02:00
Florian Kissling
cd13697695 Merge branch 'master' into docs-improvements 2015-05-03 22:20:18 +02:00