Skip to content
Permalink
Browse files

Merge pull request #47 from getnikola/murder-bootstrap2

Move Bootstrap 2 to the Themes Index
  • Loading branch information
Kwpolska committed Jul 5, 2015
2 parents 4d73395 + 905e526 commit d036be54ffafce4c2c357a27534a5d53a3e038d6
Showing with 45,397 additions and 2 deletions.
  1. +1 −1 scripts/build_site.py
  2. +1 −1 scripts/build_themes.py
  3. +1 −0 v7/bootstrap-jinja/AUTHORS.txt
  4. +25 −0 v7/bootstrap-jinja/README.md
  5. +1,109 −0 v7/bootstrap-jinja/assets/css/bootstrap-responsive.css
  6. +9 −0 v7/bootstrap-jinja/assets/css/bootstrap-responsive.min.css
  7. +6,167 −0 v7/bootstrap-jinja/assets/css/bootstrap.css
  8. +9 −0 v7/bootstrap-jinja/assets/css/bootstrap.min.css
  9. +45 −0 v7/bootstrap-jinja/assets/css/colorbox.css
  10. BIN v7/bootstrap-jinja/assets/css/images/controls.png
  11. BIN v7/bootstrap-jinja/assets/css/images/loading.gif
  12. +205 −0 v7/bootstrap-jinja/assets/css/theme.css
  13. BIN v7/bootstrap-jinja/assets/img/glyphicons-halflings-white.png
  14. BIN v7/bootstrap-jinja/assets/img/glyphicons-halflings.png
  15. +2,280 −0 v7/bootstrap-jinja/assets/js/bootstrap.js
  16. +6 −0 v7/bootstrap-jinja/assets/js/bootstrap.min.js
  17. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-ar.js
  18. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-bg.js
  19. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-bn.js
  20. +13 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-ca.js
  21. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-cs.js
  22. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-da.js
  23. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-de.js
  24. +13 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-es.js
  25. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-et.js
  26. +18 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-fa.js
  27. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-fi.js
  28. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-fr.js
  29. +13 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-gl.js
  30. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-gr.js
  31. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-he.js
  32. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-hr.js
  33. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-hu.js
  34. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-id.js
  35. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-it.js
  36. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-ja.js
  37. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-kr.js
  38. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-lt.js
  39. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-lv.js
  40. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-my.js
  41. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-nl.js
  42. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-no.js
  43. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-pl.js
  44. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-pt-BR.js
  45. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-ro.js
  46. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-ru.js
  47. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-si.js
  48. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-sk.js
  49. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-sr.js
  50. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-sv.js
  51. +19 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-tr.js
  52. +16 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-uk.js
  53. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-zh-CN.js
  54. +15 −0 v7/bootstrap-jinja/assets/js/colorbox-i18n/jquery.colorbox-zh-TW.js
  55. +265 −0 v7/bootstrap-jinja/assets/js/flowr.plugin.js
  56. +6 −0 v7/bootstrap-jinja/assets/js/jquery.colorbox-min.js
  57. +1,105 −0 v7/bootstrap-jinja/assets/js/jquery.colorbox.js
  58. +10,351 −0 v7/bootstrap-jinja/assets/js/jquery.js
  59. +6 −0 v7/bootstrap-jinja/assets/js/jquery.min.js
  60. +1 −0 v7/bootstrap-jinja/assets/js/jquery.min.map
  61. +4 −0 v7/bootstrap-jinja/bundles
  62. +1 −0 v7/bootstrap-jinja/engine
  63. +1 −0 v7/bootstrap-jinja/parent
  64. +93 −0 v7/bootstrap-jinja/templates/base.tmpl
  65. +184 −0 v7/bootstrap-jinja/templates/base_helper.tmpl
  66. +94 −0 v7/bootstrap-jinja/templates/gallery.tmpl
  67. +28 −0 v7/bootstrap-jinja/templates/listing.tmpl
  68. +59 −0 v7/bootstrap-jinja/templates/post.tmpl
  69. +24 −0 v7/bootstrap-jinja/templates/slides.tmpl
  70. +38 −0 v7/bootstrap-jinja/templates/tags.tmpl
  71. +25 −0 v7/bootstrap/README.md
  72. +1,109 −0 v7/bootstrap/assets/css/bootstrap-responsive.css
  73. +9 −0 v7/bootstrap/assets/css/bootstrap-responsive.min.css
  74. +6,167 −0 v7/bootstrap/assets/css/bootstrap.css
  75. +9 −0 v7/bootstrap/assets/css/bootstrap.min.css
  76. +45 −0 v7/bootstrap/assets/css/colorbox.css
  77. BIN v7/bootstrap/assets/css/images/controls.png
  78. BIN v7/bootstrap/assets/css/images/loading.gif
  79. +205 −0 v7/bootstrap/assets/css/theme.css
  80. BIN v7/bootstrap/assets/img/glyphicons-halflings-white.png
  81. BIN v7/bootstrap/assets/img/glyphicons-halflings.png
  82. +2,280 −0 v7/bootstrap/assets/js/bootstrap.js
  83. +6 −0 v7/bootstrap/assets/js/bootstrap.min.js
  84. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-ar.js
  85. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-bg.js
  86. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-bn.js
  87. +13 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-ca.js
  88. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-cs.js
  89. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-da.js
  90. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-de.js
  91. +13 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-es.js
  92. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-et.js
  93. +18 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-fa.js
  94. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-fi.js
  95. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-fr.js
  96. +13 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-gl.js
  97. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-gr.js
  98. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-he.js
  99. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-hr.js
  100. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-hu.js
  101. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-id.js
  102. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-it.js
  103. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-ja.js
  104. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-kr.js
  105. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-lt.js
  106. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-lv.js
  107. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-my.js
  108. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-nl.js
  109. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-no.js
  110. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-pl.js
  111. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-pt-BR.js
  112. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-ro.js
  113. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-ru.js
  114. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-si.js
  115. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-sk.js
  116. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-sr.js
  117. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-sv.js
  118. +19 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-tr.js
  119. +16 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-uk.js
  120. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-zh-CN.js
  121. +15 −0 v7/bootstrap/assets/js/colorbox-i18n/jquery.colorbox-zh-TW.js
  122. +265 −0 v7/bootstrap/assets/js/flowr.plugin.js
  123. +6 −0 v7/bootstrap/assets/js/jquery.colorbox-min.js
  124. +1,105 −0 v7/bootstrap/assets/js/jquery.colorbox.js
  125. +10,351 −0 v7/bootstrap/assets/js/jquery.js
  126. +6 −0 v7/bootstrap/assets/js/jquery.min.js
  127. +1 −0 v7/bootstrap/assets/js/jquery.min.map
  128. +4 −0 v7/bootstrap/bundles
  129. +1 −0 v7/bootstrap/engine
  130. +1 −0 v7/bootstrap/parent
  131. +93 −0 v7/bootstrap/templates/base.tmpl
  132. +184 −0 v7/bootstrap/templates/base_helper.tmpl
  133. +94 −0 v7/bootstrap/templates/gallery.tmpl
  134. +28 −0 v7/bootstrap/templates/listing.tmpl
  135. +59 −0 v7/bootstrap/templates/post.tmpl
  136. +24 −0 v7/bootstrap/templates/slides.tmpl
  137. +38 −0 v7/bootstrap/templates/tags.tmpl
@@ -31,7 +31,7 @@ def error(msg):
print(colorama.Fore.RED + "ERROR:" + msg)

def theme_list():
return sorted(['base', 'base-jinja', 'bootstrap', 'bootstrap-jinja', 'bootstrap3', 'bootstrap3-jinja'] + [theme.split('/')[-1] for theme in glob.glob(GLOB)])
return sorted(['base', 'base-jinja', 'bootstrap3', 'bootstrap3-jinja'] + [theme.split('/')[-1] for theme in glob.glob(GLOB)])

def build_site():
data = {}
@@ -24,7 +24,7 @@ def error(msg):
print(colorama.Fore.RED + "ERROR:" + msg)

def theme_list():
return sorted(['base', 'base-jinja', 'bootstrap', 'bootstrap-jinja', 'bootstrap3', 'bootstrap3-jinja'] + [theme.split('/')[-1] for theme in glob.glob("v7/*")])
return sorted(['base', 'base-jinja', 'bootstrap3', 'bootstrap3-jinja'] + [theme.split('/')[-1] for theme in glob.glob("v7/*")])

def build_theme(theme=None):
if theme is None: # Check them all
@@ -0,0 +1 @@
Roberto Alsina <https://github.com/ralsina>
@@ -0,0 +1,25 @@
This is the original Bootstrap 2 theme for Nikola. This theme is **not
supported** by the Nikola and Bootstrap developers. Use at your own risk,
upgrade to ``bootstrap3`` (shipped with Nikola) whenever possible.

Has a fixed navigation bar at top that displays the `NAVIGATION_LINKS`
setting and supports nested menus.

This theme is used in Nikola's website: https://getnikola.com

Important: To fit in the bootstrap navigation bar, the search form needs the
navbar-form and pull-left CSS classes applied. Here is an example with Nikola's
default duckduckgo search form:

SEARCH_FORM = """
<!-- Custom search -->
<form method="get" id="search" action="http://duckduckgo.com/" class="navbar-form pull-left">
<input type="hidden" name="sites" value="%s"/>
<input type="hidden" name="k8" value="#444444"/>
<input type="hidden" name="k9" value="#D51920"/>
<input type="hidden" name="kt" value="h"/>
<input type="text" name="q" maxlength="255" placeholder="Search&hellip;" class="span2" style="margin-top: 4px;"/>
<input type="submit" value="DuckDuckGo Search" style="visibility: hidden;" />
</form>
<!-- End of custom search -->
""" % SITE_URL

0 comments on commit d036be5

Please sign in to comment.
You can’t perform that action at this time.