mirror of
https://github.com/house-of-vanity/libopenanal.git
synced 2025-08-21 16:07:16 +00:00
beautifise
This commit is contained in:
16
index.py
16
index.py
@@ -68,6 +68,22 @@ def conf():
|
|||||||
confs=db.get_confs(),
|
confs=db.get_confs(),
|
||||||
totals=totals)
|
totals=totals)
|
||||||
|
|
||||||
|
|
||||||
|
@app.route('/words')
|
||||||
|
def words():
|
||||||
|
totals = {
|
||||||
|
'users': db.get_user_count(),
|
||||||
|
'words': db.get_word_count(),
|
||||||
|
'relations': db.get_relations_count(),
|
||||||
|
'confs': db.get_confs_count()
|
||||||
|
}
|
||||||
|
|
||||||
|
return render_template(
|
||||||
|
'conf.html',
|
||||||
|
confs=db.get_confs(),
|
||||||
|
totals=totals)
|
||||||
|
|
||||||
|
|
||||||
@app.route('/overview/conf/<conf_id>')
|
@app.route('/overview/conf/<conf_id>')
|
||||||
def conf_overview(conf_id):
|
def conf_overview(conf_id):
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
ultradesu 2018
|
ultradesu 2018 <a href="http://msk.hexor.ru/hexor/libopenanal">git</a>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@@ -118,7 +118,7 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h5 class="card-title">Charts</h5>
|
<h5 class="card-title">Charts</h5>
|
||||||
|
<hr>
|
||||||
<span class="badge {% if 'bar' == plot_type %} badge-primary {% endif %}" id="bar" onclick="plot_type_changer(this.id)">Bars</span>
|
<span class="badge {% if 'bar' == plot_type %} badge-primary {% endif %}" id="bar" onclick="plot_type_changer(this.id)">Bars</span>
|
||||||
<span class="badge {% if 'scatter' == plot_type %} badge-primary {% endif %}" id="scatter" onclick="plot_type_changer(this.id)">Lines</span>
|
<span class="badge {% if 'scatter' == plot_type %} badge-primary {% endif %}" id="scatter" onclick="plot_type_changer(this.id)">Lines</span>
|
||||||
<div id="words_chart">
|
<div id="words_chart">
|
||||||
|
Reference in New Issue
Block a user