Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-tools
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 b94bfdea
authored
Jul 26, 2022
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add button
1 parent
099e9fd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
opensipkd/tools/buttons.py
opensipkd/tools/buttons.py
View file @
b94bfde
...
...
@@ -28,6 +28,8 @@ btn_qrcode = Button('qrcode', title='QRcode', css_class="btn-success", type="but
btn_barcode_nop
=
Button
(
'barcode_nop'
,
title
=
'Barcode NOP'
,
css_class
=
"btn-info"
,
type
=
"button"
)
btn_inquiry
=
Button
(
'inquiry'
,
title
=
'Inquiry'
,
css_class
=
"btn-info"
,
type
=
"submit"
)
btn_invoice
=
Button
(
'invoice'
,
title
=
_
(
'Invoice'
),
css_class
=
"btn-info"
,
type
=
"submit"
)
btn_map
=
Button
(
'map'
,
title
=
_
(
'MAP'
),
css_class
=
"btn-info"
,
type
=
"submit"
)
btn_payment
=
Button
(
'payment'
,
title
=
'Payment'
,
css_class
=
"btn-success"
,
type
=
"submit"
)
btn_accept
=
Button
(
'accept'
,
title
=
'Terima'
,
css_class
=
"btn-success"
)
...
...
@@ -59,5 +61,7 @@ pdf_buttons = [btn_pdf, btn_close]
btn_login
=
Button
(
'login'
,
title
=
_
(
'Login'
),
css_class
=
"btn-success"
)
btn_register
=
Button
(
'register'
,
title
=
_
(
'Register'
),
css_class
=
"btn-success"
)
btn_password
=
Button
(
'password'
,
title
=
'Change Password'
,
css_class
=
"btn-danger"
)
btn_lost
=
Button
(
'lost'
,
title
=
'Lost Password'
,
css_class
=
"btn-danger"
)
\ No newline at end of file
btn_password
=
Button
(
'password'
,
title
=
_
(
'Change Password'
),
css_class
=
"btn-danger"
)
btn_lost
=
Button
(
'lost'
,
title
=
_
(
'Lost Password'
),
css_class
=
"btn-danger"
)
btn_yes
=
Button
(
'yes'
,
title
=
_
(
'Yes'
),
css_class
=
"btn-success"
)
btn_no
=
Button
(
'no'
,
title
=
_
(
'No'
),
css_class
=
"btn-danger"
)
\ No newline at end of file
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