| tidy up - linuxgaming - Linux gaming aggregate tool, built to test out NodeJS. | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit a808659f2639f2da2d3e0dda5868316fabaf973c | |
| parent 9203795a823587dd131640b00e7c5f639670cc08 | |
| Author: Jay Scott <[email protected]> | |
| Date: Tue, 17 Jul 2018 21:30:24 +0100 | |
| tidy up | |
| Diffstat: | |
| M linuxgaming/search.py | 11 ----------- | |
| D linuxgaming/static/stylesheets/sty… | 0 | |
| M linuxgaming/templates/base.html | 11 +++++++---- | |
| 3 files changed, 7 insertions(+), 15 deletions(-) | |
| --- | |
| diff --git a/linuxgaming/search.py b/linuxgaming/search.py | |
| @@ -10,17 +10,6 @@ import yaml | |
| bp = Blueprint('search', __name__, url_prefix='/search') | |
| -def load(): | |
| - """Return the YAML parsed config file.""" | |
| - try: | |
| - with open('config/feed_config.yaml', 'r') as ymlfile: | |
| - cfg = yaml.load(ymlfile) | |
| - except yaml.YAMLError as exc: | |
| - current_app.logger.error('YAML read error %s', exc) | |
| - | |
| - return cfg | |
| - | |
| - | |
| @bp.route("/twitch", methods=('GET', 'POST')) | |
| def twitch(): | |
| diff --git a/linuxgaming/static/stylesheets/style.css b/linuxgaming/static/styl… | |
| diff --git a/linuxgaming/templates/base.html b/linuxgaming/templates/base.html | |
| @@ -11,7 +11,6 @@ | |
| href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.3.3/seman… | |
| integrity="sha256-ncjDAd2/rm/vaNTqp7Kk96MfSeHACtbiDU9NWKqNuCI=" | |
| crossorigin="anonymous" /> | |
| - <link rel="stylesheet" href="{{ url_for('static', filename='stylesheets/st… | |
| </head> | |
| <body> | |
| @@ -37,10 +36,14 @@ | |
| <a class="item" href="/search/podcast" data-content="Filter by Podcast… | |
| <i class="soundcloud blue large icon"></i> | |
| </a> | |
| - <a class="item" href="/search/allthethings" data-title="Show EVERYTHIN… | |
| - <i class="exclamation red large icon" ></i> | |
| - </a> | |
| <div class="right item"> | |
| + | |
| + <a class="item" href="/search/allthethings" data-title="Show EVERYTH… | |
| + <i class="exclamation red large icon" ></i> | |
| + </a> | |
| + <div class="item"> | |
| + <i class="ellipsis vertical disabled icon"></i> | |
| + </div> | |
| <div class="ui icon input"> | |
| <input id="search" placeholder="Search..." type="text"> | |
| <i class="search olive icon"></i> |