Skip to content

Commit

Permalink
Formatting, credits, TodoMVC mentions and further changes in prep for…
Browse files Browse the repository at this point in the history
… a release.
  • Loading branch information
addyosmani committed Apr 19, 2012
1 parent a4b2e0e commit 6e66c69
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 14 deletions.
15 changes: 15 additions & 0 deletions architecture-examples/batmanjs/css/todo.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,19 @@ body {

#tasks .count span {
font-weight: bold;
}

#credits {
width: 520px;
margin: 30px auto;
color:
#999;
text-shadow:
rgba(255, 255, 255, .8) 0 1px 0;
text-align: center;
}

#credits a {
color:
#888;
}
7 changes: 6 additions & 1 deletion architecture-examples/batmanjs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,16 @@ <h1>Todos</h1>
<div class="count"><span class="countVal" data-bind="Todo.remaining"></span> left</div>
</footer>
<!--
This version by https://github.com/johnknott/batman-todos-example
This version by
Currently missing todo edit.
-->
</div>
</div>

<div id="credits">
<p>Created by <a href="https://github.com/johnknott/batman-todos-example">John Knott</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</div>

<script type="text/coffeescript">
class Example extends Batman.App
Expand Down
7 changes: 5 additions & 2 deletions architecture-examples/broke/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h1>Todos</h1>
</footer>
</div>
</div>

<script src="libs/jquery-1.6.4.min.js"></script>
<script src="libs/gettext.min.js"></script>
<script src="libs/pyjammin.min.js"></script>
Expand All @@ -34,4 +34,7 @@ <h1>Todos</h1>
<script src="project/urls.js"></script>
<script src="project/templates.js"></script>
</body>
</html>
</html>



3 changes: 2 additions & 1 deletion architecture-examples/canjs/dojo-widget/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<div id="calendar"></div>
<script type='text/javascript' data-dojo-config="async: true" src='http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojo/dojo.js.uncompressed.js'></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/dojo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<script type='text/javascript' data-dojo-config="async: true" src='http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojo/dojo.js.uncompressed.js'></script>
<script src="todo.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/jquery-widget/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<div id="calendar"></div>
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/jquery/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/mootools/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.3/mootools.js"></script>
<script src="mootools-more-event_pseudos-1.4.0.1.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/yui-widget/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<div id="calendar"></div>
<script src="http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/yui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<script src="http://yui.yahooapis.com/3.4.1/build/yui/yui.js"></script>
<script src="http://donejs.com/can/dist/edge/can.yui.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion architecture-examples/canjs/zepto/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ <h1>Todos</h1>
Double-click to edit a todo.
</div>
<div id="credits">
Created by <a href="http://bitovi.com/">Bitovi</a>.
<p>Created by <a href="http://bitovi.com/">Bitovi</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<!--
Zepto 0.8 doesn't support delegate focus/blur.
Expand Down
1 change: 1 addition & 0 deletions architecture-examples/duel/www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p>
<p>Ported to <a href="http://duelengine.org">DUEL</a> by <a href="http://mck.me">Stephen McKamey</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>

This comment has been minimized.

Copy link
@mckamey

mckamey Apr 21, 2012

Contributor

Make sure to make this change in the source architecture-examples/duel/src/main/resources/views/HomePage.duel as index.html is just a generated file. It will be overwritten when maven is run again.

This comment has been minimized.

Copy link
@sindresorhus

sindresorhus Apr 21, 2012

Member

@mckamey Fixed, thanks :)

</footer>

<script src="./cdn/1de7392f10ea2465d68b839144090d158ba7730f.js"></script>
Expand Down
6 changes: 4 additions & 2 deletions architecture-examples/fidel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ <h1>Todos</h1>


<div id="credits">
Created by
<p>Created by
<br />
<a href="http://jga.me/">Greg Allen</a> (<a href="http://twitter.com/jgaui">jgaui</a>).
<a href="http://jga.me/">Greg Allen</a> (<a href="http://twitter.com/jgaui">jgaui</a>).</p>
<br />
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>

<!-- Templates -->
Expand Down
1 change: 1 addition & 0 deletions architecture-examples/stapes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h1>todos</h1>
<p>Double-click to edit a todo</p>
<!-- change this out with your name and url ↓ -->
<p>Created by <a href="http://github.com/hay/stapes/">Hay Kranen</a>.</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</footer>
<!-- scripts here -->
<script src="js/lib/jquery.js"></script>
Expand Down
1 change: 0 additions & 1 deletion site/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2078,7 +2078,6 @@ button.btn.small, input[type="submit"].btn.small {
margin-left: 0;
margin-bottom: 18px;
list-style: none;
width: 150px;
}
.nav > li > a {
display: block;
Expand Down
4 changes: 4 additions & 0 deletions site/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ h2 {
font-size: 11px;
}

.nav{
width: 150px !important;
}

@media (max-width: 480px) {
#demos ul {
float: none;
Expand Down

0 comments on commit 6e66c69

Please sign in to comment.