Skip to content

Commit ebcf966

Browse files
author
Roman Sanchez
committed
Initial commit
1 parent 9178117 commit ebcf966

23 files changed

Lines changed: 131646 additions & 2 deletions

README.md

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,58 @@
11
Calaca
2-
======
2+
=========
33

4-
Simple search client for ElasticSearch
4+
Calaca is a simple, easy to use search client for ElasticSearch. It's made for you if all you need to do is quick searches for your documents and don't need anything fancy or hard to setup, use.
5+
- Quick and easy search
6+
- Looks good
7+
- Minimum configs required
8+
9+
Dependencies
10+
----
11+
- angular.js
12+
- elasticsearch.angular.js
13+
14+
Get Started
15+
----
16+
In **calaca.js** change the configs to match your ElasticSearch cluster.
17+
```js
18+
/* Configs */
19+
var indexName = "name";
20+
var docType = "type";
21+
var maxResultsSize = 10;
22+
var host = "localhost";
23+
var port = "9200";
24+
```
25+
26+
Styling
27+
----
28+
You can easily change the look and feel of Calaca by implementing the below CSS classes.
29+
```css
30+
.title
31+
.searchBox
32+
.no-results
33+
.results
34+
.result
35+
```
36+
37+
38+
Version
39+
----
40+
41+
1.0.0
42+
43+
Author
44+
----
45+
Roman Sanchez
46+
47+
[romansanchez.me]
48+
49+
[@rooomansanchez]
50+
51+
52+
License
53+
----
54+
55+
MIT
56+
57+
[romansanchez.me]:http://romansanchez.me
58+
[@rooomansanchez]:http://twitter.com/rooomansanchez
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "angular",
3+
"version": "1.2.18",
4+
"main": "./angular.js",
5+
"dependencies": {},
6+
"homepage": "https://github.com/angular/bower-angular",
7+
"_release": "1.2.18",
8+
"_resolution": {
9+
"type": "version",
10+
"tag": "v1.2.18",
11+
"commit": "0ca814f33e56902d1500e4d5a6742d09f089b3af"
12+
},
13+
"_source": "git://github.com/angular/bower-angular.git",
14+
"_target": "~1.2.18",
15+
"_originalSource": "angular",
16+
"_direct": true
17+
}

bower_components/angular/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# bower-angular
2+
3+
This repo is for distribution on `bower`. The source for this module is in the
4+
[main AngularJS repo](https://github.com/angular/angular.js).
5+
Please file issues and pull requests against that repo.
6+
7+
## Install
8+
9+
Install with `bower`:
10+
11+
```shell
12+
bower install angular
13+
```
14+
15+
Add a `<script>` to your `index.html`:
16+
17+
```html
18+
<script src="/bower_components/angular/angular.js"></script>
19+
```
20+
21+
## Documentation
22+
23+
Documentation is available on the
24+
[AngularJS docs site](http://docs.angularjs.org/).
25+
26+
## License
27+
28+
The MIT License
29+
30+
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
31+
32+
Permission is hereby granted, free of charge, to any person obtaining a copy
33+
of this software and associated documentation files (the "Software"), to deal
34+
in the Software without restriction, including without limitation the rights
35+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36+
copies of the Software, and to permit persons to whom the Software is
37+
furnished to do so, subject to the following conditions:
38+
39+
The above copyright notice and this permission notice shall be included in
40+
all copies or substantial portions of the Software.
41+
42+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48+
THE SOFTWARE.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* Include this file in your html if you are using the CSP mode. */
2+
3+
@charset "UTF-8";
4+
5+
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],
6+
.ng-cloak, .x-ng-cloak,
7+
.ng-hide {
8+
display: none !important;
9+
}
10+
11+
ng\:form {
12+
display: block;
13+
}
14+
15+
.ng-animate-block-transitions {
16+
transition:0s all!important;
17+
-webkit-transition:0s all!important;
18+
}
19+
20+
/* show the element during a show/hide animation when the
21+
* animation is ongoing, but the .ng-hide class is active */
22+
.ng-hide-add-active, .ng-hide-remove {
23+
display: block!important;
24+
}

0 commit comments

Comments
 (0)