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>
@ -43,10 +39,15 @@
<%- if !@suggested_themes %>
<div id="qunit"></div>
<div id="qunit-fixture"></div>
<%- else %>
<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)| %>
<%= link_to name, theme_qunit_url(id: id) %>
<h4><%= link_to name, theme_qunit_url(id: id) %></h4>
<%- end %>
<%- end %>
<%- end %>
</body>