corrade-nucleus-nucleons

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 19  →  ?path2? @ 20
/pack-rat/003_pack_rat/pack-rat/node_modules/bootstrap-table/docs/_i18n/en/getting-started/download.md
@@ -0,0 +1,40 @@
# Download []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/download.md)
 
---
 
<p class="lead">
Bootstrap table (currently v{{ site.current_version }}) has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs.
</p>
 
## Source code
 
Source css, JavaScript, locales, and extensions, along with our docs.
 
<a href="{{ site.master_zip }}" class="btn btn-lg btn-outline" role="button">Download source</a>
 
## Clone or fork via GitHub
 
<a href="{{ site.repo }}" class="btn btn-lg btn-outline" role="button">Via GitHub</a>
 
## CDN
 
The folks over at [CDNJS](http://www.cdnjs.com/libraries/bootstrap-table) and [bootcss](http://open.bootcss.com/bootstrap-table/) graciously provide CDN support for CSS and JavaScript of Bootstrap table. Just use these CDN links.
 
```html
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.css">
 
<!-- Latest compiled and minified JavaScript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.js"></script>
 
<!-- Latest compiled and minified Locales -->
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/locale/bootstrap-table-zh-CN.min.js"></script>
```
 
## Bower
 
Install and manage Bootstrap table's CSS, JavaScript, locales, and extensions using [Bower](http://bower.io/).
 
```bash
$ bower install bootstrap-table
```
/pack-rat/003_pack_rat/pack-rat/node_modules/bootstrap-table/docs/_i18n/en/getting-started/grunt.md
@@ -0,0 +1,38 @@
# Compiling CSS and JavaScript []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/grunt.md)
 
---
 
Bootstrap table uses [Grunt](http://gruntjs.com/) for its build system, with convenient methods for working with the framework. It's how we compile our code, run tests, and more.
 
## Installing Grunt
 
To install Grunt, you must **first** [download and install node.js](http://nodejs.org/download/) (which includes npm). npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js.
 
Then, from the command line:
 
1. Install `grunt-cli` globally with `npm install -g grunt-cli`.
2. Navigate to the root `/bootstrap-table/` directory, then run `npm install`. npm will look at the `package.json` file and automatically install the necessary local dependencies listed there.
 
When completed, you'll be able to run the various Grunt commands provided from the command line.
 
## Available Grunt commands
 
### `grunt dist` (Just compile CSS and JavaScript)
 
Regenerates the `/dist/` directory with compiled and minified CSS and JavaScript files. As a Bootstrap user, this is normally the command you want.
 
### `grunt test` (Run tests)
 
Runs [JSHint](http://jshint.com/) to test our code.
 
### `grunt docs` (Build & test the docs assets)
 
Builds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via `jekyll serve`.
 
### `grunt` (Build absolutely everything and run tests)
 
Compiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Requires [Jekyll](http://jekyllrb.com/docs/installation/).
 
## Troubleshooting
 
Should you encounter problems with installing dependencies or running Grunt commands, first delete the `/node_modules/` directory generated by npm. Then, rerun `npm install`.
/pack-rat/003_pack_rat/pack-rat/node_modules/bootstrap-table/docs/_i18n/en/getting-started/usage.md
@@ -0,0 +1,116 @@
# Usage []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/usage.md)
 
---
 
Include Bootstrap library (if your project doesn't use it already) and `bootstrap-table.css` in the head tag your html document.
 
```html
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="bootstrap-table.css">
```
 
Include jQuery library, bootstrap library (if your project doesn't use it already) and `bootstrap-table.js` in the head tag or at the very bottom of your document, just before the closing body tag (usually recommended for better performance).
 
```html
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="bootstrap-table.js"></script>
<-- put your locale files after bootstrap-table.js -->
<script src="bootstrap-table-zh-CN.js"></script>
```
 
---
 
The Bootstrap Table plugin displays data in a tabular format, via data attributes or JavaScript.
 
## Via data attributes
 
Activate bootstrap table without writing JavaScript. Set `data-toggle="table"` on a normal table.
 
```html
<table data-toggle="table">
<thead>
<tr>
<th>Item ID</th>
<th>Item Name</th>
<th>Item Price</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Item 1</td>
<td>$1</td>
</tr>
<tr>
<td>2</td>
<td>Item 2</td>
<td>$2</td>
</tr>
</tbody>
</table>
```
 
We can also use remote url data by setting `data-url="data1.json"` on a normal table.
 
```html
<table data-toggle="table" data-url="data1.json">
<thead>
<tr>
<th data-field="id">Item ID</th>
<th data-field="name">Item Name</th>
<th data-field="price">Item Price</th>
</tr>
</thead>
</table>
```
 
## Via JavaScript
 
Call a bootstrap table with id table with JavaScript.
 
```html
<table id="table"></table>
```
 
```js
$('#table').bootstrapTable({
columns: [{
field: 'id',
title: 'Item ID'
}, {
field: 'name',
title: 'Item Name'
}, {
field: 'price',
title: 'Item Price'
}],
data: [{
id: 1,
name: 'Item 1',
price: '$1'
}, {
id: 2,
name: 'Item 2',
price: '$2'
}]
});
```
 
We can also use remote url data by setting `url: 'data1.json'`.
 
```js
$('#table').bootstrapTable({
url: 'data1.json',
columns: [{
field: 'id',
title: 'Item ID'
}, {
field: 'name',
title: 'Item Name'
}, {
field: 'price',
title: 'Item Price'
}, ]
});
```
/pack-rat/003_pack_rat/pack-rat/node_modules/bootstrap-table/docs/_i18n/en/getting-started/whats-include.md
@@ -0,0 +1,22 @@
# What's included []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/whats-include.md)
 
---
 
The Bootstrap table source code download includes the precompiled CSS, JavaScript, locales, extensions, and provides both compiled and minified variations, along with documentation. More specifically, it includes the following and more:
 
```bash
bootstrap-table/
├── dist/
│ ├── extensions/
│ ├── locale/
│ ├── bootstrap-table.min.css
│ └── bootstrap-table.min.js
├── docs/
└── src/
├── extensions/
├── locale/
├── bootstrap-table.css
└── bootstrap-table.js
```
 
The `src/`, `locale/`, and `extensions/` are the source code for our CSS, JS. The `dist/` folder includes everything compiled and minified with `src/`. The `docs/` folder includes the source code for our documentation. Beyond that, any other included file provides support for packages, license information, and development.