Twitter: Move following management to front
This commit is contained in:
parent
bf1c91fc28
commit
a1e558cb69
@ -294,7 +294,6 @@ def channel(id):
|
|||||||
data = feedparser.parse(data.content)
|
data = feedparser.parse(data.content)
|
||||||
|
|
||||||
channelData = YoutubeSearch.channelInfo(id)
|
channelData = YoutubeSearch.channelInfo(id)
|
||||||
|
|
||||||
return render_template('channel.html', form=form, btform=button_form, channel=channelData[0], videos=channelData[1])
|
return render_template('channel.html', form=form, btform=button_form, channel=channelData[0], videos=channelData[1])
|
||||||
|
|
||||||
@app.route('/watch', methods=['GET'])
|
@app.route('/watch', methods=['GET'])
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
<a href="{{ url_for('login') }}" class="item">Login</a>
|
<a href="{{ url_for('login') }}" class="item">Login</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ url_for('search') }}" class="twitter item">Search</a>
|
<a href="{{ url_for('search') }}" class="twitter item">Search</a>
|
||||||
<a href="{{ url_for('following') }}" class="twitter item">Following</a>
|
|
||||||
<a href="{{ url_for('saved') }}" class="twitter item">Saved</a>
|
<a href="{{ url_for('saved') }}" class="twitter item">Saved</a>
|
||||||
<a href="{{ url_for('youtube') }}" class="youtube item">Youtube</a>
|
<a href="{{ url_for('youtube') }}" class="youtube item">Youtube</a>
|
||||||
<a href="{{ url_for('ytsearch') }}" class="youtube item">Search</a>
|
<a href="{{ url_for('ytsearch') }}" class="youtube item">Search</a>
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div style="padding: 1.3em;" class="ui one column centered grid">
|
<div style="padding: 1.3em;" class="ui one column centered grid">
|
||||||
<h2 class="ui blue header">
|
<div><h2 class="ui blue header"><a href="{{ url_for('following') }}">Manage following: {{ followedCount }}</a></h2></div>
|
||||||
Hi, {{ current_user.username }}
|
|
||||||
<div class="sub header">Following: {{ followedCount }}</div>
|
|
||||||
</h2>
|
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="ui one column grid" id="card-container">
|
<div class="ui one column grid" id="card-container">
|
||||||
|
Reference in New Issue
Block a user