diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-02 17:54:24 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-01-03 15:04:33 -0500 |
commit | 180891af7356c37e85995e0d8a4e17feac0afd78 (patch) | |
tree | e36c705759d122ec84310bf41fd44f8d4ed19889 /src/templates/dashboard | |
parent | a104c5c294a006a0770fed1e34aca0a580d59498 (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 'src/templates/dashboard')
-rw-r--r-- | src/templates/dashboard/landing.html | 10 | ||||
-rw-r--r-- | src/templates/dashboard/resource_detail.html | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/src/templates/dashboard/landing.html b/src/templates/dashboard/landing.html index b1eec86..84b060f 100644 --- a/src/templates/dashboard/landing.html +++ b/src/templates/dashboard/landing.html @@ -29,12 +29,12 @@ } </style> <div class='wf_create_div'> -<button class="wf_create btn" onclick="cwf(0)">Create a Booking</button> -<button class="wf_create btn" onclick="cwf(1)">Create a Pod</button> -<button class="wf_create btn" onclick="cwf(2)">Configure a Pod</button> -<button class="wf_create btn" onclick="cwf(3)">Create a Snapshot</button> +<button class="wf_create btn btn-primary" onclick="cwf(0)">Create a Booking</button> +<button class="wf_create btn btn-primary" onclick="cwf(1)">Create a Pod</button> +<button class="wf_create btn btn-primary" onclick="cwf(2)">Configure a Pod</button> +<button class="wf_create btn btn-primary" onclick="cwf(3)">Create a Snapshot</button> {% if manager == True %} -<button class="wf_continue btn" onclick="continue_wf()">Finish Unfinished Business</button> +<button class="wf_continue btn btn-primary" onclick="continue_wf()">Finish Unfinished Business</button> {% endif %} </div> diff --git a/src/templates/dashboard/resource_detail.html b/src/templates/dashboard/resource_detail.html index 79389f0..0a443d9 100644 --- a/src/templates/dashboard/resource_detail.html +++ b/src/templates/dashboard/resource_detail.html @@ -101,12 +101,10 @@ {{ resource.owner.email }} </p> <p> - <a href="{% url 'booking:create' resource_id=resource.id %}" class="btn - btn-primary"> + <a href="{% url 'booking:create' resource_id=resource.id %}" class="btn btn-primary"> Booking </a> - <a href="{{ resource.url }}" class="btn - btn-primary"> + <a href="{{ resource.url }}" class="btn btn-primary"> OPNFV Wiki </a> </p> |