Started laying out the new app structure
This commit is contained in:
parent
9ced59ed05
commit
e881496bd6
5 changed files with 2889 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,4 +4,5 @@ views.bak/
|
|||
bin/
|
||||
include/
|
||||
lib/
|
||||
lib64/
|
||||
local/
|
||||
|
|
11
public/js/app.js
Normal file
11
public/js/app.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
Character = Backbone.Model.extend({
|
||||
urlRoot: '/tyedye/player',
|
||||
defaults: {
|
||||
name: 'New Player',
|
||||
stats: new Stats,
|
||||
}
|
||||
initialize: function(){
|
||||
}
|
||||
});
|
||||
|
||||
var character = new Character;
|
1608
public/js/backbone.js
Normal file
1608
public/js/backbone.js
Normal file
File diff suppressed because it is too large
Load diff
1257
public/js/underscore.js
Normal file
1257
public/js/underscore.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -5,8 +5,8 @@ $def with (main_block, sidebar_block, game_name)
|
|||
<meta charset="utf-8">
|
||||
<title>TyeDye control panel for $game_name</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- <link rel='stylesheet' type='text/css' href='/public/main.css'> -->
|
||||
<link href="/public/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- <link rel='stylesheet' type='text/css' href='/static/public/main.css'> -->
|
||||
<link href="/static/static/public/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 60px;
|
||||
|
@ -25,7 +25,7 @@ $def with (main_block, sidebar_block, game_name)
|
|||
}
|
||||
}
|
||||
</style>
|
||||
<link href="/public/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<link href="/static/public/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
|
||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||
<!--[if lt IE 9]>
|
||||
|
@ -33,11 +33,11 @@ $def with (main_block, sidebar_block, game_name)
|
|||
<![endif]-->
|
||||
|
||||
<!-- Fav and touch icons -->
|
||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/public/ico/apple-touch-icon-144-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/public/ico/apple-touch-icon-114-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/public/ico/apple-touch-icon-72-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" href="/public/ico/apple-touch-icon-57-precomposed.png">
|
||||
<link rel="shortcut icon" href="/public/ico/favicon.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/public/ico/apple-touch-icon-144-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/public/ico/apple-touch-icon-114-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/public/ico/apple-touch-icon-72-precomposed.png">
|
||||
<link rel="apple-touch-icon-precomposed" href="/static/public/ico/apple-touch-icon-57-precomposed.png">
|
||||
<link rel="shortcut icon" href="/static/public/ico/favicon.png">
|
||||
</head>
|
||||
<body>
|
||||
<!-- begin navbar -->
|
||||
|
@ -84,7 +84,10 @@ $def with (main_block, sidebar_block, game_name)
|
|||
<!-- Le javascript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="/public/js/jquery.js"></script>
|
||||
<script src="/static/public/js/jquery.js"></script>
|
||||
<script src="/static/public/js/underscore.js"></script>
|
||||
<script src="/static/public/js/backbone.js"></script>
|
||||
<script src="/static/public/js/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in a new issue