Skip to content

Commit

Permalink
addition of add_site function, small fixes and cleanup
Browse files Browse the repository at this point in the history
- added: add_site function
- fixed: when used on mobile screens, the button to display the top
navbar was empty
- cleanup: removed unnecessary code and improved the comments for the
functions/methods
  • Loading branch information
malle-pietje committed Apr 13, 2016
1 parent a7ee8eb commit 824ed60
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 89 deletions.
8 changes: 5 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,14 @@ function to print the output
<nav id="navbar" class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-example-js-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#navbar-main">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">Unifi API browser</a>
</div>
<div class="collapse navbar-collapse bs-example-js-navbar-collapse">
<div id="navbar-main" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-left">
<li id="site-menu" class="dropdown">
<a id="site-menu" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Expand Down
Loading

0 comments on commit 824ed60

Please sign in to comment.