@@ -22,10 +22,13 @@ | |||||
padding-right: 10px; | padding-right: 10px; | ||||
} | } | ||||
.doclist-row .list-row-id { | .doclist-row .list-row-id { | ||||
left: 40px; | |||||
left: 18px; | |||||
text-align: left; | text-align: left; | ||||
margin-top: 3px; | margin-top: 3px; | ||||
} | } | ||||
.doclist-row .doclist-row.has-checkbox .list-row-id { | |||||
left: 40px; | |||||
} | |||||
.doclist-row .list-row-indicator { | .doclist-row .list-row-indicator { | ||||
position: absolute; | position: absolute; | ||||
right: 0px; | right: 0px; | ||||
@@ -70,6 +70,7 @@ body[data-route^="Module"] .main-menu .form-sidebar { | |||||
position: absolute; | position: absolute; | ||||
font-weight: normal; | font-weight: normal; | ||||
right: 0px; | right: 0px; | ||||
padding-bottom: 4px; | |||||
} | } | ||||
.sidebar-menu .octicon { | .sidebar-menu .octicon { | ||||
font-size: 12px; | font-size: 12px; | ||||
@@ -65,7 +65,7 @@ frappe.ui.form.Attachments = Class.extend({ | |||||
var $attach = $(repl('<li class="attachment-row">\ | var $attach = $(repl('<li class="attachment-row">\ | ||||
<a class="close" data-owner="%(owner)s">×</a>\ | <a class="close" data-owner="%(owner)s">×</a>\ | ||||
<a href="%(file_url)s" target="_blank" title="%(file_name)s" \ | <a href="%(file_url)s" target="_blank" title="%(file_name)s" \ | ||||
class="text-ellipsis" style="width: calc(100% - 43px);">\ | |||||
class="text-ellipsis" style="max-width: calc(100% - 43px);">\ | |||||
<span>%(file_name)s</span></a>\ | <span>%(file_name)s</span></a>\ | ||||
</li>', { | </li>', { | ||||
file_name: file_name, | file_name: file_name, | ||||
@@ -1,4 +1,4 @@ | |||||
<div class="row doclist-row"> | |||||
<div class="row doclist-row {% if (data._checkbox) { %} has-checkbox {% } %}"> | |||||
<div class="{% if(right_column) { %} col-xs-12 {% } else { %} col-xs-10 {% } %} | <div class="{% if(right_column) { %} col-xs-12 {% } else { %} col-xs-10 {% } %} | ||||
{% if (list.meta.title_field) { %} | {% if (list.meta.title_field) { %} | ||||
col-sm-8 | col-sm-8 | ||||
@@ -8,7 +8,7 @@ | |||||
var stat_label = stat[i][0]; | var stat_label = stat[i][0]; | ||||
var stat_count = stat[i][1]; | var stat_count = stat[i][1]; | ||||
%} | %} | ||||
<li class="text-muted"> | |||||
<li> | |||||
<a class="stat-link badge-hover" data-label="{%= stat_label %}" data-field="{%= field %}"> | <a class="stat-link badge-hover" data-label="{%= stat_label %}" data-field="{%= field %}"> | ||||
<span class="badge">{%= stat_count %}</span> | <span class="badge">{%= stat_count %}</span> | ||||
<span>{%= __(stat_label) %}</span> | <span>{%= __(stat_label) %}</span> | ||||
@@ -163,7 +163,7 @@ frappe.views.ListView = Class.extend({ | |||||
add_column: function(df) { | add_column: function(df) { | ||||
// field width | // field width | ||||
var colspan = 3; | var colspan = 3; | ||||
if(in_list(["Int", "Percent", "Select"], df.fieldtype)) { | |||||
if(in_list(["Int", "Percent"], df.fieldtype)) { | |||||
colspan = 2; | colspan = 2; | ||||
} else if(in_list(["Check", "Image"], df.fieldtype)) { | } else if(in_list(["Check", "Image"], df.fieldtype)) { | ||||
colspan = 1; | colspan = 1; | ||||
@@ -30,12 +30,16 @@ | |||||
padding-right: 10px; | padding-right: 10px; | ||||
.list-row-id { | .list-row-id { | ||||
left: 40px; | |||||
left: 18px; | |||||
text-align: left; | text-align: left; | ||||
margin-top: 3px; | margin-top: 3px; | ||||
// left: 83.33333333%; | // left: 83.33333333%; | ||||
} | } | ||||
.doclist-row.has-checkbox .list-row-id { | |||||
left: 40px; | |||||
} | |||||
.list-row-indicator { | .list-row-indicator { | ||||
position: absolute; | position: absolute; | ||||
right: 0px; | right: 0px; | ||||
@@ -96,6 +96,7 @@ body[data-route^="Module"] .main-menu { | |||||
position: absolute; | position: absolute; | ||||
font-weight: normal; | font-weight: normal; | ||||
right: 0px; | right: 0px; | ||||
padding-bottom: 4px; | |||||
} | } | ||||
.octicon { | .octicon { | ||||