Item Menu dropdown

This commit is contained in:
Faris Ansari 2018-08-01 13:35:19 +05:30
parent a12076e0fd
commit c0a22a689e
2 changed files with 14 additions and 4 deletions

View File

@ -460,9 +460,15 @@ erpnext.hub.Item = class Item extends SubPage {
${edit_buttons_html} ${edit_buttons_html}
</div> </div>
<div class="col-md-1"> <div class="col-md-1">
<button class="btn btn-xs btn-default"> <div class="dropdown pull-right hub-item-dropdown">
Menu <a class="dropdown-toggle btn btn-xs btn-default" data-toggle="dropdown">
</button> <span class="caret"></span>
</a>
<ul class="dropdown-menu dropdown-right" role="menu">
<li><a>Edit Details</a></li>
<li><a>Unpublish</a></li>
</ul>
</div>
</div> </div>
</div> </div>
<div class="row hub-item-seller"> <div class="row hub-item-seller">

View File

@ -106,7 +106,7 @@ body[data-route^="marketplace/"] {
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.1); background-color: rgba(0, 0, 0, 0.05);
} }
.hub-card-overlay-body { .hub-card-overlay-body {
@ -217,4 +217,8 @@ body[data-route^="marketplace/"] {
.hub-item-review-container { .hub-item-review-container {
margin-top: calc(30vh); margin-top: calc(30vh);
} }
.hub-item-dropdown {
margin-top: 20px;
}
} }