Update login page

This commit is contained in:
Gabriel Augendre 2016-04-17 18:24:58 +02:00
parent 9d3aefbe1b
commit 3d83406fff
2 changed files with 14 additions and 7 deletions

View file

@ -9,13 +9,13 @@
<body>
<div class="container">
<h1>Duplicates finder
<div id="login">
<a href="/login" class="btn btn-lg btn-success">Log in with Spotify</a>
</div>
</h1>
<div id="error"></div>
<div id="login">
<h1>This is an example of the Authorization Code flow</h1>
<a href="/login" class="btn btn-primary">Log in with Spotify</a>
</div>
<div id="loggedin">
<h1>Duplicates finder</h1>
<div id="user-profile">
</div>
@ -64,14 +64,17 @@
<script id="error-template" type="text/x-handlebars-template">
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
<strong>{{err_title}}</strong> {{{err_content}}}.
</div>
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/2.0.0-alpha.1/handlebars.min.js"></script>
<script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
crossorigin="anonymous"></script>
<script src="./script.js"></script>
</body>
</html>

View file

@ -2,6 +2,10 @@
display: none;
}
#login {
display: inline-block;
}
.text-overflow {
overflow: hidden;
text-overflow: ellipsis;