mirror of
https://github.com/gamaio/unps.us-Shortener.git
synced 2024-12-22 02:02:40 +00:00
Change login form to dropdown for more minimalistic design
Again, this looks better IMO than having the login form right in the navbar
This commit is contained in:
parent
eeea8415ec
commit
358fe93ab9
BIN
assets/images/user.png
Normal file
BIN
assets/images/user.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
25
index.php
25
index.php
@ -67,6 +67,7 @@
|
|||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Services <b class="caret"></b></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Services <b class="caret"></b></a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
<li class="divider"></li>
|
||||||
<li><a href="http://img.unps-gama.info">Image Host</a></li>
|
<li><a href="http://img.unps-gama.info">Image Host</a></li>
|
||||||
<li><a href="http://unps.us">Link Shortener</a></li>
|
<li><a href="http://unps.us">Link Shortener</a></li>
|
||||||
<li><a href="http://api.unps.us">UnPS-API</a></li>
|
<li><a href="http://api.unps.us">UnPS-API</a></li>
|
||||||
@ -77,11 +78,13 @@
|
|||||||
<li><a href="https://github.com/alopexc0de">GitHub</a></li>
|
<li><a href="https://github.com/alopexc0de">GitHub</a></li>
|
||||||
<li><a href="https://bitbucket.org/alopexc0de">Bitbucket</a></li>
|
<li><a href="https://bitbucket.org/alopexc0de">Bitbucket</a></li>
|
||||||
<li><a href="http://p.unps.us">Projects</a></li>
|
<li><a href="http://p.unps.us">Projects</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Friends <b class="caret"></b></a>
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Friends <b class="caret"></b></a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
<li class="divider"></li>
|
||||||
<li class="nav-header"> c0de</li>
|
<li class="nav-header"> c0de</li>
|
||||||
<li><a href="http://c0de.unps.us">Personal Blog</a></li>
|
<li><a href="http://c0de.unps.us">Personal Blog</a></li>
|
||||||
<li><a href="https://facebook.com/alopexc0de">Facebook</a></li>
|
<li><a href="https://facebook.com/alopexc0de">Facebook</a></li>
|
||||||
@ -95,6 +98,7 @@
|
|||||||
<li><a href="http://mc.doridian.de">Our Amazing Server Host</a></li>
|
<li><a href="http://mc.doridian.de">Our Amazing Server Host</a></li>
|
||||||
<li><a href="http://furcast.fm">Awesome Furry Talk Show</a></li>
|
<li><a href="http://furcast.fm">Awesome Furry Talk Show</a></li>
|
||||||
<li><a href="http://leonfox.net">Networking Guru</a></li>
|
<li><a href="http://leonfox.net">Networking Guru</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -116,11 +120,20 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php }else{ ?>
|
<?php }else{ ?>
|
||||||
<form class="navbar-form form-inline pull-right" action="http://unps-gama.info/login.php" method="post">
|
<ul class="nav navbar-nav" style="float:right;">
|
||||||
<input type="text" placeholder="Email" class="form-control">
|
<li class="dropdown">
|
||||||
<input type="password" placeholder="Password" class="form-control">
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><img style="max-height:18px;max-width:18px;" src="assets/images/user.png" /> Login <b class="caret"></b></a>
|
||||||
<button type="submit" class="btn" disabled="disabled">Sign in</button>
|
<ul class="dropdown-menu" style="float:left;text-align:left;padding-left:8px;padding-right:8px;">
|
||||||
</form>
|
<form class="navbar-form form-inline pull-right" action="http://unps-gama.info/login.php" method="post">
|
||||||
|
<li style="padding-bottom:6px;"><input type="text" name="email" placeholder="Email" class="form-control" style="height: 40%;"></li>
|
||||||
|
<li style="padding-bottom:6px;"><input type="password" name="pass" placeholder="Password" class="form-control" style="height: 40%;"></li>
|
||||||
|
<li><button type="submit" name="signin" class="btn" style="width:100%;height: 40%;" disabled="disabled">Sign in</button></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><button type="submit" name="signup" class="btn" style="width:100%;height: 40%;" disabled="disabled">Sign up</button></li>
|
||||||
|
</form>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -159,7 +172,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<br /><p class="text-muted credit">
|
<br /><p class="text-muted credit">
|
||||||
Copyright © 2012-2013 UnPS-GAMATechnologies - Fork me on <a href="https://github.com/alopexc0de/UnPS-Short">GitHub</a>
|
Copyright © 2012-2013 UnPS-GAMATechnologies - Fork me on <a href="https://github.com/alopexc0de/UnPS-Short">GitHub</a>
|
||||||
<a id="privacy-link" href="http://unps-gama.info/privacy.php">Privacy Policy</a> <a id="tos-link" href="http://unps-gama.info/terms.php">Terms Of Service</a> <?php if(!isset($_SESSION['uname'])){ ?><a id="reg-link" href="#">Register</a> <?php } ?>
|
<a id="privacy-link" href="http://unps-gama.info/privacy.php">Privacy Policy</a> <a id="tos-link" href="http://unps-gama.info/terms.php">Terms Of Service</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user