SOLR-10670: fix browser bar name; add some padding for DRAFT note; add favicon

This commit is contained in:
Cassandra Targett 2017-05-12 17:37:41 -05:00
parent b3eccb35ea
commit 4f93056ce7
5 changed files with 10 additions and 8 deletions

View File

@ -4,7 +4,7 @@
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% endif %}">
<meta name="keywords" content="{{page.tags}}{% if page.tags %}, {% endif %} {{page.keywords}}">
{% comment %}NOTE: explicitly using the GUIDE version here (not solr) {% endcomment %}
<title>{{ page.title }} | {{ site.site_title }} {{ site.solr-attributes.solr-guide-version}}</title>
<title>{% if page.shortname != "index" %}{{ page.title }} | {% endif %}{{ site.site_title }} {{ site.solr-attributes.solr-guide-version}}</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!--<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">-->
@ -23,7 +23,7 @@
<script src="{{ "js/toc.js" }}"></script>
<script src="{{ "js/customscripts.js" }}"></script>
<link rel="shortcut icon" href="{{ "images/favicon.ico" }}">
<link rel="shortcut icon" href="{{ "images/icons/favicon.ico" }}">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

View File

@ -5,7 +5,7 @@
{% if "" != site.solr-attributes.solr-guide-draft-status %}
<li class="draft-notice">
This is an unofficial DRAFT of the Guide for {{ site.solr-attributes.solr-docs-version }}.
<a href="https://lucene.apache.org/solr/guide/">Official releases of this Guide are available from the Solr website</a>.
<a href="https://lucene.apache.org/solr/guide/">Official releases are available from the Solr website</a>.
</li>
{% endif %}
{% for level1item in sidebar.kids %}
@ -27,7 +27,7 @@
<li class="sb-level4">
<a href="{{ level4item.url | remove: "/" }}">{{ level4item.title }}</a>
{% comment %}
<!-- NOTE: adding addiional levels here will also require additional changes to
<!-- NOTE: adding addiional levels here will also require additional changes to
ref-guide.css in order to indent them properly
-->
{% endcomment %}

View File

@ -14,7 +14,7 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<!-- Link to Solr website -->
<li><a href="https://lucene.apache.org/solr/news" target="_blank">Solr News</a></li>
<li><a href="https://lucene.apache.org/solr/" target="_blank">Solr Website</a></li>
<!-- Other Guide Formats dropdown -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Other Formats<b class="caret"></b></a>
@ -29,8 +29,8 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Solr Resources<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="{{site.solr-attributes.solr-javadocs}}/solr-core/index.html" target="_blank">Solr Javadocs</a></li>
<li><a href="https://git1-us-west.apache.org/repos/asf?p=lucene-solr.git" target="_blank">Lucene/Solr Source Code</a></li>
<li><a href="https://lucene.apache.org/solr/resources.html#community" target="_blank">Solr Community Links</a></li>
<li><a href="https://lucene.apache.org/solr/community.html#version-control" target="_blank">Lucene/Solr Source Code</a></li>
<li><a href="https://lucene.apache.org/solr/community.html" target="_blank">Solr Community Links</a></li>
</ul>
</li>
{% if site.feedback_disable == null or site.feedback_disable == false %}

View File

@ -214,12 +214,14 @@ background-color: #347DBE;
.nav li.draft-notice {
/* we don't want the draft water mark to make this hard to notice */
background-color: rgb(255, 255, 255);
padding: 0px 0px 10px 0px;
}
.nav li.draft-notice a, .nav li.draft-notice a:hover, .nav li.draft-notice a:active .nav li.draft-notice a:focus {
display: inline;
color: #2156a5;
text-decoration: underline;
position: inherit;
line-height: inherit;
padding: inherit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB