<commit_before><ion-navbar *navbar>
  <ion-title>Local Storage</ion-title>
</ion-navbar>

<ion-content class="local-storage-demo outer-content">

  <ion-list no-margin>
    <ion-list-header>Add to Local Storage</ion-list-header>

    <ion-item>
      <ion-label>Key</ion-label>
      <ion-input type="text" placeholder="Enter a key" [(ngModel)]="myItem.key"></ion-input>
    </ion-item>

    <ion-item>
      <ion-label>Value</ion-label>
      <ion-input type="text" placeholder="Enter a Value" [(ngModel)]="myItem.value"></ion-input>
    </ion-item>

  </ion-list>

  <div padding>
    <button block secondary (click)="set()">
      <ion-icon name="add"></ion-icon>
      Add
    </button>
  </div>

  <ion-list no-margin>
    <ion-list-header>Delete from Local Storage</ion-list-header>

    <ion-item>
      <ion-label>Key</ion-label>
      <ion-input type="text" placeholder="Enter a Key" [(ngModel)]="delKey"></ion-input>
    </ion-item>
  </ion-list>

  <div padding>
    <button block danger (click)="remove()">
      <ion-icon name="remove"></ion-icon>
      Delete
    </button>
  </div>

  <div padding>
    <h2>Local Storage:</h2>
    <pre>local: {{ localStorageDemo }}</pre>
  </div>
</ion-content>

<style>
  .local-storage-demo pre {
    background: #f8f8f8;
  }
</style><commit_msg>docs(demos): prettifying some more local-storage<commit_after><ion-navbar *navbar>
  <ion-title>Local Storage</ion-title>
</ion-navbar>

<ion-content class="local-storage-demo outer-content">

  <ion-list no-margin>
    <ion-list-header>Add to Local Storage</ion-list-header>

    <ion-item>
      <ion-label>Key</ion-label>
      <ion-input type="text" placeholder="Enter a key" [(ngModel)]="myItem.key"></ion-input>
    </ion-item>

    <ion-item>
      <ion-label>Value</ion-label>
      <ion-input type="text" placeholder="Enter a Value" [(ngModel)]="myItem.value"></ion-input>
    </ion-item>

  </ion-list>

  <div padding>
    <button block secondary (click)="set()">
      <ion-icon name="add"></ion-icon>
      Add
    </button>
  </div>

  <ion-list no-margin>
    <ion-list-header>Delete from Local Storage</ion-list-header>

    <ion-item>
      <ion-label>Key</ion-label>
      <ion-input type="text" placeholder="Enter a Key" [(ngModel)]="delKey"></ion-input>
    </ion-item>
  </ion-list>

  <div padding>
    <button block danger (click)="remove()">
      <ion-icon name="remove"></ion-icon>
      Delete
    </button>
  </div>

  <div padding>
    <h5>Local Storage:</h5>
    <pre>local: {{ localStorageDemo }}</pre>
  </div>
</ion-content>

<style>

</style>
{'fraction_non_alphanumeric': 0.19821220365332298, 'fraction_numerical': 0.0027205596579867857, 'mean_word_length': 3.0727848101265822, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '2619448', 'n_tokens_mistral': 948, 'n_tokens_neox': 911, 'n_words': 171}