Exemple #1
0
def dashboard():
    if not g.user.oauth_token:
        return render_template('public_articles.html',
                               user=g.user,
                               results={},
                               plugins=plugins.values())
    return render_template('articles.html',
                           user=g.user,
                           results={},
                           plugins=plugins.values())
Exemple #2
0
def load_plugins():
    return jsonify({'result': plugins.values()})
Exemple #3
0
def dashboard():
    if not g.user.oauth_token:
        return render_template('public_articles.html', user = g.user, results = {},
            plugins = plugins.values())
    return render_template('articles.html', user = g.user, results = {}, plugins = plugins.values())
Exemple #4
0
def load_plugins():
    return jsonify({'result': plugins.values()})