This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ if _sys_path_root not in sys.path:
|
|||||||
sys.path.insert(0, _sys_path_root)
|
sys.path.insert(0, _sys_path_root)
|
||||||
|
|
||||||
# Версия приложения (меняется при изменениях)
|
# Версия приложения (меняется при изменениях)
|
||||||
VERSION = "0.0.2"
|
VERSION = "0.0.3"
|
||||||
|
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
|
|||||||
@@ -3,11 +3,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>DrHider</title>
|
<title>DrHider — обфускация документов</title>
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--brand-primary: #2563eb;
|
--brand-primary: #2563eb;
|
||||||
--brand-gray: #d1d5db;
|
--brand-gray: #d1d5db;
|
||||||
|
--brand-grey-light: #f3f4f6;
|
||||||
--bg: #f9fafb;
|
--bg: #f9fafb;
|
||||||
--card: #ffffff;
|
--card: #ffffff;
|
||||||
--text: #1a1a1a;
|
--text: #1a1a1a;
|
||||||
@@ -21,10 +22,39 @@
|
|||||||
}
|
}
|
||||||
.topbar .title { font-weight: 600; font-size: 14px; }
|
.topbar .title { font-weight: 600; font-size: 14px; }
|
||||||
.topbar .ver { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: auto; }
|
.topbar .ver { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: auto; }
|
||||||
.hello {
|
.content { max-width: 820px; margin: 20px auto; padding: 0 12px; }
|
||||||
display: flex; justify-content: center; align-items: center;
|
.card {
|
||||||
height: calc(100vh - 48px); font-size: 24px; color: var(--muted);
|
background: var(--card); border-radius: 12px;
|
||||||
|
border: 1px solid var(--brand-gray); box-shadow: 0 1px 2px rgba(0,0,0,.04);
|
||||||
}
|
}
|
||||||
|
.card-header {
|
||||||
|
background: var(--brand-grey-light); padding: 10px 12px;
|
||||||
|
font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--brand-gray);
|
||||||
|
}
|
||||||
|
.card-body { padding: 12px; }
|
||||||
|
.table-wrap { border: 1px solid var(--brand-gray); border-radius: 8px; overflow: hidden; }
|
||||||
|
table { width: 100%; border-collapse: collapse; font-size: 13px; }
|
||||||
|
th {
|
||||||
|
background: var(--brand-grey-light); text-transform: uppercase; padding: 6px 8px;
|
||||||
|
border-right: 1px solid var(--brand-gray); text-align: left;
|
||||||
|
font-weight: 600; font-size: 10px; color: var(--muted);
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
padding: 5px 8px; border-right: 1px solid var(--brand-gray);
|
||||||
|
border-bottom: 1px solid var(--brand-gray);
|
||||||
|
}
|
||||||
|
.empty-row td { color: var(--muted); text-align: center; padding: 20px; }
|
||||||
|
.footer-bar {
|
||||||
|
margin-top: 10px; display: flex; justify-content: space-between; align-items: center;
|
||||||
|
font-size: 12px; color: var(--muted);
|
||||||
|
}
|
||||||
|
.btn {
|
||||||
|
height: 32px; border-radius: 6px; padding: 0 12px; font-size: 13px;
|
||||||
|
font-family: inherit; cursor: pointer; border: 1px solid var(--brand-gray);
|
||||||
|
background: var(--card); color: var(--text);
|
||||||
|
display: inline-flex; align-items: center; gap: 5px;
|
||||||
|
}
|
||||||
|
.btn-primary { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -32,6 +62,31 @@
|
|||||||
<span class="title">DrHider</span>
|
<span class="title">DrHider</span>
|
||||||
<span class="ver">v{{ version }}</span>
|
<span class="ver">v{{ version }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="hello">Hello World</div>
|
<div class="content">
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-header">Обфускация документов</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="table-wrap">
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Имя</th>
|
||||||
|
<th style="width:80px;">Размер</th>
|
||||||
|
<th style="width:80px;">Статус</th>
|
||||||
|
<th style="width:32px;"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr class="empty-row"><td colspan="4">Нет выбранных файлов</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="footer-bar">
|
||||||
|
<span>0 файлов</span>
|
||||||
|
<button class="btn btn-primary">🛡️ Обфусцировать</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user