Skip to content

Commit a0fd478

Browse files
vladakahornace
authored andcommitted
move bold style into CSS
1 parent 5004021 commit a0fd478

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

opengrok-web/src/main/webapp/default/style-1.0.4.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ tbody:not(.search-result) tr:nth-child(EVEN) {
6565
background-color: #e8e8f0;
6666
}
6767

68+
.bold {
69+
font-weight: bold;
70+
}
71+
6872
.btn {
6973
padding-left: 7px;
7074
padding-right: 7px;

opengrok-web/src/main/webapp/history.jsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ include file="httpheader.jspf"
148148
%>
149149
<div id="Masthead">History log of
150150
<%= Util.breadcrumbPath(context + Prefix.XREF_P, path,'/',"",true,cfg.isDir()) %>
151-
(Results <b> <%= totalHits != 0 ? start + 1 : 0 %><%= thispage + start
152-
%></b> of <b><%= totalHits %></b>)
151+
(Results <span class="bold"> <%= totalHits != 0 ? start + 1 : 0 %><%= thispage + start
152+
%></span> of <span class="bold"><%= totalHits %></span>)
153153
</div>
154154
<%
155155
}
@@ -271,7 +271,7 @@ document.domReady.push(function() {domReadyHistory();});
271271
%>
272272
<tr class="revtags-hidden">
273273
<td colspan="<%= colspan %>" class="revtags">
274-
<b>Revision tags:</b> <%= tags %>
274+
<span class="bold">Revision tags:</span> <%= tags %>
275275
</td>
276276
</tr><tr style="display: none;"></tr><%
277277
}
@@ -432,7 +432,7 @@ document.domReady.push(function() {domReadyHistory();});
432432

433433
</form><%
434434
if (striked) {
435-
%><p><b>Note:</b> No associated file changes are available for
435+
%><p><span class="bold">Note:</span> No associated file changes are available for
436436
revisions with strike-through numbers (eg. <del>1.45</del>)</p><%
437437
}
438438
%>

opengrok-web/src/main/webapp/more.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ file="mast.jsp"
8383
try {
8484
Query tquery = qbuilder.build();
8585
if (tquery != null) {
86-
%><p><span class="pagetitle">Lines Matching <b><%= tquery %></b></span></p>
86+
%><p><span class="pagetitle">Lines Matching <span class="bold"><%= tquery %></span></span></p>
8787
<div id="more" style="line-height:1.5em;">
8888
<pre><%
8989
String xrefPrefix = request.getContextPath() + Prefix.XREF_P;

opengrok-web/src/main/webapp/search.jsp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ include file="menu.jspf"
160160
%><%= Util.htmlize(SearchHelper.PARSE_ERROR_MSG) %>
161161
<br/>You might try to enclose your search term in quotes,
162162
<a href="help.jsp#escaping">escape special characters</a>
163-
with <b>\</b>, or read the <a href="help.jsp">Help</a>
163+
with <code>\</code>, or read the <a href="help.jsp">Help</a>
164164
on the query language. Error message from parser:<br/>
165165
<%= Util.htmlize(errorMsg.substring(SearchHelper.PARSE_ERROR_MSG.length())) %><%
166166
} else {
@@ -196,8 +196,8 @@ include file="menu.jspf"
196196
%></p><%
197197
}
198198
%>
199-
<p class="pagetitle"> Your search <b><%
200-
Util.htmlize(searchHelper.getQuery().toString(), out); %></b>
199+
<p class="pagetitle"> Your search <span class="bold"><%
200+
Util.htmlize(searchHelper.getQuery().toString(), out); %></span>
201201
did not match any files.
202202
<br/> Suggestions:<br/>
203203
</p>
@@ -216,10 +216,10 @@ include file="menu.jspf"
216216
// We have a lots of results to show: create a slider for
217217
String slider = Util.createSlider(start, max, totalHits, request);
218218
%>
219-
<p class="pagetitle">Searched <b><%
219+
<p class="pagetitle">Searched <span class="bold"><%
220220
Util.htmlize(searchHelper.getQuery().toString(), out);
221-
%></b> (Results <b> <%= start + 1 %><%= thispage + start
222-
%></b> of <b><%= totalHits %></b>) sorted by <%=
221+
%></span> (Results <span class="bold"> <%= start + 1 %><%= thispage + start
222+
%></span> of <span class="bold"><%= totalHits %></span>) sorted by <%=
223223
searchHelper.getOrder().getDesc() %></p><%
224224
if (slider.length() > 0) {
225225
%>

0 commit comments

Comments
 (0)