Skip to content

Commit

Permalink
feat: Added pause icon in frontend to show the status
Browse files Browse the repository at this point in the history
  • Loading branch information
Geethakrishna Puligundla authored and gpuligundla committed Nov 22, 2023
1 parent c4b4cc2 commit 47d7918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dispatcher/frontend-ui/src/components/SchedulesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@
<tr v-for="schedule in schedules" :key="schedule._id">
<td>
<router-link :to="{name: 'schedule-detail', params: {'schedule_name': schedule.name}}">
{{ schedule.name }}
<span style="display: flex; align-items: center">
{{ schedule.name }}
<font-awesome-icon v-if="!schedule.enabled" icon="pause" style="margin-left: 5px; color: orange"/>
</span>
</router-link>
</td>
<td>{{ schedule.category }}</td>
Expand Down
3 changes: 2 additions & 1 deletion dispatcher/frontend-ui/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { faSpinner, faUser, faUserCircle, faKey, faTimes, faTimesCircle,
faCalendarAlt, faStopCircle, faTrashAlt, faPlug,
faSkullCrossbones, faAsterisk, faCheck, faPlusCircle,
faExclamationTriangle, faServer, faSortAmountUp,
faExternalLinkAlt, faClock, faCompactDisc, faGlasses, faBug } from '@fortawesome/free-solid-svg-icons'
faExternalLinkAlt, faClock, faCompactDisc, faGlasses, faBug, faPause, } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
library.add(faKey);
library.add(faBug);
Expand Down Expand Up @@ -61,6 +61,7 @@ library.add(faExternalLinkAlt);
library.add(faArrowCircleLeft);
library.add(faSkullCrossbones);
library.add(faExclamationTriangle);
library.add(faPause);
Vue.component('font-awesome-icon', FontAwesomeIcon);

// Multiselect for schedules filter
Expand Down

0 comments on commit 47d7918

Please sign in to comment.