Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
a85ab61b
Commit
a85ab61b
authored
Jun 04, 2012
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add place holder for temp control
parent
4158bc63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
style.css
css/style.css
+49
-0
webinterface.py
webinterface.py
+11
-0
No files found.
css/style.css
View file @
a85ab61b
...
...
@@ -155,3 +155,52 @@ border: none;
#logframe
{
}
#temp
{
}
#tempmenu
{
padding
:
0
0
10px
10px
;
position
:
relative
;
float
:
left
;
width
:
100%
;
}
#tempmenu
ul
,
#tempmenu
li
{
margin
:
0
;
display
:
inline
;
list-style-type
:
none
;
}
#tempmenu
b
{
padding-top
:
4px
;
float
:
left
;
line-height
:
14px
;
font-weight
:
bold
;
color
:
#888
;
margin
:
0
10px
4px
10px
;
text-decoration
:
none
;
color
:
#999
;
}
#tempmenu
a
:link
,
#tempmenu
a
:visited
{
float
:
left
;
border-bottom
:
1px
solid
#000
;
line-height
:
14px
;
font-weight
:
bold
;
margin
:
0
10px
4px
10px
;
text-decoration
:
none
;
color
:
#999
;
}
#tempmenu
a
:link
#tempmenu
,
#tempmenu
a
:visited
#current
,
#tempmenu
a
:hover
{
border-bottom
:
2px
solid
#000
;
padding-bottom
:
2px
;
background
:
transparent
;
color
:
#000
;
}
#tempmenu
a
:hover
{
color
:
#000
;
}
\ No newline at end of file
webinterface.py
View file @
a85ab61b
...
...
@@ -319,6 +319,17 @@ class WebInterface(object):
pageText
+=
"</div>
\n
"
#endgui
pageText
+=
"</div>
\n
"
#endcontent
pageText
+=
"</br>
\n
"
# Temp Control TBD
# pageText+="<div id='temp'>"
# pageText+="<div id='tempmenu'>"
# pageText+="<ul><li><b>Heater Temp:</b></li><li><a href='/off'>OFF</a></li><li><a href='/185'>185 (PLA)</a></li><li><a href='/240'>240 (ABS)</a></li></ul>"
# pageText+="</div>"
# pageText+="<div id='tempmenu'>"
# pageText+="<ul><li><b>Bed Temp:</b></li><li><a href='/off'>OFF</a></li><li><a href='/185'>185 (PLA)</a></li><li><a href='/240'>240 (ABS)</a></li></ul>"
# pageText+="</div>"
# pageText+="</div>"
pageText
=
pageText
+
"<div id='file'>File Loaded: <i>"
+
str
(
gPronterPtr
.
filename
)
+
"</i></div>"
pageText
+=
"<div id='logframe'><iframe src='/logpage' width='100
%
' height='100
%
'>iFraming Not Supported?? No log for you.</iframe></div>"
pageText
+=
PrintFooter
()
...
...
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