Feature/sqlcmd - ADS changes to enable SQLCMD (#6555)

* Basic SQLCMD functionality to run query and toggle mode

* icons and  some cleanup

* Adding PR comments
This commit is contained in:
Udeesha Gautam
2019-08-20 11:40:16 -07:00
committed by GitHub
parent c513204501
commit 9117b02c72
8 changed files with 147 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<title>ADS_SQLCMD_Mode</title>
<path d="M6,10H3v1H6Z" fill="#015cda"/>
<rect x="3" y="6" width="10" height="1" fill="#015cda"/>
<path d="M10,9l6,3.5L10,16Zm1,1.742v3.516L14.016,12.5Z" fill="#015cda"/>
<path d="M1,15H9V14H2V5H14v5.175l1,.584V1H1M14,4H2V2H14Z" fill="#015cda"/>
<polygon points="11.985 9 13 9 13 8 11 8 11 8.425 11.985 9" fill="#015cda"/>
<rect x="3" y="8" width="6" height="1" fill="#015cda"/>
<rect x="7" y="10" width="2" height="1" fill="#015cda"/>
<rect x="3" y="12" width="6" height="1" fill="#015cda"/>
<rect width="16" height="16" fill="none"/>
</svg>

After

Width:  |  Height:  |  Size: 677 B

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<title>ADS_SQLCMD_Mode</title>
<path d="M6,10H3v1H6Z" fill="#015cda"/>
<rect x="3" y="6" width="10" height="1" fill="#015cda"/>
<path d="M10,9l6,3.5L10,16Zm1,1.742v3.516L14.016,12.5Z" fill="#015cda"/>
<path d="M1,15H9V14H2V5H14v5.175l1,.584V1H1M14,4H2V2H14Z" fill="#015cda"/>
<polygon points="11.985 9 13 9 13 8 11 8 11 8.425 11.985 9" fill="#015cda"/>
<rect x="3" y="8" width="6" height="1" fill="#015cda"/>
<rect x="7" y="10" width="2" height="1" fill="#015cda"/>
<rect x="3" y="12" width="6" height="1" fill="#015cda"/>
<rect width="16" height="16" fill="none"/>
</svg>

After

Width:  |  Height:  |  Size: 677 B

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<title>ADS_SQLCMD_Mode</title>
<path d="M6,10H3v1H6Z"/>
<rect x="3" y="6" width="10" height="1"/>
<path d="M10,9l6,3.5L10,16Zm1,1.742v3.516L14.016,12.5Z"/>
<path d="M1,15H9V14H2V5H14v5.175l1,.584V1H1M14,4H2V2H14Z"/>
<polygon points="11.985 9 13 9 13 8 11 8 11 8.425 11.985 9"/>
<rect x="3" y="8" width="6" height="1"/>
<rect x="7" y="10" width="2" height="1"/>
<rect x="3" y="12" width="6" height="1"/>
<rect width="16" height="16" fill="none"/>
</svg>

After

Width:  |  Height:  |  Size: 557 B

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<title>ADS_SQLCMD_Mode</title>
<path d="M6,10H3v1H6Z" fill="#fff"/>
<rect x="3" y="6" width="10" height="1" fill="#fff"/>
<path d="M10,9l6,3.5L10,16Zm1,1.742v3.516L14.016,12.5Z" fill="#fff"/>
<path d="M1,15H9V14H2V5H14v5.175l1,.584V1H1M14,4H2V2H14Z" fill="#fff"/>
<polygon points="11.985 9 13 9 13 8 11 8 11 8.425 11.985 9" fill="#fff"/>
<rect x="3" y="8" width="6" height="1" fill="#fff"/>
<rect x="7" y="10" width="2" height="1" fill="#fff"/>
<rect x="3" y="12" width="6" height="1" fill="#fff"/>
<rect width="16" height="16" fill="none"/>
</svg>

After

Width:  |  Height:  |  Size: 653 B

View File

@@ -104,3 +104,23 @@
.hc-black .icon.saveAsImage {
background-image: url('save_as_image_inverse.svg');
}
.vs .icon.enablesqlcmd {
background-image: url('enable_sqlcmd.svg');
}
.vs-dark .icon.enablesqlcmd,
.hc-black .icon.enablesqlcmd {
background-image: url('enable_sqlcmd_inverse.svg');
background-repeat: no-repeat;
}
.vs .icon.disablesqlcmd {
background-image: url('disable_sqlcmd.svg');
}
.vs-dark .icon.disablesqlcmd,
.hc-black .icon.disablesqlcmd {
background-image: url('disable_sqlcmd_inverse.svg');
background-repeat: no-repeat;
}