<commit_before>extends layout

block content
  h1= title
  p Welcome to #{title}<commit_msg>update the index.html to index.jade<commit_after>doctype html
html(lang='en' ng-app='setApp')
  head
    title SET
    meta(charset='utf-8')
    meta(name='viewport' content='width=device-with, initial-scale=1.0')
    link(rel='stylesheet', href='//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css')
    link(rel='stylesheet', href='//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css')
    link(rel='stylesheet', href='/css/style.css')
  body(ng-controller='SetGameCtrl as set')
    // container
    div.container
        div.row
            h2.col-xs-3.col-xs-offset-2(style='text-align: center;')
                ng-pluralize(count='set.numSets', when="{'0': 'No sets are available.',
                     'one': '1 set is available.',
                     'other': '{} sets are available.'}")
            h2.col-xs-3.col-xs-offset-2(style='text-align: center;')
                ng-pluralize(count="set.active.length" when="{'0': 'No cards are selected.', 'one': '1 card is selected.', 'other': '{} cards are selected.'}")

        div.row
            button.col-xs-3(ng-click='set.shuffleDeck()') Shuffle Deck
            button.col-xs-3(ng-click='set.shuffleTable()') Shuffle Table
            button.col-xs-3(ng-click='set.findSets()') Find Sets
            button.col-xs-3(ng-click='set.drawCards(3)') Draw 3 More

        div.row(ng-repeat='row in set.table | partition:3')
            div.col-xs-1 &nbps; // to fix offset
            div.card.col-xs-2.col-xs-offset-1(card ng-repeat('card in row') color='{{card.color}}' shape='{{card.shape}}' number='{{card.number}}' fill='{{card.fill}}' ng-class='{active: set.isactive(card)}' highlighted={{card.highlighted}}' ng-click='set.selectCard(card)')
                ul
                    li num: {{card.number}}
                    li shape: {{card.shape}}
    // container

    script(src='//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js')
    script(src='//ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.17/angular.js')
    script(src='//cdnjs.cloudflare.com/ajax/libs/d3/3.4.11/d3.min.js')
    script(src='/js/helpers.js')
    script(src='/js/game.js')
{'fraction_non_alphanumeric': 0.19066666666666668, 'fraction_numerical': 0.019555555555555555, 'mean_word_length': 2.7084019769357495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2922789', 'n_tokens_mistral': 794, 'n_tokens_neox': 764, 'n_words': 118}