Skip to content

Commit 94b12af

Browse files
committed
btn-default -> btn-primary
- Legacy-Id: 19606
1 parent e92441b commit 94b12af

215 files changed

Lines changed: 443 additions & 443 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<ul class="list-inline pull-right" style="margin-top:1em;">
1+
<ul class="list-inline pull-right">
22
<li>
33
<label id="list-feeds">Atom feed:</label>
44
<div class="btn-group" role="group" aria-labelledby="list-feeds">
5-
<a class="btn btn-default" title="Feed of all changes" href="{% if clist.group %}{% url "ietf.community.views.feed" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.feed" username=clist.user.username %}{% endif %}">All changes</a>
6-
<a class="btn btn-default" title="Feed of only significant state changes" href="{% if clist.group %}{% url "ietf.community.views.feed" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.feed" username=clist.user.username %}{% endif %}?significant=1">Significant</a>
5+
<a class="btn btn-primary" title="Feed of all changes" href="{% if clist.group %}{% url "ietf.community.views.feed" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.feed" username=clist.user.username %}{% endif %}">All changes</a>
6+
<a class="btn btn-primary" title="Feed of only significant state changes" href="{% if clist.group %}{% url "ietf.community.views.feed" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.feed" username=clist.user.username %}{% endif %}?significant=1">Significant</a>
77
</div>
88
</li>
99

1010
{% if clist.pk != None %}
11-
<li><a class="btn btn-default" href="{% if clist.group %}{% url "ietf.community.views.subscription" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.subscription" username=clist.user.username %}{% endif %}">
11+
<li><a class="btn btn-primary" href="{% if clist.group %}{% url "ietf.community.views.subscription" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.subscription" username=clist.user.username %}{% endif %}">
1212
<i class="glyphicon glyphicon-envelope"></i>
1313
{% if subscribed %}
1414
Change subscription
@@ -18,5 +18,5 @@
1818
</a></li>
1919
{% endif %}
2020

21-
<li><a class="btn btn-default" href="{% if clist.group %}{% url "ietf.community.views.export_to_csv" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.export_to_csv" username=clist.user.username %}{% endif %}"><i class="glyphicon glyphicon-list"></i> Export as CSV</a></li>
22-
</ul>
21+
<li><a class="btn btn-primary" href="{% if clist.group %}{% url "ietf.community.views.export_to_csv" acronym=clist.group.acronym %}{% else %}{% url "ietf.community.views.export_to_csv" username=clist.user.username %}{% endif %}"><i class="glyphicon glyphicon-list"></i> Export as CSV</a></li>
22+
</ul>

ietf/templates/community/manage_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1>Manage {{ clist.long_name }}</h1>
2121

2222
<p>The list currently tracks <a href="{{ clist.get_absolute_url }}">{{ total_count }} document{{ total_count|pluralize }}</a>.</p>
2323

24-
<p><a class="btn btn-default" href="{{ clist.get_absolute_url }}">Back to list</a></p>
24+
<p><a class="btn btn-primary" href="{{ clist.get_absolute_url }}">Back to list</a></p>
2525

2626
<h2>Individual documents</h2>
2727

ietf/templates/community/subscription.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h2>Existing subscriptions</h2>
3131
{% endfor %}
3232
</ul>
3333

34-
<p><a class="btn btn-default" href="{{ clist.get_absolute_url }}">Back to list</a></p>
34+
<p><a class="btn btn-primary" href="{{ clist.get_absolute_url }}">Back to list</a></p>
3535

3636
{% endif %}
3737

@@ -45,14 +45,14 @@ <h2>Add new subscription</h2>
4545
{% bootstrap_form form %}
4646

4747
{% buttons %}
48-
<a class="btn btn-default" href="{{ clist.get_absolute_url }}">Back to list</a>
48+
<a class="btn btn-primary" href="{{ clist.get_absolute_url }}">Back to list</a>
4949

5050
<button type="submit" name="action" value="subscribe" class="btn btn-primary">Subscribe</button>
5151
{% endbuttons %}
5252
</form>
5353
{% else %}
5454
<div class="alert alert-danger">You do not have any active email addresses registered with your account. Go to <a href="{% url "ietf.ietfauth.views.profile" %}">your profile and add or activate one</a>.</div>
5555

56-
<a class="btn btn-default" href="{{ clist.get_absolute_url }}">Back to list</a>
56+
<a class="btn btn-primary" href="{{ clist.get_absolute_url }}">Back to list</a>
5757
{% endif %}
5858
{% endblock %}

ietf/templates/cookies/settings.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,43 +20,43 @@ <h2>How many days is considered "new"?</h2>
2020
<p>This setting affects how many days are considered "new enough" to get the special highlighting in the documents table. The default setting is {{ defaults.new_enough }} days.</p>
2121

2222
<div class="btn-group btn-group-justified">
23-
<a class="btn btn-default {% if new_enough == '7' %}active{% endif %}" href="/accounts/settings/new_enough/7">7 days</a>
24-
<a class="btn btn-default {% if new_enough == '14' %}active{% endif %}" href="/accounts/settings/new_enough/14">14 days</a>
25-
<a class="btn btn-default {% if new_enough == '21' %}active{% endif %}" href="/accounts/settings/new_enough/21">21 days</a>
26-
<a class="btn btn-default {% if new_enough == '30' %}active{% endif %}" href="/accounts/settings/new_enough/30">30 days</a>
27-
<a class="btn btn-default {% if new_enough == '60' %}active{% endif %}" href="/accounts/settings/new_enough/60">60 days</a>
28-
<a class="btn btn-default {% if new_enough == '90' %}active{% endif %}" href="/accounts/settings/new_enough/90">90 days</a>
23+
<a class="btn btn-primary {% if new_enough == '7' %}active{% endif %}" href="/accounts/settings/new_enough/7">7 days</a>
24+
<a class="btn btn-primary {% if new_enough == '14' %}active{% endif %}" href="/accounts/settings/new_enough/14">14 days</a>
25+
<a class="btn btn-primary {% if new_enough == '21' %}active{% endif %}" href="/accounts/settings/new_enough/21">21 days</a>
26+
<a class="btn btn-primary {% if new_enough == '30' %}active{% endif %}" href="/accounts/settings/new_enough/30">30 days</a>
27+
<a class="btn btn-primary {% if new_enough == '60' %}active{% endif %}" href="/accounts/settings/new_enough/60">60 days</a>
28+
<a class="btn btn-primary {% if new_enough == '90' %}active{% endif %}" href="/accounts/settings/new_enough/90">90 days</a>
2929
</div>
3030

3131
<h2 class="ietf-divider">How many days is considered "soon"?</h2>
3232

3333
<p>This setting tells what is considered "soon" when showing documents that are going to be expire soon. The Default setting is {{ defaults.expires_soon }} days.</p>
3434

3535
<div class="btn-group btn-group-justified">
36-
<a class="btn btn-default {% if expires_soon == '7' %}active{% endif %}" href="/accounts/settings/expires_soon/7">7 days</a>
37-
<a class="btn btn-default {% if expires_soon == '14' %}active{% endif %}" href="/accounts/settings/expires_soon/14">14 days</a>
38-
<a class="btn btn-default {% if expires_soon == '21' %}active{% endif %}" href="/accounts/settings/expires_soon/21">21 days</a>
39-
<a class="btn btn-default {% if expires_soon == '30' %}active{% endif %}" href="/accounts/settings/expires_soon/30">30 days</a>
40-
<a class="btn btn-default {% if expires_soon == '60' %}active{% endif %}" href="/accounts/settings/expires_soon/60">60 days</a>
41-
<a class="btn btn-default {% if expires_soon == '90' %}active{% endif %}" href="/accounts/settings/expires_soon/90">90 days</a>
36+
<a class="btn btn-primary {% if expires_soon == '7' %}active{% endif %}" href="/accounts/settings/expires_soon/7">7 days</a>
37+
<a class="btn btn-primary {% if expires_soon == '14' %}active{% endif %}" href="/accounts/settings/expires_soon/14">14 days</a>
38+
<a class="btn btn-primary {% if expires_soon == '21' %}active{% endif %}" href="/accounts/settings/expires_soon/21">21 days</a>
39+
<a class="btn btn-primary {% if expires_soon == '30' %}active{% endif %}" href="/accounts/settings/expires_soon/30">30 days</a>
40+
<a class="btn btn-primary {% if expires_soon == '60' %}active{% endif %}" href="/accounts/settings/expires_soon/60">60 days</a>
41+
<a class="btn btn-primary {% if expires_soon == '90' %}active{% endif %}" href="/accounts/settings/expires_soon/90">90 days</a>
4242
</div>
4343

4444
<h2 class="ietf-divider">Show full document text by default?</h2>
4545

4646
<p>Show the full text immediately on the document page instead of only showing beginning of it. This defaults to {{ defaults.full_draft }}.</p>
4747

4848
<div class="btn-group btn-group-justified">
49-
<a class="btn btn-default {% if full_draft == 'off' %}active{% endif %}" href="/accounts/settings/full_draft/off">Off</a>
50-
<a class="btn btn-default {% if full_draft == 'on' %}active{% endif %}" href="/accounts/settings/full_draft/on">On</a>
49+
<a class="btn btn-primary {% if full_draft == 'off' %}active{% endif %}" href="/accounts/settings/full_draft/off">Off</a>
50+
<a class="btn btn-primary {% if full_draft == 'on' %}active{% endif %}" href="/accounts/settings/full_draft/on">On</a>
5151
</div>
5252

5353
<h2 class="ietf-divider">Show the left-hand menu?</h2>
5454

5555
<p>Show the left-hand menu on all regular pages? This defaults to {{ defaults.left_menu }}.</p>
5656

5757
<div class="btn-group btn-group-justified">
58-
<a class="btn btn-default {% if left_menu == 'off' %}active{% endif %}" href="/accounts/settings/left_menu/off">Off</a>
59-
<a class="btn btn-default {% if left_menu == 'on' %}active{% endif %}" href="/accounts/settings/left_menu/on">On</a>
58+
<a class="btn btn-primary {% if left_menu == 'off' %}active{% endif %}" href="/accounts/settings/left_menu/off">Off</a>
59+
<a class="btn btn-primary {% if left_menu == 'on' %}active{% endif %}" href="/accounts/settings/left_menu/on">On</a>
6060
</div>
6161

6262

ietf/templates/debug.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<p>
1010
{{ sql_queries|length }} queries ({{ sql_queries|timesum }}s)
1111
{% if sql_queries|length != 0 %}
12-
<a class="btn btn-default btn-xs"
12+
<a class="btn btn-primary btn-xs"
1313
onclick="$('#debug-query-table').toggleClass('hide');">Show</a>
1414
{% endif %}
1515
</p>
@@ -74,7 +74,7 @@ <h4 class="modal-title" id="modal-title-{{forloop.counter}}">QuerySet Origin for
7474
</table>
7575
</div>
7676
<div class="modal-footer">
77-
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
77+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
7878
</div>
7979
</div>
8080
</div>

ietf/templates/doc/add_comment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1>Add comment<br><small>{{ doc }}</small></h1>
1717

1818
{% buttons %}
1919
<button type="submit" class="btn btn-primary">Submit</button>
20-
<a class="btn btn-default pull-right" href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
20+
<a class="btn btn-primary pull-right" href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
2121
{% endbuttons %}
2222
</form>
2323

ietf/templates/doc/add_sessionpresentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1>Add document to session<br><small>{{doc.name}}<br>{{doc.title}}</small></h1>
1818

1919
{% buttons %}
2020
<button class="btn btn-primary" type="submit" name="save">Save</button>
21-
<a class="btn btn-default" href="{% url 'ietf.doc.views_doc.all_presentations' name=doc.name %}">Cancel</a>
21+
<a class="btn btn-primary" href="{% url 'ietf.doc.views_doc.all_presentations' name=doc.name %}">Cancel</a>
2222
{% endbuttons %}
2323

2424
</form>

ietf/templates/doc/ballot/approvaltext.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h1>Approval announcement writeup<br><small><a href="{% url "ietf.doc.views_doc.
1616
{% bootstrap_form approval_text_form %}
1717

1818
{% buttons %}
19-
<button type="submit" class="btn btn-default" name="save_approval_text" value="Save text">Save text</button>
19+
<button type="submit" class="btn btn-primary" name="save_approval_text" value="Save text">Save text</button>
2020
<button type="submit" class="btn btn-warning" name="regenerate_approval_text" value="Regenerate text">Regenerate text</button>
2121
{% if user|has_role:"Secretariat" and can_announce %}
2222
<a class="btn btn-primary" href="{% url 'ietf.doc.views_ballot.approve_ballot' name=doc.name %}">Approve ballot</a>

ietf/templates/doc/ballot/edit_position.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h1>Change position for {{ balloter.plain_name }} regarding <br><small><a href="
3333

3434
{% buttons %}
3535
<button type="submit" class="btn btn-primary" name="send_mail" value="Save and send email">Save & send email</button>
36-
<input type="submit" class="btn btn-default" value="Save">
36+
<input type="submit" class="btn btn-primary" value="Save">
3737

3838
{% if doc.type_id == "draft" or doc.type_id == "conflrev" %}
3939
{% if doc.stream.slug != "irtf" %}

ietf/templates/doc/ballot/irsg_ballot_approve.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1>{{ question }}</h1>
1919

2020
{% buttons %}
2121
<button type="submit" class="btn btn-primary" name="irsg_button" value="Yes">Yes</button>
22-
<button type="submit" class="btn btn-default" name="irsg_button" value="No">No</button>
22+
<button type="submit" class="btn btn-primary" name="irsg_button" value="No">No</button>
2323
{% endbuttons %}
2424
</form>
2525

0 commit comments

Comments
 (0)