Skip to content

Commit

Permalink
use more Bootstrap 4 features
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 26, 2018
1 parent dfcd53a commit 052b98c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
5 changes: 0 additions & 5 deletions lib/Mojolicious/Plugin/Minion/resources/public/minion/app.css
Expand Up @@ -17,8 +17,6 @@ div.stats .stats-body {
}
pre {
background: #fafafa;
border: solid 1px #ccc;
border-radius: 4px;
padding: 10px;
}
.d-flex p {
Expand All @@ -44,9 +42,6 @@ pre {
.hiddenRow {
padding: 0 !important;
}
.navbar {
border-bottom: solid 1px #ddd;
}
.table thead tr th {
border-top: 0 !important;
}
Expand Down
Expand Up @@ -23,7 +23,8 @@
%= content_for 'head'
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light mb-3">
<nav
class="navbar navbar-expand-lg navbar-light bg-light mb-3 border-bottom">
<div class="container">
%= link_to 'minion_dashboard' => (class => 'navbar-brand') => begin
<picture>
Expand Down
Expand Up @@ -7,7 +7,7 @@
% if (@$parents || @$children || $id) {
<div class="dropdown">
<button type="button"
class="btn btn-sm btn-outline-secondary dropdown-toggle"
class="btn btn-sm btn-secondary dropdown-toggle"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
Related
Expand Down Expand Up @@ -36,15 +36,15 @@
<div class="d-flex justify-content-between">
<div>
<div class="btn-group" role="group">
<button class="btn btn-outline-secondary" name="do" value="retry"
<button class="btn btn-primary" name="do" value="retry"
type="submit">
<i class="fas fa-redo" aria-hidden="true"></i> Retry
</button>
<button class="btn btn-outline-secondary" name="do" value="stop"
<button class="btn btn-secondary" name="do" value="stop"
type="submit">
<i class="fas fa-ban" aria-hidden="true"></i> Stop
</button>
<button class="btn btn-outline-secondary" name="do" value="remove"
<button class="btn btn-secondary" name="do" value="remove"
type="submit">
<i class="fas fa-times" aria-hidden="true"></i> Remove
</button>
Expand Down Expand Up @@ -122,7 +122,7 @@
<tr>
<td colspan="8" class="hiddenRow">
<div class="collapse" id="job<%= $i %>">
<pre><code><%= dumper Minion::_datetime $job %></code></pre>
<pre class="border rounded"><%= dumper Minion::_datetime $job %></pre>
</div>
</td>
</tr>
Expand Down
Expand Up @@ -5,7 +5,7 @@
%= form_for 'minion_unlock' => begin
<div class="d-flex justify-content-between">
<div>
<button class="btn btn-outline-secondary" type="submit">
<button class="btn btn-primary" type="submit">
<i class="fas fa-lock"></i> Unlock
</button>
</div>
Expand Down
Expand Up @@ -79,7 +79,7 @@
<tr>
<td colspan="7" class="hiddenRow">
<div class="collapse" id="worker<%= $i %>">
<pre><code><%= dumper Minion::_datetime $worker %></code></pre>
<pre class="border rounded"><%= dumper Minion::_datetime $worker %></pre>
</div>
</td>
</tr>
Expand Down

0 comments on commit 052b98c

Please sign in to comment.