Verified Commit 380b3fb4 authored by Grégor JOUET's avatar Grégor JOUET 🔧
Browse files

Cancel is a modif

parent 0528a13a
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -619,6 +619,7 @@ def action_printer(printer_id, action):
    if action == "toggle":
        p.toggle_pause()
    elif action == "cancel":
        add_request_event(p,"Canceled print", None)
        p.cancel_print()
    elif action == "cycle":
        p.cycle_print()
+1 −1
Original line number Diff line number Diff line
<template>
    <v-card max-width="500px">
        <v-card-title>{{ infos.name }}&nbsp;&nbsp;&nbsp;<v-btn :href="octo_path" target="_blank" small>octoprint</v-btn></v-card-title>
        <v-alert v-show="show_printer_ready" type="success"><b>Prêt à imprimer</b> <v-btn @click="clear_plate_flag_change">Wait !</v-btn></v-alert>
        <v-alert v-show="show_printer_ready" type="success"><b>Prêt à imprimer</b> <v-btn @click="clear_plate_flag_change">Undo</v-btn></v-alert>
        <v-alert v-show="!is_printer_enabled" type="warning"><center><b>L'imprimante est hors comission</b><br/>Aucune impression n'y sera démarée</center></v-alert>
        <v-alert type="error" v-if="is_errored">Printer error</v-alert>