Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaohe Cao
slapos
Commits
a5adf917
Commit
a5adf917
authored
Feb 06, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: typo in labels in settings.cgi
parent
229c1b99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
stack/monitor/webfiles/settings.cgi.in
stack/monitor/webfiles/settings.cgi.in
+2
-2
No files found.
stack/monitor/webfiles/settings.cgi.in
View file @
a5adf917
...
...
@@ -39,7 +39,7 @@ print "<form action=\"/index.cgi\" method=\"post\" class=\"pure-form-aligned\">"
print "
<input
type=
\"hidden\"
name=
\"posting-script\"
value=
\"{{
pwd
}}/{{
this_file
}}\"
>
"
for option in parser.options("public"):
print "
<div
class=
\"pure-control-group\"
>
"
print "
<label
for=
\"
=
%s\"
>
%s
</label>
"%(option, option)
print "
<label
for=
\"%s\"
>
%s
</label>
"%(option, option)
print "
<input
type=
\"text\"
name=
\"%s\"
value=
\"%s\"
>
"%(option, parser.get('public', option))
print "
</div>
"
print "
<div
class=
\"pure-controls\"
><button
type=
\"submit\"
class=
\"pure-button
\
...
...
@@ -51,7 +51,7 @@ for section in parser.sections():
if section != 'public':
for option in parser.options(section):
print "
<div
class=
\"pure-control-group\"
>
"
print "
<label
for=
\"
=
%s\"
>
%s
</label>
"%(option, option)
print "
<label
for=
\"%s\"
>
%s
</label>
"%(option, option)
print "
<input
type=
\"text\"
name=
\"%s\"
value=
\"%s\"
readonly
>
"%(option, parser.get(section, option))
print "
</div>
"
print "
</form>
"
...
...
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