ajout du control denvoi de message et interface up
This commit is contained in:
+63
-4
@@ -60,9 +60,56 @@
|
||||
<button class="btn btn-primary btn-sm w-100 mb-2" onclick="sendLastGeneration()">
|
||||
<i class="fas fa-paper-plane me-2"></i>Envoyer Dernière Génération
|
||||
</button>
|
||||
<button class="btn btn-info btn-sm w-100" onclick="refreshData()">
|
||||
<button class="btn btn-info btn-sm w-100 mb-2" onclick="refreshData()">
|
||||
<i class="fas fa-sync me-2"></i>Actualiser
|
||||
</button>
|
||||
|
||||
<!-- Auto Subtitle Generation Toggle -->
|
||||
<div class="mt-3">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<span class="small text-muted">Génération Auto Sous-titres</span>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="autoSubtitleToggle" onchange="toggleAutoSubtitle()">
|
||||
<label class="form-check-label small" for="autoSubtitleToggle"></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<small class="text-muted" id="autoSubtitleStatus">Arrêté</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Auto Message Sending Toggle -->
|
||||
<div class="mt-3">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<span class="small text-muted">Envoi Auto Messages</span>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="autoMessageToggle" onchange="toggleAutoMessage()">
|
||||
<label class="form-check-label small" for="autoMessageToggle"></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<small class="text-muted" id="autoMessageStatus">Arrêté</small>
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<button class="btn btn-warning btn-sm w-100" onclick="forceStopAutoMessage()" title="Forcer l'arrêt en cas de problème">
|
||||
<i class="fas fa-stop-circle me-1"></i>Force Stop
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Chat Message Toggle -->
|
||||
<div class="mt-3">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<span class="small text-muted">Envoi Messages Chat</span>
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="chatMessageToggle" onchange="toggleChatMessage()" checked>
|
||||
<label class="form-check-label small" for="chatMessageToggle"></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mt-2">
|
||||
<small class="text-muted" id="chatMessageStatus">Activé</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -219,9 +266,21 @@
|
||||
<div class="alert alert-warning" id="last-subtitle">
|
||||
Aucun texte détecté pour le moment
|
||||
</div>
|
||||
<button class="btn btn-success" onclick="generateFromSubtitle()">
|
||||
<i class="fas fa-robot me-2"></i>Générer Réponse IA
|
||||
</button>
|
||||
|
||||
<!-- Indicateur de fichier en cours -->
|
||||
<div class="alert alert-info d-none" id="processing-file">
|
||||
<i class="fas fa-spinner fa-spin me-2"></i>
|
||||
<span id="current-file-name">Traitement en cours...</span>
|
||||
</div>
|
||||
|
||||
<div class="d-flex gap-2">
|
||||
<button class="btn btn-success" onclick="generateFromSubtitle()">
|
||||
<i class="fas fa-robot me-2"></i>Générer Réponse IA
|
||||
</button>
|
||||
<button class="btn btn-primary" onclick="processSubtitles()">
|
||||
<i class="fas fa-cogs me-2"></i>Traitement Manuel
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user