aboutsummaryrefslogtreecommitdiff
path: root/views/commit.html
diff options
context:
space:
mode:
authorAlberto Bertogli <albertito@blitiri.com.ar>2015-11-18 01:05:13 +0100
committerAlberto Bertogli <albertito@blitiri.com.ar>2015-11-18 01:29:34 +0100
commitc648cfb593f345f0a1d07f43c34905643fc073e1 (patch)
tree74cebcfcc060015343c997b888b1b23c10cb2476 /views/commit.html
parentcacf2ee2cc9f291e5759b854126d25216ee01cd4 (diff)
downloadgit-arr-fork-c648cfb593f345f0a1d07f43c34905643fc073e1.zip
views: Improve display on mobile browsers
This patch moves the pages to HTML5, and adds some simple meta tags and CSS media constraints so things render better on mobile browsers, while leaving the desktop unaffected. It's still not ideal, though. Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'views/commit.html')
-rw-r--r--views/commit.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/commit.html b/views/commit.html
index 1ddc4d8..e21ff04 100644
--- a/views/commit.html
+++ b/views/commit.html
@@ -1,11 +1,11 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
<head>
<title>git &raquo; {{repo.name}} &raquo; commit {{c.id[:7]}}</title>
<link rel="stylesheet" type="text/css" href="../../../../static/git-arr.css"/>
<link rel="stylesheet" type="text/css" href="../../../../static/syntax.css"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+<meta name=viewport content="width=device-width, initial-scale=1">
</head>
<body class="commit">