mirror of https://github.com/MISP/misp-dashboard
Other UI adjustement
parent
4e396d2eb3
commit
be20f75ad8
|
@ -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")
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue