diff options
Diffstat (limited to 'views/glsa/glsav1.erb')
-rw-r--r-- | views/glsa/glsav1.erb | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/views/glsa/glsav1.erb b/views/glsa/glsav1.erb index 276ecb7..4390762 100644 --- a/views/glsa/glsav1.erb +++ b/views/glsa/glsav1.erb @@ -1,11 +1,11 @@ <h1 class="first-header"> <%= h @glsa.title %> - <small>— GLSA <strong><%= h @glsa.id %></strong></small> + <small class="text-muted" style="font-size: 65%;">— GLSA <strong><%= h @glsa.id %></strong></small> </h1> <div class="row"> - <div class="col-xs-12 col-md-10"> - <p class="lead"> + <div class="col-12 col-md-10"> + <p class="lead" style="font-size: 21px;"> <%= h @glsa.synopsis %> </p> @@ -20,11 +20,11 @@ <th class="anzen-metadata-title-col">Package</th> <td><strong><%= h atom %></strong> on <% if arch == '*' %>all architectures<% else %>the <%= h arch %> architecture<% end %></td> </tr> - <tr class="danger"> + <tr class="table-danger"> <th>Affected versions</th> <td><%= data[:vulnerable].map { |ver| render_version(ver) }.join '<br>' %></td> </tr> - <tr class="success"> + <tr class="table-success"> <th>Unaffected versions</th> <td><%= data[:unaffected].map { |ver| render_version(ver) }.join '<br>' %></td> </tr> @@ -45,7 +45,9 @@ <%= h2 @glsa.workaround %> <h3>Resolution</h3> - <%= h2(code2pre(@glsa.resolution)) %> + <div class="card card-body bg-light pb-0 mb-3"> + <%= h2(code2pre(@glsa.resolution)) %> + </div> <h3>References</h3> <ul> @@ -53,7 +55,7 @@ <li><a href="<%= h ref[1] %>"><%= h ref[0] %></a></li> <% end %> </div> - <div class="col-xs-12 col-md-2"> + <div class="col-12 col-md-2"> <p> <strong>Release date</strong> <br> |