<commit_before>extends layout

block content
    p  Hi <strong>#{username}</strong>, Bii.io is activated; people who you follow can edit your boring bio. Invite your friends to participate.
    a(href="https://twitter.com/intent/tweet?button_hashtag=Biiio&text=Update%20my%20bio",class="btn btn-success",data-size="large",data-related="#{accountname}") <span class="glyphicon glyphicon-comment"></span> Invite friends
    script !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
    hr
    h3 Settings
   
    p Send an automated Tweet when your bio is updated?
    div(class="btn-group bioButtons")
        a(class="btn btn-default yes") Yes!
        a(class="btn btn-default no") No!
    div(class="slider")
        p What should that Tweet be?
        textarea(class="form-control") #{broadcastMsg}
        a(class="btn btn-default setMsg") Save this message!
    hr
    a(class='btn btn-info oldBio',data-title='This was your old bio: #{oldBio}') <span class="glyphicon glyphicon-repeat"></span> Restore to pre-Bii.io bio
    br
    br
    a(class='btn btn-danger deactivate',data-title='This will disable Bii.io for your Twitter account') <span class="glyphicon glyphicon-fire"></span> Deactivate Bii.io<commit_msg>added an options divs to hide settings on disable<commit_after>extends layout

block content
    p  Hi <strong>#{username}</strong>, Bii.io is activated; people who you follow can edit your boring bio. Invite your friends to participate.
    a(href="https://twitter.com/intent/tweet?button_hashtag=Biiio&text=Update%20my%20bio",class="btn btn-success",data-size="large",data-related="#{accountname}") <span class="glyphicon glyphicon-comment"></span> Invite friends
    script !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
    hr
    div(class="options")
     h3 Settings
   
     p Send an automated Tweet when your bio is updated?
    
     div(class="btn-group bioButtons")
        a(class="btn btn-default yes") Yes!
        a(class="btn btn-default no") No!
     div(class="slider")
        p What should that Tweet be?
        textarea(class="form-control") #{broadcastMsg}
        a(class="btn btn-default setMsg") Save this message!
     hr
     a(class='btn btn-info oldBio',data-title='This was your old bio: #{oldBio}') <span class="glyphicon glyphicon-repeat"></span> Restore to pre-Bii.io bio
     br
     br
    div(class="disableslider")
     a(class='btn btn-danger deactivate',data-title='This will disable Bii.io for your Twitter account') <span class="glyphicon glyphicon-fire"></span> Deactivate Bii.io
{'fraction_non_alphanumeric': 0.15446071904127828, 'fraction_numerical': 0.0039946737683089215, 'mean_word_length': 4.575139146567718, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '7104500', 'n_tokens_mistral': 979, 'n_tokens_neox': 958, 'n_words': 223}