mirror of https://github.com/zlatinb/muwire
help tooltips on search box and share input box
parent
09db68182c
commit
355535e660
|
@ -592,3 +592,26 @@ textarea.copypaste {
|
||||||
z-index: -9999;
|
z-index: -9999;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tooltip {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
border-bottom: 1px dotted black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip .tooltiptext {
|
||||||
|
visibility: hidden;
|
||||||
|
width: 240px;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 6px;
|
||||||
|
padding: 5px 0;
|
||||||
|
background : #d8f0ff;
|
||||||
|
|
||||||
|
/* Position the tooltip */
|
||||||
|
position: absolute;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tooltip:hover .tooltiptext {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
|
@ -39,6 +39,13 @@ if (viewAs == null)
|
||||||
<div class="menuitem shared">
|
<div class="menuitem shared">
|
||||||
<div class="menu-icon"></div>
|
<div class="menu-icon"></div>
|
||||||
<input type="submit" value="<%=Util._t("Share")%>">
|
<input type="submit" value="<%=Util._t("Share")%>">
|
||||||
|
<div class="tooltip"><%=Util._t("Help")%>
|
||||||
|
<span class="tooltiptext"><%=Util._t("Enter path to file or folder you wish to share.")%>
|
||||||
|
<br/>
|
||||||
|
<%=Util._t("When sharing files on network drives (like a NAS) please visit")%>
|
||||||
|
<a href="/MuWire/AdvancedSharing"><%=Util._t("Advanced Sharing")%></a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<% if (viewAs.equals("tree")) { %>
|
<% if (viewAs.equals("tree")) { %>
|
||||||
|
|
|
@ -8,6 +8,10 @@
|
||||||
<div class="menuitem search">
|
<div class="menuitem search">
|
||||||
<div class="menu-icon"></div>
|
<div class="menu-icon"></div>
|
||||||
<input type="submit" value="<%=Util._t("Search")%>" />
|
<input type="submit" value="<%=Util._t("Search")%>" />
|
||||||
|
<div class="tooltip">
|
||||||
|
<%=Util._t("Help")%>
|
||||||
|
<span class="tooltiptext"><%=Util._t("Enter keywords or file hash")%></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue