Skip to content

Commit 876d5e7

Browse files
author
Ed Costello
committed
DOCS-462 fix subnav and pre-fill Jira URL with docs project and summary
1 parent 3caf76a commit 876d5e7

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

themes/mongodb/layout.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,23 @@
225225
</ul>
226226
</div>
227227
</div>
228-
<div class="search-db"><gcse:searchbox></gcse:searchbox></div>
229228
<div id="header-db" class="spread">
230229
<div class="split">
231230
<div id="logo">
232231
<div><a href="http://docs.mongodb.org/"><img src="{{ pathto('_static', 1) }}/logo-mongodb.png" width="190" height="55" alt="mongoDB" /></a></div>
233232
</div>
234233
</div>
235-
{%- block relbar1 %}{{ relbar(false) }}{% endblock %}
234+
<div class="search-db"><gcse:searchbox></gcse:searchbox></div>
235+
<div id="etp">
236+
<ul>
237+
{#- for rellink in rellinks %}
238+
<li><a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
239+
{{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a></li>
240+
{%- endfor #}
241+
<li>{{ githublink() }}</li>
242+
<li><a href="http://jira.mongodb.org/browse/DOCS" title="Open a case in Jira to report a problem with the documentation.">Report a problem</a></li>
243+
</ul>
244+
</div>
236245
</div>
237246
{%- endblock %}
238247
{%- block content %}

themes/mongodb/static/mongodb-docs.css_t

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,10 @@ input[type="text"]:disabled {
483483

484484
div.search-db {
485485
position: absolute;
486-
top: 54px;
486+
top: 46px;
487487
right: 8px;
488488
width: 246px;
489489
height: 31px;
490-
# background-image: url(http://media.mongodb.org/back-search-input.png);
491490
background-repeat: no-repeat;
492491
*z-index: 1;
493492
}
@@ -624,3 +623,9 @@ div#header-db {background-repeat: repeat-x;}
624623
div#header-db div.split {float:left;}
625624
div.gsc-control-cse-en, div.gsc-control-cse {padding:0!important;}
626625
.cse .gsc-search-button input.gsc-search-button-v2,input.gsc-search-button-v2 {height:13px;margin-top:0px!important;min-width:13px;padding:6px 27px;width:13px;}
626+
div#etp {position:absolute;background:inherit;margin:0;top:87px;;padding:0;float:right;font-size:13px;right:10px;color:#C48C55}
627+
div#etp ul {padding:0;margin:0;}
628+
div#etp ul li {display:inline;list-style-type:none;font-size:13px;color:#C48C55;padding: 8px 1em 0 0;}
629+
div#etp ul li a {color:#AA814D}
630+
div#etp ul li:before {content:"|";padding-right:1em;color:#c48c55}
631+
div#etp ul li:first-child:before {content:"";}

0 commit comments

Comments
 (0)