Dashboard Temp Share Shortlinks Frames API

HTMLify

automation.html
Views: 6 | Author: karbonsites
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Automation Center</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
</head>
<body>
    <header class="header">
        <div class="container">
            <h1 class="logo">ViralSight</h1>
            <nav>
                <a href="index.html" class="nav-link">Dashboard</a>
                <a href="analysis.html" class="nav-link">Report</a>
                <a href="automation.html" class="nav-link active">Automation</a>
                <a href="settings.html" class="nav-link">Settings</a>
            </nav>
        </div>
    </header>

    <main class="automation-main">
        <div class="container">
            <h2 class="section-title">Automated Workflow</h2>
            <p class="subtitle">Instant analysis triggers upon publishing.</p>
            
            <div class="card settings-layout">
                <section id="webhook-status">
                    <h3>Status</h3>
                    <div class="form-group">
                        <label>Channel:</label>
                        <p style="color: var(--color-text-primary);">@CreatorPro99 (Connected)</p>
                    </div>
                    <div class="form-group">
                        <label>Last Ping:</label>
                        <p style="color: var(--color-text-primary);" id="lastHookTime">Minutes ago</p>
                    </div>
                    <button class="secondary-button" onclick="document.location='settings.html#automation-setup'">Manage</button>
                </section>

                <section id="automation-workflow">
                    <h3>Pipeline</h3>
                    <div class="workflow-step step-1">
                        <h4>1. Trigger</h4>
                        <p>New Short published.</p>
                    </div>
                    <div class="workflow-arrow">&#8595;</div>
                    <div class="workflow-step step-2">
                        <h4>2. Webhook</h4>
                        <p>Notification received.</p>
                    </div>
                    <div class="workflow-arrow">&#8595;</div>
                    <div class="workflow-step step-3">
                        <h4>3. AI Analyze</h4>
                        <p>Diagnostics run.</p>
                    </div>
                    <div class="workflow-arrow">&#8595;</div>
                    <div class="workflow-step step-4">
                        <h4>4. Report</h4>
                        <p>Ready instantly.</p>
                    </div>
                </section>

                <section id="manual-override" style="grid-column: 1 / -1;">
                    <h3>Test Connection</h3>
                    <button id="testAutomationBtn" class="cta-button">Run Test</button>
                    <p id="testResult" style="margin-top: 15px; font-weight: 600;"></p>
                </section>
            </div>

        </div>
    </main>

    <footer class="footer">
        <div class="container">
            <p>&copy; 2024 ViralSight.</p>
        </div>
    </footer>

    <script src="script.js"></script>

  <a href="https://karbonsites.space/home" target="_blank" id="karbon-promo-banner">
      <span></span>
      <div>Built with <b>Karbon Sites</b></div>
  </a>
</body>
</html>