Commit fbeda0ad authored by Emanuele Santoro's avatar Emanuele Santoro

Whole app now on Bootstrap. Images imported too.

parent 6a7f027a
......@@ -33,14 +33,14 @@
</button>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<!--
<ul class="nav navbar-nav navbar-right">
<li><a href="#" target="_blank">Shorten a new url</a></li>
</ul>
-->
</div>
</div>
</div>
......@@ -53,11 +53,11 @@
<div class="bs-docs-section">
<div class="row">
<div class="col-lg-6">
<img class="img-responsive img-circle" id="nolongurls" src="http://santoro.tk/~manu/musho.jpg">
<img class="img-responsive img-circle" id="nolongurls" src="/static/images/musho.jpg">
</div>
<div class="col-lg-6">
<div class="well bs-component" id="form-well">
<form class="form-horizontal" method="post" action="/save" name="url_shorten">
......@@ -80,7 +80,7 @@
</div>
</div>
</div>
</div>
</div>
......
<!doctype html>
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>You have shortened a link!</title>
<meta charset="utf-8">
<title>Musho :: Congratulations, you have shortened a link!</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/static/theme/bootstrap.css" media="screen">
<link rel="stylesheet" href="/static/theme/usebootstrap.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="bootstrap/html5shiv.js"></script>
<script src="bootstrap/respond.min.js"></script>
<![endif]-->
<style type="text/css">
#nolongurls {
margin: 0px auto;
width: 450px;
}
div#form-well {
margin-top: 125px;
}
</style>
</head>
<body>
<center>
<h1>Here is your shortened link!</h1>
<hr style="width:65%;">
<br>
<p><a href="{{ url }}">{{ url }}</a></p>
<br/>
<p> Share on <a href="#">Facebook</a><a href="#">Twitter</a></p>
</center>
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a href="http://musho.herokuapp.com" class="navbar-brand">Musho</a>
<button class="navbar-toggle" 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>
</div>
<div class="navbar-collapse collapse" id="navbar-main">
<!--
<ul class="nav navbar-nav navbar-right">
<li><a href="#" target="_blank">Shorten a new url</a></li>
</ul>
-->
</div>
</div>
</div>
<div class="container">
<!-- Forms
================================================== -->
<div class="bs-docs-section">
<div class="row">
<div class="col-lg-6">
<img class="img-responsive img-circle" id="nolongurls" src="/static/images/musho_yes.jpg">
</div>
<div class="col-lg-6">
<div class="well bs-component">
<h3>Congratulations!</h3>
<p>You have just shortened a long URL!</p>
<p>Here is your shortened url: <a href="{{ url }}">{{ url }}</a></p>
<br>
<br>
<br>
<p>Would you like to <a href="/">shorten another link</a>?</p>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="/static/bootstrap/bootstrap.min.js"></script>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment