Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Penguidom
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domotika
Penguidom
Commits
1190f6d8
Commit
1190f6d8
authored
7 years ago
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Login GUI
parent
1a0673f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
login.html
Web/resources/login.html
+5
-6
web.py
penguidom/web/web.py
+0
-1
No files found.
Web/resources/login.html
View file @
1190f6d8
...
@@ -17,7 +17,7 @@ body {
...
@@ -17,7 +17,7 @@ body {
padding
:
0
;
padding
:
0
;
}
}
.t
heme_dm
black
{
.tblack
{
background-color
:
#000
!important
;
background-color
:
#000
!important
;
}
}
...
@@ -192,11 +192,10 @@ img {
...
@@ -192,11 +192,10 @@ img {
</style>
</style>
@SCRIPT@
@SCRIPT@
</head>
</head>
<body
class=
"@THEME@"
>
<body
class=
"tblack"
>
<div
id=
"login"
class=
"@THEME@"
>
<div
id=
"login"
class=
"tblack"
>
<img
src=
"/img/logo_login.png"
>
<form
name=
"loginform"
id=
"login"
class=
"login tblack"
action=
"@PATH@"
method=
"post"
>
<form
name=
"loginform"
id=
"login"
class=
"login @THEME@"
action=
"@PATH@"
method=
"post"
>
<h4>
Penguidom Login
</h4>
<h4>
Domotika Login
</h4>
<p>
<p>
<label
for=
"user_login"
>
Username
<br
/>
<label
for=
"user_login"
>
Username
<br
/>
<input
type=
"text"
name=
"username"
id=
"user_login"
class=
"input"
value=
"@USERNAME@"
size=
"20"
/></label>
<input
type=
"text"
name=
"username"
id=
"user_login"
class=
"input"
value=
"@USERNAME@"
size=
"20"
/></label>
...
...
This diff is collapsed.
Click to expand it.
penguidom/web/web.py
View file @
1190f6d8
...
@@ -457,7 +457,6 @@ class LoginPage(rend.Page):
...
@@ -457,7 +457,6 @@ class LoginPage(rend.Page):
html
=
html
.
replace
(
"@USERNAME@"
,
''
)
html
=
html
.
replace
(
"@USERNAME@"
,
''
)
html
=
html
.
replace
(
"@PASSWORD@"
,
''
)
html
=
html
.
replace
(
"@PASSWORD@"
,
''
)
html
=
html
.
replace
(
"@SCRIPT@"
,
""
)
html
=
html
.
replace
(
"@SCRIPT@"
,
""
)
html
=
html
.
replace
(
"@THEME@"
,
str
(
self
.
core
.
configGet
(
'web'
,
'logintheme'
)))
html
=
html
.
replace
(
"@CHECKED@"
,
""
)
html
=
html
.
replace
(
"@CHECKED@"
,
""
)
return
html
return
html
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment