From 792c24700c557486e6eee9a0f9e6924e24526092 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 10 Jul 2019 12:18:53 +0200 Subject: [PATCH] Refactored requirements to only include mandatory ones and added style reference to assistant in dashboard.html --- .../backend/http/templates/dashboard.html | 1 + .../backend/http/templates/dashboard_old.html | 72 ------------------- requirements.txt | 26 ++++--- 3 files changed, 13 insertions(+), 86 deletions(-) delete mode 100644 platypush/backend/http/templates/dashboard_old.html diff --git a/platypush/backend/http/templates/dashboard.html b/platypush/backend/http/templates/dashboard.html index 5021c01e..9ab187a9 100644 --- a/platypush/backend/http/templates/dashboard.html +++ b/platypush/backend/http/templates/dashboard.html @@ -8,6 +8,7 @@ + diff --git a/platypush/backend/http/templates/dashboard_old.html b/platypush/backend/http/templates/dashboard_old.html deleted file mode 100644 index 48a8b211..00000000 --- a/platypush/backend/http/templates/dashboard_old.html +++ /dev/null @@ -1,72 +0,0 @@ - - - Platypush Dashboard - - - - - - - - - - - - - - - - - - - - -
- - - -
- {% set used_columns = [0] %} - {% for widget in config['widgets'] %} - {% if used_columns[0] % 12 == 0 %} -
- {% endif %} - -
- {% with properties=widget %} - {% include 'widgets/' + widget['widget'] + '.html' %} - {% endwith %} -
- - {# increment counter #} - {% if used_columns.append(used_columns.pop() + widget['columns']) %}{% endif %} - - {% if used_columns[0] % 12 == 0 %} -
- {% endif %} - {% endfor %} -
- -
-
- - diff --git a/requirements.txt b/requirements.txt index ca7798e4..70025450 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ pyyaml # python-prctl # Apache Kafka backend support -kafka-python +# kafka-python # Pushbullet backend support git+https://github.com/rbrcsk/pushbullet.py @@ -22,6 +22,7 @@ flask websockets redis python-dateutil +tz #uwsgi # HTTP poll backend support @@ -31,33 +32,30 @@ requests # Database plugin support sqlalchemy -# Dates support -python-dateutil - # RSS feeds support -feedparser +# feedparser # PDF generation support # weasyprint # Philips Hue plugin support -phue +# phue # MPD/Mopidy music server support -python-mpd2 +# python-mpd2 # Belkin WeMo Switch plugin support # ouimeaux # Google Assistant support -# google-assistant-sdk[samples] +# google-assistant-sdk # google-assistant-library # Google APIs general layer support # google-api-python-client # Last.FM scrobbler plugin support -pylast +# pylast # Flic buttons support # It doesn't come with a pip package nor a setup.py, @@ -90,16 +88,16 @@ pylast # rtmidi # Support for inotify plugin -inotify +# inotify # Support for MQTT paho-mqtt # iCal calendars support -icalendar +# icalendar # Serial port support -pyserial +# pyserial # Switchbot devices support # pybluez @@ -109,7 +107,7 @@ pyserial # pyHS100 # Support for joystick backend -inputs +# inputs # Support for Kodi # kodi-json @@ -126,7 +124,7 @@ inputs # numpy # Support for media subtitles -# git+https://github.com/agonzalezro/python-opensubtitles#egg=python-opensubtitles +# git+https://github.com/agonzalezro/python-opensubtitles # webvtt-py # Mopidy backend