diff options
author | Prabhu Ramachandran | 2016-05-27 12:33:39 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2016-05-27 12:33:39 +0530 |
commit | 2af8dbd65fb6e9246b5617596780239c5d754714 (patch) | |
tree | 31f858a58db83991d723a4e6aea721f4575fb4b2 /yaksh/templates | |
parent | 033d116bc803fe165cbe6f7e228c29d8f0b019a9 (diff) | |
parent | 63a8de2d34fb8bb1d3703c1e3c8d189829b26059 (diff) | |
download | online_test-2af8dbd65fb6e9246b5617596780239c5d754714.tar.gz online_test-2af8dbd65fb6e9246b5617596780239c5d754714.tar.bz2 online_test-2af8dbd65fb6e9246b5617596780239c5d754714.zip |
Merge pull request #102 from ankitjavalkar/bootstrap3
Add bootstrap 3 files
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/base.html | 63 |
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 %} |