<commit_before><%inherit file="project/addon/widget.mako" />

<div id="forwardScope" class="scripted">

    <div id="forwardModal" style="display: none; padding: 15px;">

        <div>
            This project contains a forward to
            <a data-bind="attr.href: url">{{ url }}</a>.
        </div>

        <p>You will be automatically forwarded in {{ timeLeft }} seconds.</p>

        <div class="spaced-buttons" data-bind="visible: redirecting">
            <a class="btn btn-success" data-bind="click: doRedirect">Redirect</a>
            <a class="btn btn-warning" data-bind="click: cancelRedirect">Cancel</a>
        </div>

    </div>

    <div id="forwardWidget" data-bind="visible: url() !== null">

        <div>
            This project contains a forward to
            <a data-bind="attr.href: url" target="_blank">{{ linkDisplay }}</a>.
        </div>

        <div class="spaced-buttons">
            <a class="btn btn-success" data-bind="click: doRedirect">Redirect</a>
        </div>

    </div>

</div>
<commit_msg>Change button position and color for link redirect<commit_after><%inherit file="project/addon/widget.mako" />

<div id="forwardScope" class="scripted">

    <div id="forwardModal" style="display: none; padding: 15px;">

        <div>
            This project contains a forward to
            <a data-bind="attr.href: url">{{ url }}</a>.
        </div>

        <p>You will be automatically forwarded in {{ timeLeft }} seconds.</p>

        <div class="spaced-buttons" data-bind="visible: redirecting">
            <a class="btn btn-default" data-bind="click: cancelRedirect">Cancel</a>
            <a class="btn btn-primary" data-bind="click: doRedirect">Redirect</a>
        </div>

    </div>

    <div id="forwardWidget" data-bind="visible: url() !== null">

        <div>
            This project contains a forward to
            <a data-bind="attr.href: url" target="_blank">{{ linkDisplay }}</a>.
        </div>

        <div class="spaced-buttons">
            <a class="btn btn-primary" data-bind="click: doRedirect">Redirect</a>
        </div>

    </div>

</div>

{'fraction_non_alphanumeric': 0.16753431140558447, 'fraction_numerical': 0.001893043066729768, 'mean_word_length': 2.5, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '3950480', 'n_tokens_mistral': 646, 'n_tokens_neox': 619, 'n_words': 161}