style: fix formatting

This commit is contained in:
Suraj Shetty 2019-05-26 20:35:26 +05:30
parent ac9b0d3397
commit bbbb99f4d6
2 changed files with 16 additions and 17 deletions

View file

@ -290,31 +290,31 @@ frappe.get_modal = function(title, content) {
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<div class="flex justify-between">
<div class="fill-width">
<div class="flex justify-between">
<div class="fill-width">
<span class="indicator hidden"></span>
<h4 class="modal-title" style="font-weight: bold;">${title}</h4>
</div>
<div>
<h4 class="modal-title" style="font-weight: bold;">${title}</h4>
</div>
<div>
<div class="text-right buttons">
<button type="button" class="btn btn-default btn-sm btn-modal-minimize hide">
<i class="octicon octicon-chevron-down" style="padding: 1px 0px;"></i>
</button>
<button type="button" class="btn btn-default btn-sm btn-modal-close"
data-dismiss="modal">
<button type="button" class="btn btn-default btn-sm btn-modal-close" data-dismiss="modal">
<i class="octicon octicon-x visible-xs" style="padding: 1px 0px;"></i>
<span class="hidden-xs">${__("Close")}</span></button>
<button type="button" class="btn btn-primary btn-sm hide">
${__("Confirm")}</button>
</div>
</div>
</div>
</div>
<div class="modal-body ui-front">${content}
<span class="hidden-xs">${__("Close")}</span>
</button>
<button type="button" class="btn btn-primary btn-sm hide">
${__("Confirm")}
</button>
</div>
</div>
</div>
</div>
<div class="modal-body ui-front">${content}</div>
</div>
</div>
</div>`)
</div>`);
};
frappe.is_online = function() {

View file

@ -1104,5 +1104,4 @@ body.full-width {
.modal-body {
display: none;
}
}