DEV: Minor changes to `/theme-qunit` landing page (#13032)

This commit is contained in:
Penar Musaraj 2021-05-11 10:45:07 -04:00 committed by GitHub
parent cf6b823a2d
commit 033a1fb2af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 7 deletions

View File

@ -32,10 +32,6 @@
html {
font-family: Arial;
}
a {
display: block;
margin-bottom: 10px;
}
</style>
<%- end %>
</head>
@ -44,9 +40,14 @@
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<%- else %>
<h3>Select a theme/component:</h3>
<%- @suggested_themes.each do |(id, name)| %>
<%= link_to name, theme_qunit_url(id: id) %>
<h2>Theme QUnit Test Runner</h2>
<%- if @suggested_themes.size == 0 %>
<p>Cannot find any theme tests.</p>
<%- else %>
<h3>Select a theme/component: </h3>
<%- @suggested_themes.each do |(id, name)| %>
<h4><%= link_to name, theme_qunit_url(id: id) %></h4>
<%- end %>
<%- end %>
<%- end %>
</body>