-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring: a same attribute name can't be in different types of a s…
…ame index for elasticsearch... Therefore we need to create a specific index for each template.
- Loading branch information
1 parent
f917ed4
commit 2388197
Showing
4 changed files
with
201 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<html data-config='{"URL":"{{abeUrl}}","EXTENSION":"{{@root.config.files.templates.extension}}","TPLPATH":"{{@root.json.abe_meta.template}}","TPLNAME":"{{tplName}}","FILEPATH":"{{@root.json.abe_meta.link}}"}' | ||
data-slugs='{{{printJson @root.slugs}}}' | ||
data-json='{{{printJson json 1}}}' | ||
data-Locales='{{{printJson Locales}}}' > | ||
<head> | ||
<title></title> | ||
<link rel="stylesheet" href="/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/css/styles.css"> | ||
<script type="text/javascript" src="/libs/jquery-2.1.0.min.js"></script> | ||
<script type="text/javascript" src="/libs/bootstrap.min.js"></script> | ||
</head> | ||
<body> | ||
|
||
<div class="row col-xs-offset-1 col-xs-10"> | ||
<ol class="breadcrumb"> | ||
<li><a href="/abe/">Home</a></li> | ||
<li><a href="/abe/plugin/abe-elasticsearch/bulk" class="active">Elasticsearch admin</a></li> | ||
</ol> | ||
<title>Abe</title> | ||
{{abeImport 'common-styles' manager.config this}} | ||
</head> | ||
<body class="with-menu engine-open"> | ||
{{abeImport 'header-menu' manager.config this}} | ||
<div class="container-main"> | ||
<div class="container-table"> | ||
<div> | ||
<div class="no-gutter manager-wrapper visible"> | ||
<div class="manager-left form-wrapper"> | ||
{{abeImport 'main-menu' manager.config this}} | ||
</div> | ||
|
||
<div class="alert alert-danger hidden" role="alert"> | ||
|
||
</div> | ||
|
||
<div class="form-group"> | ||
<button onclick="location.href='?reindex=true'" class="btn btn-default">Index your blog with Elasticsearch</button> | ||
</div> | ||
{{#if nbIndexed}} | ||
<br/> | ||
<div>{{nbIndexed}} documents have been indexed in Elasticsearch</div> | ||
<br/> | ||
{{/if}} | ||
<div class="manager-right tab"> | ||
|
||
<br /><br /> | ||
</div> | ||
</body> | ||
<div class="manager-tab structure-folders"> | ||
<div class="text-uppercase"> | ||
Elastic Search Console | ||
</div> | ||
<div class="manager-tab-content"> | ||
<div class="form-group"> | ||
<button onclick="location.href='?reindex=true'" class="btn btn-default">Index your blog with Elasticsearch</button> | ||
</div> | ||
{{#if nbIndexed}} | ||
<br/> | ||
<div>{{nbIndexed}} documents have been indexed in Elasticsearch</div> | ||
<br/> | ||
{{/if}} | ||
{{#if error}} | ||
<h1> {{error}} </h1> | ||
{{/if}} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{abeImport 'common-scripts' manager.config this}} | ||
<script type="text/javascript" src="/abecms/scripts/admin-compiled.js"></script> | ||
<script type="text/javascript" src="/abecms/scripts/template-engine-compiled.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters