Skip to content

A platform for community discussion. Free, open, simple.

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

Penar Musaraj033a1fb2af07
diff --git a/app/views/qunit/theme.html.erb b/app/views/qunit/theme.html.erb
index 3f86645c6d4..9da3ac49d1d 100644
--- a/app/views/qunit/theme.html.erb
+++ b/app/views/qunit/theme.html.erb
@@ -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>