提交 dd7285d9 编写于 作者: D Daniel Beck

Make this look better while the page is loading

上级 12523a5c
......@@ -46,6 +46,8 @@ Behaviour.specify("#filter-box", '_table', 0, function(e) {
e.onkeyup = applyFilter;
(function() {
var instructionsTd = document.getElementById("hidden-by-default-instructions-td");
instructionsTd.innerText = instructionsTd.getAttribute("data-loaded-text");
applyFilter();
}());
});
......
......@@ -77,8 +77,8 @@ THE SOFTWARE.
<j:set var="cache" value="${it.createCache()}"/>
<j:if test="${filtered == 'true'}">
<tr id="hidden-by-default-instructions">
<td class="pane" colspan="5" align="center">
${%Use the search field above to search for available plugins.}
<td class="pane" colspan="5" align="center" id="hidden-by-default-instructions-td" data-loaded-text="${%instructions}">
${%loading}
</td>
</tr>
</j:if>
......
......@@ -51,3 +51,6 @@ ago={0} ago
adoptThisPlugin=\
<strong>This plugin is up for adoption!</strong> We are looking for new maintainers. \
Visit our <a href="https://jenkins.io/doc/developer/plugin-governance/adopt-a-plugin/" target="_blank">Adopt a Plugin</a> initiative for more information.
loading=Plugin list is loading...
instructions=Use the search field above to search for available plugins.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册