diff options
author | zsloan | 2023-03-21 18:33:23 +0000 |
---|---|---|
committer | zsloan | 2023-03-21 18:36:09 +0000 |
commit | 07bf6c91841f9023db6508a3207eb16b22f78e1e (patch) | |
tree | f83edb03ddfc782b72859f06287f5437c19dcca0 /wqflask | |
parent | f7e627156ab3e4c172082ea7f19e5e4001ba5837 (diff) | |
download | genenetwork2-07bf6c91841f9023db6508a3207eb16b22f78e1e.tar.gz |
Replace twitter-post-fetcher with Twitter's provided timeline link
Diffstat (limited to 'wqflask')
-rwxr-xr-x | wqflask/wqflask/templates/index_page.html | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/wqflask/wqflask/templates/index_page.html b/wqflask/wqflask/templates/index_page.html index dd97497f..aad5d109 100755 --- a/wqflask/wqflask/templates/index_page.html +++ b/wqflask/wqflask/templates/index_page.html @@ -245,7 +245,7 @@ <div class="page-header"> <h2>News</h2> </div> - <div id="tweets" style="height: 300px; overflow: scroll; overflow-x: hidden;"></div> + <a class="twitter-timeline" height="300" href="https://twitter.com/GeneNetwork2?ref_src=twsrc%5Etfw">Tweets by GeneNetwork2</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <div align="right"> <a href="https://twitter.com/GeneNetwork2">more news items...</a> </div> @@ -331,21 +331,4 @@ $(document).on('submit', '#gsearchform', function(event){ } </script> - - <script language="javascript" type="text/javascript" src="{{ url_for('js', filename='javascript-twitter-post-fetcher/js/twitterFetcher_min.js') }}"></script> - - <script type="text/javascript"> - var configProfile = { - "profile": {"screenName": 'GeneNetwork2'}, - "domId": 'tweets', - "maxTweets": 5, - "enableLinks": true, - "showUser": false, - "showTime": true, - "showImages": true, - "lang": 'en' - }; - twitterFetcher.fetch(configProfile); - </script> - {% endblock %} |