DEV: Minor changes to `/theme-qunit` landing page (#13032)
This commit is contained in:
parent
cf6b823a2d
commit
033a1fb2af
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue