Skip to content

Commit

Permalink
adding bootstrap flex classes
Browse files Browse the repository at this point in the history
  • Loading branch information
subhangi2731 committed Mar 2, 2022
1 parent 445b524 commit 736d5f7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 84 deletions.
2 changes: 1 addition & 1 deletion src/mote/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def teamspage():
data = yaml.safe_load(stream)
except yaml.YAMLError as exc:
logging.error("exc")
return render_template("teams.html", teamdata=data)
return render_template("teams.html", teamdata=data, length=len(data))


if __name__ == "__main__":
Expand Down
5 changes: 1 addition & 4 deletions src/mote/static/css3/fragment.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,4 @@ hr {
text-transform: none;

}

.form-check-input {
margin-left: 780px;
}

2 changes: 1 addition & 1 deletion src/mote/templates/mainpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link" type="button" href="#">
<a class="nav-link" type="button" href="/teams">
Meetings by Group
</a>
</li>
Expand Down
14 changes: 7 additions & 7 deletions src/mote/templates/teams.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</a>
</li>
<li class="nav-item">
<a class="nav-link" type="button" href="#">
<a class="nav-link" type="button" href="">
Meetings by Group
</a>
</li>
Expand Down Expand Up @@ -94,17 +94,17 @@
<div class="mt-4">
<br><br>
<div class="checkbox">
<div class="d-flex">
<div class="p-2 flex-fill "> <i class="fa fa-users" aria-hidden="true"></i> Meetings by Group</div>
<div class="p-2 flex-fill"> <input class="form-check-input" type="checkbox"> Hide inactive</div>
<div class="d-flex justify-content-between">
<div><i class="fa fa-users" aria-hidden="true"></i> Meetings by Group</div>
<div><input class="form-check-input" type="checkbox"> Hide inactive</div>
</div>
</div>
</div>
</div>
<br><br>
<div class="card">
<div class="card-header">
23 Groups
{{length}} Groups
</div>
<table class="table">
<tbody>
Expand All @@ -117,8 +117,8 @@
</item>
<div class="btn-group" role="group"
aria-label="Basic checkbox toggle button group">
<input type="checkbox" class="btn-check" id="btncheck1" autocomplete="off">
<label class="btn btn-outline-primary" for="btncheck1"><i
<input type="checkbox" class="btn-check" autocomplete="off">
<label class="btn btn-outline-primary" ><i
class="far fa-calendar-alt"></i> 15 Nov 2021</label>
</div>
</td>
Expand Down
71 changes: 0 additions & 71 deletions src/mote/test.py

This file was deleted.

0 comments on commit 736d5f7

Please sign in to comment.