Skip to content

Commit

Permalink
Update with html5-boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
hinablue committed Sep 16, 2011
1 parent a48f7e0 commit 6421536
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions html5-deckjs.sh
Expand Up @@ -49,7 +49,7 @@ while read value
do
style=$(echo $value | grep 'style.css' | wc -l)
body=$(echo $value | grep 'id="container"' | wc -l)
main=$(echo $value | grep 'id="main"' | wc -l)
main=$(echo $value | grep 'role="main"' | wc -l)
script=$(echo $value | grep '<script defer src="js/script.js"></script>' | wc -l)
special=$(echo $value | grep "window.jQuery" | wc -l)
if [[ $style -ne 0 ]]
Expand All @@ -63,6 +63,7 @@ do
<!-- deck.js core/extensions stylesheets -->
<link rel="stylesheet" href="js/mylibs/deck.js/core/deck.core.css">
<link rel="stylesheet" href="js/mylibs/deck.js/extensions/goto/deck.goto.css">
<link rel="stylesheet" href="js/mylibs/deck.js/extensions/menu/deck.menu.css">
<link rel="stylesheet" href="js/mylibs/deck.js/extensions/navigation/deck.navigation.css">
<link rel="stylesheet" href="js/mylibs/deck.js/extensions/status/deck.status.css">
Expand All @@ -77,7 +78,7 @@ do
echo ' <div id="container" class="presentation">' >> $TMPFILE
elif [[ $main -ne 0 ]]
then
echo ' <div id="main" rols="main" class="deck-container">
echo ' <div role="main" class="deck-container">
<div class="slide" id="startup">
<h1>Ready to go.</h1>
</div>
Expand All @@ -94,6 +95,12 @@ do
<span class="deck-status-total"></span>
</p>
<form action="." method="get" class="goto-form">
<label for="goto-slide">Go to slide:</label>
<input type="number" name="slidenum" id="goto-slide">
<input type="submit" value="Go">
</form>
<a href="." title="Permalink to this slide" class="deck-permalink">#</a>
' >> $TMPFILE
elif [[ $script -ne 0 ]]
Expand Down

0 comments on commit 6421536

Please sign in to comment.