Commit 5eb53579 authored by Vladislav Rykov's avatar Vladislav Rykov
Browse files

device last messages to 10

parent ff1eb0bb
...@@ -222,7 +222,7 @@ def delete_dev(): ...@@ -222,7 +222,7 @@ def delete_dev():
@server.route('/dev-data') @server.route('/dev-data')
def dev_data(): def dev_data():
last = data.get_last_n(session['appkey'], session['devid'], 5) last = data.get_last_n(session['appkey'], session['devid'], 10)
count = data.get_count(session['appkey'], session['devid']) count = data.get_count(session['appkey'], session['devid'])
#print(last) #print(last)
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div class="row"> <div class="row">
<div class="col-md-6 col-md-offset-3"> <div class="col-md-6 col-md-offset-3">
{% if data %} {% if data %}
<p>Last 5 messages:</p> <p>Last messages:</p>
<table class="table"> <table class="table">
<thead> <thead>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment