fixed spectrum

This commit is contained in:
Rushil Umaretiya 2020-08-16 11:05:01 -04:00
parent 50aca685d4
commit 7af0c19538
3 changed files with 18 additions and 5 deletions

View File

@ -166,12 +166,15 @@ a.article-title:hover {
.left {
color: #2460E9!important;
font-size: 1em;
}
.center {
color: #84478B!important;
font-size: 1em;
}
.right {
color: #E42D2D!important;
font-size: 1em;
}

View File

@ -3,13 +3,13 @@
<div class="media-content pt-5">
<div class="row">
<div class="col">
<h1><a class="left nounderline" href="{% url 'spectrum-left' %}">Left</a></h1>
<h1><a class="left float-center nounderline btn btn-lg btn-outline" href="{% url 'spectrum-left' %}">Left</a></h1>
</div>
<div class="col">
<h1><a class="center nounderline" href="{% url 'spectrum-center' %}">Center</a></h1>
<h1><a class="center nounderline btn btn-lg btn-outline" href="{% url 'spectrum-center' %}">Center</a></h1>
</div>
<div class="col">
<h1><a class="right nounderline" href="{% url 'spectrum-right' %}">Right</a></h1>
<h1><a class="right nounderline btn btn-lg btn-outline" href="{% url 'spectrum-right' %}">Right</a></h1>
</div>
</div>
</div>

View File

@ -16,7 +16,17 @@ def right(request):
def left(request):
pass
feed = feedparser.parse("https://rss.app/feeds/xC2p60TEA2cjxsTp.xml")
print(feed.entries)
context = {
"feed": feed.entries
}
return render (request, "spectrum/feed.html", context)
def center(request):
pass
feed = feedparser.parse("https://rss.app/feeds/H4872WxBBmcWNjWr.xml")
print(feed.entries)
context = {
"feed": feed.entries
}
return render (request, "spectrum/feed.html", context)