Skip to content

Instantly share code, notes, and snippets.

@victoriasr
Created August 23, 2017 12:35
Show Gist options
  • Save victoriasr/b5b3ee891d1546267670dd73e89af03f to your computer and use it in GitHub Desktop.
Save victoriasr/b5b3ee891d1546267670dd73e89af03f to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<script>
window.Laravel = <?php echo json_encode([
'csrfToken' => csrf_token(),
]); ?>
</script>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/css/socicon.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/iconsmind.css" rel="stylesheet" type="text/css" media="all" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="/css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/lightbox.min.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/flickity.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/stack-interface.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/jquery.steps.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/theme.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/font-awesome.min.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/theme-rcd.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/custom.css" rel="stylesheet" type="text/css" media="all" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans:200,300,400,400i,500,600,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700" rel="stylesheet" type="text/css">
<link href="/css/font-roboto.css" rel="stylesheet" type="text/css">
</head>
<body data-smooth-scroll-offset="77">
<div id="app">
<ais-index
app-id="-------"
api-key="---------"
index-name="------"
>
<div class="boxed boxed--lg bg--white text-left">
<div class="container">
<div class="row">
<ais-search-box>
<div class="input-group">`
<ais-input
placeholder="Search product by name or reference..."
:class-names="{
'ais-input': 'form-control'
}"
>
</ais-input>
</div><!-- /input-group -->
</ais-search-box>
<ais-stats></ais-stats>
<div class="container">
<ais-refinement-list attribute-name="Source_type" :type="radio">
</ais-refinement-list>
<ais-no-results>
</ais-no-results>
<ais-results>
<template scope="{ result }">
<div class="col-sm-6">
<div class="feature feature--featured feature-1 boxed boxed--border" style="font-size:large;">
<!-- Code de la maldie -->
<span class="label" style="background-color: #B8B2D9; color: #272727">@{{result.Code}}</span>
</br>
<!-- HightLight la recherche-->
<b><ais-highlight :result="result" attribute-name="Label"></ais-highlight></b>
</div>
</div>
</template>
</ais-results>
</div>
</div>
</ais-index>
</body>
</html>
<script src="{{ asset('js/app.js') }}"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment