Add 'star' button to Part
This commit is contained in:
parent
8a6932e993
commit
16edcc4bd9
|
|
@ -28,6 +28,7 @@
|
|||
<p>
|
||||
<div class='btn-group'>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='show-qr-code' title='Show QR code'><span class='glyphicon glyphicon-qrcode'></span></button>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='toggle-starred' title='Star this part'><span id='part-star-icon' class='glyphicon glyphicon-star-empty'/></button>
|
||||
</div>
|
||||
</p>
|
||||
<table class='table table-condensed'>
|
||||
|
|
@ -102,6 +103,9 @@
|
|||
);
|
||||
});
|
||||
|
||||
$('#toggle-starred').click(function() {
|
||||
});
|
||||
|
||||
$("#part-thumb").click(function() {
|
||||
launchModalForm(
|
||||
"{% url 'part-image' part.id %}",
|
||||
|
|
|
|||
Loading…
Reference in New Issue