<commit_before>extends ./base
block header
    script.
        $(function(){
            $("#changeForm").submit(function(ev){
                ev.preventDefault();
                $.api.upload($("#changeForm").get(0)).then(function(res){
                    res = res.response;
                    return $.api.post("account/update/avatar",{file:res.id})
                }).then(function(res){
                    location.href="/";
                })
            })
        })
block content
    h1 名前変更
    .panel
        form#changeForm
            input.input#file(name="file",type="file")
            button(type="submit")
                .no_disabled
                    i.fa.fa-paper-plane
                    | 変更
                .yes_disabled
                    i.fa.fa-spinner.fa-pulse<commit_msg>view: settings: avatar: adjust title<commit_after>extends ./base
block header
    script.
        $(function(){
            $("#changeForm").submit(function(ev){
                ev.preventDefault();
                $.api.upload($("#changeForm").get(0)).then(function(res){
                    res = res.response;
                    return $.api.post("account/update/avatar",{file:res.id})
                }).then(function(res){
                    location.href="/";
                })
            })
        })
block content
    h1 アイコン変更
    .panel
        form#changeForm
            input.input#file(name="file",type="file")
            button(type="submit")
                .no_disabled
                    i.fa.fa-paper-plane
                    | 変更
                .yes_disabled
                    i.fa.fa-spinner.fa-pulse
{'fraction_non_alphanumeric': 0.13727882855399634, 'fraction_numerical': 0.0024405125076266015, 'mean_word_length': 1.2435020519835842, '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': '1857967', 'n_tokens_mistral': 451, 'n_tokens_neox': 427, 'n_words': 59}