button and academic leve input bx changes
This commit is contained in:
parent
efbe824a2c
commit
c12a872fa3
@ -20,9 +20,14 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="Academic Level">
|
<form string="Academic Level">
|
||||||
<sheet>
|
<sheet>
|
||||||
|
<div class="oe_title">
|
||||||
|
<label for="name" string="Level Name"/>
|
||||||
|
<h1>
|
||||||
|
<field name="name" placeholder="e.g. Undergraduate"/>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
<group>
|
<group>
|
||||||
<group>
|
<group>
|
||||||
<field name="name"/>
|
|
||||||
<field name="code"/>
|
<field name="code"/>
|
||||||
<field name="sequence"/>
|
<field name="sequence"/>
|
||||||
</group>
|
</group>
|
||||||
|
|||||||
Binary file not shown.
@ -24,3 +24,5 @@ class EducationAnnouncement(models.Model):
|
|||||||
default=lambda self: self.env.company,
|
default=lambda self: self.env.company,
|
||||||
index=True,
|
index=True,
|
||||||
)
|
)
|
||||||
|
circular_file = fields.Binary(string='Circular File', attachment=True)
|
||||||
|
circular_filename = fields.Char(string='Circular Filename')
|
||||||
|
|||||||
@ -30,6 +30,8 @@
|
|||||||
<field name="announcement_type"/>
|
<field name="announcement_type"/>
|
||||||
<field name="date_published"/>
|
<field name="date_published"/>
|
||||||
<field name="expiry_date"/>
|
<field name="expiry_date"/>
|
||||||
|
<field name="circular_filename" invisible="1"/>
|
||||||
|
<field name="circular_file" filename="circular_filename" widget="binary" invisible="announcement_type != 'circular'"/>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
<field name="active"/>
|
<field name="active"/>
|
||||||
|
|||||||
@ -222,6 +222,7 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager {
|
|||||||
// Input fields (Modern SaaS style - clean gray boxes that highlight)
|
// Input fields (Modern SaaS style - clean gray boxes that highlight)
|
||||||
.o_field_widget {
|
.o_field_widget {
|
||||||
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
|
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
|
||||||
|
width: 100% !important;
|
||||||
background-color: #f8fafc !important;
|
background-color: #f8fafc !important;
|
||||||
border: 1px solid #e2e8f0 !important;
|
border: 1px solid #e2e8f0 !important;
|
||||||
border-radius: 6px !important;
|
border-radius: 6px !important;
|
||||||
@ -237,6 +238,23 @@ body.o_web_client:has(.o_sidebar_custom) .o_action_manager {
|
|||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// File upload button
|
||||||
|
.o_select_file_button {
|
||||||
|
background-color: var(--o-brand-primary) !important;
|
||||||
|
color: #ffffff !important;
|
||||||
|
border: none !important;
|
||||||
|
border-radius: 6px !important;
|
||||||
|
font-weight: 600 !important;
|
||||||
|
padding: 8px 16px !important;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: #177a7a !important;
|
||||||
|
transform: translateY(-1px);
|
||||||
|
box-shadow: 0 4px 10px rgba(31, 143, 143, 0.3) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Group titles / Separators
|
// Group titles / Separators
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user