diff options
author | Jonathan DeMasi <jon.demasi@colorado.edu> | 2020-03-03 14:20:49 -0700 |
---|---|---|
committer | Jonathan DeMasi <jon.demasi@colorado.edu> | 2020-03-03 14:20:49 -0700 |
commit | 2833c4948bc0716952fcebaf6ee3f38cfe39454b (patch) | |
tree | 2086d4390cdb86a84249eb6f9977f124cb50629b | |
parent | 4afaffdb625913cc37ea6a75733207d76b1d2c25 (diff) | |
download | jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.tar jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.tar.gz jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.tar.bz2 jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.tar.lz jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.tar.xz jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.tar.zst jthanio-2833c4948bc0716952fcebaf6ee3f38cfe39454b.zip |
changes to tags
-rw-r--r-- | blog/templates/blog/blog_post.html | 21 | ||||
-rw-r--r-- | jthanio/static/css/jthanio.css | 4 | ||||
-rw-r--r-- | jthanio/templates/navigation.html | 4 |
3 files changed, 14 insertions, 15 deletions
diff --git a/blog/templates/blog/blog_post.html b/blog/templates/blog/blog_post.html index 87de8eb..d72cb55 100644 --- a/blog/templates/blog/blog_post.html +++ b/blog/templates/blog/blog_post.html @@ -35,7 +35,17 @@ <!-- Sidebar Widgets Column --> <div class="col-md-4"> - + <div class="card my-4"> + <h5 class="card-header">Search</h5> + <div class="card-body"> + <div class="input-group"> + <input type="text" class="form-control" placeholder="Search for..."> + <span class="input-group-btn"> + <button class="btn btn-secondary" type="button">Search</button> + </span> + </div> + </div> + </div> <!-- Tags Widget --> <div class="card my-4"> <h5 class="card-header">Tags</h5> @@ -45,7 +55,7 @@ <ul class="list-unstyled mb-0"> {% if page.tags.all.count %} {% for tag in page.tags.all %} - <span class="badge badge-primary"><a href="{% slugurl 'tags' %}?tag={{ tag }}">{{ tag }}</a></span> + <span class="badge badge-pill badge-light"><a href="{% slugurl 'tags' %}?tag={{ tag }}">{{ tag }}</a></span> {% endfor %} {% else %} No tags for this post @@ -55,13 +65,6 @@ </div> </div> - <!-- Side Widget --> - <div class="card my-4"> - <h5 class="card-header">Side Widget</h5> - <div class="card-body"> - You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers! - </div> - </div> </div> diff --git a/jthanio/static/css/jthanio.css b/jthanio/static/css/jthanio.css index bde2ab6..f1db3ec 100644 --- a/jthanio/static/css/jthanio.css +++ b/jthanio/static/css/jthanio.css @@ -1,3 +1,3 @@ -.badge-primary a { - color: white; +.badge-light a { + color: #000000; } diff --git a/jthanio/templates/navigation.html b/jthanio/templates/navigation.html index 2cd9ae9..54756a2 100644 --- a/jthanio/templates/navigation.html +++ b/jthanio/templates/navigation.html @@ -20,10 +20,6 @@ <a class="nav-link" href="#">About</a> </li> </ul> - <form class="form-inline my-2 my-lg-0"> - <input class="form-control mr-sm-2" type="text" placeholder="Search"> - <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button> - </form> </div> </div> </nav>
\ No newline at end of file |