Files
ferglie/templates/base.html
Fergal Moran 4333677844 Initial commit
2017-05-03 21:31:11 +01:00

60 lines
2.7 KiB
HTML
Executable File

{% load staticfiles %}
{% load urls_extras %}
{% load compress %}
<html>
<head>
<title>ShortIO</title>
{% compress css %}
<link rel="stylesheet" type="text/css" href="{% static "themes/wed/css/bootstrap.min.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "themes/wed/snippet.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "themes/wed/snippet.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/site.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/font-awesome.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/bootstrap-social.css" %}">
<link rel="stylesheet" type="text/css" href="{% static "css/login.css" %}">
{% endcompress %}
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body ng-app="shortioApp" style="background-image: url('{% get_random_image %}');">
<div ng-include="'{% static "js/app/views/header.html" %}'"></div>
<div class="bootshape login-form">
<div class="col-sm-6 col-md-5 col-lg-4 col-sm-offset-2 text-center login-popup-wrap">
<div class="login-popup">
<h1 class="title"><strong>ShortIO</strong></h1>
<aside>all your shorts are belong to us</aside>
</div>
<div ng-include="'{% static "js/app/views/url.html" %}'"></div>
</div>
</div>
{% compress js %}
<script src="{% static "js/underscore/underscore.js" %}"></script>
<script src="{% static "js/angular/angular.min.js" %}"></script>
<script src="{% static "js/angular/angular-resource.min.js" %}"></script>
<script src="{% static "js/angular/ui-bootstrap.js" %}"></script>
<script src="{% static "js/zepto.js" %}"></script>
<script src="{% static "js/script.js" %}"></script>
<script src="{% static "js/app/app.js" %}"></script>
<script src="{% static "js/app/directives/enter.js" %}"></script>
<script src="{% static "js/app/controllers/header.js" %}"></script>
<script src="{% static "js/app/controllers/url.js" %}"></script>
<script src="{% static "js/app/services/url.js" %}"></script>
{% endcompress %}
<script type="text/javascript">
angular.module('shortioApp')
.factory('AuthUser', function ($resource) {
return {
username: "{{ user.username|default:''|escapejs }}"
}
});
</script>
</body>
</html>