edge_framework 0.9.12 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +8 -8
  2. data/README.md +10 -1
  3. data/assets/js/edge/edge.prism.js +0 -1
  4. data/assets/js/edge/edge.template.js +15 -0
  5. data/assets/js/edge.js +223 -223
  6. data/assets/js/edge5.js +567 -0
  7. data/assets/{test.html → kitchen-sink.html} +1 -2
  8. data/assets/sass/edge.scss +4 -4
  9. data/assets/sass/{for-test.scss → kitchen-sink.scss} +0 -0
  10. data/lib/edge/version.rb +2 -2
  11. data/template/base/.gitignore +8 -198
  12. data/template/base/assets/js/vendor/fastclick.min.js +9 -0
  13. data/template/base/config.rb +1 -4
  14. data/template/base/robots.txt +1 -4
  15. data/template/html/index.html +22 -18
  16. data/template/php/_footer.php +17 -0
  17. data/template/php/_header.php +24 -0
  18. data/template/php/index.php +3 -10
  19. data/template/rails/application.html.erb +7 -5
  20. data/template/wordpress/404.php +1 -5
  21. data/template/wordpress/footer.php +10 -8
  22. data/template/wordpress/functions.php +0 -15
  23. data/template/wordpress/header.php +19 -12
  24. metadata +9 -42
  25. data/assets/js-docs/jquery.min.js +0 -6
  26. data/assets/test2.html +0 -74
  27. data/readme-img/compass-edge-big.jpg +0 -0
  28. data/readme-img/compass-edge.jpg +0 -0
  29. data/readme-img/generator/assets/css/.keep +0 -0
  30. data/readme-img/generator/assets/css/app.css +0 -67
  31. data/readme-img/generator/assets/css/framework.css +0 -1015
  32. data/readme-img/generator/assets/files/.keep +0 -0
  33. data/readme-img/generator/assets/fonts/.keep +0 -0
  34. data/readme-img/generator/assets/img/favicon-big.png +0 -0
  35. data/readme-img/generator/assets/img/favicon.png +0 -0
  36. data/readme-img/generator/assets/img/ipad.svg +0 -19
  37. data/readme-img/generator/assets/img/iphone.svg +0 -22
  38. data/readme-img/generator/assets/js/app.js +0 -3
  39. data/readme-img/generator/assets/js/vendor/custom.modernizr.js +0 -4
  40. data/readme-img/generator/assets/js/vendor/jquery.min.js +0 -6
  41. data/readme-img/generator/assets/sass/_setting.scss +0 -107
  42. data/readme-img/generator/assets/sass/app.scss +0 -102
  43. data/readme-img/generator/assets/sass/framework.scss +0 -10
  44. data/readme-img/generator/content.html +0 -40
  45. data/readme-img/generator/index.html +0 -49
  46. data/readme-img/generator/robots.txt +0 -7
  47. data/readme-img/grid-centered.jpg +0 -0
  48. data/readme-img/grid-collapse.jpg +0 -0
  49. data/readme-img/grid-large-small.jpg +0 -0
  50. data/readme-img/grid-large.jpg +0 -0
  51. data/readme-img/grid-nesting.jpg +0 -0
  52. data/readme-img/grid-offset.jpg +0 -0
  53. data/readme-img/grid-ordering.jpg +0 -0
  54. data/readme-img/grid-tile.jpg +0 -0
  55. data/readme-img/logo.jpg +0 -0
  56. data/readme-img/rails-edge-big.jpg +0 -0
  57. data/readme-img/rails-edge.jpg +0 -0
  58. data/template/master/assets/sass/_setting.scss +0 -118
  59. data/template/php/partials/footer.php +0 -15
  60. data/template/php/partials/functions.php +0 -83
  61. data/template/php/partials/header.php +0 -22
  62. data/template/php/sample-page/index.php +0 -11
@@ -9,8 +9,7 @@
9
9
  <link rel="stylesheet" href="css/edge.css">
10
10
 
11
11
  <!-- APP Specific -->
12
- <link rel="stylesheet" href="css/for-test.css">
13
- <!-- <link rel="stylesheet" href="css/prism.css"> -->
12
+ <link rel="stylesheet" href="css/kitchen-sink.css">
14
13
 
15
14
  <style>
16
15
  .bar1140 {
@@ -1,7 +1,7 @@
1
- /* ----------------------------------
2
- - EDGE Framework - edge.setyono.net
3
- - v0.9.12 (Crixalis)
4
- ------------------------------------- */
1
+ /* ------------------------------------------
2
+ - EDGE Framework - github.com/HennerS/Edge
3
+ - v0.10.0 (Davion)
4
+ ------------------------------------------ */
5
5
 
6
6
  @import "edge/base";
7
7
  @import "edge/components";
File without changes
data/lib/edge/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Edge
2
- VERSION = "0.9.12"
3
- CODENAME = "Crixalis"
2
+ VERSION = "0.10.0"
3
+ CODENAME = "Davion"
4
4
  end
@@ -1,144 +1,3 @@
1
- #################
2
- ## Eclipse
3
- #################
4
-
5
- *.pydevproject
6
- .project
7
- .metadata
8
- bin/
9
- tmp/
10
- *.tmp
11
- *.bak
12
- *.swp
13
- *~.nib
14
- local.properties
15
- .classpath
16
- .settings/
17
- .loadpath
18
-
19
- # External tool builders
20
- .externalToolBuilders/
21
-
22
- # Locally stored "Eclipse launch configurations"
23
- *.launch
24
-
25
- # CDT-specific
26
- .cproject
27
-
28
- # PDT-specific
29
- .buildpath
30
-
31
-
32
- #################
33
- ## Visual Studio
34
- #################
35
-
36
- ## Ignore Visual Studio temporary files, build results, and
37
- ## files generated by popular Visual Studio add-ons.
38
-
39
- # User-specific files
40
- *.suo
41
- *.user
42
- *.sln.docstates
43
-
44
- # Build results
45
-
46
- [Dd]ebug/
47
- [Rr]elease/
48
- x64/
49
- build/
50
- [Bb]in/
51
- [Oo]bj/
52
-
53
- # MSTest test Results
54
- [Tt]est[Rr]esult*/
55
- [Bb]uild[Ll]og.*
56
-
57
- *_i.c
58
- *_p.c
59
- *.ilk
60
- *.meta
61
- *.obj
62
- *.pch
63
- *.pdb
64
- *.pgc
65
- *.pgd
66
- *.rsp
67
- *.sbr
68
- *.tlb
69
- *.tli
70
- *.tlh
71
- *.tmp
72
- *.tmp_proj
73
- *.log
74
- *.vspscc
75
- *.vssscc
76
- .builds
77
- *.pidb
78
- *.log
79
- *.scc
80
-
81
- # Visual C++ cache files
82
- ipch/
83
- *.aps
84
- *.ncb
85
- *.opensdf
86
- *.sdf
87
- *.cachefile
88
-
89
- # Visual Studio profiler
90
- *.psess
91
- *.vsp
92
- *.vspx
93
-
94
- # Guidance Automation Toolkit
95
- *.gpState
96
-
97
- # ReSharper is a .NET coding add-in
98
- _ReSharper*/
99
- *.[Rr]e[Ss]harper
100
-
101
- # TeamCity is a build add-in
102
- _TeamCity*
103
-
104
- # DotCover is a Code Coverage Tool
105
- *.dotCover
106
-
107
- # NCrunch
108
- *.ncrunch*
109
- .*crunch*.local.xml
110
-
111
- # Installshield output folder
112
- [Ee]xpress/
113
-
114
- # DocProject is a documentation generator add-in
115
- DocProject/buildhelp/
116
- DocProject/Help/*.HxT
117
- DocProject/Help/*.HxC
118
- DocProject/Help/*.hhc
119
- DocProject/Help/*.hhk
120
- DocProject/Help/*.hhp
121
- DocProject/Help/Html2
122
- DocProject/Help/html
123
-
124
- # Click-Once directory
125
- publish/
126
-
127
- # Publish Web Output
128
- *.Publish.xml
129
- *.pubxml
130
-
131
- # NuGet Packages Directory
132
- ## TODO: If you have NuGet Package Restore enabled, uncomment the next line
133
- #packages/
134
-
135
- # Windows Azure Build Output
136
- csx
137
- *.build.csdef
138
-
139
- # Windows Store app package directory
140
- AppPackages/
141
-
142
1
  # Others
143
2
  sql/
144
3
  *.Cache
@@ -182,62 +41,13 @@ $RECYCLE.BIN/
182
41
  # Mac crap
183
42
  .DS_Store
184
43
 
44
+ # Ignore bundler config.
45
+ /.bundle
185
46
 
186
- #############
187
- ## Python
188
- #############
189
-
190
- *.py[co]
191
-
192
- # Packages
193
- *.egg
194
- *.egg-info
195
- dist/
196
- build/
197
- eggs/
198
- parts/
199
- var/
200
- sdist/
201
- develop-eggs/
202
- .installed.cfg
203
-
204
- # Installer logs
205
- pip-log.txt
206
-
207
- # Unit test / coverage reports
208
- .coverage
209
- .tox
210
-
211
- #Translations
212
- *.mo
213
-
214
- #Mr Developer
215
- .mr.developer.cfg
216
-
217
- #############
218
- ## SASS
219
- #############
220
- .sass-cache
221
-
222
- ########
223
- # RUBY
224
- ########
225
- *.gem
226
- *.rbc
227
- .bundle
228
- .config
229
- .yardoc
230
- Gemfile.lock
231
- InstalledFiles
232
- _yardoc
233
- coverage
234
- doc/
235
- lib/bundler/man
236
- pkg
237
- rdoc
238
- spec/reports
239
- test/tmp
240
- test/version_tmp
241
- tmp
47
+ # Ignore the default SQLite database.
48
+ /db/*.sqlite3
49
+ /db/*.sqlite3-journal
242
50
 
243
- .gitattributes
51
+ # Ignore all logfiles and tempfiles.
52
+ /log/*.log
53
+ /tmp
@@ -0,0 +1,9 @@
1
+ /**
2
+ * FastClick: polyfill to remove click delays on browsers with touch UIs.
3
+ *
4
+ * @version 1.0.1
5
+ * @codingstandard ftlabs-jsv2
6
+ * @copyright The Financial Times Limited [All Rights Reserved]
7
+ * @license MIT License (see LICENSE.txt)
8
+ */
9
+ function FastClick(e,t){"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}var n;t=t||{};this.trackingClick=false;this.trackingClickStart=0;this.targetElement=null;this.touchStartX=0;this.touchStartY=0;this.lastTouchIdentifier=0;this.touchBoundary=t.touchBoundary||10;this.layer=e;this.tapDelay=t.tapDelay||200;if(FastClick.notNeeded(e)){return}var i=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"];var s=this;for(var o=0,u=i.length;o<u;o++){s[i[o]]=r(s[i[o]],s)}if(deviceIsAndroid){e.addEventListener("mouseover",this.onMouse,true);e.addEventListener("mousedown",this.onMouse,true);e.addEventListener("mouseup",this.onMouse,true)}e.addEventListener("click",this.onClick,true);e.addEventListener("touchstart",this.onTouchStart,false);e.addEventListener("touchmove",this.onTouchMove,false);e.addEventListener("touchend",this.onTouchEnd,false);e.addEventListener("touchcancel",this.onTouchCancel,false);if(!Event.prototype.stopImmediatePropagation){e.removeEventListener=function(t,n,r){var i=Node.prototype.removeEventListener;if(t==="click"){i.call(e,t,n.hijacked||n,r)}else{i.call(e,t,n,r)}};e.addEventListener=function(t,n,r){var i=Node.prototype.addEventListener;if(t==="click"){i.call(e,t,n.hijacked||(n.hijacked=function(e){if(!e.propagationStopped){n(e)}}),r)}else{i.call(e,t,n,r)}}}if(typeof e.onclick==="function"){n=e.onclick;e.addEventListener("click",function(e){n(e)},false);e.onclick=null}}var deviceIsAndroid=navigator.userAgent.indexOf("Android")>0;var deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent);var deviceIsIOS4=deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent);var deviceIsIOSWithBadTarget=deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent);FastClick.prototype.needsClick=function(e){"use strict";switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled){return true}break;case"input":if(deviceIsIOS&&e.type==="file"||e.disabled){return true}break;case"label":case"video":return true}return/\bneedsclick\b/.test(e.className)};FastClick.prototype.needsFocus=function(e){"use strict";switch(e.nodeName.toLowerCase()){case"textarea":return true;case"select":return!deviceIsAndroid;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return false}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}};FastClick.prototype.sendClick=function(e,t){"use strict";var n,r;if(document.activeElement&&document.activeElement!==e){document.activeElement.blur()}r=t.changedTouches[0];n=document.createEvent("MouseEvents");n.initMouseEvent(this.determineEventType(e),true,true,window,1,r.screenX,r.screenY,r.clientX,r.clientY,false,false,false,false,0,null);n.forwardedTouchEvent=true;e.dispatchEvent(n)};FastClick.prototype.determineEventType=function(e){"use strict";if(deviceIsAndroid&&e.tagName.toLowerCase()==="select"){return"mousedown"}return"click"};FastClick.prototype.focus=function(e){"use strict";var t;if(deviceIsIOS&&e.setSelectionRange&&e.type.indexOf("date")!==0&&e.type!=="time"){t=e.value.length;e.setSelectionRange(t,t)}else{e.focus()}};FastClick.prototype.updateScrollParent=function(e){"use strict";var t,n;t=e.fastClickScrollParent;if(!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n;e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}if(t){t.fastClickLastScrollTop=t.scrollTop}};FastClick.prototype.getTargetElementFromEventTarget=function(e){"use strict";if(e.nodeType===Node.TEXT_NODE){return e.parentNode}return e};FastClick.prototype.onTouchStart=function(e){"use strict";var t,n,r;if(e.targetTouches.length>1){return true}t=this.getTargetElementFromEventTarget(e.target);n=e.targetTouches[0];if(deviceIsIOS){r=window.getSelection();if(r.rangeCount&&!r.isCollapsed){return true}if(!deviceIsIOS4){if(n.identifier===this.lastTouchIdentifier){e.preventDefault();return false}this.lastTouchIdentifier=n.identifier;this.updateScrollParent(t)}}this.trackingClick=true;this.trackingClickStart=e.timeStamp;this.targetElement=t;this.touchStartX=n.pageX;this.touchStartY=n.pageY;if(e.timeStamp-this.lastClickTime<this.tapDelay){e.preventDefault()}return true};FastClick.prototype.touchHasMoved=function(e){"use strict";var t=e.changedTouches[0],n=this.touchBoundary;if(Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n){return true}return false};FastClick.prototype.onTouchMove=function(e){"use strict";if(!this.trackingClick){return true}if(this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e)){this.trackingClick=false;this.targetElement=null}return true};FastClick.prototype.findControl=function(e){"use strict";if(e.control!==undefined){return e.control}if(e.htmlFor){return document.getElementById(e.htmlFor)}return e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};FastClick.prototype.onTouchEnd=function(e){"use strict";var t,n,r,i,s,o=this.targetElement;if(!this.trackingClick){return true}if(e.timeStamp-this.lastClickTime<this.tapDelay){this.cancelNextClick=true;return true}this.cancelNextClick=false;this.lastClickTime=e.timeStamp;n=this.trackingClickStart;this.trackingClick=false;this.trackingClickStart=0;if(deviceIsIOSWithBadTarget){s=e.changedTouches[0];o=document.elementFromPoint(s.pageX-window.pageXOffset,s.pageY-window.pageYOffset)||o;o.fastClickScrollParent=this.targetElement.fastClickScrollParent}r=o.tagName.toLowerCase();if(r==="label"){t=this.findControl(o);if(t){this.focus(o);if(deviceIsAndroid){return false}o=t}}else if(this.needsFocus(o)){if(e.timeStamp-n>100||deviceIsIOS&&window.top!==window&&r==="input"){this.targetElement=null;return false}this.focus(o);this.sendClick(o,e);if(!deviceIsIOS||r!=="select"){this.targetElement=null;e.preventDefault()}return false}if(deviceIsIOS&&!deviceIsIOS4){i=o.fastClickScrollParent;if(i&&i.fastClickLastScrollTop!==i.scrollTop){return true}}if(!this.needsClick(o)){e.preventDefault();this.sendClick(o,e)}return false};FastClick.prototype.onTouchCancel=function(){"use strict";this.trackingClick=false;this.targetElement=null};FastClick.prototype.onMouse=function(e){"use strict";if(!this.targetElement){return true}if(e.forwardedTouchEvent){return true}if(!e.cancelable){return true}if(!this.needsClick(this.targetElement)||this.cancelNextClick){if(e.stopImmediatePropagation){e.stopImmediatePropagation()}else{e.propagationStopped=true}e.stopPropagation();e.preventDefault();return false}return true};FastClick.prototype.onClick=function(e){"use strict";var t;if(this.trackingClick){this.targetElement=null;this.trackingClick=false;return true}if(e.target.type==="submit"&&e.detail===0){return true}t=this.onMouse(e);if(!t){this.targetElement=null}return t};FastClick.prototype.destroy=function(){"use strict";var e=this.layer;if(deviceIsAndroid){e.removeEventListener("mouseover",this.onMouse,true);e.removeEventListener("mousedown",this.onMouse,true);e.removeEventListener("mouseup",this.onMouse,true)}e.removeEventListener("click",this.onClick,true);e.removeEventListener("touchstart",this.onTouchStart,false);e.removeEventListener("touchmove",this.onTouchMove,false);e.removeEventListener("touchend",this.onTouchEnd,false);e.removeEventListener("touchcancel",this.onTouchCancel,false)};FastClick.notNeeded=function(e){"use strict";var t;var n;if(typeof window.ontouchstart==="undefined"){return true}n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1];if(n){if(deviceIsAndroid){t=document.querySelector("meta[name=viewport]");if(t){if(t.content.indexOf("user-scalable=no")!==-1){return true}if(n>31&&document.documentElement.scrollWidth<=window.outerWidth){return true}}}else{return true}}if(e.style.msTouchAction==="none"){return true}return false};FastClick.attach=function(e,t){"use strict";return new FastClick(e,t)};if(typeof define!=="undefined"&&define.amd){define(function(){"use strict";return FastClick})}else if(typeof module!=="undefined"&&module.exports){module.exports=FastClick.attach;module.exports.FastClick=FastClick}else{window.FastClick=FastClick}
@@ -1,4 +1,3 @@
1
- gem "edge_framework", "= 0.9.10" # Remove this line to use the latest EDGE, beware of incompatibility
2
1
  require "edge_framework"
3
2
 
4
3
  http_path = "/"
@@ -11,6 +10,4 @@ output_style = :nested
11
10
  # output_style = :expanded or :nested or :compact or :compressed
12
11
 
13
12
  relative_assets = true
14
-
15
- # To disable debugging comments that display the original location of your selectors. Uncomment:
16
- line_comments = false
13
+ line_comments = false
@@ -1,7 +1,4 @@
1
1
  User-agent: *
2
2
 
3
3
  Disallow: /cgi-bin/
4
- Disallow: /tmp/
5
- Disallow: /junk/
6
- Disallow: /backup/
7
- Disallow: /staging/
4
+ Disallow: /tmp/
@@ -2,39 +2,43 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width" />
5
+ <meta name="viewport" content="width=device-width">
6
+
7
+ <!-- WEBSITE DETAIL -->
6
8
  <title>My Website</title>
7
- <meta name="description" content="This is a description of your website" />
8
- <meta name="keywords" content="search, key, word," /> <!-- Comma-separated list for Search keyword -->
9
-
9
+ <meta name="description" content="This is a description of your website, only first 160 characters matters">
10
+
10
11
  <!-- FAVICON -->
11
- <link rel="icon" type="image/png" href="assets/img/favicon.png">
12
- <link rel="apple-touch-icon-precomposed" href="assets/img/favicon-big.png" />
12
+ <link rel="icon" href="assets/img/favicon.png">
13
+ <link rel="apple-touch-icon-precomposed" href="assets/img/favicon-big.png">
14
+
15
+ <!-- JAVASCRIPT that must load first -->
16
+ <script src="assets/js/vendor/custom.modernizr.js"></script>
13
17
 
14
- <!-- VENDOR -->
15
- <script type="text/javascript" src="assets/js/vendor/custom.modernizr.js"></script>
18
+ <!-- STYLESHEET -->
16
19
  <link rel="stylesheet" href="assets/css/framework.css">
17
-
18
- <!-- APP Specific -->
19
20
  <link rel="stylesheet" href="assets/css/app.css">
21
+
20
22
  </head>
21
23
  <body>
22
24
  <div id="main-wrapper">
23
25
 
24
- <!-- Content goes here -->
26
+ <!-- CONTENT HERE -->
25
27
 
26
- <aside id="footer-push"></aside>
28
+ <div id="footer-push"></div>
27
29
  </div>
28
30
  <footer class="main-footer"></footer>
29
31
 
30
- <!-- Google's Hosted JQuery -->
32
+ <!-- JAVASCRIPT LIBRARY -->
31
33
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
32
- <script type="text/javascript">
33
- // Use local jquery, if Google's one fails to load
34
- if (typeof jQuery == "undefined") {
35
- document.write(unescape("%3Cscript src='assets/js/vendor/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
34
+ <script>
35
+ // Fallback if Google's one doesn't load
36
+ if (!window.jQuery) {
37
+ document.write("<script src='assets/js/vendor/jquery.min.js'><\/script>");
36
38
  }
37
39
  </script>
38
- <script type="text/javascript" src="assets/js/app.js"></script>
40
+ <script src="assets/js/vendor/fastclick.min.js"></script>
41
+ <script src="assets/js/app.js"></script>
42
+
39
43
  </body>
40
44
  </html>
@@ -0,0 +1,17 @@
1
+ <div id="footer-push"></div>
2
+ </div>
3
+ <footer class="main-footer"></footer>
4
+
5
+ <!-- JAVASCRIPT LIBRARY -->
6
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
7
+ <script>
8
+ // Fallback if Google's one doesn't load
9
+ if (!window.jQuery) {
10
+ document.write("<script src='assets/js/vendor/jquery.min.js'><\/script>");
11
+ }
12
+ </script>
13
+ <script src="assets/js/vendor/fastclick.min.js"></script>
14
+ <script src="assets/js/app.js"></script>
15
+
16
+ </body>
17
+ </html>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width">
6
+
7
+ <!-- WEBSITE DETAIL -->
8
+ <title>My Website</title>
9
+ <meta name="description" content="This is a description of your website, only first 160 characters matters">
10
+
11
+ <!-- FAVICON -->
12
+ <link rel="icon" href="assets/img/favicon.png">
13
+ <link rel="apple-touch-icon-precomposed" href="assets/img/favicon-big.png">
14
+
15
+ <!-- JAVASCRIPT that must load first -->
16
+ <script src="assets/js/vendor/custom.modernizr.js"></script>
17
+
18
+ <!-- STYLESHEET -->
19
+ <link rel="stylesheet" href="assets/css/framework.css">
20
+ <link rel="stylesheet" href="assets/css/app.css">
21
+
22
+ </head>
23
+ <body>
24
+ <div id="main-wrapper">
@@ -1,12 +1,5 @@
1
- <?php include "partials/functions.php"; get("header"); ?>
1
+ <?php include "_header.php"; ?>
2
2
 
3
- <!-- First thing to do is to open partials/functions.php and change the $server_url value -->
3
+ <!-- Content here -->
4
4
 
5
- <div class="row">
6
- <div class="large-6 large-centered columns">
7
- <h1>Home page</h1>
8
- <a href="<?php echo root(); ?>sample-page" class="button">Go to next page</a>
9
- </div>
10
- </div>
11
-
12
- <?php get("footer"); ?>
5
+ <?php include "_footer.php"; ?>
@@ -3,16 +3,18 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width" />
6
+
7
+ <!-- WEBSITE DETAIL -->
6
8
  <title><%%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
7
- <meta name="description" content="This is a description of your website" />
8
- <meta name="keywords" content="search, key, word," /> <!-- Comma-separated list for Search keyword -->
9
+ <meta name="description" content="This is a description of your website">
10
+ <meta name="keywords" content="search, key, word,">
9
11
 
10
12
  <!-- FAVICON -->
11
13
  <link rel="icon" type="image/png" href="<%%= image_path "favicon.png" %>">
12
14
  <link rel="apple-touch-icon-precomposed" type="image/png" href="<%%= image_path "favicon-big.png" %>">
13
15
 
14
- <!-- CSS and JS -->
15
- <%%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
16
+ <!-- STYLESHEET and JAVASCRIPT -->
17
+ <%%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
16
18
  <%%= javascript_include_tag "application" %>
17
19
  <%%= csrf_meta_tags %>
18
20
  </head>
@@ -23,7 +25,7 @@
23
25
 
24
26
  <%%= yield %>
25
27
 
26
- <aside id="footer-push"></aside>
28
+ <div id="footer-push"></div>
27
29
  </div>
28
30
  <footer class="main-footer"></footer>
29
31
  </body>
@@ -1,8 +1,4 @@
1
- <?php
2
- /* ----------------------
3
- Error 404 Template
4
- ---------------------- */
5
- get_header(); ?>
1
+ <?php get_header(); ?>
6
2
 
7
3
  <p><small>404.php</small></p>
8
4