minor fixes
This commit is contained in:
parent
cd76c499e2
commit
e1ca51f652
5 changed files with 7 additions and 4 deletions
|
|
@ -787,7 +787,7 @@ frappe.ui.form.ControlAttach = frappe.ui.form.ControlData.extend({
|
|||
this.frm.attachments.update_attachment(attachment);
|
||||
} else {
|
||||
this.set_input(this.fileobj.filename, this.dataurl);
|
||||
//this.refresh();
|
||||
this.refresh();
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
{%- macro properties(field) %}name="{{ field.fieldname }}" id="{{ field.fieldname }}" {% if field.placeholder %}placeholder="{{ field.placeholder }}"{% endif %} data-label="{{ field.label }}" data-fieldtype="{{ field.fieldtype }}" {{ (field.reqd and field.fieldtype!="Attach") and "required" or "" }} {{ field.read_only and "disabled" or "" }}{% endmacro -%}
|
||||
|
||||
{%- macro value(field) -%}{% if doc %}{{ doc.get(field.fieldname) or "" }}{% else %}{{ getCookie(field.options) or "" }}{% endif %}{%- endmacro -%}
|
||||
{%- macro value(field) -%}{% if doc %}{{ doc.get(field.fieldname) or field.default or "" }}{% else %}{{ getCookie(field.options) or field.default or "" }}{% endif %}{%- endmacro -%}
|
||||
|
||||
{%- macro help(field) -%}
|
||||
{% if field.description -%}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
max-width: 360px;
|
||||
padding: 30px;
|
||||
margin: 0 auto;
|
||||
border: 1px solid #d1d8dd;
|
||||
border-radius: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{% block content %}
|
||||
<!-- no-header -->
|
||||
<div class="login-content container" style="max-width: 800px; padding-top: 30px;">
|
||||
<div class="login-content container" style="max-width: 800px; padding-top: 30px; padding-bottom:15px">
|
||||
<form class="form-signin form-login" role="form">
|
||||
{%- if social_login -%}
|
||||
<h4 class="form-signin-heading text-center">{{ _("Sign in using") }}</h4>
|
||||
|
|
|
|||
|
|
@ -70,6 +70,10 @@ a:active {
|
|||
border-top: 1px solid {{ border_color }};
|
||||
}
|
||||
|
||||
.border-color {
|
||||
border-color: {{ border_color }};
|
||||
}
|
||||
|
||||
{% if theme.css -%} {% include theme.css %} {%- endif %}
|
||||
|
||||
{%- endif -%}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue