Skip to content

Commit

Permalink
Fixed wonky spinner on search page
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk committed Jan 11, 2019
1 parent d2a3461 commit 58ff458
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions _config.yml
Expand Up @@ -5,7 +5,9 @@
# - For an unmodifed config see _config_orig.yml
#
# Ben Coleman, Dec 2018
# Modified:
# Modified: Jan 2019 - Removed Algolia search `search false`
# Jan 2019 - Switched to Prism.js for synatx highlighting
# Set `highlighter: none` & `syntax_highlighter_opts.disable: true`
#

# Skin (note this is a modified & custom skin file)
Expand Down Expand Up @@ -36,7 +38,7 @@ atom_feed:
search : false
# search_full_content : true
# search_provider : algolia
# algolia:
# search:
# application_id : 7OH2BGCS3F # YOUR_APPLICATION_ID
# index_name : Azure_Citadel # YOUR_INDEX_NAME
# search_only_api_key : c7d0d56e6a342c7a26ae845c63cef275 # YOUR_SEARCH_ONLY_API_KEY
Expand Down
5 changes: 4 additions & 1 deletion _pages/search.html
Expand Up @@ -37,6 +37,9 @@
padding-right: 10px;
font-size: 30px;
}
.searchbox img {
align-self: center
}
.note {
float: right;
font-size: 12px;
Expand All @@ -46,7 +49,7 @@

<div class="searchbox">
<span>&#x1f50e</span> <input id="query" type="text" autocomplete="off" placeholder="What are you looking for?">
<img src="/images/site/ajax-loader.gif" id="spinner" width="50px" height="40px"/>
<img src="/images/site/ajax-loader.gif" id="spinner"/>
</div>

<div class="note">Powered by Azure Search</div>
Expand Down
2 changes: 1 addition & 1 deletion data-ai/azure-search-integration.md
Expand Up @@ -131,7 +131,7 @@ The pipeline runs on a schedule every 24 hours (and not not on repo pushes/commi
# Azure Search Configuration
Azure Search is a powerful search as a service capability available as PaaS within Azure. For this integration the set up was fairly simple, an Azure Search instance (i.e. account) was created on the Free tier using the Azure Portal. This was a one time task so was not automated.

As the Azure Portal experience for managing Azure Search is extremely basic & limited, [the REST API](https://docs.microsoft.com/en-us/rest/api/searchservice/) was used to setup and configure the service. [Postman](https://www.getpostman.com/) was used to provide a nice interface to work with the API.
As the Azure Portal experience for managing and fully configuring Azure Search is quite limited, [the REST API](https://docs.microsoft.com/en-us/rest/api/searchservice/) was used to setup and configure the service. [Postman](https://www.getpostman.com/) was used to provide a nice interface to work with the API.

To assist using the API with Postman, the following can be used:
- [💾 Postman Collection for Azure Search](./Azure Search.postman_collection.json){: .btn .btn--success}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -10,7 +10,7 @@
- label: "Get Started"
url: "/categories"
read_time: false
excerpt: A community driven site devoted to getting hands on & learning Azure.<br/>Find technical guides, labs, workshops and hacks across a range of topics
excerpt: A community driven site devoted to getting hands on & learning Azure.<br/>Explore technical guides, labs & workshops across a range of Azure topics
classes: wide
toc: false
hidden: true
Expand Down

0 comments on commit 58ff458

Please sign in to comment.