2023-12-06 15:26:26 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>User Account - AIL</title>
|
|
|
|
<link rel="icon" href="{{ url_for('static', filename='image/ail-icon.png') }}">
|
|
|
|
|
|
|
|
<!-- Core CSS -->
|
|
|
|
<link href="{{ url_for('static', filename='css/bootstrap4.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/font-awesome.min.css') }}" rel="stylesheet">
|
|
|
|
<link href="{{ url_for('static', filename='css/dataTables.bootstrap.min.css') }}" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- JS -->
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.js')}}"></script>
|
2024-05-29 13:20:43 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/helper.js')}}"></script>
|
2023-12-06 15:26:26 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/popper.min.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/bootstrap4.min.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/jquery.dataTables.min.js')}}"></script>
|
|
|
|
<script src="{{ url_for('static', filename='js/dataTables.bootstrap.min.js')}}"></script>
|
2024-05-29 13:20:43 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/d3.v7.min.js') }}"></script>
|
2023-12-06 15:26:26 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/d3/heatmap_week_hour.js')}}"></script>
|
2024-05-29 13:20:43 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/d3/chord_directed_diagram.js')}}"></script>
|
2024-07-09 11:04:18 +00:00
|
|
|
<script src="{{ url_for('static', filename='js/d3/timeline_basic.js')}}"></script>
|
2023-12-06 15:26:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
{% include 'nav_bar.html' %}
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
{% include 'sidebars/sidebar_objects.html' %}
|
|
|
|
|
|
|
|
<div class="col-12 col-lg-10" id="core_content">
|
|
|
|
|
2024-03-19 11:05:50 +00:00
|
|
|
{% include 'chats_explorer/card_user_account.html' %}
|
2023-12-06 15:26:26 +00:00
|
|
|
|
2024-05-29 13:20:43 +00:00
|
|
|
<span class="mt-3">
|
|
|
|
{% include 'objects/image/block_blur_img_slider.html' %}
|
|
|
|
</span>
|
2024-01-29 13:36:53 +00:00
|
|
|
{% with translate_url=url_for('chats_explorer.objects_user_account', subtype=meta['subtype']), obj_id=meta['id'] %}
|
|
|
|
{% include 'chats_explorer/block_translation.html' %}
|
|
|
|
{% endwith %}
|
|
|
|
|
2024-03-26 15:45:42 +00:00
|
|
|
{% if meta['chats'] %}
|
2024-03-28 13:59:26 +00:00
|
|
|
<h4 class="mx-5 mt-2 text-secondary">User All Messages:</h4>
|
|
|
|
<div id="heatmapweekhourall"></div>
|
|
|
|
|
2024-07-09 11:04:18 +00:00
|
|
|
<h4>Usernames:</h4>
|
|
|
|
<div id="timeline_user_usernames" style="max-width: 900px"></div>
|
|
|
|
|
2024-05-29 13:20:43 +00:00
|
|
|
<h4>Numbers of Messages Posted by Chat:</h4>
|
|
|
|
<div id="chord_user_chats" style="max-width: 900px"></div>
|
|
|
|
|
2024-06-06 09:26:46 +00:00
|
|
|
<h4>Numbers of Mentions:</h4>
|
|
|
|
<div id="chord_mentions" style="max-width: 900px"></div>
|
|
|
|
|
2024-03-26 15:45:42 +00:00
|
|
|
<h4>User Chats:</h4>
|
|
|
|
{% for meta_chats in meta['chats'] %}
|
|
|
|
<div class="my-2">
|
2024-05-13 08:51:46 +00:00
|
|
|
{% with meta=meta_chats,main_obj_id=meta['id'] %}
|
2024-03-26 15:45:42 +00:00
|
|
|
{% include 'chats_explorer/basic_card_chat.html' %}
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2023-12-06 15:26:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-05-29 13:20:43 +00:00
|
|
|
|
|
|
|
{% include 'objects/tooltip_ail_objects.html' %}
|
2023-12-06 15:26:26 +00:00
|
|
|
<script>
|
|
|
|
$(document).ready(function(){
|
|
|
|
$("#page-Decoded").addClass("active");
|
|
|
|
$("#nav_chat").addClass("active");
|
|
|
|
|
|
|
|
{# {% if meta['subchannels'] %}#}
|
|
|
|
{# $('#tablesubchannels').DataTable({#}
|
|
|
|
{# "aLengthMenu": [[5, 10, 15, -1], [5, 10, 15, "All"]],#}
|
|
|
|
{# "iDisplayLength": 10,#}
|
|
|
|
{# "order": [[ 5, "desc" ]]#}
|
|
|
|
{# });#}
|
|
|
|
{# {% endif %}#}
|
|
|
|
});
|
|
|
|
|
2024-07-09 11:04:18 +00:00
|
|
|
|
|
|
|
let url_t = "{{ url_for('chats_explorer.objects_user_account_usernames_timeline_json') }}?subtype={{ meta["subtype"] }}&id={{ meta["id"] }}"
|
|
|
|
d3.json(url_t)
|
|
|
|
.then(function(data) {
|
|
|
|
create_timeline_basic('#timeline_user_usernames', data);
|
|
|
|
});
|
|
|
|
|
2024-03-28 13:59:26 +00:00
|
|
|
d3.json("{{ url_for('chats_explorer.user_account_messages_stats_week_all') }}?subtype={{ meta['subtype'] }}&id={{ meta['id'] }}")
|
|
|
|
.then(function(data) {
|
|
|
|
create_heatmap_week_hour('#heatmapweekhourall', data);
|
|
|
|
})
|
|
|
|
|
2024-05-29 13:20:43 +00:00
|
|
|
let url = "{{ url_for('chats_explorer.objects_user_account_chats_chord_json') }}?subtype={{ meta["subtype"] }}&id={{ meta["id"] }}"
|
|
|
|
d3.json(url).then(function(data) {
|
2024-07-10 13:52:18 +00:00
|
|
|
create_directed_chord_diagram('#chord_user_chats', data, 0, -1, mouseover_tooltip_ail_obj, mouseout_tooltip_ail_obj);
|
2024-05-29 13:20:43 +00:00
|
|
|
});
|
2023-12-06 15:26:26 +00:00
|
|
|
|
2024-06-06 09:26:46 +00:00
|
|
|
let url2 = "{{ url_for('chats_explorer.objects_user_account_mentions_chord_json') }}?subtype={{ meta["subtype"] }}&id={{ meta["id"] }}"
|
|
|
|
d3.json(url2).then(function(data) {
|
2024-07-10 13:52:18 +00:00
|
|
|
create_directed_chord_diagram('#chord_mentions', data, 0, -1, mouseover_tooltip_ail_obj, mouseout_tooltip_ail_obj);
|
2024-06-06 09:26:46 +00:00
|
|
|
});
|
2023-12-06 15:26:26 +00:00
|
|
|
|
2024-05-29 13:20:43 +00:00
|
|
|
</script>
|
2023-12-06 15:26:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|