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")
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)
@app.route("/_getOrgRank")

View File

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

View File

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