aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-13 22:46:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-24 11:23:30 +0200
commit75825230abcc5f303a29f1f74b29c36e6140a064 (patch)
tree00083fcb5bc44706fdaf85153f2a115f70a5c8c3 /web
parent7747dde9fa64fe0b5838d730a1d892f3f49d2d5d (diff)
Implement package details page
Diffstat (limited to 'web')
-rw-r--r--web/xhtml37
1 files changed, 25 insertions, 12 deletions
diff --git a/web/xhtml b/web/xhtml
index 708655c..d683469 100644
--- a/web/xhtml
+++ b/web/xhtml
@@ -278,6 +278,10 @@ namespace web
s.start_element (xmlns, "meta");
s.attribute ("charset", "UTF-8");
s.end_element ();
+ s.start_element (xmlns, "meta");
+ s.attribute ("name", "viewport");
+ s.attribute ("content", "device-width, initial-scale=1");
+ s.end_element ();
}
};
static const head_element HEAD;
@@ -297,24 +301,33 @@ namespace web
static const element BODY ("body");
static const element DIV ("div");
+ static const element H1 ("h1");
+ static const element H2 ("h2");
+ static const element H3 ("h3");
+ static const element H4 ("h4");
+ static const element H5 ("h5");
+ static const element H6 ("h6");
+ static const element META ("meta");
static const element P ("p");
static const element TITLE ("title");
- static const inline_element A ("a");
- static const inline_element B ("b");
- static const inline_element I ("i");
- static const inline_element U ("u");
-
- static const inline_element EM ("em");
- static const inline_element BR ("br");
+ static const inline_element A ("a");
+ static const inline_element B ("b");
+ static const inline_element BR ("br");
+ static const inline_element EM ("em");
+ static const inline_element I ("i");
+ static const inline_element SPAN ("span");
+ static const inline_element U ("u");
// Attributes.
//
- static const attribute CLASS ("class");
- static const attribute HREF ("href");
- static const attribute ID ("id");
- static const attribute STYLE ("style");
- static const attribute TYPE ("type");
+ static const attribute CLASS ("class");
+ static const attribute CONTENT ("content");
+ static const attribute HREF ("href");
+ static const attribute ID ("id");
+ static const attribute NAME ("name");
+ static const attribute STYLE ("style");
+ static const attribute TYPE ("type");
}
}