Skip to content

Commit

Permalink
Merge pull request #27 from uclouvain/feature/OA-9022
Browse files Browse the repository at this point in the history
Feature/oa 9022
  • Loading branch information
mathieuzen authored Mar 12, 2024
2 parents 1f72945 + c2387df commit d1687d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 5 additions & 2 deletions frontend/AsyncTasksViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@
-->
<template>
<a
class="dropdown-toggle"
class="dropdown-toggle nav-link"
data-toggle="dropdown"
data-bs-toggle="dropdown"
data-bs-auto-close="outside"
href="#"
role="button"
aria-haspopup="true"
aria-expanded="false"
Expand All @@ -40,7 +43,7 @@
</div>
</a>
<ul
class="dropdown-menu async-tasks-dropdown"
class="dropdown-menu async-tasks-dropdown dropdown-menu-end w-md-container w-xl-container"
>
<li v-if="error">
<div
Expand Down
10 changes: 5 additions & 5 deletions frontend/components/AsyncTask.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@
<template>
<li class="async-task-dropdown-item container">
<div class="row">
<div class="col-md-12 text-left">
<div class="col-12 text-left text-start">
<span :class="{ 'font-bold': !isDone }">
{{ name }}
</span>
<span class="async-task-date pull-right">
<span class="async-task-date pull-right float-end">
<em>{{ asyncDate }}</em>
</span>
</div>
<div class="col-md-12 text-left">
<div class="col-12 text-left text-start">
<span
class="async-task-text"
v-html="description"
/>
</div>
<div class="col-md-12">
<div class="col-12">
<div class="progress">
<div
class="progress-bar progress-bar-striped"
:class="{ 'active': isProcessing, 'progress-bar-success': isDone, 'progress-bar-danger': isInError }"
:class="{ 'active': isProcessing, 'progress-bar-success bg-success': isDone, 'progress-bar-danger bg-danger': isInError }"
role="progressbar"
:aria-valuenow="computedProgression"
aria-valuemin="0"
Expand Down

0 comments on commit d1687d1

Please sign in to comment.