diff options
| author | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-11 10:58:42 -0400 |
|---|---|---|
| committer | Mitch Riedstra <Mitch@riedstra.us> | 2017-10-11 10:58:42 -0400 |
| commit | 083b6cb954eceffd5eee99a0e4eb78091138d481 (patch) | |
| tree | abf130e1376fa85a3e6a26c5a4994bb7203963f6 /app | |
| parent | b9dfd0ae5898c1f1435a96c9fb8b63dcc30e367e (diff) | |
| download | dispatch-tracker-083b6cb954eceffd5eee99a0e4eb78091138d481.tar.gz dispatch-tracker-083b6cb954eceffd5eee99a0e4eb78091138d481.tar.xz | |
Modified the template to use a card
Diffstat (limited to 'app')
| -rw-r--r-- | app/dispatch/templates/dispatch/drivers/detail.html | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/app/dispatch/templates/dispatch/drivers/detail.html b/app/dispatch/templates/dispatch/drivers/detail.html index 48e6e58..19f482a 100644 --- a/app/dispatch/templates/dispatch/drivers/detail.html +++ b/app/dispatch/templates/dispatch/drivers/detail.html @@ -29,17 +29,6 @@ </div> </div> -{% if stats.incomplete_loads > 0 %} -<div class="row"> - <div class="col s12"> - <h4 class="center"> - <span class="flow-text red black-text"> - Note: One or more loads has a 0 amount that needs attention - </span> - </p> - </div> -</div> -{% endif %} <div class="row"> <div class="col s6 left-align"> @@ -50,6 +39,20 @@ </div> </div> +{% if stats.incomplete_loads > 0 %} +<div class="row"> + <div class="col s12 m8 offset-m2"> + <div class="card red z-depth-3"> + <div class="card-content black-text"> + <span class="card-title"> + Note: One or more loads has a 0 amount that needs attention + </span> + </div> + </div> + </div> +</div> +{% endif %} + {% load dynamic_key %} |
