Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
correct some minor typos
  • Loading branch information
grantm committed Aug 16, 2012
1 parent 39254b7 commit 357e1dc
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README
Expand Up @@ -10,7 +10,7 @@ TODO when you start a new application:



TODO when updating Tweeter's bootstreap:
TODO when updating Tweeter's bootstrap:
Quickest way:
$ cd /path/to/your/dancer/project
$ ./bin/update_bootstrap
Expand Down
2 changes: 1 addition & 1 deletion views/examples/error_handling.tt
Expand Up @@ -17,7 +17,7 @@ This page demonstrates Dancer's stack-trace error handling in development mode.
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Dancer's Error Handling</h1>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/example_stub.tt
Expand Up @@ -24,7 +24,7 @@ To use it:
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>TODO: Set title of this examples</h1>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/markdown.tt
Expand Up @@ -13,7 +13,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Markdown plugin</h1>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/navbar_login.tt
Expand Up @@ -28,7 +28,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Examples<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Login Form and Navigation Bar Dropdown Menu</h1>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions views/examples/photo_carousel.tt
Expand Up @@ -12,7 +12,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Photo Gallery - Carousel</h1>
</div>
</div>
Expand All @@ -36,7 +36,7 @@
<a href="[% request.uri_for("/show_file",file => "photo_carousel.tt", example => "photo carousel", url => request.uri_for("/photo_carousel") ) %]">
<code>./views/examples/photo_carousel.tt</code> <i class="icon-eye-open"></i> </a>.
</li>
<li>The photos to display are degined in the <code>@photos</code> variable in the Dancer module.</li>
<li>The photos to display are defined in the <code>@photos</code> variable in the Dancer module.</li>
</ul>

</div>
Expand Down Expand Up @@ -74,3 +74,4 @@
<a class="right carousel-control" href="#dancing_carousel" data-slide="next">&rsaquo;</a>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion views/examples/photo_grid.tt
Expand Up @@ -12,7 +12,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Photo Gallery - Grid</h1>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/show_file.tt
Expand Up @@ -13,7 +13,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Source code for [% filename | html%]</h1>
Part of the <a href="[% back_url | url %]">[% example | html %]</a> example. <br/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/simple_form_entry.tt
Expand Up @@ -13,7 +13,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Simple HTML Form</h1>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions views/examples/simple_form_results.tt
Expand Up @@ -13,8 +13,8 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h1>Simple HTML Form (after submittion)</h1>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Simple HTML Form (after submission)</h1>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/tabs.tt
Expand Up @@ -13,7 +13,7 @@
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Dancer + Bootstrap Exapmles<//h2>
<h2>Dancer + Bootstrap Examples</h2>
<h1>Tabs (with dynamic content)</h1>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/examples/template_plugins.tt
Expand Up @@ -23,7 +23,7 @@ the installation of those plugins to run the basic Dancer/Bootstrap website.
<div class="page-header">
<div class="row">
<div class="span12">
<h2>Template::Toolkit<//h2>
<h2>Template::Toolkit</h2>
<h1>Template Plugin Examples</h1>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions views/index.tt
Expand Up @@ -28,7 +28,7 @@
<div class="span4">
<h2><i class="icon-twitter-sign icon-large"></i> Twitter Bootstrap</h2>
<p>
Twitter's <a target="_blank" href="http://twitter.github.com/bootstrap/index.html">bootstrap</a> is a simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.
Twitter's <a target="_blank" href="http://twitter.github.com/bootstrap/index.html">bootstrap</a> is simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions.
</p>
<p>
This <b>Dancer</b> template is pre-configured to use bootstrap, and contains a script to easily upgrade to the latest bootstrap version.
Expand All @@ -46,12 +46,12 @@
</div>

<div class="span4">
<h2><i class="icon-cogs icon-large"></i> JQuery-1.7.2</h2>
<h2><i class="icon-cogs icon-large"></i> jQuery-1.7.2</h2>
<p>
<a target="_blank" href="http://jquery.com/">jQuery</a> is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development.
</p>
<p>
Dancer always used JQuery by default, so there's nothing really new here, except upgrading to 1.7.2 (and not using CDN).
Dancer always used jQuery by default, so there's nothing really new here, except upgrading to 1.7.2 (and not using CDN).
</p>
</div>
</div>
Expand All @@ -66,7 +66,7 @@
Dancer always worked with Template::Toolkit, so there's nothing really new here, except:
<ul>
<li>Dancer's default template was <a href="https://metacpan.org/module/Template::Simple" target="_blank">Template::Simple</a>, and in this template it's changed to the more powerful Template::Toolkit.</li>
<li>Dancer's default tags were <span class="label">&lt;%</span> and <span class="label">%&gt;</span>,<br/>and in this template there are changed to <span class="label">[&#37;</span> and <span class="label">&#37;]</span>,
<li>Dancer's default tags were <span class="label">&lt;%</span> and <span class="label">%&gt;</span>,<br/>and in this template there are changed to <span class="label">[&#37;</span> and <span class="label">&#37;]</span>.</li>
</ul>

</p>
Expand All @@ -83,7 +83,7 @@

<div class="span4">
<h2><i class="icon-gift icon-large"></i> Working Examples</h2>
Don't re-invernt the wheel! Here are ready-to-use examples, just copy,paste,adapt to code &amp; templates to your needs:
Don't re-invent the wheel! Here are ready-to-use examples, just copy, paste &amp; adapt the code &amp; templates to your needs:
<ul>
<li><a href="[% request.uri_for("/simple_form")%]">Simple &lt;FORM&gt; processing</a></li>
<li><a href="[% request.uri_for("/navbar_login")%]">Login Form and NavBar Dropdown Menu</a></li>
Expand Down Expand Up @@ -118,7 +118,7 @@
<li><a href="https://github.com/agordon/dancer_bootstrap_fontawesome_template/zipball/master">Download</a> the latest template files</li>
<li>Extract the files</li>
<li>run <code>update_bootstrap</code> and <code>update_fontawesome</code> to download the latest versions</li>
<li>run <code>update_app_name</code> to set your application name (instead of the hardcoded <b>dancer_bootstrap_fontawesome_template</b>.</li>
<li>run <code>update_app_name</code> to set your application name (instead of the hardcoded <b>dancer_bootstrap_fontawesome_template</b>).</li>
<li>run <code>./bin/app.pl</code> (in the usual Dancer way)</li>
</ol>

Expand Down Expand Up @@ -152,7 +152,7 @@ $ ./bin/app.pl
<li>Add Javascript code to be loaded when the document is ready: see <code>&lt;dancer_directory&gt;/views/layout/main.tt</code> (the <code>&lt;javascript&gt;</code> at the bottom).</li>
<li>Update bootstrap: run <code>&lt;dancer_directory&gt;/bin/update_bootstrap</code></li>
<li>Update Font-Awesome: run <code>&lt;dancer_directory&gt;/bin/update_fontawesome</code></li>
<li>Update JQuery: You'll have to do it manually. See the <a href="https://github.com/agordon/dancer_bootstrap_fontawesome_template/blob/master/README" target="_blank">README</a> file.</li>
<li>Update jQuery: You'll have to do it manually. See the <a href="https://github.com/agordon/dancer_bootstrap_fontawesome_template/blob/master/README" target="_blank">README</a> file.</li>
</ul>

</div>
Expand Down

0 comments on commit 357e1dc

Please sign in to comment.