mirror of https://github.com/zlatinb/muwire
start adding tooltips to config options
parent
adce4b1574
commit
424922f2e3
|
@ -614,4 +614,17 @@ textarea.copypaste {
|
|||
|
||||
.tooltip:hover .tooltiptext {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.configuration-section table tr td {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.configuration-section .tooltip {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.configuration-section .tooltip .tooltiptext {
|
||||
white-space: pre-wrap;
|
||||
padding : 5x 0 5x 5x;
|
||||
}
|
|
@ -42,7 +42,11 @@ Exception error = (Exception) application.getAttribute("MWConfigError");
|
|||
<h3><%=Util._t("Search")%></h3>
|
||||
<table>
|
||||
<tr>
|
||||
<td><%=Util._t("Search in comments")%></td>
|
||||
<td>
|
||||
<div class="tooltip"><%=Util._t("Search in comments")%>
|
||||
<span class="tooltiptext"><%=Util._t("When searching the network, should MuWire search only file names or in the comments too?")%></span>
|
||||
</div>
|
||||
</td>
|
||||
<td><p align="right"><input type="checkbox" <% if (core.getMuOptions().getSearchComments()) out.write("checked"); %> name="searchComments" value="true"></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue