summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/account
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-01-02 17:54:24 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-01-03 15:04:33 -0500
commitc0831a839d23240f844dff6dd05b09521c30bfe9 (patch)
tree75348d154095dbf5402b4f417872ba55f1507362 /dashboard/src/templates/account
parent5d24f164eb263239e66b3fb99782ec555523182d (diff)
Changed Button style class to btn-primary
btn-primary has a handful of advantages over btn-default, including consistency across browsers and correctly styling non-button html tags p.s. vim is best Change-Id: I6e55a75a9fd48d64496fd83f43a7856af0c04cc0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/templates/account')
-rw-r--r--dashboard/src/templates/account/booking_list.html8
-rw-r--r--dashboard/src/templates/account/configuration_list.html2
-rw-r--r--dashboard/src/templates/account/details.html8
-rw-r--r--dashboard/src/templates/account/resource_list.html2
-rw-r--r--dashboard/src/templates/account/userprofile_update_form.html2
5 files changed, 11 insertions, 11 deletions
diff --git a/dashboard/src/templates/account/booking_list.html b/dashboard/src/templates/account/booking_list.html
index 21f6ff7..c7c5e00 100644
--- a/dashboard/src/templates/account/booking_list.html
+++ b/dashboard/src/templates/account/booking_list.html
@@ -27,8 +27,8 @@ function edit_booking(pk){
<li>purpose: {{booking.purpose}}</li>
</ul>
<div class="detail_btn_group">
- <button style="display: none" class="btn" onclick="edit_booking({{booking.id}});">Edit</button>
- <button class="btn" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
+ <button style="display:none" class="btn btn-primary" onclick="edit_booking({{booking.id}});">Edit</button>
+ <button class="btn btn-primary" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
</div>
</div>
{% endfor %}
@@ -44,8 +44,8 @@ function edit_booking(pk){
<li>purpose: {{booking.purpose}}</li>
</ul>
<div class="detail_btn_group">
- <button style="display: none" class="btn" disabled=true onclick="edit_booking({{booking.id}});">Edit</button>
- <button class="btn" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
+ <button style="display: none" class="btn btn-primary" disabled=true onclick="edit_booking({{booking.id}});">Edit</button>
+ <button class="btn btn-primary" onclick="location.href='/booking/detail/{{booking.id}}/';">Details</button>
</div>
</div>
{% endfor %}
diff --git a/dashboard/src/templates/account/configuration_list.html b/dashboard/src/templates/account/configuration_list.html
index b04535b..9dcec07 100644
--- a/dashboard/src/templates/account/configuration_list.html
+++ b/dashboard/src/templates/account/configuration_list.html
@@ -24,7 +24,7 @@ function edit_configuration(pk){
<li>resource: {{config.bundle}}</li>
</ul>
<div class="detail_btn_group">
- <button style="display: none" class="btn" onclick="edit_configuration({{config.id}});">Edit</button>
+ <button style="display: none" class="btn btn-primary" onclick="edit_configuration({{config.id}});">Edit</button>
</div>
</div>
{% endfor %}
diff --git a/dashboard/src/templates/account/details.html b/dashboard/src/templates/account/details.html
index 740dce6..acf3eb1 100644
--- a/dashboard/src/templates/account/details.html
+++ b/dashboard/src/templates/account/details.html
@@ -2,8 +2,8 @@
{% load staticfiles %}
{% block content %}
<h1>Account Details</h1>
-<button class="btn" onclick="location.href = '{% url 'account:my-resources' %}'">My Resources</button>
-<button class="btn" onclick="location.href = '{% url 'account:my-bookings' %}'">My Bookings</button>
-<button class="btn" onclick="location.href = '{% url 'account:my-configurations' %}'">My Configurations</button>
-<button class="btn" onclick="location.href = '{% url 'account:my-images' %}'">My Snapshots</button>
+<a class="btn btn-primary" onclick="location.href = '{% url 'account:my-resources' %}'">My Resources</a>
+<a class="btn btn-primary" onclick="location.href = '{% url 'account:my-bookings' %}'">My Bookings</a>
+<a class="btn btn-primary" onclick="location.href = '{% url 'account:my-configurations' %}'">My Configurations</a>
+<a class="btn btn-primary" onclick="location.href = '{% url 'account:my-images' %}'">My Snapshots</a>
{% endblock content %}
diff --git a/dashboard/src/templates/account/resource_list.html b/dashboard/src/templates/account/resource_list.html
index 2ef293b..7e4194b 100644
--- a/dashboard/src/templates/account/resource_list.html
+++ b/dashboard/src/templates/account/resource_list.html
@@ -23,7 +23,7 @@ function edit_resource(pk){
<li>description: {{resource.description}}</li>
</ul>
<div class="detail_btn_group">
- <button style="display: none" class="btn" onclick="edit_resource({{resource.id}});">Edit</button>
+ <button style="display: none" class="btn btn-primary" onclick="edit_resource({{resource.id}});">Edit</button>
</div>
</div>
{% endfor %}
diff --git a/dashboard/src/templates/account/userprofile_update_form.html b/dashboard/src/templates/account/userprofile_update_form.html
index f4bb7b5..f1d2852 100644
--- a/dashboard/src/templates/account/userprofile_update_form.html
+++ b/dashboard/src/templates/account/userprofile_update_form.html
@@ -17,7 +17,7 @@
{% csrf_token %}
{% bootstrap_form form %}
<p><b>API Token</b>
- <a href="{% url 'generate_token' %}" class="btn btn-default">
+ <a href="{% url 'generate_token' %}" class="btn btn-primary">
Generate
</a>
</p>