Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b38714fa
authored
Dec 13, 2024
by
aa.gusti
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'beta-4.2' of
https://git.opensipkd.com/aa.gusti/opensipkd-base
into beta-4.2
2 parents
1a3f80a1
3c938662
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
opensipkd/detable/detable.py
opensipkd/detable/detable.py
View file @
b38714f
...
@@ -413,6 +413,20 @@ class DeTable(field.Field):
...
@@ -413,6 +413,20 @@ class DeTable(field.Field):
elif
isinstance
(
f
.
typ
,
colander
.
Date
):
elif
isinstance
(
f
.
typ
,
colander
.
Date
):
html
+=
f
'<div class="form-group" {txt}>'
html
+=
f
'<div class="form-group" {txt}>'
html
+=
f
'<label class="form-label" style="font-size:12px">{f.title}</label>'
html
+=
f
'<div class="input-group input-daterange" style="padding: 3px 0px 7px !important;">'
html
+=
f
'<input type="date" class="form-control {self.tableid}-control-filter hasDatePicker"'
html
+=
f
'data-index={field_index} placeholder="{f.title} Awal"'
html
+=
f
'name="{col_id}" id="{col_id}-min"/>'
html
+=
f
'<div class="input-group-addon">-</div>'
html
+=
f
'<input type="date" class="form-control {self.tableid}-control-filter hasDatePicker"'
html
+=
f
'data-index={field_index} placeholder="{f.title} Akhir" '
html
+=
f
'name="{col_id}" id="{col_id}-max" /></span>'
html
+=
f
'</div>'
html
+=
f
'</div>'
"""
awal
html += f'<div class="form-group" {txt}>'
html += f'<div class="input-group">'
html += f'<div class="input-group">'
html += f'<span class="input-group-addon">{f.title}</span>'
html += f'<span class="input-group-addon">{f.title}</span>'
html += f'<span class="input-group-addon"><input type="date" class="form-control {self.tableid}-control-filter hasDatePicker"'
html += f'<span class="input-group-addon"><input type="date" class="form-control {self.tableid}-control-filter hasDatePicker"'
...
@@ -423,6 +437,8 @@ class DeTable(field.Field):
...
@@ -423,6 +437,8 @@ class DeTable(field.Field):
html += f'name="{col_id}" id="{col_id}-max" /></span>'
html += f'name="{col_id}" id="{col_id}-max" /></span>'
html += f'</div>'
html += f'</div>'
html += f'</div>'
html += f'</div>'
"""
# html += """
# html += """
# <script type="text/javascript">
# <script type="text/javascript">
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment