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 0e4b3d2c
authored
Aug 20, 2022
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Penambahan fungsi config_pars_url
1 parent
60f430fb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
opensipkd/base/tools/api.py
opensipkd/base/views/register.py
opensipkd/base/views/templates/logout.pt
opensipkd/base/tools/api.py
View file @
0e4b3d2
from
opensipkd.base
import
get_params
from
opensipkd.models
import
(
DBSession
,
User
,
GroupPermission
,
UserDeviceModel
)
from
opensipkd.tools
import
(
...
...
@@ -149,3 +150,6 @@ def update_token(user):
DBSession
.
flush
()
return
dict
(
token
=
user
.
security_code
)
def
config_pars_rpc_url
(
params
,
method
=
None
):
values
=
get_params
(
params
)
return
pars_rpc_url
(
values
,
method
)
\ No newline at end of file
opensipkd/base/views/register.py
View file @
0e4b3d2
This diff is collapsed.
Click to expand it.
opensipkd/base/views/templates/logout.pt
View file @
0e4b3d2
...
...
@@ -55,7 +55,7 @@
</div>
<div
class=
"col-md-12"
align=
"center"
>
<img
src=
"${home}static/img/logo.png"
class=
"img-float img-thumbnail"
style=
"height:
auto
;width:auto;border:none;"
/>
class=
"img-float img-thumbnail"
style=
"height:
50px
;width:auto;border:none;"
/>
</div>
<div
class=
"clearfix"
></div>
</fieldset>
...
...
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