Skip to content

Instantly share code, notes, and snippets.

@wayneashleyberry
Last active December 21, 2015 00:28
Show Gist options
  • Save wayneashleyberry/6220137 to your computer and use it in GitHub Desktop.
Save wayneashleyberry/6220137 to your computer and use it in GitHub Desktop.
{ "alphabet" : [ { "title" : "A",
"url" : "?filter=a"
},
{ "title" : "B",
"url" : "?filter=b"
},
{ "title" : "C",
"url" : "?filter=c"
},
{ "title" : "D",
"url" : "?filter=d"
},
{ "title" : "E",
"url" : "?filter=e"
},
{ "title" : "F",
"url" : "?filter=f"
},
{ "title" : "G",
"url" : "?filter=g"
},
{ "title" : "H",
"url" : "?filter=h"
},
{ "title" : "I",
"url" : "?filter=i"
},
{ "title" : "J",
"url" : "?filter=j"
},
{ "title" : "K",
"url" : "?filter=k"
},
{ "title" : "L",
"url" : "?filter=l"
},
{ "title" : "M",
"url" : "?filter=m"
},
{ "title" : "N",
"url" : "?filter=n"
},
{ "title" : "O",
"url" : "?filter=o"
},
{ "title" : "P",
"url" : "?filter=p"
},
{ "title" : "Q",
"url" : "?filter=q"
},
{ "title" : "R",
"url" : "?filter=r"
},
{ "title" : "S",
"url" : "?filter=s"
},
{ "title" : "T",
"url" : "?filter=t"
},
{ "title" : "U",
"url" : "?filter=u"
},
{ "title" : "V",
"url" : "?filter=v"
},
{ "title" : "W",
"url" : "?filter=w"
},
{ "title" : "X",
"url" : "?filter=x"
},
{ "title" : "Y",
"url" : "?filter=y"
},
{ "title" : "Z",
"url" : "?filter=z"
}
],
"entity_types" : [ { "selected" : true,
"title" : "Companies",
"url" : "http://localhost/rollerdex"
},
{ "title" : "People",
"url" : "http://localhost/rollerdex/people"
},
{ "title" : "Places",
"url" : "http://localhost/rollerdex/places"
}
],
"navigation" : { "categories" : [ { "colour" : "blue",
"description" : null,
"id" : "6",
"image" : null,
"thumbnail" : null,
"title" : "Be a better Boss",
"url" : "http://localhost/categories/6/be-a-better-boss"
} ],
"general" : [ { "title" : "Search",
"url" : "http://localhost/search"
},
{ "title" : "Rollerdex",
"url" : "http://localhost/rollerdex"
},
{ "title" : "Contact",
"url" : "http://localhost/contact-us"
}
],
"series" : [ { "colour" : null,
"description" : "",
"id" : "6",
"image" : "http://localhost/uploads/3.jpeg",
"thumbnail" : "http://localhost/thumbnails/3/160.jpeg",
"title" : "Business Today",
"url" : "http://localhost/series/6/business-today"
} ]
},
"results" : { "entities" : [ { "colour" : null,
"description" : null,
"id" : "73",
"image" : null,
"thumbnail" : null,
"title" : "8ta",
"url" : "http://localhost/organisations/73/8ta"
},
{ "colour" : null,
"description" : null,
"id" : "74",
"image" : null,
"thumbnail" : null,
"title" : "Adcock Ingram",
"url" : "http://localhost/organisations/74/adcock-ingram"
},
{ "colour" : null,
"description" : null,
"id" : "75",
"image" : null,
"thumbnail" : null,
"title" : "Anglo Platinum",
"url" : "http://localhost/organisations/75/anglo-platinum"
},
{ "colour" : null,
"description" : null,
"id" : "76",
"image" : null,
"thumbnail" : null,
"title" : "Aspen Pharma",
"url" : "http://localhost/organisations/76/aspen-pharma"
},
{ "colour" : null,
"description" : null,
"id" : "77",
"image" : null,
"thumbnail" : null,
"title" : "Automobile Association of South Africa",
"url" : "http://localhost/organisations/77/automobile-association-of-south-africa"
},
{ "colour" : null,
"description" : null,
"id" : "78",
"image" : null,
"thumbnail" : null,
"title" : "Avusa",
"url" : "http://localhost/organisations/78/avusa"
},
{ "colour" : null,
"description" : null,
"id" : "79",
"image" : null,
"thumbnail" : null,
"title" : "Business Connexion Group",
"url" : "http://localhost/organisations/79/business-connexion-group"
},
{ "colour" : null,
"description" : null,
"id" : "80",
"image" : null,
"thumbnail" : null,
"title" : "CapeRay",
"url" : "http://localhost/organisations/80/caperay"
},
{ "colour" : null,
"description" : null,
"id" : "81",
"image" : null,
"thumbnail" : null,
"title" : "Capitec Bank",
"url" : "http://localhost/organisations/81/capitec-bank"
},
{ "colour" : null,
"description" : null,
"id" : "82",
"image" : null,
"thumbnail" : null,
"title" : "Cell C",
"url" : "http://localhost/organisations/82/cell-c"
},
{ "colour" : null,
"description" : null,
"id" : "83",
"image" : null,
"thumbnail" : null,
"title" : "Checkers",
"url" : "http://localhost/organisations/83/checkers"
},
{ "colour" : null,
"description" : null,
"id" : "84",
"image" : null,
"thumbnail" : null,
"title" : "Clover",
"url" : "http://localhost/organisations/84/clover"
},
{ "colour" : null,
"description" : null,
"id" : "85",
"image" : null,
"thumbnail" : null,
"title" : "DAV Professional Placement Group",
"url" : "http://localhost/organisations/85/dav-professional-placement-group"
},
{ "colour" : null,
"description" : null,
"id" : "86",
"image" : null,
"thumbnail" : null,
"title" : "De Beers",
"url" : "http://localhost/organisations/86/de-beers"
},
{ "colour" : null,
"description" : null,
"id" : "87",
"image" : null,
"thumbnail" : null,
"title" : "De Haan's Bus & Coach",
"url" : "http://localhost/organisations/87/de-haans-bus-coach"
},
{ "colour" : null,
"description" : null,
"id" : "88",
"image" : null,
"thumbnail" : null,
"title" : "e.tv",
"url" : "http://localhost/organisations/88/etv"
},
{ "colour" : null,
"description" : null,
"id" : "89",
"image" : null,
"thumbnail" : null,
"title" : "Eskom",
"url" : "http://localhost/organisations/89/eskom"
},
{ "colour" : null,
"description" : null,
"id" : "90",
"image" : null,
"thumbnail" : null,
"title" : "Exxaro",
"url" : "http://localhost/organisations/90/exxaro"
},
{ "colour" : null,
"description" : null,
"id" : "138",
"image" : null,
"thumbnail" : null,
"title" : "Facebook",
"url" : "http://localhost/organisations/138/facebook"
},
{ "colour" : null,
"description" : null,
"id" : "92",
"image" : null,
"thumbnail" : null,
"title" : "First National Bank",
"url" : "http://localhost/organisations/92/first-national-bank"
},
{ "colour" : null,
"description" : null,
"id" : "91",
"image" : null,
"thumbnail" : null,
"title" : "First Rand",
"url" : "http://localhost/organisations/91/first-rand"
},
{ "colour" : null,
"description" : null,
"id" : "93",
"image" : null,
"thumbnail" : null,
"title" : "Gallo Record Company",
"url" : "http://localhost/organisations/93/gallo-record-company"
},
{ "colour" : null,
"description" : null,
"id" : "94",
"image" : null,
"thumbnail" : null,
"title" : "Gateway Communications",
"url" : "http://localhost/organisations/94/gateway-communications"
},
{ "colour" : null,
"description" : null,
"id" : "95",
"image" : null,
"thumbnail" : null,
"title" : "Gijima AST Group Limited",
"url" : "http://localhost/organisations/95/gijima-ast-group-limited"
}
],
"title" : "Rollerdex Entries"
},
"search_form" : { "input_name" : "q",
"input_value" : null,
"method" : "GET"
}
}
<header role="banner" class="header-primary header-rollerdex" style="background-image:url('assets/images/content/content-article-01-1920x700.jpg');">
<div class="mask mask-black-dark">
<div class="wrapper-content">
<a href="/" class="logo"></a>
<div class="rollerdex">
<header class="header-rollerdex">
<h1 class="white">Rollerdex</h1>
</header>
<div class="rollerdex-categories border-tab border-tab-white">
<ol class="list-ordered list-horizontal list-rollerdex-categories list-rollerdex-categories-dark" data-action="toggle-list">
{{#entity_types}}
<li {{#selected}}class="selected"{{/selected}}><a href="{{url}}">{{title}}</a></li>
{{/entity_types}}
</ol>
</div>
<div class="rollerdex-form border-tab border-tab-white">
{{#search_form}}
<form id="form-rollerdex-search2" action="" method="{{method}}" class="form-rollerdex form-rollerdex-dark">
<button type="submit" class="button button-white"><i class="icon-search"></i></button>
<label for="rollerdex-search2">
<input id="rollerdex-search2" name="{{input_name}}" type="text" placeholder="Search&hellip;" value="{{input_value}}" maxlength="50" class="input-search input-search-dark" />
</label>
</form>
{{/search_form}}
</div>
<div class="rollerdex-alphabet">
<ol class="list-ordered list-rollerdex-alphabet list-rollerdex-alphabet-dark" data-action="toggle-list">
{{#alphabet}}
<li {{#selected}}class="selected"{{/selected}}><a {{#disabled}}disabled{{/disabled}} href="{{url}}">{{title}}</a></li>
{{/alphabet}}
</ol>
</div>
</div>
<a href="#" class="button button-menu" data-action="toggle-menu"><span class="hidden-phone">Menu</span> <i class="icon-caret-down"></i></a>
</div>
</div>
</header>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment