1 <?php style('grauphel', 'grauphel'); ?>
3 <?php /** @var $l OC_L10N */ ?>
4 <?php $_['appNavigation']->printPage(); ?>
6 <div id="app-content" class="content">
7 <div id="searchresults" class="hidden"></div>
8 <h1>Manage database</h1>
10 In case something went seriously wrong during synchronization, you may reset your
12 It will delete all your notes and the synchronization status - as if you
13 never synced to this server before.
16 <?php isset($_['stats']) && $_['stats']->printPage(); ?>
18 <h2>Reset database</h2>
19 <?php if ($_['reset'] === true) { ?>
21 Database has been reset!
23 <?php } else if ($_['reset'] === false) { ?>
25 Database has <b>not</b> been reset!
30 To reset the database, enter your user name and click "reset database":
32 <form method="POST" action="<?php p(OC::$server->getURLGenerator()->linkToRoute('grauphel.gui.databaseReset')); ?>">
33 <input type="hidden" name="requesttoken" value="<?php p($_['requesttoken']) ?>"/>
35 <label>Username: <input type="text" name="username" value="" autocomplete="off" /></label>
36 <button type="submit">Reset database</button>