Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial commit.

  • Loading branch information...
commit 283d3bb7c3b8b0704b2365fe78c296a7dc250ff0 0 parents
@podviaznikov authored
24 README.md
@@ -0,0 +1,24 @@
+# html5template
+Template for HTML5 projects. Includes
+ 1. index.html - template for basic html file
+ 2. styles.css - template for CSS files with mediaqueries, normalisation, etc
+ 3. appcache.mf - template for application cache file
+ 4. libs.bundle.js - file with JS libs jQuery, underscore, backbone
+ 5.
+
+#credits
+
+Inspired by httphtml5boilerplate.com. But intended for personal projects.
+For buidling JS files Webreflection script was used (httpscode.google.compjavascript-builder).
+
+## License
+
+(The MIT License)
+
+Copyright (c) 2011 Enginimation Studio (httpenginimation.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, andor sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 appcache.mf
@@ -0,0 +1,9 @@
+CACHE MANIFEST
+index.html
+js/app.js
+js/libs.bundle.js
+css/styles.css
+NETWORK:
+http://enginimation.com
+FALLBACK:
+http://enginimation.com/*.png /css/images/no_picture.png
50 css/styles.css
@@ -0,0 +1,50 @@
+html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,small, strong,
+sub, sup, var, b, i, dl, dt, dd, ol, ul, li,fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details,
+figcaption, figure,footer, header, hgroup, menu, nav, section, summary,
+time, mark, audio, video
+{
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+
+article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section
+{
+ display: block;
+}
+
+@media screen and (min-width: 1281) and (max-width: 1400px)
+{
+}
+@media screen and (min-width: 1151) and (max-width: 1280px)
+{
+}
+@media screen and (min-width: 1025px) and (max-width: 1150px)
+{
+}
+@media screen and (min-width: 901px) and (max-width: 1024px)
+{
+}
+@media screen and (min-width: 801px) and (max-width: 900px)
+{
+}
+@media screen and (min-width: 701px) and (max-width: 800px)
+{
+}
+@media screen and (min-width: 601px) and (max-width: 700px)
+{
+}
+@media screen and (max-width: 600px)
+{
+}
+@media screen and (min-width: 331px) and (max-width: 400px)
+{
+}
+@media screen and (max-width: 330px)
+{
+}
17 index.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html manifest="appcache.mf">
+<head>
+ <title>title</title>
+ <meta charset="utf-8"/>
+ <meta name="author" content="Enginimation Studio(enginimation.com)"/>
+ <meta name="description" content="Description"/>
+ <meta name="keywords" content="html5,css3"/>
+ <link rel="shortcut icon" href="/favicon.ico"
+ <link rel="stylesheet" href="css/styles.css"/>
+ <script src="js/libs.bundle.js"></script>
+ <script src="js/app.js"></script>
+ <script>$(function(){AppController.init();});</script>
+</head>
+<body>
+</body>
+</html>
8 js/app/controller.js
@@ -0,0 +1,8 @@
+/*global Backbone: true, ui: true, _:true,localStorage : true */
+"use strict";
+var models={},ui={},
+ AppController={
+ init:function(){
+ //init code
+ }
+};
0  js/app/modeljs.js
No changes.
0  js/app/views.js
No changes.
71 js/libs.bundle.js
71 additions, 0 deletions not shown
Please sign in to comment.
Something went wrong with that request. Please try again.