Skip to content

Instantly share code, notes, and snippets.

@edurenye
Last active August 29, 2015 14:02
Show Gist options
  • Save edurenye/7175f8eb98f930f2b4b2 to your computer and use it in GitHub Desktop.
Save edurenye/7175f8eb98f930f2b4b2 to your computer and use it in GitHub Desktop.
Ubicacions
<!doctype html>
<html>
<head>
<title>Festes.cat</title>
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/css/style.css">
<link rel="stylesheet" href="/static/css/festescat.css">
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/js/autocomplete.js"></script>
<script type="text/javascript" src="/static/js/festescat.js"></script>
<script type="text/javascript" src="http://www.openlayers.org/api/OpenLayers.js"></script>
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBp3Of6Fiwrtqs2U7XAu0nmcUSr4AkSAj0">
</script>
<script type="text/javascript" src="http://api.facilmap.org/facilmap.js"></script>
<!--<script type="text/javascript" src="/static/js/gmaps.js"></script>-->
<meta name="author" content="Eduard Reñé and Víctor Diaz">
<meta name="description" content="Directori de festes de Catalunya">
<meta name="keywords" content="catalunya, festes, events, festa major">
</head>
<body>
<header class="navbar navbar-static-top bs-docs-nav" id="top" role="banner">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="/" class="navbar-brand">Festes.cat</a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li class="active">
<a href="/">Index</a>
</li>
<li>
<a href="/festes/">Festes</a>
</li>
<li>
<a href="/ubicacions/">Ubicacions</a>
</li>
<li>
<a href="/events/">Events</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="/user/patata/">patata</a></li>
<li><a href="/logout/">LOGOUT</a></li>
</ul>
</nav>
</div>
</header>
<div class="container-fluid">
<div class="row">
<div id="LlistaElems" class="col-md-8">
<h1>Ubicacio</h1>
<span vocab="http://schema.org/" typeof="Place">
<ul>
<span property="name" content="dfgdyufigiuuhu"></span>
<form id='formulari' method="PUT" action="delete/">
<button class="btn btn-primary" type="submit">
<span class="glyphicon glyphicon-remove"> Elimina la Ubicació</span>
</button>
</form>
<div class="new-button">
<form id='formulari' method="PUT" action="edit/">
<button class="btn btn-primary" type="submit">
<span class="glyphicon glyphicon-pencil"> Edita la Ubicació</span>
</button>
</form>
</div>
<span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<meta itemprop="addressCountry" content="ES"/>
<meta itemprop="addressLocality" content="Lleida"/>
<meta itemprop="addressRegion" content="Catalunya"/>
<meta itemprop="streetAddress" content="dfgdyufigiuuhu"/>
</span>
<p>Adressa: dfgdyufigiuuhu</p>
<p>Poble: Lleida</p>
<p>Comarca: Segrià</p>
<p>Provincia: Lleida</p>
<span itemprop="geo" itemscope itemtype="http://schema.org/GeoCoordinates">
<meta itemprop="latitude" content="2.1"/>
<meta itemprop="longitude" content="4.5"/>
</span>
<p>Latitud: 2.1</p>
<p>Longitud: 4.5</p>
</ul>
</span>
</div>
<div id="AddForm" class="col-md-6 hidden">
<h1>Edita la ubicació</h1>
<form id='formulari' method="POST" action="">
<input type='hidden' name='csrfmiddlewaretoken' value='OeV24CbZyaEGNSEllqvMneo8o2ekA1MY' />
<table>
</table>
<input type="submit" value="Guarda">
</form>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-8">
<footer></footer>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment