Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / pybind / mgr / dashboard / static / AdminLTE-2.3.7 / plugins / datatables / extensions / ColVis / examples / button_order.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4         <meta charset="utf-8">
5         <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
6         <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
7
8         <title>ColVis example - Button ordering</title>
9         <link rel="stylesheet" type="text/css" href="../../../media/css/jquery.dataTables.css">
10         <link rel="stylesheet" type="text/css" href="../css/dataTables.colVis.css">
11         <link rel="stylesheet" type="text/css" href="../../../examples/resources/syntax/shCore.css">
12         <link rel="stylesheet" type="text/css" href="../../../examples/resources/demo.css">
13         <style type="text/css" class="init">
14
15         </style>
16         <script type="text/javascript" language="javascript" src="../../../media/js/jquery.js"></script>
17         <script type="text/javascript" language="javascript" src="../../../media/js/jquery.dataTables.js"></script>
18         <script type="text/javascript" language="javascript" src="../js/dataTables.colVis.js"></script>
19         <script type="text/javascript" language="javascript" src="../../../examples/resources/syntax/shCore.js"></script>
20         <script type="text/javascript" language="javascript" src="../../../examples/resources/demo.js"></script>
21         <script type="text/javascript" language="javascript" class="init">
22
23
24 $(document).ready(function() {
25         $('#example').DataTable( {
26                 dom: 'C<"clear">lfrtip',
27                 colVis: {
28                         order: 'alpha'
29                 }
30         } );
31 } );
32
33
34         </script>
35 </head>
36
37 <body class="dt-example">
38         <div class="container">
39                 <section>
40                         <h1>ColVis example <span>Button ordering</span></h1>
41
42                         <div class="info">
43                                 <p>The list of columns that ColVis displays has two options for the order in which they are displayed. The default mode of operation is to show the buttons in the
44                                 same order as they appear in the HTML table, but the second mode of operation is to show the buttons in alphabetical order. This is done by specifying the
45                                 <code>order</code> option, set to <code>alpha</code>. Alphabetical button ordering is shown in this example.</p>
46                         </div>
47
48                         <table id="example" class="display" cellspacing="0" width="100%">
49                                 <thead>
50                                         <tr>
51                                                 <th>Name</th>
52                                                 <th>Position</th>
53                                                 <th>Office</th>
54                                                 <th>Age</th>
55                                                 <th>Start date</th>
56                                                 <th>Salary</th>
57                                         </tr>
58                                 </thead>
59
60                                 <tfoot>
61                                         <tr>
62                                                 <th>Name</th>
63                                                 <th>Position</th>
64                                                 <th>Office</th>
65                                                 <th>Age</th>
66                                                 <th>Start date</th>
67                                                 <th>Salary</th>
68                                         </tr>
69                                 </tfoot>
70
71                                 <tbody>
72                                         <tr>
73                                                 <td>Tiger Nixon</td>
74                                                 <td>System Architect</td>
75                                                 <td>Edinburgh</td>
76                                                 <td>61</td>
77                                                 <td>2011/04/25</td>
78                                                 <td>$320,800</td>
79                                         </tr>
80                                         <tr>
81                                                 <td>Garrett Winters</td>
82                                                 <td>Accountant</td>
83                                                 <td>Tokyo</td>
84                                                 <td>63</td>
85                                                 <td>2011/07/25</td>
86                                                 <td>$170,750</td>
87                                         </tr>
88                                         <tr>
89                                                 <td>Ashton Cox</td>
90                                                 <td>Junior Technical Author</td>
91                                                 <td>San Francisco</td>
92                                                 <td>66</td>
93                                                 <td>2009/01/12</td>
94                                                 <td>$86,000</td>
95                                         </tr>
96                                         <tr>
97                                                 <td>Cedric Kelly</td>
98                                                 <td>Senior Javascript Developer</td>
99                                                 <td>Edinburgh</td>
100                                                 <td>22</td>
101                                                 <td>2012/03/29</td>
102                                                 <td>$433,060</td>
103                                         </tr>
104                                         <tr>
105                                                 <td>Airi Satou</td>
106                                                 <td>Accountant</td>
107                                                 <td>Tokyo</td>
108                                                 <td>33</td>
109                                                 <td>2008/11/28</td>
110                                                 <td>$162,700</td>
111                                         </tr>
112                                         <tr>
113                                                 <td>Brielle Williamson</td>
114                                                 <td>Integration Specialist</td>
115                                                 <td>New York</td>
116                                                 <td>61</td>
117                                                 <td>2012/12/02</td>
118                                                 <td>$372,000</td>
119                                         </tr>
120                                         <tr>
121                                                 <td>Herrod Chandler</td>
122                                                 <td>Sales Assistant</td>
123                                                 <td>San Francisco</td>
124                                                 <td>59</td>
125                                                 <td>2012/08/06</td>
126                                                 <td>$137,500</td>
127                                         </tr>
128                                         <tr>
129                                                 <td>Rhona Davidson</td>
130                                                 <td>Integration Specialist</td>
131                                                 <td>Tokyo</td>
132                                                 <td>55</td>
133                                                 <td>2010/10/14</td>
134                                                 <td>$327,900</td>
135                                         </tr>
136                                         <tr>
137                                                 <td>Colleen Hurst</td>
138                                                 <td>Javascript Developer</td>
139                                                 <td>San Francisco</td>
140                                                 <td>39</td>
141                                                 <td>2009/09/15</td>
142                                                 <td>$205,500</td>
143                                         </tr>
144                                         <tr>
145                                                 <td>Sonya Frost</td>
146                                                 <td>Software Engineer</td>
147                                                 <td>Edinburgh</td>
148                                                 <td>23</td>
149                                                 <td>2008/12/13</td>
150                                                 <td>$103,600</td>
151                                         </tr>
152                                         <tr>
153                                                 <td>Jena Gaines</td>
154                                                 <td>Office Manager</td>
155                                                 <td>London</td>
156                                                 <td>30</td>
157                                                 <td>2008/12/19</td>
158                                                 <td>$90,560</td>
159                                         </tr>
160                                         <tr>
161                                                 <td>Quinn Flynn</td>
162                                                 <td>Support Lead</td>
163                                                 <td>Edinburgh</td>
164                                                 <td>22</td>
165                                                 <td>2013/03/03</td>
166                                                 <td>$342,000</td>
167                                         </tr>
168                                         <tr>
169                                                 <td>Charde Marshall</td>
170                                                 <td>Regional Director</td>
171                                                 <td>San Francisco</td>
172                                                 <td>36</td>
173                                                 <td>2008/10/16</td>
174                                                 <td>$470,600</td>
175                                         </tr>
176                                         <tr>
177                                                 <td>Haley Kennedy</td>
178                                                 <td>Senior Marketing Designer</td>
179                                                 <td>London</td>
180                                                 <td>43</td>
181                                                 <td>2012/12/18</td>
182                                                 <td>$313,500</td>
183                                         </tr>
184                                         <tr>
185                                                 <td>Tatyana Fitzpatrick</td>
186                                                 <td>Regional Director</td>
187                                                 <td>London</td>
188                                                 <td>19</td>
189                                                 <td>2010/03/17</td>
190                                                 <td>$385,750</td>
191                                         </tr>
192                                         <tr>
193                                                 <td>Michael Silva</td>
194                                                 <td>Marketing Designer</td>
195                                                 <td>London</td>
196                                                 <td>66</td>
197                                                 <td>2012/11/27</td>
198                                                 <td>$198,500</td>
199                                         </tr>
200                                         <tr>
201                                                 <td>Paul Byrd</td>
202                                                 <td>Chief Financial Officer (CFO)</td>
203                                                 <td>New York</td>
204                                                 <td>64</td>
205                                                 <td>2010/06/09</td>
206                                                 <td>$725,000</td>
207                                         </tr>
208                                         <tr>
209                                                 <td>Gloria Little</td>
210                                                 <td>Systems Administrator</td>
211                                                 <td>New York</td>
212                                                 <td>59</td>
213                                                 <td>2009/04/10</td>
214                                                 <td>$237,500</td>
215                                         </tr>
216                                         <tr>
217                                                 <td>Bradley Greer</td>
218                                                 <td>Software Engineer</td>
219                                                 <td>London</td>
220                                                 <td>41</td>
221                                                 <td>2012/10/13</td>
222                                                 <td>$132,000</td>
223                                         </tr>
224                                         <tr>
225                                                 <td>Dai Rios</td>
226                                                 <td>Personnel Lead</td>
227                                                 <td>Edinburgh</td>
228                                                 <td>35</td>
229                                                 <td>2012/09/26</td>
230                                                 <td>$217,500</td>
231                                         </tr>
232                                         <tr>
233                                                 <td>Jenette Caldwell</td>
234                                                 <td>Development Lead</td>
235                                                 <td>New York</td>
236                                                 <td>30</td>
237                                                 <td>2011/09/03</td>
238                                                 <td>$345,000</td>
239                                         </tr>
240                                         <tr>
241                                                 <td>Yuri Berry</td>
242                                                 <td>Chief Marketing Officer (CMO)</td>
243                                                 <td>New York</td>
244                                                 <td>40</td>
245                                                 <td>2009/06/25</td>
246                                                 <td>$675,000</td>
247                                         </tr>
248                                         <tr>
249                                                 <td>Caesar Vance</td>
250                                                 <td>Pre-Sales Support</td>
251                                                 <td>New York</td>
252                                                 <td>21</td>
253                                                 <td>2011/12/12</td>
254                                                 <td>$106,450</td>
255                                         </tr>
256                                         <tr>
257                                                 <td>Doris Wilder</td>
258                                                 <td>Sales Assistant</td>
259                                                 <td>Sidney</td>
260                                                 <td>23</td>
261                                                 <td>2010/09/20</td>
262                                                 <td>$85,600</td>
263                                         </tr>
264                                         <tr>
265                                                 <td>Angelica Ramos</td>
266                                                 <td>Chief Executive Officer (CEO)</td>
267                                                 <td>London</td>
268                                                 <td>47</td>
269                                                 <td>2009/10/09</td>
270                                                 <td>$1,200,000</td>
271                                         </tr>
272                                         <tr>
273                                                 <td>Gavin Joyce</td>
274                                                 <td>Developer</td>
275                                                 <td>Edinburgh</td>
276                                                 <td>42</td>
277                                                 <td>2010/12/22</td>
278                                                 <td>$92,575</td>
279                                         </tr>
280                                         <tr>
281                                                 <td>Jennifer Chang</td>
282                                                 <td>Regional Director</td>
283                                                 <td>Singapore</td>
284                                                 <td>28</td>
285                                                 <td>2010/11/14</td>
286                                                 <td>$357,650</td>
287                                         </tr>
288                                         <tr>
289                                                 <td>Brenden Wagner</td>
290                                                 <td>Software Engineer</td>
291                                                 <td>San Francisco</td>
292                                                 <td>28</td>
293                                                 <td>2011/06/07</td>
294                                                 <td>$206,850</td>
295                                         </tr>
296                                         <tr>
297                                                 <td>Fiona Green</td>
298                                                 <td>Chief Operating Officer (COO)</td>
299                                                 <td>San Francisco</td>
300                                                 <td>48</td>
301                                                 <td>2010/03/11</td>
302                                                 <td>$850,000</td>
303                                         </tr>
304                                         <tr>
305                                                 <td>Shou Itou</td>
306                                                 <td>Regional Marketing</td>
307                                                 <td>Tokyo</td>
308                                                 <td>20</td>
309                                                 <td>2011/08/14</td>
310                                                 <td>$163,000</td>
311                                         </tr>
312                                         <tr>
313                                                 <td>Michelle House</td>
314                                                 <td>Integration Specialist</td>
315                                                 <td>Sidney</td>
316                                                 <td>37</td>
317                                                 <td>2011/06/02</td>
318                                                 <td>$95,400</td>
319                                         </tr>
320                                         <tr>
321                                                 <td>Suki Burks</td>
322                                                 <td>Developer</td>
323                                                 <td>London</td>
324                                                 <td>53</td>
325                                                 <td>2009/10/22</td>
326                                                 <td>$114,500</td>
327                                         </tr>
328                                         <tr>
329                                                 <td>Prescott Bartlett</td>
330                                                 <td>Technical Author</td>
331                                                 <td>London</td>
332                                                 <td>27</td>
333                                                 <td>2011/05/07</td>
334                                                 <td>$145,000</td>
335                                         </tr>
336                                         <tr>
337                                                 <td>Gavin Cortez</td>
338                                                 <td>Team Leader</td>
339                                                 <td>San Francisco</td>
340                                                 <td>22</td>
341                                                 <td>2008/10/26</td>
342                                                 <td>$235,500</td>
343                                         </tr>
344                                         <tr>
345                                                 <td>Martena Mccray</td>
346                                                 <td>Post-Sales support</td>
347                                                 <td>Edinburgh</td>
348                                                 <td>46</td>
349                                                 <td>2011/03/09</td>
350                                                 <td>$324,050</td>
351                                         </tr>
352                                         <tr>
353                                                 <td>Unity Butler</td>
354                                                 <td>Marketing Designer</td>
355                                                 <td>San Francisco</td>
356                                                 <td>47</td>
357                                                 <td>2009/12/09</td>
358                                                 <td>$85,675</td>
359                                         </tr>
360                                         <tr>
361                                                 <td>Howard Hatfield</td>
362                                                 <td>Office Manager</td>
363                                                 <td>San Francisco</td>
364                                                 <td>51</td>
365                                                 <td>2008/12/16</td>
366                                                 <td>$164,500</td>
367                                         </tr>
368                                         <tr>
369                                                 <td>Hope Fuentes</td>
370                                                 <td>Secretary</td>
371                                                 <td>San Francisco</td>
372                                                 <td>41</td>
373                                                 <td>2010/02/12</td>
374                                                 <td>$109,850</td>
375                                         </tr>
376                                         <tr>
377                                                 <td>Vivian Harrell</td>
378                                                 <td>Financial Controller</td>
379                                                 <td>San Francisco</td>
380                                                 <td>62</td>
381                                                 <td>2009/02/14</td>
382                                                 <td>$452,500</td>
383                                         </tr>
384                                         <tr>
385                                                 <td>Timothy Mooney</td>
386                                                 <td>Office Manager</td>
387                                                 <td>London</td>
388                                                 <td>37</td>
389                                                 <td>2008/12/11</td>
390                                                 <td>$136,200</td>
391                                         </tr>
392                                         <tr>
393                                                 <td>Jackson Bradshaw</td>
394                                                 <td>Director</td>
395                                                 <td>New York</td>
396                                                 <td>65</td>
397                                                 <td>2008/09/26</td>
398                                                 <td>$645,750</td>
399                                         </tr>
400                                         <tr>
401                                                 <td>Olivia Liang</td>
402                                                 <td>Support Engineer</td>
403                                                 <td>Singapore</td>
404                                                 <td>64</td>
405                                                 <td>2011/02/03</td>
406                                                 <td>$234,500</td>
407                                         </tr>
408                                         <tr>
409                                                 <td>Bruno Nash</td>
410                                                 <td>Software Engineer</td>
411                                                 <td>London</td>
412                                                 <td>38</td>
413                                                 <td>2011/05/03</td>
414                                                 <td>$163,500</td>
415                                         </tr>
416                                         <tr>
417                                                 <td>Sakura Yamamoto</td>
418                                                 <td>Support Engineer</td>
419                                                 <td>Tokyo</td>
420                                                 <td>37</td>
421                                                 <td>2009/08/19</td>
422                                                 <td>$139,575</td>
423                                         </tr>
424                                         <tr>
425                                                 <td>Thor Walton</td>
426                                                 <td>Developer</td>
427                                                 <td>New York</td>
428                                                 <td>61</td>
429                                                 <td>2013/08/11</td>
430                                                 <td>$98,540</td>
431                                         </tr>
432                                         <tr>
433                                                 <td>Finn Camacho</td>
434                                                 <td>Support Engineer</td>
435                                                 <td>San Francisco</td>
436                                                 <td>47</td>
437                                                 <td>2009/07/07</td>
438                                                 <td>$87,500</td>
439                                         </tr>
440                                         <tr>
441                                                 <td>Serge Baldwin</td>
442                                                 <td>Data Coordinator</td>
443                                                 <td>Singapore</td>
444                                                 <td>64</td>
445                                                 <td>2012/04/09</td>
446                                                 <td>$138,575</td>
447                                         </tr>
448                                         <tr>
449                                                 <td>Zenaida Frank</td>
450                                                 <td>Software Engineer</td>
451                                                 <td>New York</td>
452                                                 <td>63</td>
453                                                 <td>2010/01/04</td>
454                                                 <td>$125,250</td>
455                                         </tr>
456                                         <tr>
457                                                 <td>Zorita Serrano</td>
458                                                 <td>Software Engineer</td>
459                                                 <td>San Francisco</td>
460                                                 <td>56</td>
461                                                 <td>2012/06/01</td>
462                                                 <td>$115,000</td>
463                                         </tr>
464                                         <tr>
465                                                 <td>Jennifer Acosta</td>
466                                                 <td>Junior Javascript Developer</td>
467                                                 <td>Edinburgh</td>
468                                                 <td>43</td>
469                                                 <td>2013/02/01</td>
470                                                 <td>$75,650</td>
471                                         </tr>
472                                         <tr>
473                                                 <td>Cara Stevens</td>
474                                                 <td>Sales Assistant</td>
475                                                 <td>New York</td>
476                                                 <td>46</td>
477                                                 <td>2011/12/06</td>
478                                                 <td>$145,600</td>
479                                         </tr>
480                                         <tr>
481                                                 <td>Hermione Butler</td>
482                                                 <td>Regional Director</td>
483                                                 <td>London</td>
484                                                 <td>47</td>
485                                                 <td>2011/03/21</td>
486                                                 <td>$356,250</td>
487                                         </tr>
488                                         <tr>
489                                                 <td>Lael Greer</td>
490                                                 <td>Systems Administrator</td>
491                                                 <td>London</td>
492                                                 <td>21</td>
493                                                 <td>2009/02/27</td>
494                                                 <td>$103,500</td>
495                                         </tr>
496                                         <tr>
497                                                 <td>Jonas Alexander</td>
498                                                 <td>Developer</td>
499                                                 <td>San Francisco</td>
500                                                 <td>30</td>
501                                                 <td>2010/07/14</td>
502                                                 <td>$86,500</td>
503                                         </tr>
504                                         <tr>
505                                                 <td>Shad Decker</td>
506                                                 <td>Regional Director</td>
507                                                 <td>Edinburgh</td>
508                                                 <td>51</td>
509                                                 <td>2008/11/13</td>
510                                                 <td>$183,000</td>
511                                         </tr>
512                                         <tr>
513                                                 <td>Michael Bruce</td>
514                                                 <td>Javascript Developer</td>
515                                                 <td>Singapore</td>
516                                                 <td>29</td>
517                                                 <td>2011/06/27</td>
518                                                 <td>$183,000</td>
519                                         </tr>
520                                         <tr>
521                                                 <td>Donna Snider</td>
522                                                 <td>Customer Support</td>
523                                                 <td>New York</td>
524                                                 <td>27</td>
525                                                 <td>2011/01/25</td>
526                                                 <td>$112,000</td>
527                                         </tr>
528                                 </tbody>
529                         </table>
530
531                         <ul class="tabs">
532                                 <li class="active">Javascript</li>
533                                 <li>HTML</li>
534                                 <li>CSS</li>
535                                 <li>Ajax</li>
536                                 <li>Server-side script</li>
537                         </ul>
538
539                         <div class="tabs">
540                                 <div class="js">
541                                         <p>The Javascript shown below is used to initialise the table shown in this example:</p><code class="multiline language-js">$(document).ready(function() {
542         $('#example').DataTable( {
543                 dom: 'C&lt;&quot;clear&quot;&gt;lfrtip',
544                 colVis: {
545                         order: 'alpha'
546                 }
547         } );
548 } );</code>
549
550                                         <p>In addition to the above code, the following Javascript library files are loaded for use in this example:</p>
551
552                                         <ul>
553                                                 <li><a href="../../../media/js/jquery.js">../../../media/js/jquery.js</a></li>
554                                                 <li><a href="../../../media/js/jquery.dataTables.js">../../../media/js/jquery.dataTables.js</a></li>
555                                                 <li><a href="../js/dataTables.colVis.js">../js/dataTables.colVis.js</a></li>
556                                         </ul>
557                                 </div>
558
559                                 <div class="table">
560                                         <p>The HTML shown below is the raw HTML table element, before it has been enhanced by DataTables:</p>
561                                 </div>
562
563                                 <div class="css">
564                                         <div>
565                                                 <p>This example uses a little bit of additional CSS beyond what is loaded from the library files (below), in order to correctly display the table. The
566                                                 additional CSS used is shown below:</p><code class="multiline language-css"></code>
567                                         </div>
568
569                                         <p>The following CSS library files are loaded for use in this example to provide the styling of the table:</p>
570
571                                         <ul>
572                                                 <li><a href="../../../media/css/jquery.dataTables.css">../../../media/css/jquery.dataTables.css</a></li>
573                                                 <li><a href="../css/dataTables.colVis.css">../css/dataTables.colVis.css</a></li>
574                                         </ul>
575                                 </div>
576
577                                 <div class="ajax">
578                                         <p>This table loads data by Ajax. The latest data that has been loaded is shown below. This data will update automatically as any additional data is
579                                         loaded.</p>
580                                 </div>
581
582                                 <div class="php">
583                                         <p>The script used to perform the server-side processing for this table is shown below. Please note that this is just an example script using PHP. Server-side
584                                         processing scripts can be written in any language, using <a href="//datatables.net/manual/server-side">the protocol described in the DataTables
585                                         documentation</a>.</p>
586                                 </div>
587                         </div>
588                 </section>
589         </div>
590
591         <section>
592                 <div class="footer">
593                         <div class="gradient"></div>
594
595                         <div class="liner">
596                                 <h2>Other examples</h2>
597
598                                 <div class="toc">
599                                         <div class="toc-group">
600                                                 <h3><a href="./index.html">Examples</a></h3>
601                                                 <ul class="toc active">
602                                                         <li><a href="./simple.html">Basic initialisation</a></li>
603                                                         <li><a href="./new_init.html">`new` initialisation</a></li>
604                                                         <li><a href="./text.html">Custom button text</a></li>
605                                                         <li><a href="./exclude_columns.html">Exclude columns from list</a></li>
606                                                         <li><a href="./title_callback.html">Column button callback</a></li>
607                                                         <li class="active"><a href="./button_order.html">Button ordering</a></li>
608                                                         <li><a href="./mouseover.html">Mouseover activation</a></li>
609                                                         <li><a href="./group_columns.html">Group columns</a></li>
610                                                         <li><a href="./two_tables.html">Two tables with individual controls</a></li>
611                                                         <li><a href="./two_tables_identical.html">Two tables with shared controls</a></li>
612                                                         <li><a href="./restore.html">Restore / show all</a></li>
613                                                         <li><a href="./jqueryui.html">jQuery UI styling</a></li>
614                                                 </ul>
615                                         </div>
616                                 </div>
617
618                                 <div class="epilogue">
619                                         <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
620                                         Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and <a href="http://www.datatables.net/plug-ins">plug-ins</a>
621                                         which extend the capabilities of DataTables.</p>
622
623                                         <p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> &#169; 2007-2015<br>
624                                         DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
625                                 </div>
626                         </div>
627                 </div>
628         </section>
629 </body>
630 </html>