Skip to content

Commit fc4d87b

Browse files
committed
working on index page
1 parent 960b831 commit fc4d87b

2 files changed

Lines changed: 27 additions & 7 deletions

File tree

docs/css/docs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ h3 code {
5555

5656
/* padding for in-page bookmarks and fixed navbar */
5757
section {
58-
padding-top: 0px;
58+
padding-top: 30px;
5959
}
6060
section > .page-header,
6161
section > .lead {

index.html

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<li class="dropdown">
6363
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Usage <b class="caret"></b></a>
6464
<ul class="dropdown-menu">
65-
<li><a href="#">From AngularJS</a></li>
65+
<li><a href="#angularjs-example">From AngularJS</a></li>
6666
<li><a href="#">From native JavaScript</a></li>
6767
<li><a href="#">From jQuery</a></li>
6868
</ul>
@@ -75,13 +75,12 @@
7575

7676
<div class="container">
7777
<section id="introduction">
78-
<h2>Introduction</h2>
79-
<p>Directives in AngularJS is a powerful way of building reusable UI components.
78+
<h1>Introduction</h1>
79+
<p>Directives in <a target="_new" href="http://angularjs.org">AngularJS</a> is a powerful way of building reusable <em>UI components</em>.
8080
This simple project will serve as a sample/reference implementation demonstrating its
81-
flexibilities by making it usable across runtime libraries (AngularJS, plain simple JavaScript & jQuery)</p>
81+
flexibilities by making it usable across runtime (AngularJS, plain simple JavaScript & jQuery)</p>
8282

8383
</section>
84-
8584
<section id="basic-example">
8685
<h3>Basic Example</h3>
8786
<div class="bs-docs-example">
@@ -113,13 +112,34 @@ <h3>Formatted timer</h3>
113112
</section>
114113

115114
<hr>
115+
<h2>Examples</h2>
116+
<section id="angularjs-example">
117+
<h3>Using timer directive from Angular</h3>
118+
<ul class="nav nav-tabs" id="myTab">
119+
<li class="active"><a data-toggle="tab" href="#angularjs-example-source">index.html</a></li>
120+
<li><a data-toggle="tab" href="#angularjs-example-demo">Demo</a></li>
121+
</ul>
122+
123+
<div class="tab-content">
124+
<div class="tab-pane active" id="angularjs-example-source">
125+
<pre class="prettyprint linenums">
126+
<code>
127+
&lt;a data-toggle="modal" href="remote.html" data-target="#modal"&gt;click me&lt;/a&gt;
128+
</code>
129+
</pre>
130+
</div>
131+
<div class="tab-pane" id="angularjs-example-demo">
132+
<h1>Demo</h1>
133+
</div>
134+
</div>
135+
</section>
136+
116137

117138
<footer>
118139
<p>&copy; Siddique Hameed 2013</p>
119140
</footer>
120141

121142
</div>
122-
</div>
123143

124144
<script src="docs/prettify.js"></script>
125145
<script src="docs/application.js"></script>

0 commit comments

Comments
 (0)