From b65392f30d9a510713ce739374962edf6f6eb4f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= <lukas.krupcik@vsb.cz> Date: Tue, 6 Sep 2016 13:40:07 +0200 Subject: [PATCH] vagrant test --- it4i_theme/__init__.py | 0 it4i_theme/base.html | 12 +++++----- it4i_theme/drawer.html | 50 ++++------------------------------------ it4i_theme/header.html | 13 ++--------- it4i_theme/manifest.json | 7 ------ 5 files changed, 12 insertions(+), 70 deletions(-) delete mode 100644 it4i_theme/__init__.py delete mode 100644 it4i_theme/manifest.json diff --git a/it4i_theme/__init__.py b/it4i_theme/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/it4i_theme/base.html b/it4i_theme/base.html index 340e7aa59..24990eb53 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 c13075d48..0186b8b79 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 f910b5b8d..564d0b8fb 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 f9de32677..000000000 --- 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 -- GitLab