summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorankitjavalkar2016-05-10 17:46:22 +0530
committerankitjavalkar2016-05-12 14:54:41 +0530
commit63a8de2d34fb8bb1d3703c1e3c8d189829b26059 (patch)
tree1d8ad5c7361b67a4990c10bf1634eb8edd123f7d /yaksh/templates
parent5c74697b00ea08a2b78615637d8b322410fca4b0 (diff)
downloadonline_test-63a8de2d34fb8bb1d3703c1e3c8d189829b26059.tar.gz
online_test-63a8de2d34fb8bb1d3703c1e3c8d189829b26059.tar.bz2
online_test-63a8de2d34fb8bb1d3703c1e3c8d189829b26059.zip
Add bootstrap 3 files
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/base.html63
1 files changed, 40 insertions, 23 deletions
diff --git a/yaksh/templates/base.html b/yaksh/templates/base.html
index 83db7ff..efa1d58 100644
--- a/yaksh/templates/base.html
+++ b/yaksh/templates/base.html
@@ -1,35 +1,52 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!doctype html>
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <title>
+ {% block title %}
+ {% endblock %}
+ </title>
+ <meta name="description" content="">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="apple-touch-icon" href="apple-touch-icon.png">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>
- {% block title %}
- {% endblock %}
- </title>
+ <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/bootstrap.min.css">
+ <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/base.css">
- {% block meta %}
- <meta charset="utf-8">
- <meta name="description" content="">
- <meta name="author" content="">
- {% endblock %}
-
- <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/base.css" type="text/css" />
- {% block css %}
- {% endblock %}
-<script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.4.2.min.js"></script>
- {% block script %}
- {% endblock %}
- </head>
+ <style>
+ body {
+ padding-top: 50px;
+ padding-bottom: 20px;
+ }
+ </style>
+ {% block meta %}
+ <meta charset="utf-8">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ {% endblock %}
-<body {% block onload %}{% endblock %}>
+ {% block css %}
+ {% endblock %}
+ <script src="{{ URL_ROOT }}/static/yaksh/js/bootstrap.min.js"></script>
+ <script language="JavaScript" type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.4.2.min.js"></script>
+ {% block script %}
+ {% endblock %}
+</head>
+
+<body
+ {% block onload %}
+ {% endblock %}>
<div class="container">
<div class="content">
<div class="page-header">
<h1><Strong><center>{% block pagetitle %} {% endblock pagetitle %}</center></strong></h1>
</div>
<div class=row>
- <div class=span14>
+ <div class=span12>
<h3><center>{% block formtitle %} {% endblock formtitle %}</center></h3><br>
{% block content %}
{% endblock %}