-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (92 loc) · 4.56 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en" data-ng-app="exampleApp">
<head class="ng-cloak">
<title>Fancy Input for AngularJS</title>
<meta name="description" content="AC Fancy Input: Fancy input for AngularJS, no jQuery">
<!-- Works with angularJS 1.2.9 -->
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/ac-fancy-input/dist/ac-fancy-input.js" type="text/javascript"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="example.js" type="text/javascript"></script>
<link href="example.css" media="all" rel="stylesheet">
<link href="css/bootstrap.min.css" media="all" rel="stylesheet">
<link href="css/layout.css" media="all" rel="stylesheet">
<link href="css/font-awesome.css" media="all" rel="stylesheet">
</head>
<body class="ng-cloak">
<header>
<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top">
<!--<div class="navbar-header">-->
<!--<a href="#" class="navbar-brand" title="AC Fancy Input">AC Fancy Input</a>-->
<!--</div>-->
<div id="navbar-list" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="https://github.com/AlexCppns/ac-fancy-input" title="Code on Github" class="fa fa-2x fa-github">
<span class="text">Code on Github</span>
</a></li>
<li><a href="https://twitter.com/share" title="Share on Twitter" class="fa fa-2x fa-twitter" data-lang="en">
<span class="text">Share on Twitter</span>
</a></li>
</ul>
<iframe class="nav-ghbtn" src="http://ghbtns.com/github-btn.html?user=AlexCppns&repo=ac-fancy-input&type=watch&count=true"
></iframe>
<iframe class="nav-ghbtn" src="http://ghbtns.com/github-btn.html?user=AlexCppns&repo=ac-fancy-input&type=fork&count=true"
></iframe>
</div>
</nav>
<div class="jumbotron">
<div class="container">
<h1>ac-fancy-input</h1>
<p>Enhanced search input with 'placeholder animation' and categorized suggestions for <strong><a href="http://angularjs.org">AngularJS</a></strong></p>
<p class="btn-group">
<a class="fa fa-github btn btn-default"
href="https://github.com/AlexCppns/ac-fancy-input" title="Code on Github">
Code on Github</a>
<a class="fa fa-download icon-white btn btn-primary"
href="https://github.com/AlexCppns/ac-fancy-input/archive/v1.0.2.zip"
title="Download 1.0.2">
Download Stable Version <small>(1.0.2)</small></a>
</p>
</div>
</div>
</header>
<tabset type="pills" class="container">
<tab>
<tab-heading><h2>Demo</h2></tab-heading>
<div style="min-height: 500px" ng-controller="AcExampleController">
<div class="main-search" ac-fancy-input="1" ac-animate="allowAnimation"></div>
<div class="input-suggestion-container" ac-fancy-input-suggestions="1" ac-suggestion-count="8" ac-view-more-action="myViewMoreAction">
<div acfi-content-template>
<div>{{content.string}} - </div>
<div>Color: {{content.color}}</div>
</div>
<div acfi-view-more-template>View More</div>
<div acfi-no-results-template>
<span>No results for "<span>{{ AcfiData.string }}</span>"</span>
</div>
</div>
</div>
<!--<div class="container" style="min-height: 500px" ng-controller="AcExampleControllerTwo">-->
<!--<div class="main-search" ac-fancy-input="2" ac-animate="allowAnimation"></div>-->
<!--<div class="input-suggestion-container" ac-fancy-input-suggestions="2" ac-suggestion-count="8" ac-view-more-action="myViewMoreAction">-->
<!--<div acfi-content-template>-->
<!--<div>{{content.string}} - </div>-->
<!--<div>Color: {{content.color}}</div>-->
<!--</div>-->
<!--<div acfi-view-more-template>View More</div>-->
<!--<div acfi-no-results-template>-->
<!--<span>No results for "<span>{{ AcfiData.string }}</span>"</span>-->
<!--</div>-->
<!--</div>-->
<!--</div>-->
</tab>
<tab>
<tab-heading><h2>Installation</h2></tab-heading>
<p class="first_p">This module can be simply installed with bower:</p>
<pre>bower install ac-fancy-input#1.0.2</pre>
<p>This page is still a work in progress. Please refer to the <a href="https://github.com/AlexCppns/ac-fancy-input">documentation on github</a> for now.</p>
</tab>
</tabset>
</body>
</html>