Other UI adjustement

pull/3/head
Sami Mokaddem 2017-11-02 16:21:04 +01:00
parent 4e396d2eb3
commit be20f75ad8
3 changed files with 11 additions and 11 deletions

View File

@ -238,7 +238,7 @@ def getCategPerContrib():
@app.route("/_getAllOrg") @app.route("/_getAllOrg")
def getAllOrg(): def getAllOrg():
data = ['CIRCL', 'CASES', 'SMILE' ,'ORG4' ,'ORG5', 'SUPER HYPER LONG ORGINZATION NAME'] data = ['CIRCL', 'CASES', 'SMILE' ,'ORG4' ,'ORG5', 'SUPER HYPER LONG ORGINZATION NAME', 'Org3']
return jsonify(data) return jsonify(data)
@app.route("/_getOrgRank") @app.route("/_getOrgRank")

View File

@ -55,7 +55,7 @@ optionDatatable_fame.scrollY = '50vh';
var optionDatatable_Categ = { var optionDatatable_Categ = {
responsive: true, responsive: true,
searching: true, searching: true,
scrollY: '39vh', scrollY: '38vh',
"scrollX": true, "scrollX": true,
scrollCollapse: true, scrollCollapse: true,
paging: false, paging: false,

View File

@ -100,9 +100,9 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>Org rank</th> <th>Rank</th>
<th>Logo</th> <th>Logo</th>
<th>Organization name</th> <th>Organisation</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -127,9 +127,9 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>Org rank</th> <th>Rank</th>
<th>Logo</th> <th>Logo</th>
<th>Org name</th> <th>Organisation</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -153,10 +153,11 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>Org rank</th> <th>Rank</th>
<th>Logo</th> <th>Logo</th>
<th>Organisation</th>
{% for categ in categ_list_str %} {% for categ in categ_list_str %}
<th>{{ categ }}</th> <th>{{ categ }}</th>
{% endfor %} {% endfor %}
</tr> </tr>
</thead> </thead>
@ -187,9 +188,9 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>prev. rank</th> <th>Prev. rank</th>
<th>Logo</th> <th>Logo</th>
<th>Organization name</th> <th>Organisation</th>
</tr> </tr>
</thead> </thead>
<tbody id=fameTableBody> <tbody id=fameTableBody>
@ -239,7 +240,6 @@
var currOrg = "{{ currOrg }}"; var currOrg = "{{ currOrg }}";
var rankMultiplier = {{ rankMultiplier }}; var rankMultiplier = {{ rankMultiplier }};
var categ_list = JSON.parse('{{ categ_list|safe }}'); var categ_list = JSON.parse('{{ categ_list|safe }}');
var categ_list_str = JSON.parse("{{ categ_list_str|safe }}");
</script> </script>
<script src="{{ url_for('static', filename='js/contrib.js') }}"></script> <script src="{{ url_for('static', filename='js/contrib.js') }}"></script>