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
Guillaume Hervier
slapos
Commits
4b0cf35c
Commit
4b0cf35c
authored
Jan 27, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack-monitor: fix in readonly fields
parent
63143684
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 @
4b0cf35c
...
...
@@ -34,7 +34,7 @@ print "<input type=\"hidden\" name=\"posting-script\" value=\"{{ pwd }}/{{ this_
for option in parser.options("public"):
print "
<div
class=
\"pure-control-group\"
>
"
print "
<label
for=
\"=%s\"
>
%s
</label>
"%(option, option)
print "
<input
type=
\"text\"
name=
\"%s\"
value=
\"%s\"
readonly
>
"%(option, parser.get('public', 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
\
pure-button-primary
\"
>
Save
</button></div></form>
"
...
...
@@ -46,7 +46,7 @@ for section in parser.sections():
for option in parser.options(section):
print "
<div
class=
\"pure-control-group\"
>
"
print "
<label
for=
\"=%s\"
>
%s
</label>
"%(option, option)
print "
<input
type=
\"text\"
name=
\"%s\"
value=
\"%s\"
>
"%(option, parser.get(section, 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