0
0

badges_labels.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>H+ 后台主题UI框架 - 徽章,标签,进度条</title>
  7. <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  8. <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
  9. <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
  10. <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
  11. <link href="css/animate.css" rel="stylesheet">
  12. <link href="css/style.css?v=4.1.0" rel="stylesheet">
  13. </head>
  14. <body class="gray-bg">
  15. <div class="wrapper wrapper-content animated fadeInRight">
  16. <div class="row">
  17. <div class="col-sm-6">
  18. <div class="ibox float-e-margins">
  19. <div class="ibox-title">
  20. <h5>徽章 (Badges)</h5>
  21. <div class="ibox-tools">
  22. <a class="collapse-link">
  23. <i class="fa fa-chevron-up"></i>
  24. </a>
  25. <a class="dropdown-toggle" data-toggle="dropdown" href="badges_labels.html#">
  26. <i class="fa fa-wrench"></i>
  27. </a>
  28. <ul class="dropdown-menu dropdown-user">
  29. <li><a href="badges_labels.html#">选项1</a>
  30. </li>
  31. <li><a href="badges_labels.html#">选项2</a>
  32. </li>
  33. </ul>
  34. <a class="close-link">
  35. <i class="fa fa-times"></i>
  36. </a>
  37. </div>
  38. </div>
  39. <div class="ibox-content">
  40. <p>
  41. 要添加徽章,只需要在元素上添加<code>.badge</code>即可,改变徽章的颜色可使用如下class,如<code>.badge-primary</code>。
  42. </p>
  43. <p><span class="badge">空</span>
  44. </p>
  45. <p><span class="badge badge-primary">badge-primary</span>
  46. </p>
  47. <p><span class="badge badge-info">badge-info</span>
  48. </p>
  49. <p><span class="badge badge-success">badge-success</span>
  50. </p>
  51. <p><span class="badge badge-warning">badge-warning</span>
  52. </p>
  53. <p><span class="badge badge-danger">badge-danger</span>
  54. </p>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="col-sm-6">
  59. <div class="ibox float-e-margins">
  60. <div class="ibox-title">
  61. <h5>标签 (Labels)</h5>
  62. <div class="ibox-tools">
  63. <a class="collapse-link">
  64. <i class="fa fa-chevron-up"></i>
  65. </a>
  66. <a class="dropdown-toggle" data-toggle="dropdown" href="badges_labels.html#">
  67. <i class="fa fa-wrench"></i>
  68. </a>
  69. <ul class="dropdown-menu dropdown-user">
  70. <li><a href="badges_labels.html#">选项1</a>
  71. </li>
  72. <li><a href="badges_labels.html#">选项2</a>
  73. </li>
  74. </ul>
  75. <a class="close-link">
  76. <i class="fa fa-times"></i>
  77. </a>
  78. </div>
  79. </div>
  80. <div class="ibox-content">
  81. <p>
  82. 要添加徽章,只需要在元素上添加class<code>.label</code>即可,如果需要修改颜色,添加如下class,如<code>.label-primary</code>
  83. </p>
  84. <p><span class="label">空</span>
  85. </p>
  86. <p><span class="label label-primary">label-primary</span>
  87. </p>
  88. <p><span class="label label-info">label-info</span>
  89. </p>
  90. <p><span class="label label-success">label-success</span>
  91. </p>
  92. <p><span class="label label-warning">label-warning</span>
  93. </p>
  94. <p><span class="label label-danger">label-danger</span>
  95. </p>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="row">
  101. <div class="col-sm-12">
  102. <div class="ibox float-e-margins">
  103. <div class="ibox-title">
  104. <h5>进度条 (Progress Bars)</h5>
  105. <div class="ibox-tools">
  106. <a class="collapse-link">
  107. <i class="fa fa-chevron-up"></i>
  108. </a>
  109. <a class="dropdown-toggle" data-toggle="dropdown" href="badges_labels.html#">
  110. <i class="fa fa-wrench"></i>
  111. </a>
  112. <ul class="dropdown-menu dropdown-user">
  113. <li><a href="badges_labels.html#">选项1</a>
  114. </li>
  115. <li><a href="badges_labels.html#">选项2</a>
  116. </li>
  117. </ul>
  118. <a class="close-link">
  119. <i class="fa fa-times"></i>
  120. </a>
  121. </div>
  122. </div>
  123. <div class="ibox-content">
  124. <h5>基本</h5>
  125. <div class="progress">
  126. <div style="width: 35%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="35" role="progressbar" class="progress-bar progress-bar-success">
  127. <span class="sr-only">35% Complete (success)</span>
  128. </div>
  129. </div>
  130. <div class="progress progress-bar-default">
  131. <div style="width: 43%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="43" role="progressbar" class="progress-bar">
  132. <span class="sr-only">43% Complete (success)</span>
  133. </div>
  134. </div>
  135. <h5>条纹</h5>
  136. <div class="progress progress-striped">
  137. <div style="width: 50%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="50" role="progressbar" class="progress-bar progress-bar-warning">
  138. <span class="sr-only">40% Complete (success)</span>
  139. </div>
  140. </div>
  141. <h5>动画</h5>
  142. <div class="progress progress-striped active">
  143. <div style="width: 75%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="75" role="progressbar" class="progress-bar progress-bar-danger">
  144. <span class="sr-only">40% Complete (success)</span>
  145. </div>
  146. </div>
  147. <h5>堆叠</h5>
  148. <div class="progress progress-striped active">
  149. <div style="width: 30%" class="progress-bar progress-bar-success">
  150. <span class="sr-only">30% Complete (success)</span>
  151. </div>
  152. <div style="width: 20%" class="progress-bar progress-bar-warning">
  153. <span class="sr-only">15% Complete (warning)</span>
  154. </div>
  155. <div style="width: 40%" class="progress-bar progress-bar-danger">
  156. <span class="sr-only">40% Complete (danger)</span>
  157. </div>
  158. </div>
  159. </div>
  160. </div>
  161. </div>
  162. </div>
  163. </div>
  164. <!-- 全局js -->
  165. <script src="js/jquery.min.js?v=2.1.4"></script>
  166. <script src="js/bootstrap.min.js?v=3.3.7"></script>
  167. <!-- 自定义js -->
  168. <script src="js/content.js?v=1.0.0"></script>
  169. <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
  170. <!--统计代码,可删除-->
  171. </body>
  172. </html>