Changeset - e7c6055b3fc6
[Not reviewed]
0 2 0
James Tauber - 12 years ago 2012-09-08 23:07:34
jtauber@jtauber.com
added cancel and disable next
2 files changed with 7 insertions and 1 deletions:
0 comments (0 inline, 0 general)
symposion/templates/reviews/result_notification.html
Show inline comments
...
 
@@ -28,7 +28,7 @@
 
                {% endfor %}
 
            </select>
 
            <br/>
 
            <button type="submit" class="btn btn-primary">Next <i class="icon icon-chevron-right"></i></button>
 
            <button id="next-button" type="submit" class="btn btn-primary" disabled>Next <i class="icon icon-chevron-right"></i></button>
 
        </p>
 
        
 
        <table class="table table-striped table-bordered">
...
 
@@ -93,6 +93,11 @@
 
                        }
 
                        return value;
 
                    });
 
                    if (sel == 0) {
 
                        $("#next-button").prop("disabled", true);
 
                    } else {
 
                        $("#next-button").prop("disabled", false);
 
                    }
 
                }
 
                // Check state of checkboxes and reinit state if needed
 
                $(this).filter(":checked").each(function(i) {
symposion/templates/reviews/result_notification_prepare.html
Show inline comments
...
 
@@ -37,6 +37,7 @@
 
                    replaced with the title of the proposal when the email is sent.
 
                </p>
 
                <button type="submit" class="btn btn-primary">Send {{ proposals|length }} Email{{ proposals|length|pluralize }}</button>
 
                <a class="btn" href="{% url result_notification section_slug status %}">Cancel</a>
 
            </form>
 
        </div>
 
    </form>
0 comments (0 inline, 0 general)