remove unused icons, roll export dialogs into index.html
This commit is contained in:
parent
7a5031044f
commit
e7fd4b0852
15 changed files with 125 additions and 151 deletions
|
|
@ -276,8 +276,8 @@ th, tr, td, label {
|
|||
.dark .mdialog,
|
||||
.dark .t-body,
|
||||
.dark .cam-pop-op,
|
||||
.dark #mod-print,
|
||||
.dark #mod-print .header label
|
||||
.dark .mod-print,
|
||||
.dark .mod-print .header label
|
||||
{
|
||||
background-color: #282828;
|
||||
color: white;
|
||||
|
|
@ -856,7 +856,7 @@ th, tr, td, label {
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
#mod-print button, #catalogList button, #settingsList button {
|
||||
.mod-print button, #catalogList button, #settingsList button {
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
|
|
@ -1555,13 +1555,13 @@ th, tr, td, label {
|
|||
font-family: monospace;
|
||||
padding-top: 5px;
|
||||
}
|
||||
#mod-print {
|
||||
.mod-print {
|
||||
background-color: rgba(255,255,255,0.85);
|
||||
}
|
||||
#mod-print .grow button {
|
||||
.mod-print .grow button {
|
||||
margin-left: 5px;
|
||||
}
|
||||
#mod-print .hint {
|
||||
.mod-print .hint {
|
||||
color: #345;
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
|
|
@ -1569,50 +1569,50 @@ th, tr, td, label {
|
|||
font-weight: normal;
|
||||
padding-top: 5px;
|
||||
}
|
||||
.dark #mod-print .box {
|
||||
.dark .mod-print .box {
|
||||
background-color: rgba(0,0,0,0.15);
|
||||
border-color: #555;
|
||||
}
|
||||
#mod-print .box {
|
||||
.mod-print .box {
|
||||
background-color: rgba(255,255,255,0.5);
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 3px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
}
|
||||
#mod-print .box select {
|
||||
.mod-print .box select {
|
||||
min-width: 10em;
|
||||
}
|
||||
#mod-print .header {
|
||||
.mod-print .header {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
transform: translateY(50%);
|
||||
z-index: 10;
|
||||
}
|
||||
#mod-print .header label {
|
||||
.mod-print .header label {
|
||||
background-color: white;
|
||||
padding: 0 10px 0 10px;
|
||||
border-radius: 5px;
|
||||
border-right: 1px solid #bbb;
|
||||
border-left: 1px solid #bbb;
|
||||
}
|
||||
#mod-print a {
|
||||
.mod-print a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
#mod-print a:hover {
|
||||
.mod-print a:hover {
|
||||
color: #567;
|
||||
background-color: #ddd;
|
||||
}
|
||||
#mod-print label {
|
||||
.mod-print label {
|
||||
flex-grow: 1;
|
||||
font-weight: bold;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.dark #mod-print button {
|
||||
.dark .mod-print button {
|
||||
background-color: #555;
|
||||
border-color: #777;
|
||||
}
|
||||
#mod-print button {
|
||||
.mod-print button {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -579,7 +579,94 @@
|
|||
|
||||
<!-- grid local list -->
|
||||
<div id="mod-local" class="mdialog f-col"></div>
|
||||
<div id="mod-print" class="mdialog f-col"></div>
|
||||
<!-- export dialogs -->
|
||||
<div id="mod-x-any" class="mod-print mdialog f-col">
|
||||
<div class="header"><label>export</label></div>
|
||||
<div id="print-info" class="f-col box">
|
||||
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
|
||||
<div><label>file size (bytes)</label><input id="print-filesize" size="12" disabled="true" /></div>
|
||||
<div><label>time estimate (h:m:s)</label><input id="output-time" size="12" disabled="true" /></div>
|
||||
</div>
|
||||
<div id="print-filament-head" class="header"><label>filament</label></div>
|
||||
<div id="print-filament-info" class="f-col box">
|
||||
<div><label>filament density (g/cm^3)</label><input id="print-density" size="12" value="1.25" /></div>
|
||||
<div><label>filament used (mm)</label><input id="print-filament" size="12" disabled="true" /></div>
|
||||
<div><label>printed weight (g)</label><input id="print-weight" size="12" disabled="true" /></div>
|
||||
</div>
|
||||
<div id="code-preview-head" class="header"><label>code preview</label></div>
|
||||
<div id="code-preview" class="f-col box">
|
||||
<div><textarea id="code-preview-textarea"></textarea></div>
|
||||
</div>
|
||||
<div class="header"><label>gcode</label></div>
|
||||
<div class="f-row box">
|
||||
<button id="print-download" class="grow">download</button>
|
||||
<button id="print-palette" class="grow">palette</button>
|
||||
<button id="print-zip" class="grow">zip file</button>
|
||||
</div>
|
||||
<div id="send-to-octohead" class="header"><label>octoprint</label></div>
|
||||
<div id="send-to-octoprint" class="f-col box">
|
||||
<div class="grow f-row">
|
||||
<div class="f-col grow">
|
||||
<div id="ophost"><label>host</label><input id="octo-host" size="20" placeholder="http(s)://host:port" /></div>
|
||||
<div id="opapik"><label>key</label><input id="octo-apik" size="20" /></div>
|
||||
</div>
|
||||
<button id="print-octoprint">send</button>
|
||||
</div>
|
||||
<div id="oph1nt"><label class="hint"><a href="http://docs.octoprint.org/en/master/api/general.html?highlight=cors#cross-origin-requests" target="_help">CORS support</a> must be enabled in API settings</label></div>
|
||||
</div>
|
||||
<div id="send-to-hosthead" class="header"><label>grid:host</label></div>
|
||||
<div id="send-to-gridhost" class="f-col box">
|
||||
<div class="grow f-row">
|
||||
<div class="f-col grow">
|
||||
<div><label>host</label><input id="grid-host" size="20" placeholder="http(s)://host:port" /></div>
|
||||
<div id="gpapik"><label>api key</label><input id="grid-apik" size="20" /></div>
|
||||
<div><label>target</label><select id="grid-target"></select></div>
|
||||
</div>
|
||||
<button id="print-gridhost">send</button>
|
||||
</div>
|
||||
<div><label class="hint">setup <a href="https://github.com/GridSpace/grid-host" target="_help">grid:host</a> for your network</label></div>
|
||||
</div>
|
||||
<div id="send-to-gridhead" class="header noshow"><label>grid:local</label></div>
|
||||
<div id="send-to-gridspool" class="f-row box noshow">
|
||||
<div class="grow f-row">
|
||||
<div class="grow a-center j-center">
|
||||
<label>target</label>
|
||||
<select id="grid-local"></select>
|
||||
</div>
|
||||
<div class="f-col">
|
||||
<button id="print-gridlocal">send</button>
|
||||
<button id="admin-gridlocal">admin</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="mod-x-sla" class="mod-print mdialog f-col">
|
||||
<div class="header"><label>export</label></div>
|
||||
<div id="print-info" class="f-col box">
|
||||
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
|
||||
<div><label>resin used ML</label><input id="print-volume" size="10" spellcheck="false" /></div>
|
||||
<div><label>layers</label><input id="print-layers" size="10" spellcheck="false" /></div>
|
||||
<div><label>print time</label><input id="print-time" size="10" spellcheck="false" /></div>
|
||||
</div>
|
||||
<div class="header"><label>download</label></div>
|
||||
<div class="f-row box">
|
||||
<button id="print-sla" class="grow">download</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="mod-x-laser" class="mod-print mdialog f-col">
|
||||
<div class="header"><label>export</label></div>
|
||||
<div id="print-info" class="f-col box">
|
||||
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
|
||||
<div><label>segments</label><input id="print-lines" size="12" disabled="true" /></div>
|
||||
</div>
|
||||
<div class="header"><label>download</label></div>
|
||||
<div class="f-row box">
|
||||
<button id="print-svg" class="grow">svg</button>
|
||||
<button id="print-dxf" class="grow">dxf</button>
|
||||
<button id="print-lg" class="grow">gcode</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- dynamic dialogs -->
|
||||
<div id="mod-any" class="mdialog f-col"></div>
|
||||
<div class="mod-end"></div></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,64 +0,0 @@
|
|||
<div class="header"><label>export</label></div>
|
||||
<div id="print-info" class="f-col box">
|
||||
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
|
||||
<div><label>file size (bytes)</label><input id="print-filesize" size="12" disabled="true" /></div>
|
||||
<div><label>time estimate (h:m:s)</label><input id="output-time" size="12" disabled="true" /></div>
|
||||
</div>
|
||||
|
||||
<div id="print-filament-head" class="header"><label>filament</label></div>
|
||||
<div id="print-filament-info" class="f-col box">
|
||||
<div><label>filament density (g/cm^3)</label><input id="print-density" size="12" value="1.25" /></div>
|
||||
<div><label>filament used (mm)</label><input id="print-filament" size="12" disabled="true" /></div>
|
||||
<div><label>printed weight (g)</label><input id="print-weight" size="12" disabled="true" /></div>
|
||||
</div>
|
||||
|
||||
<div id="code-preview-head" class="header"><label>code preview</label></div>
|
||||
<div id="code-preview" class="f-col box">
|
||||
<div><textarea id="code-preview-textarea"></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="header"><label>gcode</label></div>
|
||||
<div class="f-row box">
|
||||
<button id="print-download" class="grow">download</button>
|
||||
<button id="print-palette" class="grow">palette</button>
|
||||
<button id="print-zip" class="grow">zip file</button>
|
||||
</div>
|
||||
|
||||
<div id="send-to-octohead" class="header"><label>octoprint</label></div>
|
||||
<div id="send-to-octoprint" class="f-col box">
|
||||
<div class="grow f-row">
|
||||
<div class="f-col grow">
|
||||
<div id="ophost"><label>host</label><input id="octo-host" size="20" placeholder="http(s)://host:port" /></div>
|
||||
<div id="opapik"><label>key</label><input id="octo-apik" size="20" /></div>
|
||||
</div>
|
||||
<button id="print-octoprint">send</button>
|
||||
</div>
|
||||
<div id="oph1nt"><label class="hint"><a href="http://docs.octoprint.org/en/master/api/general.html?highlight=cors#cross-origin-requests" target="_help">CORS support</a> must be enabled in API settings</label></div>
|
||||
</div>
|
||||
|
||||
<div id="send-to-hosthead" class="header"><label>grid:host</label></div>
|
||||
<div id="send-to-gridhost" class="f-col box">
|
||||
<div class="grow f-row">
|
||||
<div class="f-col grow">
|
||||
<div><label>host</label><input id="grid-host" size="20" placeholder="http(s)://host:port" /></div>
|
||||
<div id="gpapik"><label>api key</label><input id="grid-apik" size="20" /></div>
|
||||
<div><label>target</label><select id="grid-target"></select></div>
|
||||
</div>
|
||||
<button id="print-gridhost">send</button>
|
||||
</div>
|
||||
<div><label class="hint">setup <a href="https://github.com/GridSpace/grid-host" target="_help">grid:host</a> for your network</label></div>
|
||||
</div>
|
||||
|
||||
<div id="send-to-gridhead" class="header noshow"><label>grid:local</label></div>
|
||||
<div id="send-to-gridspool" class="f-row box noshow">
|
||||
<div class="grow f-row">
|
||||
<div class="grow a-center j-center">
|
||||
<label>target</label>
|
||||
<select id="grid-local"></select>
|
||||
</div>
|
||||
<div class="f-col">
|
||||
<button id="print-gridlocal">send</button>
|
||||
<button id="admin-gridlocal">admin</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<div class="header"><label>export</label></div>
|
||||
<div id="print-info" class="f-col box">
|
||||
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
|
||||
<div><label>segments</label><input id="print-lines" size="12" disabled="true" /></div>
|
||||
</div>
|
||||
|
||||
<div class="header"><label>download</label></div>
|
||||
<div class="f-row box">
|
||||
<button id="print-svg" class="grow">svg</button>
|
||||
<button id="print-dxf" class="grow">dxf</button>
|
||||
<button id="print-lg" class="grow">gcode</button>
|
||||
</div>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
<div class="header"><label>export</label></div>
|
||||
<div id="print-info" class="f-col box">
|
||||
<div><label>file name</label><input id="print-filename" size="20" spellcheck="false" /></div>
|
||||
<div><label>resin used ML</label><input id="print-volume" size="10" spellcheck="false" /></div>
|
||||
<div><label>layers</label><input id="print-layers" size="10" spellcheck="false" /></div>
|
||||
<div><label>print time</label><input id="print-time" size="10" spellcheck="false" /></div>
|
||||
</div>
|
||||
|
||||
<div class="header"><label>download</label></div>
|
||||
<div class="f-row box">
|
||||
<button id="print-sla" class="grow">download</button>
|
||||
</div>
|
||||
Loading…
Reference in a new issue