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

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