Skip to content

Instantly share code, notes, and snippets.

@dradecic
Created August 25, 2019 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dradecic/4c75e01a2c5077409f7e394538358042 to your computer and use it in GitHub Desktop.
Save dradecic/4c75e01a2c5077409f7e394538358042 to your computer and use it in GitHub Desktop.
Python-Bokeh - Gist 5: navbar.html
<nav class="navbar navbar-expand-lg sticky-top navbar-dark" style="background-color: #ba32a0;">
<a class="navbar-brand title-text" href="#">Titanic - Dashboard</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarText">
<ul class="navbar-nav mr-auto">
</ul>
<form name="dropdown-form" action="" method="POST">
<select class="my-dropdown-menu" name="dropdown-select" style="padding:8px;border-radius:8px;">
<option value="1" {% if selected_class=='1' %} selected {% endif %}>1st Class</option>
<option value="2" {% if selected_class=='2' %} selected {% endif %}>2nd Class</option>
<option value="3" {% if selected_class=='3' %} selected {% endif %}>3rd Class</option>
</select>
<button class="submit-btn" type="submit">Apply</button>
</form>
</div>
</nav>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment