Skip to content

Commit

Permalink
card label correct
Browse files Browse the repository at this point in the history
  • Loading branch information
AliAbdelaal committed Sep 21, 2019
1 parent 6e251db commit d0540ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ you will find a message ending with the url like so

Jump into the link and you will directed to the landing page

![landing](res/landing.png)

you can type your query and press analyse to get the dashboard, it's a little bit slow, but it works :D

## Usage tips

* The max number of tweets are set to 1000 and for only one month back, you can override these option in the `twitterdash/scraper.py` file.
* Changing the `poolsize` in `twitterdash/scraper.py` will affect the speed of scraping but also the performance of your machine, don't get too far with it.

![landing](res/landing.png)

you can type your query and press analyse to get the dashboard, it's a little bit slow, but it works :D

## References

* Pages design were made possible by [Bootstrap studio](https://bootstrapstudio.io)
Expand Down
Binary file modified res/dash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions twitterdash/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3 class="text-dark mb-0">Dashboard for {{query}}</h3>
<div class="col-lg-7 col-xl-8">
<div class="card shadow mb-4">
<div class="card-header d-flex justify-content-between align-items-center">
<h6 class="text-primary font-weight-bold m-0">History analysis</h6>
<h6 class="text-primary font-weight-bold m-0">Sample tweets</h6>
</div>
<div class="card-body">
{%for tweet in top_tweets%}
Expand Down Expand Up @@ -137,15 +137,15 @@ <h6 class="text-primary font-weight-bold m-0">Sentiment Analysis overview</h6>
<div class="col-lg-6 mb-4">
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="text-primary font-weight-bold m-0">Common words</h6>
<h6 class="text-primary font-weight-bold m-0">Words analysis</h6>
</div>
<div class="card-body"><img class="img-fluid" src="{{ url_for('static', filename='img/'+cloud_sign) }}"></div>
</div>
</div>
<div class="col">
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="text-primary font-weight-bold m-0">Related Hashtags</h6>
<h6 class="text-primary font-weight-bold m-0">Top hashtags</h6>
</div>
<div class="card-body">
<div class="row">
Expand Down

0 comments on commit d0540ae

Please sign in to comment.