Commit ee16c771554857e1d6863def581c788aebfb1330
1 parent
29f01fe5
Exists in
master
and in
5 other branches
modifying button modal links #205
Showing
5 changed files
with
4 additions
and
13 deletions
Show diff stats
links/static/links.js
links/templates/links/create_link.html
| 1 | 1 | {% load widget_tweaks i18n %} |
| 2 | - | |
| 3 | 2 | <!--MODAL CREATE LINK--> |
| 4 | 3 | <div class="modal fade" id="createLinksModal" tabindex="-1" role="dialog" aria-labelledby="createLink"> |
| 5 | 4 | <div class="modal-dialog" role="document"> |
| ... | ... | @@ -33,7 +32,7 @@ |
| 33 | 32 | </div> |
| 34 | 33 | {% endfor %} |
| 35 | 34 | <div class="form-group"> |
| 36 | - <button type="button" class="btn btn-danger btn-raised" data-dismiss="modal">{% trans "Cancel" %}</button> | |
| 35 | + <button type="button" class="btn btn-raised btn-default " data-dismiss="modal">{% trans "Cancel" %}</button> | |
| 37 | 36 | <button class="btn btn-raised btn-primary" type="submit">{% trans 'Submit' %}</button> |
| 38 | 37 | </div> |
| 39 | 38 | <!-- .end Card --> | ... | ... |
links/templates/links/delete_link.html
| ... | ... | @@ -21,7 +21,7 @@ |
| 21 | 21 | </div> |
| 22 | 22 | <div class="form-group"> |
| 23 | 23 | <div class="col-md-12"> |
| 24 | - <button type="button" class="btn btn-danger btn-raised" data-dismiss="modal">{% trans "Close" %}</button> | |
| 24 | + <button type="button" class="btn btn-default btn-raised" data-dismiss="modal">{% trans "Close" %}</button> | |
| 25 | 25 | <button class="btn btn-raised btn-primary" type="submit">{% trans 'Delete' %}</button> |
| 26 | 26 | </div> |
| 27 | 27 | </div> | ... | ... |
links/templates/links/update_link.html
| ... | ... | @@ -36,7 +36,7 @@ |
| 36 | 36 | {% endif %} |
| 37 | 37 | {% endfor %} |
| 38 | 38 | <div class="form-group"> |
| 39 | - <button type="button" class="btn btn-danger btn-raised" data-dismiss="modal">{% trans "Cancel" %}</button> | |
| 39 | + <button type="button" class="btn btn-default btn-raised" data-dismiss="modal">{% trans "Cancel" %}</button> | |
| 40 | 40 | <button class="btn btn-raised btn-primary" type="submit">{% trans 'Submit' %}</button> |
| 41 | 41 | </div> |
| 42 | 42 | <!-- .end Card --> | ... | ... |
links/templates/links/view_link.html
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | <div class="card-block"> |
| 15 | 15 | <b class="card-title">{{link.name}}</b><p></p> |
| 16 | 16 | <p class="card-text"> </p><p>{{link.link_description}}</p> |
| 17 | - <a href="{{ link.link_url }}" class="btn btn-primary">{% trans 'Read more' %}</a> | |
| 17 | + <a href="{{ link.link_url }}" class="btn btn-raised btn-primary">{% trans 'Read more' %}</a> | |
| 18 | 18 | </div> |
| 19 | 19 | </article> |
| 20 | 20 | <!-- .end Card --> | ... | ... |