File size: 3,222 Bytes
d2d0ace
 
 
 
 
 
 
 
 
 
 
d96d836
4f59c24
d96d836
 
ec9d3c8
d2d0ace
 
e11ca4e
 
 
95d7964
e11ca4e
 
 
 
 
d2d0ace
 
e11ca4e
95d7964
 
 
 
e11ca4e
 
 
95d7964
 
 
 
 
e11ca4e
bec63f7
e11ca4e
bec63f7
 
 
 
e11ca4e
 
d2d0ace
 
 
 
d96d836
 
 
 
 
 
 
 
5c6f52f
1625456
d96d836
d2d0ace
 
90a16cb
 
 
 
 
 
 
 
95d7964
 
d2d0ace
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CTM Research Agent</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <header>
            <div class="header-content">
                <img src="RoundCTMLogo.png" alt="CTM Research Logo" class="logo-icon">
                <h1>CTM Research Agent</h1>
            </div>
            <p>Your AI-powered assistant for in-depth research and analysis. CTM Partnership data/ Block 647897 Confirmations 199110 (Updated 6.29.25) Type: Inscription.</p>
        </header>

        <main>
            <div class="input-section">
                <h2>Submit Your Research Query</h2>
                <textarea id="researchQuery" placeholder="Ask a general research question..."></textarea>
                <button id="submitButton">Submit</button>
            </div>
            <div class="output-section">
                <h2>Results</h2>
                <div id="resultDisplay" class="result-container"></div>
            </div>

            <div class="reports-section">
                <h2 class="collapsible-header">
                    Available Research Reports 
                    <span id="reportsToggle" class="toggle-icon">-</span>
                </h2>
                <div id="reportsList" class="reports-container"></div>
            </div>
            
            <div class="history-section">
                <h2>Recent Research</h2>
                <div id="historyContainer" class="history-container"></div>
            </div>
            
            <div class="upload-section">
                <h2>Add New Research Report</h2>
                <form id="uploadForm">
                    <input type="text" id="reportTitle" placeholder="Report Title / Header" required>
                    <input type="text" id="reportDescription" placeholder="Report Subject / Description" required>
                    <textarea id="reportBody" placeholder="Paste the full plain text body of the report here..." required></textarea>
                    <button type="submit" id="uploadButton">Process and Add Report</button>
                </form>
                <div id="uploadStatus"></div>
            </div>
        </main>

        <footer>
            <div class="footer-links">
                <h3>Private Channels</h3>
                <ul>
                    <li><a href="https://t.me/+WZ18gG5c9HExYzUx" target="_blank" rel="noopener noreferrer">Telegram Invite 1</a></li>
                    <li><a href="https://t.me/+tDu-8YgpWPhhM2Fh" target="_blank" rel="noopener noreferrer">Telegram Invite 2</a></li>
                </ul>
            </div>
            <div class="footer-copyright">
                <p>&copy; 2025 CTM (Research).</p>
            
            </div>
        </footer>
    </div>

    <div id="reportModal" class="modal">
      <div class="modal-content">
        <span class="modal-close-button">&times;</span>
        <h2 id="modalTitle"></h2>
        <div id="modalBody" class="modal-body-container"></div>
      </div>
    </div>

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