index.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. ---
  2. layout: home
  3. ---
  4. <main class="bd-masthead" id="content" role="main">
  5. <div class="container">
  6. <div class="row align-items-center">
  7. <div class="col-4 mx-auto col-md-4 order-md-2">
  8. <img class="img-fluid mb-3 mb-md-0" src="favicon.png">
  9. </div>
  10. <div class="col-md-6 order-md-1 text-center text-md-left pr-md-5">
  11. <h1 class="mb-3 bd-text-purple-bright">
  12. {{ site.title }}
  13. </h1>
  14. <p class="lead">
  15. {{ site.description }}
  16. </p>
  17. <p class="lead mb-4">
  18. Bootstrap table has been designed to reduce development time and to require no specific knowledge from developers. It is both featherweight and feature-rich.
  19. </p>
  20. <div class="row mx-n2">
  21. <div class="col-md px-2">
  22. <a href="{{ site.baseurl }}/docs/getting-started/introduction/"
  23. class="btn btn-lg btn-bd-primary w-100 mb-3">
  24. Getting Started
  25. </a>
  26. </div>
  27. <div class="col-md px-2">
  28. <a href="{{ site.baseurl }}/docs/getting-started/download/"
  29. class="btn btn-lg btn-outline-secondary w-100 mb-3">
  30. Download
  31. </a>
  32. </div>
  33. </div>
  34. <p class="text-muted mb-0">
  35. Currently{{ site.current_version }}
  36. </p>
  37. </div>
  38. </div>
  39. {% include ads.html %}
  40. </div>
  41. </main>
  42. <div class="masthead-followup row m-0 border border-white">
  43. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  44. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  45. {% include icons/import.svg width="32" height="32" class="text-primary mb-2" %}
  46. <h3>Installation</h3>
  47. <p>Include Bootstrap Table source CSS and JavaScript files via npm or Bower.</p>
  48. {% highlight sh %}
  49. npm install bootstrap-table
  50. {% endhighlight %}
  51. {% highlight sh %}
  52. bower install bootstrap-table
  53. {% endhighlight %}
  54. <hr class="half-rule">
  55. <a class="btn btn-outline-primary"
  56. href="{{ site.baseurl }}/docs/getting-started/download/">
  57. Read installation docs
  58. </a>
  59. </div>
  60. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  61. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  62. {% include icons/download.svg width="32" height="32" class="text-primary mb-2" %}
  63. <h3>CDN</h3>
  64. <p>When you only need to include Bootstrap Table’s compiled CSS or JS, you can use <a href="http://www.cdnjs.com/libraries/bootstrap-table">CDNJS</a></p>
  65. {% highlight html %}
  66. <!-- Latest compiled and minified CSS -->
  67. <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.css">
  68. <!-- Latest compiled and minified JavaScript -->
  69. <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/bootstrap-table.min.js"></script>
  70. <!-- Latest compiled and minified Locales -->
  71. <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/{{ site.current_version }}/locale/bootstrap-table-zh-CN.min.js"></script>
  72. {% endhighlight %}
  73. <hr class="half-rule">
  74. <a href="{{ site.baseurl }}/docs/api" class="btn btn-outline-primary">
  75. Explore the docs
  76. </a>
  77. </div>
  78. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  79. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  80. {% include icons/lightning.svg width="32" height="32" class="text-primary mb-2" %}
  81. <h3>Examples</h3>
  82. <p>
  83. The examples of bootstrap table.
  84. </p>
  85. <hr class="half-rule">
  86. <a href="https://bootstrap-table-examples.wenzhixin.net.cn" class="btn btn-outline-primary">
  87. Browse Examples
  88. </a>
  89. </div>
  90. </div>