make-glyphicons.py 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. glyphs = """<span class="glyphicon glyphicon-asterisk"></span>
  2. <span class="glyphicon glyphicon-plus"></span>
  3. <span class="glyphicon glyphicon-euro"></span>
  4. <span class="glyphicon glyphicon-minus"></span>
  5. <span class="glyphicon glyphicon-cloud"></span>
  6. <span class="glyphicon glyphicon-envelope"></span>
  7. <span class="glyphicon glyphicon-pencil"></span>
  8. <span class="glyphicon glyphicon-glass"></span>
  9. <span class="glyphicon glyphicon-music"></span>
  10. <span class="glyphicon glyphicon-search"></span>
  11. <span class="glyphicon glyphicon-heart"></span>
  12. <span class="glyphicon glyphicon-star"></span>
  13. <span class="glyphicon glyphicon-star-empty"></span>
  14. <span class="glyphicon glyphicon-user"></span>
  15. <span class="glyphicon glyphicon-film"></span>
  16. <span class="glyphicon glyphicon-th-large"></span>
  17. <span class="glyphicon glyphicon-th"></span>
  18. <span class="glyphicon glyphicon-th-list"></span>
  19. <span class="glyphicon glyphicon-ok"></span>
  20. <span class="glyphicon glyphicon-remove"></span>
  21. <span class="glyphicon glyphicon-zoom-in"></span>
  22. <span class="glyphicon glyphicon-zoom-out"></span>
  23. <span class="glyphicon glyphicon-off"></span>
  24. <span class="glyphicon glyphicon-signal"></span>
  25. <span class="glyphicon glyphicon-cog"></span>
  26. <span class="glyphicon glyphicon-trash"></span>
  27. <span class="glyphicon glyphicon-home"></span>
  28. <span class="glyphicon glyphicon-file"></span>
  29. <span class="glyphicon glyphicon-time"></span>
  30. <span class="glyphicon glyphicon-road"></span>
  31. <span class="glyphicon glyphicon-download-alt"></span>
  32. <span class="glyphicon glyphicon-download"></span>
  33. <span class="glyphicon glyphicon-upload"></span>
  34. <span class="glyphicon glyphicon-inbox"></span>
  35. <span class="glyphicon glyphicon-play-circle"></span>
  36. <span class="glyphicon glyphicon-repeat"></span>
  37. <span class="glyphicon glyphicon-refresh"></span>
  38. <span class="glyphicon glyphicon-list-alt"></span>
  39. <span class="glyphicon glyphicon-lock"></span>
  40. <span class="glyphicon glyphicon-flag"></span>
  41. <span class="glyphicon glyphicon-headphones"></span>
  42. <span class="glyphicon glyphicon-volume-off"></span>
  43. <span class="glyphicon glyphicon-volume-down"></span>
  44. <span class="glyphicon glyphicon-volume-up"></span>
  45. <span class="glyphicon glyphicon-qrcode"></span>
  46. <span class="glyphicon glyphicon-barcode"></span>
  47. <span class="glyphicon glyphicon-tag"></span>
  48. <span class="glyphicon glyphicon-tags"></span>
  49. <span class="glyphicon glyphicon-book"></span>
  50. <span class="glyphicon glyphicon-bookmark"></span>
  51. <span class="glyphicon glyphicon-print"></span>
  52. <span class="glyphicon glyphicon-camera"></span>
  53. <span class="glyphicon glyphicon-font"></span>
  54. <span class="glyphicon glyphicon-bold"></span>
  55. <span class="glyphicon glyphicon-italic"></span>
  56. <span class="glyphicon glyphicon-text-height"></span>
  57. <span class="glyphicon glyphicon-text-width"></span>
  58. <span class="glyphicon glyphicon-align-left"></span>
  59. <span class="glyphicon glyphicon-align-center"></span>
  60. <span class="glyphicon glyphicon-align-right"></span>
  61. <span class="glyphicon glyphicon-align-justify"></span>
  62. <span class="glyphicon glyphicon-list"></span>
  63. <span class="glyphicon glyphicon-indent-left"></span>
  64. <span class="glyphicon glyphicon-indent-right"></span>
  65. <span class="glyphicon glyphicon-facetime-video"></span>
  66. <span class="glyphicon glyphicon-picture"></span>
  67. <span class="glyphicon glyphicon-map-marker"></span>
  68. <span class="glyphicon glyphicon-adjust"></span>
  69. <span class="glyphicon glyphicon-tint"></span>
  70. <span class="glyphicon glyphicon-edit"></span>
  71. <span class="glyphicon glyphicon-share"></span>
  72. <span class="glyphicon glyphicon-check"></span>
  73. <span class="glyphicon glyphicon-move"></span>
  74. <span class="glyphicon glyphicon-step-backward"></span>
  75. <span class="glyphicon glyphicon-fast-backward"></span>
  76. <span class="glyphicon glyphicon-backward"></span>
  77. <span class="glyphicon glyphicon-play"></span>
  78. <span class="glyphicon glyphicon-pause"></span>
  79. <span class="glyphicon glyphicon-stop"></span>
  80. <span class="glyphicon glyphicon-forward"></span>
  81. <span class="glyphicon glyphicon-fast-forward"></span>
  82. <span class="glyphicon glyphicon-step-forward"></span>
  83. <span class="glyphicon glyphicon-eject"></span>
  84. <span class="glyphicon glyphicon-chevron-left"></span>
  85. <span class="glyphicon glyphicon-chevron-right"></span>
  86. <span class="glyphicon glyphicon-plus-sign"></span>
  87. <span class="glyphicon glyphicon-minus-sign"></span>
  88. <span class="glyphicon glyphicon-remove-sign"></span>
  89. <span class="glyphicon glyphicon-ok-sign"></span>
  90. <span class="glyphicon glyphicon-question-sign"></span>
  91. <span class="glyphicon glyphicon-info-sign"></span>
  92. <span class="glyphicon glyphicon-screenshot"></span>
  93. <span class="glyphicon glyphicon-remove-circle"></span>
  94. <span class="glyphicon glyphicon-ok-circle"></span>
  95. <span class="glyphicon glyphicon-ban-circle"></span>
  96. <span class="glyphicon glyphicon-arrow-left"></span>
  97. <span class="glyphicon glyphicon-arrow-right"></span>
  98. <span class="glyphicon glyphicon-arrow-up"></span>
  99. <span class="glyphicon glyphicon-arrow-down"></span>
  100. <span class="glyphicon glyphicon-share-alt"></span>
  101. <span class="glyphicon glyphicon-resize-full"></span>
  102. <span class="glyphicon glyphicon-resize-small"></span>
  103. <span class="glyphicon glyphicon-exclamation-sign"></span>
  104. <span class="glyphicon glyphicon-gift"></span>
  105. <span class="glyphicon glyphicon-leaf"></span>
  106. <span class="glyphicon glyphicon-fire"></span>
  107. <span class="glyphicon glyphicon-eye-open"></span>
  108. <span class="glyphicon glyphicon-eye-close"></span>
  109. <span class="glyphicon glyphicon-warning-sign"></span>
  110. <span class="glyphicon glyphicon-plane"></span>
  111. <span class="glyphicon glyphicon-calendar"></span>
  112. <span class="glyphicon glyphicon-random"></span>
  113. <span class="glyphicon glyphicon-comment"></span>
  114. <span class="glyphicon glyphicon-magnet"></span>
  115. <span class="glyphicon glyphicon-chevron-up"></span>
  116. <span class="glyphicon glyphicon-chevron-down"></span>
  117. <span class="glyphicon glyphicon-retweet"></span>
  118. <span class="glyphicon glyphicon-shopping-cart"></span>
  119. <span class="glyphicon glyphicon-folder-close"></span>
  120. <span class="glyphicon glyphicon-folder-open"></span>
  121. <span class="glyphicon glyphicon-resize-vertical"></span>
  122. <span class="glyphicon glyphicon-resize-horizontal"></span>
  123. <span class="glyphicon glyphicon-hdd"></span>
  124. <span class="glyphicon glyphicon-bullhorn"></span>
  125. <span class="glyphicon glyphicon-bell"></span>
  126. <span class="glyphicon glyphicon-certificate"></span>
  127. <span class="glyphicon glyphicon-thumbs-up"></span>
  128. <span class="glyphicon glyphicon-thumbs-down"></span>
  129. <span class="glyphicon glyphicon-hand-right"></span>
  130. <span class="glyphicon glyphicon-hand-left"></span>
  131. <span class="glyphicon glyphicon-hand-up"></span>
  132. <span class="glyphicon glyphicon-hand-down"></span>
  133. <span class="glyphicon glyphicon-circle-arrow-right"></span>
  134. <span class="glyphicon glyphicon-circle-arrow-left"></span>
  135. <span class="glyphicon glyphicon-circle-arrow-up"></span>
  136. <span class="glyphicon glyphicon-circle-arrow-down"></span>
  137. <span class="glyphicon glyphicon-globe"></span>
  138. <span class="glyphicon glyphicon-wrench"></span>
  139. <span class="glyphicon glyphicon-tasks"></span>
  140. <span class="glyphicon glyphicon-filter"></span>
  141. <span class="glyphicon glyphicon-briefcase"></span>
  142. <span class="glyphicon glyphicon-fullscreen"></span>
  143. <span class="glyphicon glyphicon-dashboard"></span>
  144. <span class="glyphicon glyphicon-paperclip"></span>
  145. <span class="glyphicon glyphicon-heart-empty"></span>
  146. <span class="glyphicon glyphicon-link"></span>
  147. <span class="glyphicon glyphicon-phone"></span>
  148. <span class="glyphicon glyphicon-pushpin"></span>
  149. <span class="glyphicon glyphicon-usd"></span>
  150. <span class="glyphicon glyphicon-gbp"></span>
  151. <span class="glyphicon glyphicon-sort"></span>
  152. <span class="glyphicon glyphicon-sort-by-alphabet"></span>
  153. <span class="glyphicon glyphicon-sort-by-alphabet-alt"></span>
  154. <span class="glyphicon glyphicon-sort-by-order"></span>
  155. <span class="glyphicon glyphicon-sort-by-order-alt"></span>
  156. <span class="glyphicon glyphicon-sort-by-attributes"></span>
  157. <span class="glyphicon glyphicon-sort-by-attributes-alt"></span>
  158. <span class="glyphicon glyphicon-unchecked"></span>
  159. <span class="glyphicon glyphicon-expand"></span>
  160. <span class="glyphicon glyphicon-collapse-down"></span>
  161. <span class="glyphicon glyphicon-collapse-up"></span>
  162. <span class="glyphicon glyphicon-log-in"></span>
  163. <span class="glyphicon glyphicon-flash"></span>
  164. <span class="glyphicon glyphicon-log-out"></span>
  165. <span class="glyphicon glyphicon-new-window"></span>
  166. <span class="glyphicon glyphicon-record"></span>
  167. <span class="glyphicon glyphicon-save"></span>
  168. <span class="glyphicon glyphicon-open"></span>
  169. <span class="glyphicon glyphicon-saved"></span>
  170. <span class="glyphicon glyphicon-import"></span>
  171. <span class="glyphicon glyphicon-export"></span>
  172. <span class="glyphicon glyphicon-send"></span>
  173. <span class="glyphicon glyphicon-floppy-disk"></span>
  174. <span class="glyphicon glyphicon-floppy-saved"></span>
  175. <span class="glyphicon glyphicon-floppy-remove"></span>
  176. <span class="glyphicon glyphicon-floppy-save"></span>
  177. <span class="glyphicon glyphicon-floppy-open"></span>
  178. <span class="glyphicon glyphicon-credit-card"></span>
  179. <span class="glyphicon glyphicon-transfer"></span>
  180. <span class="glyphicon glyphicon-cutlery"></span>
  181. <span class="glyphicon glyphicon-header"></span>
  182. <span class="glyphicon glyphicon-compressed"></span>
  183. <span class="glyphicon glyphicon-earphone"></span>
  184. <span class="glyphicon glyphicon-phone-alt"></span>
  185. <span class="glyphicon glyphicon-tower"></span>
  186. <span class="glyphicon glyphicon-stats"></span>
  187. <span class="glyphicon glyphicon-sd-video"></span>
  188. <span class="glyphicon glyphicon-hd-video"></span>
  189. <span class="glyphicon glyphicon-subtitles"></span>
  190. <span class="glyphicon glyphicon-sound-stereo"></span>
  191. <span class="glyphicon glyphicon-sound-dolby"></span>
  192. <span class="glyphicon glyphicon-sound-5-1"></span>
  193. <span class="glyphicon glyphicon-sound-6-1"></span>
  194. <span class="glyphicon glyphicon-sound-7-1"></span>
  195. <span class="glyphicon glyphicon-copyright-mark"></span>
  196. <span class="glyphicon glyphicon-registration-mark"></span>
  197. <span class="glyphicon glyphicon-cloud-download"></span>
  198. <span class="glyphicon glyphicon-cloud-upload"></span>
  199. <span class="glyphicon glyphicon-tree-conifer"></span>
  200. <span class="glyphicon glyphicon-tree-deciduous"></span>"""
  201. glyphs = glyphs.split('\n')
  202. #for glyph in glyphs.split('\n'):
  203. # name = glyph[33:-9]
  204. # print ".. |%s| raw:: html" % name
  205. # print ""
  206. # print " %s" % glyph
  207. # print ""
  208. print ".. row::"
  209. for i, glyph in enumerate(glyphs):
  210. if i % 50 == 0:
  211. print ""
  212. print " .. column::"
  213. print " :width: 3"
  214. print ""
  215. print " .. list:: list-unstyled"
  216. print ""
  217. name = glyph[33:-9]
  218. print " * |%s| : %s" % (name,name)