Browse Source

Merge pull request #405 from twbs/cleanup-dist

Clean up /dist
pull/417/head
Connor Sears 11 years ago
parent
commit
85f4782951
  1. 24
      Gruntfile.js
  2. 0
      dist/css/ratchet-theme-android.css
  3. 0
      dist/css/ratchet-theme-android.min.css
  4. 0
      dist/css/ratchet-theme-ios.css
  5. 0
      dist/css/ratchet-theme-ios.min.css
  6. 4
      dist/css/ratchet.css
  7. 2
      dist/css/ratchet.min.css
  8. 0
      dist/js/ratchet.js
  9. 0
      dist/js/ratchet.min.js
  10. BIN
      dist/touch-icons/apple-touch-icon-114x114.png
  11. BIN
      dist/touch-icons/apple-touch-icon-57x57.png
  12. BIN
      dist/touch-icons/apple-touch-icon-72x72.png
  13. 2
      docs/_includes/footer.html
  14. 2
      docs/_includes/header.html
  15. 0
      docs/dist/css/ratchet-theme-android.css
  16. 0
      docs/dist/css/ratchet-theme-android.min.css
  17. 0
      docs/dist/css/ratchet-theme-ios.css
  18. 0
      docs/dist/css/ratchet-theme-ios.min.css
  19. 0
      docs/dist/css/ratchet.css
  20. 0
      docs/dist/css/ratchet.min.css
  21. 0
      docs/dist/js/ratchet.js
  22. 0
      docs/dist/js/ratchet.min.js
  23. 74
      docs/dist/template.html
  24. BIN
      docs/dist/touch-icons/apple-touch-icon-114x114.png
  25. BIN
      docs/dist/touch-icons/apple-touch-icon-57x57.png
  26. BIN
      docs/dist/touch-icons/apple-touch-icon-72x72.png
  27. 6
      docs/examples/app-android-notes/index.html
  28. 6
      docs/examples/app-ios-mail/inbox.html
  29. 6
      docs/examples/app-ios-mail/index.html
  30. 4
      docs/examples/app-movies/choose-theater.html
  31. 4
      docs/examples/app-movies/index.html
  32. 2
      docs/one.html
  33. 12
      docs/template.html
  34. 2
      docs/two.html
  35. 10
      sass/ratchicons.scss

24
Gruntfile.js

@ -44,11 +44,11 @@ module.exports = function(grunt) {
'js/sliders.js',
'js/toggles.js'
],
dest: '<%= meta.distPath %><%= pkg.name %>.js'
dest: '<%= meta.distPath %>js/<%= pkg.name %>.js'
},
docs: {
src: '<%= meta.distPath %><%= pkg.name %>.js',
dest: '<%= meta.docsPath %><%= pkg.name %>.js'
src: '<%= meta.distPath %>js/<%= pkg.name %>.js',
dest: '<%= meta.docsPath %>js/<%= pkg.name %>.js'
}
},
@ -60,9 +60,9 @@ module.exports = function(grunt) {
},
dist: {
files: {
'<%= meta.distPath %><%= pkg.name %>.css': 'sass/ratchet.scss',
'<%= meta.distPath %><%= pkg.name %>-theme-ios.css': 'sass/theme-ios.scss',
'<%= meta.distPath %><%= pkg.name %>-theme-android.css': 'sass/theme-android.scss',
'<%= meta.distPath %>css/<%= pkg.name %>.css': 'sass/ratchet.scss',
'<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.css': 'sass/theme-ios.scss',
'<%= meta.distPath %>css/<%= pkg.name %>-theme-android.css': 'sass/theme-android.scss',
'<%= meta.docsAssetsPath %>css/docs.css': 'sass/docs.scss'
}
}
@ -92,13 +92,13 @@ module.exports = function(grunt) {
report: 'min'
},
ratchet: {
src: '<%= meta.distPath %><%= pkg.name %>.css',
dest: '<%= meta.distPath %><%= pkg.name %>.min.css'
src: '<%= meta.distPath %>css/<%= pkg.name %>.css',
dest: '<%= meta.distPath %>css/<%= pkg.name %>.min.css'
},
theme: {
files: {
'<%= meta.distPath %><%= pkg.name %>-theme-ios.min.css': '<%= meta.distPath %><%= pkg.name %>-theme-ios.css',
'<%= meta.distPath %><%= pkg.name %>-theme-android.min.css' : '<%= meta.distPath %><%= pkg.name %>-theme-android.css'
'<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.min.css': '<%= meta.distPath %>css/<%= pkg.name %>-theme-ios.css',
'<%= meta.distPath %>css/<%= pkg.name %>-theme-android.min.css' : '<%= meta.distPath %>css/<%= pkg.name %>-theme-android.css'
}
},
docs: {
@ -119,8 +119,8 @@ module.exports = function(grunt) {
report: 'min'
},
ratchet: {
src: '<%= meta.distPath %><%= pkg.name %>.js',
dest: '<%= meta.distPath %><%= pkg.name %>.min.js'
src: '<%= meta.distPath %>js/<%= pkg.name %>.js',
dest: '<%= meta.distPath %>js/<%= pkg.name %>.min.js'
},
docs: {
src: [

0
dist/ratchet-theme-android.css → dist/css/ratchet-theme-android.css vendored

0
dist/ratchet-theme-android.min.css → dist/css/ratchet-theme-android.min.css vendored

0
dist/ratchet-theme-ios.css → dist/css/ratchet-theme-ios.css vendored

0
dist/ratchet-theme-ios.min.css → dist/css/ratchet-theme-ios.min.css vendored

4
docs/dist/ratchet.css → dist/css/ratchet.css vendored

@ -1250,8 +1250,8 @@ select {
@font-face {
font-family: Ratchicons;
src: url("fonts/ratchicons.eot");
src: url("fonts/ratchicons.eot?#iefix") format("embedded-opentype"), url("fonts/ratchicons.woff") format("woff"), url("fonts/ratchicons.ttf") format("truetype"), url("fonts/ratchicons.svg#svgFontName") format("svg");
src: url("../fonts/ratchicons.eot");
src: url("../fonts/ratchicons.eot?#iefix") format("embedded-opentype"), url("../fonts/ratchicons.woff") format("woff"), url("../fonts/ratchicons.ttf") format("truetype"), url("../fonts/ratchicons.svg#svgFontName") format("svg");
font-weight: normal;
font-style: normal;
}

2
docs/dist/ratchet.min.css → dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

0
dist/ratchet.js → dist/js/ratchet.js vendored

0
dist/ratchet.min.js → dist/js/ratchet.min.js vendored

BIN
dist/touch-icons/apple-touch-icon-114x114.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
dist/touch-icons/apple-touch-icon-57x57.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

BIN
dist/touch-icons/apple-touch-icon-72x72.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

2
docs/_includes/footer.html

@ -41,5 +41,5 @@
</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="/dist/ratchet.min.js"></script>
<script src="/dist/js/ratchet.min.js"></script>
<script src="/assets/js/docs.min.js"></script>

2
docs/_includes/header.html

@ -11,7 +11,7 @@
<!-- Google Web Fonts -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,500,700|Open+Sans:300">
<link rel="stylesheet" href="/dist/ratchet.min.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<link rel="stylesheet" href="/assets/css/docs.min.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

0
docs/dist/ratchet-theme-android.css → docs/dist/css/ratchet-theme-android.css vendored

0
docs/dist/ratchet-theme-android.min.css → docs/dist/css/ratchet-theme-android.min.css vendored

0
docs/dist/ratchet-theme-ios.css → docs/dist/css/ratchet-theme-ios.css vendored

0
docs/dist/ratchet-theme-ios.min.css → docs/dist/css/ratchet-theme-ios.min.css vendored

0
dist/ratchet.css → docs/dist/css/ratchet.css vendored

0
dist/ratchet.min.css → docs/dist/css/ratchet.min.css vendored

0
docs/dist/ratchet.js → docs/dist/js/ratchet.js vendored

0
docs/dist/ratchet.min.js → docs/dist/js/ratchet.min.js vendored

74
docs/dist/template.html vendored

@ -1,74 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ratchet template page</title>
<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Makes your prototype chrome-less once bookmarked to your phone's home screen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Set a shorter title for iOS6 devices when saved to home screen -->
<meta name="apple-mobile-web-app-title" content="Ratchet">
<!-- Set Apple icons for when prototype is saved to home screen -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="touch-icons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="touch-icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="touch-icons/apple-touch-icon-57x57.png">
<!-- Include the compiled Ratchet CSS -->
<link rel="stylesheet" href="ratchet.css">
<!-- Include the compiled Ratchet JS -->
<script src="ratchet.js"></script>
<!-- Intro paragraph styles. Delete once you start using this page -->
<style>
.welcome {
line-height: 1.5;
color: #555;
}
</style>
</head>
<body>
<!-- Make sure all your bars are the first things in your <body> -->
<header class="bar bar-nav">
<h1 class="title">Ratchet</h1>
</header>
<!-- Wrap all non-bar HTML in the .content div (this is actually what scrolls) -->
<div class="content">
<p class="welcome">Thanks for downloading Ratchet. This is an example HTML page that's linked up to compiled Ratchet CSS and JS, has the proper meta tags and the HTML structure. Need some more help before you start filling this with your own content? Check out some Ratchet resources:</p>
<div class="card">
<ul class="table-view">
<li class="table-view-cell">
<a class="navigate-right" href="http://goratchet.com">
<strong>Ratchet documentation</strong>
</a>
</li>
<li class="table-view-cell">
<a class="navigate-right" href="https://github.com/twbs/ratchet/">
<strong>Ratchet on Github</strong>
</a>
</li>
<li class="table-view-cell">
<a class="navigate-right" href="https://groups.google.com/forum/#!forum/goratchet">
<strong>Ratchet Google group</strong>
</a>
</li>
<li class="table-view-cell">
<a class="navigate-right" href="https://www.twitter.com/GoRatchet">
<strong>Ratchet on Twitter</strong>
</a>
</li>
</ul>
</div>
</div>
</body>
</html>

BIN
docs/dist/touch-icons/apple-touch-icon-114x114.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
docs/dist/touch-icons/apple-touch-icon-57x57.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

BIN
docs/dist/touch-icons/apple-touch-icon-72x72.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

6
docs/examples/app-android-notes/index.html

@ -10,10 +10,10 @@
<!-- Roboto -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,500,700">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-android.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet-theme-android.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

6
docs/examples/app-ios-mail/inbox.html

@ -7,10 +7,10 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

6
docs/examples/app-ios-mail/index.html

@ -7,10 +7,10 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

4
docs/examples/app-movies/choose-theater.html

@ -7,9 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

4
docs/examples/app-movies/index.html

@ -7,9 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/css/ratchet.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.min.js"></script>
<script src="../../dist/js/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

2
docs/one.html

@ -9,7 +9,7 @@
<link rel="shortcut icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="/dist/ratchet.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><![endif]-->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/img/apple-touch-icon-114x114.png">
</head>

12
dist/template.html → docs/template.html

@ -14,16 +14,8 @@
<!-- Set a shorter title for iOS6 devices when saved to home screen -->
<meta name="apple-mobile-web-app-title" content="Ratchet">
<!-- Set Apple icons for when prototype is saved to home screen -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="touch-icons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="touch-icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="touch-icons/apple-touch-icon-57x57.png">
<!-- Include the compiled Ratchet CSS -->
<link rel="stylesheet" href="ratchet.css">
<!-- Include the compiled Ratchet JS -->
<script src="ratchet.js"></script>
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<!-- Intro paragraph styles. Delete once you start using this page -->
<style>
@ -70,5 +62,7 @@
</div>
</div>
<!-- Include the compiled Ratchet JS -->
<script src="/dist/js/ratchet.min.js"></script>
</body>
</html>

2
docs/two.html

@ -9,7 +9,7 @@
<link rel="shortcut icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="/dist/ratchet.css">
<link rel="stylesheet" href="/dist/css/ratchet.min.css">
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><![endif]-->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/img/apple-touch-icon-114x114.png">
</head>

10
sass/ratchicons.scss

@ -4,11 +4,11 @@
@font-face {
font-family: Ratchicons;
src: url("fonts/ratchicons.eot");
src: url("fonts/ratchicons.eot?#iefix") format("embedded-opentype"),
url("fonts/ratchicons.woff") format("woff"),
url("fonts/ratchicons.ttf") format("truetype"),
url("fonts/ratchicons.svg#svgFontName") format("svg");
src: url("../fonts/ratchicons.eot");
src: url("../fonts/ratchicons.eot?#iefix") format("embedded-opentype"),
url("../fonts/ratchicons.woff") format("woff"),
url("../fonts/ratchicons.ttf") format("truetype"),
url("../fonts/ratchicons.svg#svgFontName") format("svg");
font-weight: normal;
font-style: normal;
}

Loading…
Cancel
Save