From ab47484f5435c10e4885e8aa5ea073e5818b81db Mon Sep 17 00:00:00 2001 From: Tiberiu Chibici Date: Mon, 22 Oct 2018 01:02:51 +0300 Subject: [PATCH] Added rating and views to video information. --- .idea/workspace.xml | 502 ++++++++---------- YtManager/settings.py | 1 + YtManagerApp/management/jobs/synchronize.py | 11 +- YtManagerApp/management/videos.py | 1 + .../static/YtManagerApp/css/style.css | 6 + .../static/YtManagerApp/css/style.css.map | 2 +- .../static/YtManagerApp/css/style.scss | 10 +- .../templates/YtManagerApp/index_videos.html | 8 + YtManagerApp/templatetags/__init__.py | 0 YtManagerApp/templatetags/common.py | 30 ++ YtManagerApp/templatetags/ratings.py | 61 +++ YtManagerApp/utils/iterutils.py | 20 + YtManagerApp/utils/youtube.py | 48 ++ 13 files changed, 413 insertions(+), 287 deletions(-) create mode 100644 YtManagerApp/templatetags/__init__.py create mode 100644 YtManagerApp/templatetags/common.py create mode 100644 YtManagerApp/templatetags/ratings.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f20c1a0..3bf201c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,19 @@ - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -439,19 +393,6 @@ - - - - - - - - - - - - - @@ -477,26 +418,7 @@ - - - - - - - - - - - - - - - - - - - - +