blob: 1d8bcb09bea0f60a29bec59e9a27b7fc559dd1ed [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<?php
2require_once("core.php");
3security::checkType(security::HYPERADMIN);
4
5$mdHeaderRowBefore = visual::backBtn("powertools.php");
6?>
7<!DOCTYPE html>
8<html>
9<head>
10 <title><?php echo $conf["appName"]; ?></title>
11 <?php visual::includeHead(); ?>
12 <link rel="stylesheet" href="css/dashboard.css">
13</head>
14<?php visual::printBodyTag(); ?>
15 <div class="mdl-layout mdl-js-layout mdl-layout--fixed-header mdl-layout--fixed-drawer">
16 <?php visual::includeNav(); ?>
17 <main class="mdl-layout__content">
18 <div class="page-content">
19 <div class="main mdl-shadow--4dp">
20 <h2>Exportar base de datos</h2>
21
22 <form action="dobackupdb.php" method="POST">
23 <input type="hidden" name="format" value="<?=(int)db::EXPORT_DB_FORMAT_SQL?>">
24 <button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">Exportar base de datos</button>
25 </form>
26 </div>
27 </div>
28 </main>
29 </div>
30</body>
31</html>