aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-04-11 11:20:26 +0300
committerAvi Levkovich <avi@twine-s.com>2018-04-11 11:20:26 +0300
commit588f2ed42de677c7e22b1c34c61568fe10098282 (patch)
tree043587200f23c861b8430ab903dfaf8176320a6c /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html
parentf4a6e8584e0e863515398ddb57fcfc545e425c87 (diff)
parentf052b13f288eec8f403536d40ed4cb4a4a38f5f9 (diff)
downloadTango-588f2ed42de677c7e22b1c34c61568fe10098282.tar.gz
Tango-588f2ed42de677c7e22b1c34c61568fe10098282.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HTML Templates/Thread Break.html48
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HtmlWindow.xaml6
2 files changed, 51 insertions, 3 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HTML Templates/Thread Break.html b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HTML Templates/Thread Break.html
new file mode 100644
index 000000000..5c620fc83
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HTML Templates/Thread Break.html
@@ -0,0 +1,48 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <style>
+ html {
+ overflow: hidden;
+ padding: 0;
+ margin: 0;
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ }
+
+ body {
+ padding: 0;
+ margin: 0;
+ /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,eeeeee+100;Grey+Flat */
+ background: rgb(238,238,238); /* Old browsers */
+ background: -moz-linear-gradient(top, rgba(238,238,238,1) 0%, rgba(238,238,238,1) 100%); /* FF3.6-15 */
+ background: -webkit-linear-gradient(top, rgba(238,238,238,1) 0%,rgba(238,238,238,1) 100%); /* Chrome10-25,Safari5.1-6 */
+ background: linear-gradient(to bottom, rgba(238,238,238,1) 0%,rgba(238,238,238,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
+ }
+
+ .header {
+ font-size: 25pt;
+ background: #414141;
+ color: white;
+ padding: 15px;
+ }
+
+ li {
+ margin:30px 10px;
+ padding:10px;
+ background:#C3C3C3;
+ max-width:500px;
+ border-radius:5px;
+ }
+ </style>
+</head>
+<body>
+ <div class="header">Thread Break</div>
+ <ol>
+ <li>Open the cover.</li>
+ <li>Connect the broken thread.</li>
+ <li>Close the cover.</li>
+ <li>Press 'OK' when done.</li>
+ </ol>
+</body>
+</html> \ No newline at end of file
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HtmlWindow.xaml b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HtmlWindow.xaml
index 654d2d0eb..d7032cedc 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HtmlWindow.xaml
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Html/HtmlWindow.xaml
@@ -10,15 +10,15 @@
Title="Machine Studio" Height="500" Width="800" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" Background="Transparent">
<Grid>
<Grid>
- <Border Background="White" Padding="10" BorderThickness="1" BorderBrush="{StaticResource AccentColorBrush}">
+ <Border Background="White" BorderThickness="1" BorderBrush="{StaticResource AccentColorBrush}">
<Border.Effect>
<DropShadowEffect ShadowDepth="0" BlurRadius="10"></DropShadowEffect>
</Border.Effect>
<Grid>
- <DockPanel Margin="10">
+ <DockPanel>
<Grid DockPanel.Dock="Bottom">
- <Button Margin="10 10 0 0" Width="140" HorizontalAlignment="Right" Click="OKClicked">OK</Button>
+ <Button Margin="10" Width="140" HorizontalAlignment="Right" Click="OKClicked">OK</Button>
</Grid>
<WebBrowser x:Name="webBrowser"
OverridesDefaultStyle="False"