Skip to content

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

603 B
Raw Blame
<!DOCTYPE html>
<html>
  <head>
    <title>Theme QUnit Tests</title>
    <%= discourse_color_scheme_stylesheets %>
    <meta name="color-scheme" content="light dark">

    <style>
      html {
        font-family: Arial;
      }
    </style>
  </head>
  <body>
    <h2>Theme QUnit Test Runner</h2>

    <%- if @suggested_themes.empty? %>
      <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_path(id: id) %></h4>
      <%- end %>
    <%- end %>
  </body>
</html>