From 8682fcc29ce5788cd398438703f60d2df46c9450 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Thu, 11 Aug 2016 11:34:22 +0200 Subject: [PATCH] Added empty webpages for sentiments modules. --- var/www/Flask_server.py | 8 +++ var/www/templates/header.html | 7 ++ .../sentiment_analysis_plot_tool.html | 72 +++++++++++++++++++ .../sentiment_analysis_trending.html | 72 +++++++++++++++++++ 4 files changed, 159 insertions(+) create mode 100644 var/www/templates/sentiment_analysis_plot_tool.html create mode 100644 var/www/templates/sentiment_analysis_trending.html diff --git a/var/www/Flask_server.py b/var/www/Flask_server.py index 8e9f8c23..165bb7b6 100755 --- a/var/www/Flask_server.py +++ b/var/www/Flask_server.py @@ -429,6 +429,14 @@ def importantPasteByModule(): def moduletrending(): return render_template("Moduletrending.html") +@app.route("/sentiment_analysis_trending/") +def sentiment_analysis_trending(): + return render_template("sentiment_analysis_trending.html") + +@app.route("/sentiment_analysis_plot_tool/") +def sentiment_analysis_plot_tool(): + return render_template("sentiment_analysis_plot_tool.html") + @app.route("/showsavedpaste/") #completely shows the paste in a new tab def showsavedpaste(): diff --git a/var/www/templates/header.html b/var/www/templates/header.html index 25312c46..be1679c6 100644 --- a/var/www/templates/header.html +++ b/var/www/templates/header.html @@ -4,5 +4,12 @@
  • Trending charts
  • Modules statistics
  • Browse important pastes
  • +
  • Sentiment Analysis + + +
  • diff --git a/var/www/templates/sentiment_analysis_plot_tool.html b/var/www/templates/sentiment_analysis_plot_tool.html new file mode 100644 index 00000000..2a39de8f --- /dev/null +++ b/var/www/templates/sentiment_analysis_plot_tool.html @@ -0,0 +1,72 @@ + + + + + + + + Analysis Information Leak framework Dashboard + + + + + + + + + + + + + + +
    + + + +
    +
    +
    +

    Sentiment analysis: Plot tool

    +
    + +
    + +
    + + + +
    + + + + + + + +
    + + + diff --git a/var/www/templates/sentiment_analysis_trending.html b/var/www/templates/sentiment_analysis_trending.html new file mode 100644 index 00000000..a54807b3 --- /dev/null +++ b/var/www/templates/sentiment_analysis_trending.html @@ -0,0 +1,72 @@ + + + + + + + + Analysis Information Leak framework Dashboard + + + + + + + + + + + + + + +
    + + + +
    +
    +
    +

    Sentiment analysis: Trending

    +
    + +
    + +
    + + + +
    + + + + + + + +
    + + +