Commit adfef56b by aa.gusti

penambahan buttons

1 parent 00991536
......@@ -16,12 +16,12 @@ Buat Python Virtual Environment, biasanya pada home directory::
Install Production
------------------
$ ~/env/bin/pip install git+https://git.opensipkd.com/aa.gusti/tools.git
$ ~/env/bin/pip install git+https://git.opensipkd.com/aa.gusti/opensipkd-tools.git
Install Development::
-------------------
$ mkdir apps
$ cd apps
$ git clone https://git.opensipkd.com/aa.gusti/tools.git
$ git clone https://git.opensipkd.com/aa.gusti/opensipkd-tools.git
$ env/bin/pip install -e tools
......@@ -7,7 +7,7 @@ btn_delete = Button('delete', title='Hapus', css_class="btn-danger")
btn_save = Button('save', title='Simpan', css_class="btn-primary")
btn_force = Button('force', title='Paksa', css_class="btn-info")
btn_upload = Button('upload', title='Upload', css_class="btn-info")
btn_filter = Button('filter', title='Filter', css_class="btn-info")
btn_cancel = Button('cancel', title='Batal', css_class="btn-warning")
btn_reset = Button('reset', title='Reset', css_class="btn-warning", type="reset")
btn_close = Button('close', title='Tutup', css_class="btn-danger")
......
......@@ -4,7 +4,7 @@ import ntpath
import csv
import io
from datetime import datetime
from z3c.rml import rml2pdf
# from z3c.rml import rml2pdf
import subprocess
import logging
from ..tools import get_settings
......@@ -37,6 +37,8 @@ def open_rml_row(row_tpl_filename):
def open_rml_pdf(tpl_filename, **kwargs):
# out_filename = 'out_filename' in kwargs and kwargs['out_filename'] or tpl_filename
# log.warning("Not Supported")
# return
pdf_filename = tpl_filename + '.pdf'
f = open(rpt_path + tpl_filename)
......
......@@ -9,6 +9,4 @@ translationstring>=1.4
plaster>=1.0
hupper>=1.10.3
urllib3>=1.26.6
idna>=3.2
pikepdf
z3c.rml
idna>=3.2
\ No newline at end of file
......@@ -10,6 +10,20 @@ with open(os.path.join(here, 'CHANGES.txt')) as f:
line = CHANGES.splitlines()[0]
version = line.split()[0]
requires = [
"setuptools",
"pip",
"WebOb",
"certifi",
"pyramid",
"pyramid_rpc",
"venusian",
"translationstring",
"plaster",
"hupper",
"urllib3",
"idna",
# "pikepdf",
# "z3c.rml",
]
dev_requires = [
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!