Switch to Python 3
This commit is contained in:
2
rc/rc.py
2
rc/rc.py
@@ -13,7 +13,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from bottle import post, route, request, redirect, template, static_file, run
|
||||
from bottle import post, route, request, template, static_file, run
|
||||
import os
|
||||
|
||||
@route('/')
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<form method="POST" action="/">
|
||||
<div id="content">
|
||||
<div id="header"><img src="static/ichigo.svg" height="39px" alt="Ichigo" align=""> Little Backup Box</div>
|
||||
<p class="center">Free disk space: <b>{{freespace}}</b> GB</p>
|
||||
<p class="center">Free disk space on <i>/home</i>: <b>{{freespace}}</b> GB</p>
|
||||
<hr>
|
||||
<p class="left">Back up a storage card connected via a card reader</p>
|
||||
<p><input id="btn" name="cardbackup" type="submit" value="Card backup"></p>
|
||||
|
||||
Reference in New Issue
Block a user