diff --git a/it4i_theme/__init__.py b/it4i_theme/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/it4i_theme/base.html b/it4i_theme/base.html index 340e7aa593cd4c70e45101c4a39227c2461c08fa..24990eb53f91372b93d7b67507b533368ea75be9 100644 --- a/it4i_theme/base.html +++ b/it4i_theme/base.html @@ -34,7 +34,7 @@ {% if config.extra.logo %} <link rel="apple-touch-icon" href="{{ base_url }}/{{ config.extra.logo }}"> {% endif %} - {% set favicon = favicon | default("assets/images/favicon-e565ddfa3b.ico", true) %} + {% set favicon = favicon | default("assets/images/favicon.ico", true) %} <link rel="shortcut icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}"> <link rel="icon" type="image/x-icon" href="{{ base_url }}/{{ favicon }}"> <style> @@ -53,9 +53,9 @@ font-style: normal; } </style> - <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-a422ff04cc.css"> + <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.css"> {% if config.extra.palette %} - <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/palettes-05ab2406df.css"> + <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/palettes.css"> {% endif %} {% if config.extra.font != "none" %} {% set text = config.extra.get("font", {}).text | default("Ubuntu") %} @@ -74,7 +74,7 @@ {% for path in extra_css %} <link rel="stylesheet" href="{{ path }}"> {% endfor %} - <script src="{{ base_url }}/assets/javascripts/modernizr-4ab42b99fd.js"></script> + <script src="{{ base_url }}/assets/javascripts/modernizr.js"></script> {% block extrahead %}{% endblock %} </head> {% set palette = config.extra.get("palette", {}) %} @@ -139,7 +139,7 @@ var base_url = '{{ base_url }}'; var repo_id = '{{ repo_id }}'; </script> - <script src="{{ base_url }}/assets/javascripts/application-997097ee0c.js"></script> + <script src="{{ base_url }}/assets/javascripts/application.js"></script> {% for path in extra_javascript %} <script src="{{ path }}"></script> {% endfor %} @@ -177,4 +177,4 @@ </script> {% endif %} </body> -</html> \ No newline at end of file +</html> diff --git a/it4i_theme/drawer.html b/it4i_theme/drawer.html index c13075d4843678a659a57c01fdb38827acedc4b5..0186b8b79ab8c731e3d2eba18c5231d3baafdc6e 100644 --- a/it4i_theme/drawer.html +++ b/it4i_theme/drawer.html @@ -7,68 +7,26 @@ <img src="{{ base_url }}/{{ config.extra.logo }}"> </div> {% endif %} - <div class="name"> - <strong> - {{ site_name }} - <span class="version"> - {{ config.extra.version }} - </span> - </strong> - {% if repo_id %} - <br> - {{ repo_id }} - {% endif %} - </div> </div> </a> <div class="scrollable"> <div class="wrapper"> - {% if repo_name == "GitHub" and repo_url %} <ul class="repo"> <li class="repo-download"> {% set version = config.extra.version | default("master") %} - <a href="{{ repo_url }}/archive/{{ version }}.zip" target="_blank" title="Download" data-action="download"> - <i class="icon icon-download"></i> Download - </a> - </li> - <li class="repo-stars"> - <a href="{{ repo_url }}/stargazers" target="_blank" title="Stargazers" data-action="star"> - <i class="icon icon-star"></i> Stars - <span class="count">–</span> + <a href="pbspro-documentation/pbspro-programmers-guide.pdf" target="_blank" title="DOWNLOAD PDF VERSION" data-action="download"> + <i class="icon icon-download"></i> DOWNLOAD PDF VERSION </a> </li> - </ul> + </ul> <hr> - {% endif %} <div class="toc"> <ul> {% for nav_item in nav %} {% include "nav.html" %} {% endfor %} </ul> - {% if config.extra.author %} - <hr> - <span class="section">The author</span> - <ul> - {% if config.extra.author.twitter %} - {% set author = config.extra.author.twitter %} - <li> - <a href="https://twitter.com/{{ author }}" target="_blank" title="@{{ author }} on Twitter"> - @{{ author }} on Twitter - </a> - </li> - {% endif %} - {% if config.extra.author.github %} - {% set author = config.extra.author.github %} - <li> - <a href="https://github.com/{{ author }}" target="_blank" title="@{{ author }} on GitHub"> - @{{ author }} on GitHub - </a> - </li> - {% endif %} - </ul> - {% endif %} </div> </div> </div> -</nav> \ No newline at end of file +</nav> diff --git a/it4i_theme/header.html b/it4i_theme/header.html index f910b5b8d1bc937098b0201a91385178d60d793e..564d0b8fbab2082a6e0bb399e2eff42d4ed9c51f 100644 --- a/it4i_theme/header.html +++ b/it4i_theme/header.html @@ -22,18 +22,9 @@ {{ page_title | default(site_name, true) }} </div> </div> - {% if config.extra.get("author", {}).twitter %} - {% set author = config.extra.author.twitter %} - <div class="button button-twitter" role="button" aria-label="Twitter"> - <a href="https://twitter.com/{{ author }}" title="@{{ author }} on Twitter" target="_blank" class="toggle-button icon icon-twitter"></a> - </div> - {% endif %} - {% if config.extra.get("author", {}).github %} - {% set author = config.extra.author.github %} <div class="button button-github" role="button" aria-label="GitHub"> - <a href="https://github.com/{{ author }}" title="@{{ author }} on GitHub" target="_blank" class="toggle-button icon icon-github"></a> + <a href="https://gitlab.it4i.cz/kru0052/docs.it4i" title="on GitLab" target="_blank" ><img src="/img/git.png" width="30" height="30"></a> </div> - {% endif %} <div class="button button-search" role="button" aria-label="Search"> <label class="toggle-button icon icon-search" title="Search" for="toggle-search"></label> </div> @@ -51,4 +42,4 @@ <button class="toggle-button icon icon-close" id="reset-search"></button> </div> </div> -</nav> \ No newline at end of file +</nav> diff --git a/it4i_theme/manifest.json b/it4i_theme/manifest.json deleted file mode 100644 index f9de32677181ae8b9aae4a2bb05c18efc402e26e..0000000000000000000000000000000000000000 --- a/it4i_theme/manifest.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico", - "assets/javascripts/application.js": "assets/javascripts/application-997097ee0c.js", - "assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js", - "assets/stylesheets/application.css": "assets/stylesheets/application-a422ff04cc.css", - "assets/stylesheets/palettes.css": "assets/stylesheets/palettes-05ab2406df.css" -} \ No newline at end of file