File size: 1,981 Bytes
435c898
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CodeSearch Engine – Wikipédia, a enciclopédia livre de códigos</title>
    <link rel="stylesheet" href="/frontend/style.css">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" />
</head>
<body>
    <header id="mw-header">
        <div class="header-content">
            <h1 id="firstHeading">CodeSearch Engine</h1>
            <div class="search-box">
                <input type="text" id="search-input" placeholder="Pesquisar snippets de código...">
                <button id="searchButton">Pesquisar</button>
            </div>
        </div>
    </header>

    <div id="mw-wrapper">
        <aside id="mw-sidebar">
            <div class="sidebar-box">
                <h3>Estatísticas</h3>
                <table class="infobox">
                    <tr>
                        <th>Total de Códigos:</th>
                        <td id="total-db">0</td>
                    </tr>
                    <tr>
                        <th>Status:</th>
                        <td style="color: #008000;">Ativo</td>
                    </tr>
                </table>
            </div>

            <div class="sidebar-box">
                <h3>Atividade do Crawler</h3>
                <div id="logs" class="wiki-logs">
                    <p class="log-placeholder">Aguardando início...</p>
                </div>
            </div>
        </aside>

        <main id="content">
            <div id="siteSub">Origem: CodeEngine_Data, a base de dados soberana.</div>
            <div id="results-list">
                <p>Carregando base de dados...</p>
            </div>
        </main>
    </div>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
    <script src="/frontend/script.js"></script>
</body>
</html>