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 e3e0f2c5
authored
Aug 19, 2024
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaian checkmark pada list
1 parent
9b14a9e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
opensipkd/detable/detable.py
opensipkd/detable/templates/detable.pt
setup.py
opensipkd/detable/detable.py
View file @
e3e0f2c
...
@@ -180,6 +180,7 @@ class DeTable(field.Field):
...
@@ -180,6 +180,7 @@ class DeTable(field.Field):
table_widget
=
widget
.
TableWidget
()
table_widget
=
widget
.
TableWidget
()
self
.
widget
=
table_widget
self
.
widget
=
table_widget
self
.
server_side
=
server_side
self
.
server_side
=
server_side
self
.
data
=
data
self
.
data
=
data
columns
=
[]
columns
=
[]
...
...
opensipkd/detable/templates/detable.pt
View file @
e3e0f2c
...
@@ -51,7 +51,14 @@
...
@@ -51,7 +51,14 @@
<!-- widget-body -->
<!-- widget-body -->
</div>
</div>
</header>
</header>
<style>
.fa-minus-square {
color: red;
}
.fa-check-square {
color: forestgreen;
}
</style>
<script type="text/javascript">
<script type="text/javascript">
var m${tableid}ID;
var m${tableid}ID;
var o${tableid};
var o${tableid};
...
@@ -86,7 +93,8 @@
...
@@ -86,7 +93,8 @@
return '<i class="fas fa-check-square" aria-hidden="true">';
return '<i class="fas fa-check-square" aria-hidden="true">';
}
}
if (value === false) {
if (value === false) {
return 'Archived';
return '<i class="fas fa-minus-square" aria-hidden="true">';
//'Archived';
}
}
return value;
return value;
}
}
...
...
setup.py
View file @
e3e0f2c
...
@@ -11,7 +11,7 @@ with open(os.path.join(here, 'CHANGES.txt')) as f:
...
@@ -11,7 +11,7 @@ with open(os.path.join(here, 'CHANGES.txt')) as f:
line
=
CHANGES
.
splitlines
()[
0
]
line
=
CHANGES
.
splitlines
()[
0
]
version
=
line
.
split
()[
0
]
version
=
line
.
split
()[
0
]
requires
=
[
requires
=
[
'sqlalchemy
==1.4.50
'
,
'sqlalchemy'
,
'wheel'
,
'wheel'
,
'colander==1.8.3'
,
'colander==1.8.3'
,
'pyramid'
,
'pyramid'
,
...
...
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