<commit_before>---
title: Dashboard - Street Support Admin
description: Street Support - Making it easier to help homeless people in Manchester
layout: default.hbs
permalink: false
jsBundle: dashboard
page: dashboard
nosubnav: true
---

<div class="block block--highlight admin-header">
  <div class="container block__inner">
    <header>
      <h1>Service Providers</h1>

      <a href="add-service-provider.html" class="btn btn--info">
        <span class="btn__text">Add Service Provider</span>
      </a>
      <div class="form__field-item form__field-item--full-width">
        <label for="filter" class="form__label">Filter by city:</label>
        <select class="form__input" name="filter" form__input--medium" data-bind="options: availableCities,
                          value: cityFilter,
                          optionsCaption: 'All',
                          event: { change: filter }"></select>
      </div>
    </header>
  </div>
</div>
<div class="block block--main-body">
  <div class="container block__inner">
    <div class="block__content">
      {{> form-feedback}}
      <section class="block__content" data-bind="template: { name: 'serviceProvider-template', foreach: serviceProviders }" class="stacked-list">
      </section>
      {{> loading-spinner}}
    </div>
  </div>
</div>

<script type="text/html" id="serviceProvider-template">
<article class="stacked-list__item stacked-list__item--service-providers">
  <header class="stacked-list__header">
    <h2 class="stacked-list__heading"><a data-bind="attr: { 'href': url, 'title': name }, html: name"></a></h2>
    <span data-bind="text: verifiedLabel, css: verifiedLabelClass"></span>
    <span data-bind="text: publishedLabel, css: publishedLabelClass"></span>
  </header>
  <button data-bind="click: $parent.toggleVerified" class="stacked-list__button btn btn--info">
    <span data-bind="text: toggleVerificationButtonLabel" class="btn__text btn__text--dashboard"></span>
  </button>
  <button data-bind="click: $parent.togglePublished" class="stacked-list__button btn btn--info">
    <span data-bind="text: togglePublishButtonLabel" class="btn__text btn__text--dashboard"></span>
  </button>
  <a data-bind="attr: { href: newUserUrl }" class="stacked-list__button btn btn--primary">
    <span class="btn__text btn__text--dashboard">New User</span>
  </a>
</article>
</script>
<commit_msg>fix markup<commit_after>---
title: Dashboard - Street Support Admin
description: Street Support - Making it easier to help homeless people in Manchester
layout: default.hbs
permalink: false
jsBundle: dashboard
page: dashboard
nosubnav: true
---

<div class="block block--highlight admin-header">
  <div class="container block__inner">
    <header>
      <h1>Service Providers</h1>

      <a href="add-service-provider.html" class="btn btn--info">
        <span class="btn__text">Add Service Provider</span>
      </a>
      <div class="form__field-item form__field-item--full-width">
        <label for="filter" class="form__label">Filter by city:</label>
        <select class="form__input form__input--medium" name="filter" data-bind="options: availableCities,
                          value: cityFilter,
                          optionsCaption: 'All',
                          event: { change: filter }"></select>
      </div>
    </header>
  </div>
</div>
<div class="block block--main-body">
  <div class="container block__inner">
    <div class="block__content">
      {{> form-feedback}}
      <section class="block__content" data-bind="template: { name: 'serviceProvider-template', foreach: serviceProviders }" class="stacked-list">
      </section>
      {{> loading-spinner}}
    </div>
  </div>
</div>

<script type="text/html" id="serviceProvider-template">
<article class="stacked-list__item stacked-list__item--service-providers">
  <header class="stacked-list__header">
    <h2 class="stacked-list__heading"><a data-bind="attr: { 'href': url, 'title': name }, html: name"></a></h2>
    <span data-bind="text: verifiedLabel, css: verifiedLabelClass"></span>
    <span data-bind="text: publishedLabel, css: publishedLabelClass"></span>
  </header>
  <button data-bind="click: $parent.toggleVerified" class="stacked-list__button btn btn--info">
    <span data-bind="text: toggleVerificationButtonLabel" class="btn__text btn__text--dashboard"></span>
  </button>
  <button data-bind="click: $parent.togglePublished" class="stacked-list__button btn btn--info">
    <span data-bind="text: togglePublishButtonLabel" class="btn__text btn__text--dashboard"></span>
  </button>
  <a data-bind="attr: { href: newUserUrl }" class="stacked-list__button btn btn--primary">
    <span class="btn__text btn__text--dashboard">New User</span>
  </a>
</article>
</script>

{'fraction_non_alphanumeric': 0.15788364249578415, 'fraction_numerical': 0.0016863406408094434, 'mean_word_length': 3.8418367346938775, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4085648', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1424, 'n_words': 323}