CP-15402: Replaced existing to a new, html-based Home Page
Tried to keep changes at one place while not abstracting things too much as we have don't need any complex functionality yet. Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
@ -80,6 +80,21 @@
|
||||
<File Id="DiscUtils" Source="..\XenAdmin\bin\Release\DiscUtils.dll" />
|
||||
<File Id="XenOvf" Source="..\XenAdmin\bin\Release\XenOvf.dll" />
|
||||
<File Id="XenOvfTransport" Source="..\XenAdmin\bin\Release\XenOvfTransport.dll" />
|
||||
<!-- Homepage -->
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\css\ie.css" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\css\print.css" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\css\screen.css" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\css\theme.css" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\icons\cx-cloudServerGraphic.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\icons\cx-icon-addServer.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\icons\cx-icon-generic-doc.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\icons\cx-icon-purchaseSupport.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\icons\cx-icon-regServPool.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\icons\cx-icon-tryVirtualization.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\logos\cx-logo-citrixXenServer.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\media\grid.png" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\index.html" />
|
||||
<File Id="" Source="..\XenAdmin\bin\Release\Home\LICENSE" />
|
||||
<!-- Icons -->
|
||||
<File Id="XenCenterIcon" Source="..\Branding\Images\AppIcon.ico" />
|
||||
<File Id="XvaIcon" Source="..\Branding\Images\file_vm.ico" />
|
||||
|
23
XenAdmin/HomePage/License
Normal file
@ -0,0 +1,23 @@
|
||||
Blueprint CSS Framework License
|
||||
Copyright (c) 2007 - 2010 blueprintcss.org
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of the Blueprint CSS Framework and
|
||||
associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without
|
||||
limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software,
|
||||
and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
45
XenAdmin/HomePage/css/ie.css
Normal file
@ -0,0 +1,45 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
File encoded as ISO-8859-1
|
||||
Blueprint CSS Framework 1.0.1
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See src/LICENSE for more info.
|
||||
|
||||
number of columns:24
|
||||
column width:30
|
||||
gutter width:10
|
||||
total width:950
|
||||
row height:18 px
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* ie.css */
|
||||
html {
|
||||
overflow: auto;
|
||||
}
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
.container {
|
||||
text-align: left;
|
||||
}
|
||||
* html .column,
|
||||
* html [class^="span-"],
|
||||
* html [class*=" span- "] {
|
||||
display: inline;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
img {
|
||||
-ms-interpolation-mode: bicubic;
|
||||
}
|
||||
.clearfix, .container {
|
||||
display: inline-block;
|
||||
}
|
||||
* html .clearfix, * html .container {
|
||||
height: 1%;
|
||||
}
|
||||
/* fix opacity for tagline fonts */
|
||||
p.cx-tagline span{
|
||||
display: inline-block;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=69)"; /* IE 8 */
|
||||
filter: alpha(opacity=69); /* IE 5-7 */
|
||||
}
|
43
XenAdmin/HomePage/css/print.css
Normal file
@ -0,0 +1,43 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
File encoded as ISO-8859-1
|
||||
Blueprint CSS Framework 1.0.1
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See src/LICENSE for more info.
|
||||
|
||||
number of columns:24
|
||||
column width:30
|
||||
gutter width:10
|
||||
total width:950
|
||||
row height:18 px
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
/* print.css */
|
||||
body {
|
||||
line-height: 1.5;
|
||||
font-family: citrixsans-regular, "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
color: #000;
|
||||
background: none;
|
||||
font-size: 10pt;
|
||||
}
|
||||
.container {
|
||||
background: none;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
p img.top {
|
||||
margin-top: 0;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
a:link, a:visited {
|
||||
background: transparent;
|
||||
font-weight: 700;
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:link:after, a:visited:after {
|
||||
content: " (" attr(href) ")";
|
||||
font-size: 90%;
|
||||
}
|
519
XenAdmin/HomePage/css/screen.css
Normal file
@ -0,0 +1,519 @@
|
||||
/* -----------------------------------------------------------------------
|
||||
File encoded as ISO-8859-1
|
||||
Blueprint CSS Framework 1.0.1
|
||||
http://blueprintcss.org
|
||||
|
||||
* Copyright (c) 2007-Present. See src/LICENSE for more info.
|
||||
|
||||
number of columns:24
|
||||
column width:30
|
||||
gutter width:10
|
||||
total width:950
|
||||
row height:18 px
|
||||
----------------------------------------------------------------------- */
|
||||
|
||||
|
||||
/* reset.css */
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
body, div, span, object, p, a, abbr, em, img, q, ol, ul, li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
body {
|
||||
line-height: 1.5;
|
||||
background: #fff;
|
||||
}
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* typography.css */
|
||||
html {
|
||||
font-size: 100.01%;
|
||||
}
|
||||
body {
|
||||
font-size: 75%;
|
||||
color: #fff;
|
||||
background: #fff;
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.left {
|
||||
float: left !important;
|
||||
}
|
||||
p .left {
|
||||
margin: 1.5em 1.5em 1.5em 0;
|
||||
padding: 0;
|
||||
}
|
||||
.right {
|
||||
float: right !important;
|
||||
}
|
||||
p .right {
|
||||
margin: 1.5em 0 1.5em 1.5em;
|
||||
padding: 0;
|
||||
}
|
||||
a:focus, a:hover {
|
||||
color: #5F67B5;
|
||||
}
|
||||
a {
|
||||
color: #5F67B5;
|
||||
text-decoration: underline;
|
||||
}
|
||||
li ul, li ol {
|
||||
margin: 0;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 1.5em 1.5em 0;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
.first {
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
.last {
|
||||
margin-right: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
.top {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
.bottom {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
/* grid.css */
|
||||
.container {
|
||||
width: 950px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.showgrid {
|
||||
background: url(../media/grid.png);
|
||||
}
|
||||
.column, [class^="span-"],
|
||||
.column, [class*=" span- "] {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
.span-1 {
|
||||
width: 30px;
|
||||
}
|
||||
.span-2 {
|
||||
width: 70px;
|
||||
}
|
||||
.span-3 {
|
||||
width: 110px;
|
||||
}
|
||||
.span-4 {
|
||||
width: 150px;
|
||||
}
|
||||
.span-5 {
|
||||
width: 190px;
|
||||
}
|
||||
.span-6 {
|
||||
width: 230px;
|
||||
}
|
||||
.span-7 {
|
||||
width: 270px;
|
||||
}
|
||||
.span-8 {
|
||||
width: 310px;
|
||||
}
|
||||
.span-9 {
|
||||
width: 350px;
|
||||
}
|
||||
.span-10 {
|
||||
width: 390px;
|
||||
}
|
||||
.span-11 {
|
||||
width: 430px;
|
||||
}
|
||||
.span-12 {
|
||||
width: 470px;
|
||||
}
|
||||
.span-13 {
|
||||
width: 510px;
|
||||
}
|
||||
.span-14 {
|
||||
width: 550px;
|
||||
}
|
||||
.span-15 {
|
||||
width: 590px;
|
||||
}
|
||||
.span-16 {
|
||||
width: 630px;
|
||||
}
|
||||
.span-17 {
|
||||
width: 670px;
|
||||
}
|
||||
.span-18 {
|
||||
width: 710px;
|
||||
}
|
||||
.span-19 {
|
||||
width: 750px;
|
||||
}
|
||||
.span-20 {
|
||||
width: 790px;
|
||||
}
|
||||
.span-21 {
|
||||
width: 830px;
|
||||
}
|
||||
.span-22 {
|
||||
width: 870px;
|
||||
}
|
||||
.span-23 {
|
||||
width: 910px;
|
||||
}
|
||||
.span-24 {
|
||||
width: 950px;
|
||||
margin-right: 0;
|
||||
}
|
||||
.append-1 {
|
||||
padding-right: 40px;
|
||||
}
|
||||
.append-2 {
|
||||
padding-right: 80px;
|
||||
}
|
||||
.append-3 {
|
||||
padding-right: 120px;
|
||||
}
|
||||
.append-4 {
|
||||
padding-right: 160px;
|
||||
}
|
||||
.append-5 {
|
||||
padding-right: 200px;
|
||||
}
|
||||
.append-6 {
|
||||
padding-right: 240px;
|
||||
}
|
||||
.append-7 {
|
||||
padding-right: 280px;
|
||||
}
|
||||
.append-8 {
|
||||
padding-right: 320px;
|
||||
}
|
||||
.append-9 {
|
||||
padding-right: 360px;
|
||||
}
|
||||
.append-10 {
|
||||
padding-right: 400px;
|
||||
}
|
||||
.append-11 {
|
||||
padding-right: 440px;
|
||||
}
|
||||
.append-12 {
|
||||
padding-right: 480px;
|
||||
}
|
||||
.append-13 {
|
||||
padding-right: 520px;
|
||||
}
|
||||
.append-14 {
|
||||
padding-right: 560px;
|
||||
}
|
||||
.append-15 {
|
||||
padding-right: 600px;
|
||||
}
|
||||
.append-16 {
|
||||
padding-right: 640px;
|
||||
}
|
||||
.append-17 {
|
||||
padding-right: 680px;
|
||||
}
|
||||
.append-18 {
|
||||
padding-right: 720px;
|
||||
}
|
||||
.append-19 {
|
||||
padding-right: 760px;
|
||||
}
|
||||
.append-20 {
|
||||
padding-right: 800px;
|
||||
}
|
||||
.append-21 {
|
||||
padding-right: 840px;
|
||||
}
|
||||
.append-22 {
|
||||
padding-right: 880px;
|
||||
}
|
||||
.append-23 {
|
||||
padding-right: 920px;
|
||||
}
|
||||
.prepend-1 {
|
||||
padding-left: 40px;
|
||||
}
|
||||
.prepend-2 {
|
||||
padding-left: 80px;
|
||||
}
|
||||
.prepend-3 {
|
||||
padding-left: 120px;
|
||||
}
|
||||
.prepend-4 {
|
||||
padding-left: 160px;
|
||||
}
|
||||
.prepend-5 {
|
||||
padding-left: 200px;
|
||||
}
|
||||
.prepend-6 {
|
||||
padding-left: 240px;
|
||||
}
|
||||
.prepend-7 {
|
||||
padding-left: 280px;
|
||||
}
|
||||
.prepend-8 {
|
||||
padding-left: 320px;
|
||||
}
|
||||
.prepend-9 {
|
||||
padding-left: 360px;
|
||||
}
|
||||
.prepend-10 {
|
||||
padding-left: 400px;
|
||||
}
|
||||
.prepend-11 {
|
||||
padding-left: 440px;
|
||||
}
|
||||
.prepend-12 {
|
||||
padding-left: 480px;
|
||||
}
|
||||
.prepend-13 {
|
||||
padding-left: 520px;
|
||||
}
|
||||
.prepend-14 {
|
||||
padding-left: 560px;
|
||||
}
|
||||
.prepend-15 {
|
||||
padding-left: 600px;
|
||||
}
|
||||
.prepend-16 {
|
||||
padding-left: 640px;
|
||||
}
|
||||
.prepend-17 {
|
||||
padding-left: 680px;
|
||||
}
|
||||
.prepend-18 {
|
||||
padding-left: 720px;
|
||||
}
|
||||
.prepend-19 {
|
||||
padding-left: 760px;
|
||||
}
|
||||
.prepend-20 {
|
||||
padding-left: 800px;
|
||||
}
|
||||
.prepend-21 {
|
||||
padding-left: 840px;
|
||||
}
|
||||
.prepend-22 {
|
||||
padding-left: 880px;
|
||||
}
|
||||
.prepend-23 {
|
||||
padding-left: 920px;
|
||||
}
|
||||
.border {
|
||||
padding-right: 4px;
|
||||
margin-right: 5px;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
.colborder {
|
||||
padding-right: 24px;
|
||||
margin-right: 25px;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
.pull-1 {
|
||||
margin-left: -40px;
|
||||
}
|
||||
.pull-2 {
|
||||
margin-left: -80px;
|
||||
}
|
||||
.pull-3 {
|
||||
margin-left: -120px;
|
||||
}
|
||||
.pull-4 {
|
||||
margin-left: -160px;
|
||||
}
|
||||
.pull-5 {
|
||||
margin-left: -200px;
|
||||
}
|
||||
.pull-6 {
|
||||
margin-left: -240px;
|
||||
}
|
||||
.pull-7 {
|
||||
margin-left: -280px;
|
||||
}
|
||||
.pull-8 {
|
||||
margin-left: -320px;
|
||||
}
|
||||
.pull-9 {
|
||||
margin-left: -360px;
|
||||
}
|
||||
.pull-10 {
|
||||
margin-left: -400px;
|
||||
}
|
||||
.pull-11 {
|
||||
margin-left: -440px;
|
||||
}
|
||||
.pull-12 {
|
||||
margin-left: -480px;
|
||||
}
|
||||
.pull-13 {
|
||||
margin-left: -520px;
|
||||
}
|
||||
.pull-14 {
|
||||
margin-left: -560px;
|
||||
}
|
||||
.pull-15 {
|
||||
margin-left: -600px;
|
||||
}
|
||||
.pull-16 {
|
||||
margin-left: -640px;
|
||||
}
|
||||
.pull-17 {
|
||||
margin-left: -680px;
|
||||
}
|
||||
.pull-18 {
|
||||
margin-left: -720px;
|
||||
}
|
||||
.pull-19 {
|
||||
margin-left: -760px;
|
||||
}
|
||||
.pull-20 {
|
||||
margin-left: -800px;
|
||||
}
|
||||
.pull-21 {
|
||||
margin-left: -840px;
|
||||
}
|
||||
.pull-22 {
|
||||
margin-left: -880px;
|
||||
}
|
||||
.pull-23 {
|
||||
margin-left: -920px;
|
||||
}
|
||||
.pull-24 {
|
||||
margin-left: -960px;
|
||||
}
|
||||
[class^="pull-"],
|
||||
[class*=" pull- "] {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
.push-1 {
|
||||
margin: 0 -40px 1.5em 40px;
|
||||
}
|
||||
.push-2 {
|
||||
margin: 0 -80px 1.5em 80px;
|
||||
}
|
||||
.push-3 {
|
||||
margin: 0 -120px 1.5em 120px;
|
||||
}
|
||||
.push-4 {
|
||||
margin: 0 -160px 1.5em 160px;
|
||||
}
|
||||
.push-5 {
|
||||
margin: 0 -200px 1.5em 200px;
|
||||
}
|
||||
.push-6 {
|
||||
margin: 0 -240px 1.5em 240px;
|
||||
}
|
||||
.push-7 {
|
||||
margin: 0 -280px 1.5em 280px;
|
||||
}
|
||||
.push-8 {
|
||||
margin: 0 -320px 1.5em 320px;
|
||||
}
|
||||
.push-9 {
|
||||
margin: 0 -360px 1.5em 360px;
|
||||
}
|
||||
.push-10 {
|
||||
margin: 0 -400px 1.5em 400px;
|
||||
}
|
||||
.push-11 {
|
||||
margin: 0 -440px 1.5em 440px;
|
||||
}
|
||||
.push-12 {
|
||||
margin: 0 -480px 1.5em 480px;
|
||||
}
|
||||
.push-13 {
|
||||
margin: 0 -520px 1.5em 520px;
|
||||
}
|
||||
.push-14 {
|
||||
margin: 0 -560px 1.5em 560px;
|
||||
}
|
||||
.push-15 {
|
||||
margin: 0 -600px 1.5em 600px;
|
||||
}
|
||||
.push-16 {
|
||||
margin: 0 -640px 1.5em 640px;
|
||||
}
|
||||
.push-17 {
|
||||
margin: 0 -680px 1.5em 680px;
|
||||
}
|
||||
.push-18 {
|
||||
margin: 0 -720px 1.5em 720px;
|
||||
}
|
||||
.push-19 {
|
||||
margin: 0 -760px 1.5em 760px;
|
||||
}
|
||||
.push-20 {
|
||||
margin: 0 -800px 1.5em 800px;
|
||||
}
|
||||
.push-21 {
|
||||
margin: 0 -840px 1.5em 840px;
|
||||
}
|
||||
.push-22 {
|
||||
margin: 0 -880px 1.5em 880px;
|
||||
}
|
||||
.push-23 {
|
||||
margin: 0 -920px 1.5em 920px;
|
||||
}
|
||||
.push-24 {
|
||||
margin: 0 -960px 1.5em 960px;
|
||||
}
|
||||
[class^="push-"],
|
||||
[class*=" push- "] {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
div.prepend-top, .prepend-top {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
div.append-bottom, .append-bottom {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
.box {
|
||||
padding: 1.5em;
|
||||
margin-bottom: 1.5em;
|
||||
background: #e5eCf9;
|
||||
}
|
||||
.clearfix:after, .container:after {
|
||||
content: "\0020";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
overflow: hidden;
|
||||
}
|
||||
.clearfix, .container {
|
||||
display: block;
|
||||
}
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
134
XenAdmin/HomePage/css/theme.css
Normal file
@ -0,0 +1,134 @@
|
||||
/* Top Hero Section */
|
||||
.cx-hero-top,
|
||||
.cx-hero-top-bg {
|
||||
background: #5F67B5;
|
||||
height: 310px;
|
||||
}
|
||||
.cx-hero-top-bg {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.cx-hero-top {
|
||||
color: #fff;
|
||||
}
|
||||
/* top hero columns */
|
||||
.cx-hero-top .inner .column {
|
||||
height: 165px;
|
||||
}
|
||||
.cx-hero-top .inner .column.left {
|
||||
padding-top: 36px;
|
||||
padding-bottom: 42px;
|
||||
}
|
||||
.cx-hero-top .inner .column.right {
|
||||
width: 127px;
|
||||
height: 165px;
|
||||
line-height: 165px;
|
||||
text-align: center;
|
||||
margin-top: 65px;
|
||||
}
|
||||
.cx-hero-top .inner .column.right img#cloudServerGraphic {
|
||||
width: 129px;
|
||||
height: 165px;
|
||||
}
|
||||
.cx-hero-top .inner .column.left img#logo-citrixXenServer {
|
||||
display: block;
|
||||
width: 261px;
|
||||
height: 31px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
p.cx-tagline {
|
||||
font: 16px/1.3 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
color: rgba(256, 256, 256, 0.69);
|
||||
letter-spacing: 0.02em;
|
||||
margin-bottom: 32px!important;
|
||||
font-weight: 300;
|
||||
}
|
||||
/* call out list */
|
||||
ul.cx-callouts-list {
|
||||
font: 14px/1.3 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight:300;
|
||||
letter-spacing: 0.02em;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
ul.cx-callouts-list li.cx-doc-icon{
|
||||
display: block;
|
||||
height: 21px;
|
||||
line-height: 21px;
|
||||
margin-bottom: 10px;
|
||||
margin-left: -17px;
|
||||
padding-left: 32px;
|
||||
background: transparent url(../media/icons/cx-icon-generic-doc.png) no-repeat 0 50%;
|
||||
}
|
||||
ul.cx-callouts-list li.cx-doc-icon.last{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
/* start callout links */
|
||||
ul.cx-callouts-list li.cx-doc-icon a.cx-link {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
ul.cx-callouts-list li.cx-doc-icon a.cx-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
ul.cx-callouts-list li.cx-doc-icon ul.cx-link-list{
|
||||
list-style-type: square;
|
||||
list-style-position: inside;
|
||||
padding: 0 0 0 0;
|
||||
margin: 5px 0 0 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
/* end callout links */
|
||||
|
||||
|
||||
/* Bottom Hero Section */
|
||||
.cx-hero-bottom {
|
||||
margin:34px 0 0 0;
|
||||
padding-bottom: 48px;
|
||||
text-align: center;
|
||||
}
|
||||
/* cards */
|
||||
.cx-hero-bottom .cx-cards {
|
||||
height: 198px;
|
||||
width: 223px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.cx-hero-bottom .cx-cards:hover {
|
||||
background-color: #f2f2f2;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.cx-hero-bottom .cx-cards.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
.cx-hero-bottom .cx-cards p {
|
||||
padding-top: 35px;
|
||||
color: #5F67B5;
|
||||
font: 14px/1.3 "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
/* card icons */
|
||||
.cx-cards img {
|
||||
margin-top: 37px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
display: block;
|
||||
}
|
||||
img#addServer {
|
||||
width: 55px;
|
||||
height: 66px;
|
||||
}
|
||||
img#purchaseSupport {
|
||||
width: 57px;
|
||||
height: 65px;
|
||||
}
|
||||
img#deskTopVirt {
|
||||
width: 86px;
|
||||
height: 66px;
|
||||
}
|
||||
|
||||
|
106
XenAdmin/HomePage/index.html
Normal file
@ -0,0 +1,106 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<!-- File saved as ISO-8859-1 encoding. -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Citrix XenServer</title>
|
||||
<!-- CSS Framework -->
|
||||
<link rel="stylesheet" href="css/screen.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="css/theme.css" type="text/css" media="screen, projection">
|
||||
<link rel="stylesheet" href="css/print.css" type="text/css" media="print">
|
||||
<!-- <![if lt IE 9]><link rel="stylesheet" href="css/" type="text/css" media="screen, projection"><![endif]> -->
|
||||
|
||||
<!-- Number of columns: 24
|
||||
Column width: 30
|
||||
Gutter width: 10
|
||||
Total width: 950
|
||||
Row height: 18 px -->
|
||||
|
||||
<!-- To remove div outlines, remove line below. -->
|
||||
<!-- <style>div {outline:1px solid #000000; }</style> -->
|
||||
</head>
|
||||
<body>
|
||||
<!-- start dummy purple bg that spans the browser window width -->
|
||||
<div class="cx-hero-top-bg">
|
||||
</div>
|
||||
<!-- end dummy purple bg that spans the browser window width -->
|
||||
<!-- start container -->
|
||||
<div class="container"><!-- add css class "showgrid" to see grid -->
|
||||
<!-- Start Top Section -->
|
||||
<div class="span-24 top cx-hero-top">
|
||||
<div class="span-18 prepend-3 append-3 inner last">
|
||||
<!-- start left column -->
|
||||
<div class="column left span-12 first">
|
||||
<!-- Citrix XenServer Logo -->
|
||||
<img id="logo-citrixXenServer" src="media/logos/cx-logo-citrixXenServer.png" alt="Citrix XenServer Logo" />
|
||||
<!-- start tagline -->
|
||||
<p class="cx-tagline" title="Industry leading open srouce platform for cloud server and desktop virtualization">
|
||||
<span>Industry leading open source platform for cloud server<br> and desktop virtualization</span><!-- need span for ie7 opacity -->
|
||||
</p>
|
||||
<!-- end tagline -->
|
||||
<!-- start call outs -->
|
||||
<ul class="cx-callouts-list">
|
||||
<li class="cx-doc-icon" title="Learn about using XenCenter">
|
||||
<a href="xencenter://HelpContents" class="cx-link">Learn about using XenCenter</a>
|
||||
</li>
|
||||
<li class="cx-doc-icon" title="Learn about XenServer and Workspace Cloud">
|
||||
<a href="https://www.citrix.com/xenserver/clm" class="cx-link">Learn about XenServer and Citrix Lifecycle Manager</a>
|
||||
</li>
|
||||
<li class="cx-doc-icon" title="Network with other XenServer users">
|
||||
<a href="http://xenserver.org/" class="cx-link">Network with other XenServer users</a>
|
||||
</li>
|
||||
<li class="cx-doc-icon last" title="Community Support Partners">
|
||||
<a href="https://www.citrix.com/support" class="cx-link">Visit the Citrix Knowledge Center</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- end call outs -->
|
||||
</div>
|
||||
<!-- end left column -->
|
||||
<!-- start right column -->
|
||||
<div class="column right span-6 last">
|
||||
<img id="cloudServerGraphic" src="media/icons/cx-cloudServerGraphic.png" alt="Cloud Server Graphic">
|
||||
</div>
|
||||
<!-- end right column -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Top Section -->
|
||||
<!-- Bottom Section -->
|
||||
<div class="span-24 cx-hero-bottom clearfix">
|
||||
<div class="column prepend-3 clearfix">
|
||||
<!-- start card 1 -->
|
||||
<div class="span-6 cx-cards" title="Add a Server">
|
||||
<a class="cx-link" href="xencenter://AddServer">
|
||||
<img id="addServer" src="media/icons/cx-icon-addServer.png" alt="Add a Server">
|
||||
<p class="">
|
||||
Add a Server
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
<!-- end card 1 -->
|
||||
<!-- start card 2 -->
|
||||
<div class="span-6 cx-cards" title="Purchase Support">
|
||||
<a class="cx-link" href="http://www.citrix.com/xenserver/le/features">
|
||||
<img id="purchaseSupport" src="media/icons/cx-icon-purchaseSupport.png" alt="Purchase Support">
|
||||
<p class="">
|
||||
Purchase Support
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
<!-- end card 2 -->
|
||||
<!-- start card 3 -->
|
||||
<div class="span-6 cx-cards last" title="Try Desktop Virtualization">
|
||||
<a class="cx-link" href="http://www.citrix.com/TryXenDesktop">
|
||||
<img id="deskTopVirt" src="media/icons/cx-icon-tryVirtualization.png" alt="Try Desktop Virtualization">
|
||||
<p class="">
|
||||
Try Desktop Virtualization
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
<!-- end card 3 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- END Bottom Section -->
|
||||
</div>
|
||||
<!-- end container -->
|
||||
</body>
|
||||
</html>
|
1316
XenAdmin/HomePage/index.mht
Normal file
BIN
XenAdmin/HomePage/media/grid.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
XenAdmin/HomePage/media/icons/cx-cloudServerGraphic.png
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
XenAdmin/HomePage/media/icons/cx-icon-addServer.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
XenAdmin/HomePage/media/icons/cx-icon-generic-doc.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
XenAdmin/HomePage/media/icons/cx-icon-purchaseSupport.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
XenAdmin/HomePage/media/icons/cx-icon-regServPool.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
XenAdmin/HomePage/media/icons/cx-icon-tryVirtualization.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
XenAdmin/HomePage/media/logos/cx-logo-citrixXenServer.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
82
XenAdmin/Properties/Resources.Designer.cs
generated
@ -1,7 +1,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18444
|
||||
// Runtime Version:4.0.30319.34209
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@ -2190,26 +2190,6 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_add_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_add_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_background {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_background", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@ -2220,66 +2200,6 @@ namespace XenAdmin.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_community_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_community_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_get_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_get_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_hor_div {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_hor_div", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_learn_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_learn_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_try_icon {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_try_icon", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap homepage_vert_div {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("homepage_vert_div", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
@ -127,9 +127,6 @@
|
||||
<data name="sl_add_storage_system_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\sl_add_storage_system_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_background" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_background.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_Alert2_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_Alert2_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -211,9 +208,6 @@
|
||||
<data name="oracle_16x" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\oracle_16x.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_community_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_community_icon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_weighting_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_weighting_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -331,9 +325,6 @@
|
||||
<data name="_000_Fields_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_Fields_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_learn_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_learn_icon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_Resumed_h32bit_24" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_Resumed_h32bit_24.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -367,9 +358,6 @@
|
||||
<data name="_001_ForceReboot_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\001_ForceReboot_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_get_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_get_icon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_VMSnapShotDiskOnly_h32bit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_VMSnapShotDiskOnly_h32bit_32.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -454,9 +442,6 @@
|
||||
<data name="_000_host_4_star" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_host_4_star.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_add_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_add_icon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_PoolNew_h32bit_24" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_PoolNew_h32bit_24.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -532,9 +517,6 @@
|
||||
<data name="_000_Optimize_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_Optimize_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_bullet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_bullet.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="VMTemplate_h32bit_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\VMTemplate_h32bit_32.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -628,15 +610,9 @@
|
||||
<data name="_000_ImportVirtualAppliance_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_ImportVirtualAppliance_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_vert_div" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_vert_div.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_Storage_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_Storage_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_try_icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_try_icon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_001_Reboot_h32bit_24" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\001_Reboot_h32bit_24.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -661,9 +637,6 @@
|
||||
<data name="_000_DeleteVirtualAppliance_h32bit_16" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_DeleteVirtualAppliance_h32bit_16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_hor_div" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_hor_div.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="_000_ToolBar_Pref_Icon_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\000_ToolBar_Pref_Icon_up.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@ -1105,4 +1078,7 @@
|
||||
<data name="padlock" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\padlock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="homepage_bullet" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Images\homepage_bullet.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
376
XenAdmin/TabPages/HomePage.Designer.cs
generated
@ -29,388 +29,28 @@ namespace XenAdmin.TabPages
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HomePage));
|
||||
this.line2Learn = new System.Windows.Forms.Label();
|
||||
this.line1Learn = new System.Windows.Forms.Label();
|
||||
this.titleLearn = new System.Windows.Forms.Label();
|
||||
this.line1Add = new System.Windows.Forms.Label();
|
||||
this.titleAdd = new System.Windows.Forms.Label();
|
||||
this.line1Upgrade = new System.Windows.Forms.Label();
|
||||
this.titleUpgrade = new System.Windows.Forms.Label();
|
||||
this.line2Try = new System.Windows.Forms.Label();
|
||||
this.line1Try = new System.Windows.Forms.Label();
|
||||
this.titleTry = new System.Windows.Forms.Label();
|
||||
this.heading = new System.Windows.Forms.Label();
|
||||
this.subHeading = new System.Windows.Forms.Label();
|
||||
this.panelLearn = new XenAdmin.Controls.TransparentPanel();
|
||||
this.panelAdd = new XenAdmin.Controls.TransparentPanel();
|
||||
this.panelGet = new XenAdmin.Controls.TransparentPanel();
|
||||
this.panelTry = new XenAdmin.Controls.TransparentPanel();
|
||||
this.titleCommunity = new System.Windows.Forms.Label();
|
||||
this.labelNetwork = new System.Windows.Forms.Label();
|
||||
this.iconCommunity = new System.Windows.Forms.PictureBox();
|
||||
this.iconLearn = new System.Windows.Forms.PictureBox();
|
||||
this.iconAdd = new System.Windows.Forms.PictureBox();
|
||||
this.iconGet = new System.Windows.Forms.PictureBox();
|
||||
this.iconTry = new System.Windows.Forms.PictureBox();
|
||||
this.horizDiv = new System.Windows.Forms.PictureBox();
|
||||
this.vertDiv3 = new System.Windows.Forms.PictureBox();
|
||||
this.vertDiv2 = new System.Windows.Forms.PictureBox();
|
||||
this.vertDiv1 = new System.Windows.Forms.PictureBox();
|
||||
this.bulletNetwork = new System.Windows.Forms.PictureBox();
|
||||
this.bulletSupport = new System.Windows.Forms.PictureBox();
|
||||
this.bulletPartners = new System.Windows.Forms.PictureBox();
|
||||
this.labelSupport = new System.Windows.Forms.Label();
|
||||
this.labelPartners = new System.Windows.Forms.Label();
|
||||
this.mainPanel = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconCommunity)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconLearn)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconAdd)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconGet)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconTry)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.horizDiv)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vertDiv3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vertDiv2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vertDiv1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bulletNetwork)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bulletSupport)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bulletPartners)).BeginInit();
|
||||
this.mainPanel.SuspendLayout();
|
||||
this.webBrowser = new XenAdmin.Core.WebBrowser2();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// line2Learn
|
||||
// webBrowser
|
||||
//
|
||||
resources.ApplyResources(this.line2Learn, "line2Learn");
|
||||
this.line2Learn.Name = "line2Learn";
|
||||
//
|
||||
// line1Learn
|
||||
//
|
||||
resources.ApplyResources(this.line1Learn, "line1Learn");
|
||||
this.line1Learn.Name = "line1Learn";
|
||||
//
|
||||
// titleLearn
|
||||
//
|
||||
resources.ApplyResources(this.titleLearn, "titleLearn");
|
||||
this.titleLearn.Name = "titleLearn";
|
||||
//
|
||||
// line1Add
|
||||
//
|
||||
resources.ApplyResources(this.line1Add, "line1Add");
|
||||
this.line1Add.Name = "line1Add";
|
||||
this.line1Add.Click += new System.EventHandler(this.panelAdd_Click);
|
||||
//
|
||||
// titleAdd
|
||||
//
|
||||
resources.ApplyResources(this.titleAdd, "titleAdd");
|
||||
this.titleAdd.Name = "titleAdd";
|
||||
this.titleAdd.Click += new System.EventHandler(this.panelAdd_Click);
|
||||
//
|
||||
// line1Upgrade
|
||||
//
|
||||
resources.ApplyResources(this.line1Upgrade, "line1Upgrade");
|
||||
this.line1Upgrade.Name = "line1Upgrade";
|
||||
this.line1Upgrade.Click += new System.EventHandler(this.panelGet_Click);
|
||||
//
|
||||
// titleUpgrade
|
||||
//
|
||||
resources.ApplyResources(this.titleUpgrade, "titleUpgrade");
|
||||
this.titleUpgrade.Name = "titleUpgrade";
|
||||
this.titleUpgrade.Click += new System.EventHandler(this.panelGet_Click);
|
||||
//
|
||||
// line2Try
|
||||
//
|
||||
resources.ApplyResources(this.line2Try, "line2Try");
|
||||
this.line2Try.Name = "line2Try";
|
||||
this.line2Try.Click += new System.EventHandler(this.panelTry_Click);
|
||||
//
|
||||
// line1Try
|
||||
//
|
||||
resources.ApplyResources(this.line1Try, "line1Try");
|
||||
this.line1Try.Name = "line1Try";
|
||||
this.line1Try.Click += new System.EventHandler(this.panelTry_Click);
|
||||
//
|
||||
// titleTry
|
||||
//
|
||||
this.titleTry.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
resources.ApplyResources(this.titleTry, "titleTry");
|
||||
this.titleTry.Name = "titleTry";
|
||||
this.titleTry.Click += new System.EventHandler(this.panelTry_Click);
|
||||
//
|
||||
// heading
|
||||
//
|
||||
resources.ApplyResources(this.heading, "heading");
|
||||
this.heading.Name = "heading";
|
||||
//
|
||||
// subHeading
|
||||
//
|
||||
this.subHeading.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
resources.ApplyResources(this.subHeading, "subHeading");
|
||||
this.subHeading.Name = "subHeading";
|
||||
//
|
||||
// panelLearn
|
||||
//
|
||||
this.panelLearn.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
resources.ApplyResources(this.panelLearn, "panelLearn");
|
||||
this.panelLearn.Name = "panelLearn";
|
||||
this.panelLearn.Click += new System.EventHandler(this.panelLearn_Click);
|
||||
this.panelLearn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelLearn_MouseDown);
|
||||
this.panelLearn.MouseEnter += new System.EventHandler(this.panelLearn_MouseEnter);
|
||||
this.panelLearn.MouseLeave += new System.EventHandler(this.panelLearn_MouseLeave);
|
||||
this.panelLearn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelLearn_MouseUp);
|
||||
//
|
||||
// panelAdd
|
||||
//
|
||||
this.panelAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
resources.ApplyResources(this.panelAdd, "panelAdd");
|
||||
this.panelAdd.Name = "panelAdd";
|
||||
this.panelAdd.Click += new System.EventHandler(this.panelAdd_Click);
|
||||
this.panelAdd.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelAdd_MouseDown);
|
||||
this.panelAdd.MouseEnter += new System.EventHandler(this.panelAdd_MouseEnter);
|
||||
this.panelAdd.MouseLeave += new System.EventHandler(this.panelAdd_MouseLeave);
|
||||
this.panelAdd.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelAdd_MouseUp);
|
||||
//
|
||||
// panelGet
|
||||
//
|
||||
this.panelGet.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
resources.ApplyResources(this.panelGet, "panelGet");
|
||||
this.panelGet.Name = "panelGet";
|
||||
this.panelGet.Click += new System.EventHandler(this.panelGet_Click);
|
||||
this.panelGet.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelGet_MouseDown);
|
||||
this.panelGet.MouseEnter += new System.EventHandler(this.panelGet_MouseEnter);
|
||||
this.panelGet.MouseLeave += new System.EventHandler(this.panelGet_MouseLeave);
|
||||
this.panelGet.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelGet_MouseUp);
|
||||
//
|
||||
// panelTry
|
||||
//
|
||||
this.panelTry.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
resources.ApplyResources(this.panelTry, "panelTry");
|
||||
this.panelTry.Name = "panelTry";
|
||||
this.panelTry.Click += new System.EventHandler(this.panelTry_Click);
|
||||
this.panelTry.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelTry_MouseDown);
|
||||
this.panelTry.MouseEnter += new System.EventHandler(this.panelTry_MouseEnter);
|
||||
this.panelTry.MouseLeave += new System.EventHandler(this.panelTry_MouseLeave);
|
||||
this.panelTry.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelTry_MouseUp);
|
||||
//
|
||||
// titleCommunity
|
||||
//
|
||||
resources.ApplyResources(this.titleCommunity, "titleCommunity");
|
||||
this.titleCommunity.Name = "titleCommunity";
|
||||
//
|
||||
// labelNetwork
|
||||
//
|
||||
resources.ApplyResources(this.labelNetwork, "labelNetwork");
|
||||
this.labelNetwork.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.labelNetwork.Name = "labelNetwork";
|
||||
this.labelNetwork.Click += new System.EventHandler(this.labelNetwork_Click);
|
||||
this.labelNetwork.MouseDown += new System.Windows.Forms.MouseEventHandler(this.labelNetwork_MouseDown);
|
||||
this.labelNetwork.MouseEnter += new System.EventHandler(this.labelNetwork_MouseEnter);
|
||||
this.labelNetwork.MouseLeave += new System.EventHandler(this.labelNetwork_MouseLeave);
|
||||
this.labelNetwork.MouseUp += new System.Windows.Forms.MouseEventHandler(this.labelNetwork_MouseUp);
|
||||
//
|
||||
// iconCommunity
|
||||
//
|
||||
resources.ApplyResources(this.iconCommunity, "iconCommunity");
|
||||
this.iconCommunity.Image = global::XenAdmin.Properties.Resources.homepage_community_icon;
|
||||
this.iconCommunity.Name = "iconCommunity";
|
||||
this.iconCommunity.TabStop = false;
|
||||
//
|
||||
// iconLearn
|
||||
//
|
||||
resources.ApplyResources(this.iconLearn, "iconLearn");
|
||||
this.iconLearn.Image = global::XenAdmin.Properties.Resources.homepage_learn_icon;
|
||||
this.iconLearn.Name = "iconLearn";
|
||||
this.iconLearn.TabStop = false;
|
||||
//
|
||||
// iconAdd
|
||||
//
|
||||
resources.ApplyResources(this.iconAdd, "iconAdd");
|
||||
this.iconAdd.Image = global::XenAdmin.Properties.Resources.homepage_add_icon;
|
||||
this.iconAdd.Name = "iconAdd";
|
||||
this.iconAdd.TabStop = false;
|
||||
this.iconAdd.Click += new System.EventHandler(this.panelAdd_Click);
|
||||
//
|
||||
// iconGet
|
||||
//
|
||||
resources.ApplyResources(this.iconGet, "iconGet");
|
||||
this.iconGet.Image = global::XenAdmin.Properties.Resources.homepage_get_icon;
|
||||
this.iconGet.Name = "iconGet";
|
||||
this.iconGet.TabStop = false;
|
||||
this.iconGet.Click += new System.EventHandler(this.panelGet_Click);
|
||||
//
|
||||
// iconTry
|
||||
//
|
||||
resources.ApplyResources(this.iconTry, "iconTry");
|
||||
this.iconTry.Image = global::XenAdmin.Properties.Resources.homepage_try_icon;
|
||||
this.iconTry.Name = "iconTry";
|
||||
this.iconTry.TabStop = false;
|
||||
this.iconTry.Click += new System.EventHandler(this.panelTry_Click);
|
||||
//
|
||||
// horizDiv
|
||||
//
|
||||
resources.ApplyResources(this.horizDiv, "horizDiv");
|
||||
this.horizDiv.Image = global::XenAdmin.Properties.Resources.homepage_hor_div;
|
||||
this.horizDiv.Name = "horizDiv";
|
||||
this.horizDiv.TabStop = false;
|
||||
//
|
||||
// vertDiv3
|
||||
//
|
||||
resources.ApplyResources(this.vertDiv3, "vertDiv3");
|
||||
this.vertDiv3.Image = global::XenAdmin.Properties.Resources.homepage_vert_div;
|
||||
this.vertDiv3.Name = "vertDiv3";
|
||||
this.vertDiv3.TabStop = false;
|
||||
//
|
||||
// vertDiv2
|
||||
//
|
||||
resources.ApplyResources(this.vertDiv2, "vertDiv2");
|
||||
this.vertDiv2.Image = global::XenAdmin.Properties.Resources.homepage_vert_div;
|
||||
this.vertDiv2.Name = "vertDiv2";
|
||||
this.vertDiv2.TabStop = false;
|
||||
//
|
||||
// vertDiv1
|
||||
//
|
||||
resources.ApplyResources(this.vertDiv1, "vertDiv1");
|
||||
this.vertDiv1.Image = global::XenAdmin.Properties.Resources.homepage_vert_div;
|
||||
this.vertDiv1.Name = "vertDiv1";
|
||||
this.vertDiv1.TabStop = false;
|
||||
//
|
||||
// bulletNetwork
|
||||
//
|
||||
resources.ApplyResources(this.bulletNetwork, "bulletNetwork");
|
||||
this.bulletNetwork.Image = global::XenAdmin.Properties.Resources.homepage_bullet;
|
||||
this.bulletNetwork.Name = "bulletNetwork";
|
||||
this.bulletNetwork.TabStop = false;
|
||||
//
|
||||
// bulletSupport
|
||||
//
|
||||
resources.ApplyResources(this.bulletSupport, "bulletSupport");
|
||||
this.bulletSupport.Image = global::XenAdmin.Properties.Resources.homepage_bullet;
|
||||
this.bulletSupport.Name = "bulletSupport";
|
||||
this.bulletSupport.TabStop = false;
|
||||
//
|
||||
// bulletPartners
|
||||
//
|
||||
resources.ApplyResources(this.bulletPartners, "bulletPartners");
|
||||
this.bulletPartners.Image = global::XenAdmin.Properties.Resources.homepage_bullet;
|
||||
this.bulletPartners.Name = "bulletPartners";
|
||||
this.bulletPartners.TabStop = false;
|
||||
//
|
||||
// labelSupport
|
||||
//
|
||||
resources.ApplyResources(this.labelSupport, "labelSupport");
|
||||
this.labelSupport.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.labelSupport.Name = "labelSupport";
|
||||
this.labelSupport.Click += new System.EventHandler(this.labelSupport_Click);
|
||||
this.labelSupport.MouseDown += new System.Windows.Forms.MouseEventHandler(this.labelSupport_MouseDown);
|
||||
this.labelSupport.MouseEnter += new System.EventHandler(this.labelSupport_MouseEnter);
|
||||
this.labelSupport.MouseLeave += new System.EventHandler(this.labelSupport_MouseLeave);
|
||||
this.labelSupport.MouseUp += new System.Windows.Forms.MouseEventHandler(this.labelSupport_MouseUp);
|
||||
//
|
||||
// labelPartners
|
||||
//
|
||||
resources.ApplyResources(this.labelPartners, "labelPartners");
|
||||
this.labelPartners.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.labelPartners.Name = "labelPartners";
|
||||
this.labelPartners.Click += new System.EventHandler(this.labelPartners_Click);
|
||||
this.labelPartners.MouseDown += new System.Windows.Forms.MouseEventHandler(this.labelPartners_MouseDown);
|
||||
this.labelPartners.MouseEnter += new System.EventHandler(this.labelPartners_MouseEnter);
|
||||
this.labelPartners.MouseLeave += new System.EventHandler(this.labelPartners_MouseLeave);
|
||||
this.labelPartners.MouseUp += new System.Windows.Forms.MouseEventHandler(this.labelPartners_MouseUp);
|
||||
//
|
||||
// mainPanel
|
||||
//
|
||||
this.mainPanel.Controls.Add(this.labelPartners);
|
||||
this.mainPanel.Controls.Add(this.labelSupport);
|
||||
this.mainPanel.Controls.Add(this.bulletPartners);
|
||||
this.mainPanel.Controls.Add(this.bulletSupport);
|
||||
this.mainPanel.Controls.Add(this.bulletNetwork);
|
||||
this.mainPanel.Controls.Add(this.labelNetwork);
|
||||
this.mainPanel.Controls.Add(this.iconCommunity);
|
||||
this.mainPanel.Controls.Add(this.titleCommunity);
|
||||
this.mainPanel.Controls.Add(this.panelTry);
|
||||
this.mainPanel.Controls.Add(this.panelGet);
|
||||
this.mainPanel.Controls.Add(this.panelAdd);
|
||||
this.mainPanel.Controls.Add(this.panelLearn);
|
||||
this.mainPanel.Controls.Add(this.iconLearn);
|
||||
this.mainPanel.Controls.Add(this.line2Learn);
|
||||
this.mainPanel.Controls.Add(this.line1Learn);
|
||||
this.mainPanel.Controls.Add(this.titleLearn);
|
||||
this.mainPanel.Controls.Add(this.iconAdd);
|
||||
this.mainPanel.Controls.Add(this.titleAdd);
|
||||
this.mainPanel.Controls.Add(this.line1Add);
|
||||
this.mainPanel.Controls.Add(this.iconGet);
|
||||
this.mainPanel.Controls.Add(this.titleUpgrade);
|
||||
this.mainPanel.Controls.Add(this.line1Upgrade);
|
||||
this.mainPanel.Controls.Add(this.iconTry);
|
||||
this.mainPanel.Controls.Add(this.titleTry);
|
||||
this.mainPanel.Controls.Add(this.line1Try);
|
||||
this.mainPanel.Controls.Add(this.line2Try);
|
||||
this.mainPanel.Controls.Add(this.subHeading);
|
||||
this.mainPanel.Controls.Add(this.heading);
|
||||
this.mainPanel.Controls.Add(this.horizDiv);
|
||||
this.mainPanel.Controls.Add(this.vertDiv3);
|
||||
this.mainPanel.Controls.Add(this.vertDiv2);
|
||||
this.mainPanel.Controls.Add(this.vertDiv1);
|
||||
resources.ApplyResources(this.mainPanel, "mainPanel");
|
||||
this.mainPanel.Name = "mainPanel";
|
||||
resources.ApplyResources(this.webBrowser, "webBrowser");
|
||||
this.webBrowser.Name = "webBrowser";
|
||||
this.webBrowser.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.webBrowser_Navigating);
|
||||
//
|
||||
// HomePage
|
||||
//
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.Controls.Add(this.mainPanel);
|
||||
this.Controls.Add(this.webBrowser);
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.Name = "HomePage";
|
||||
this.SizeChanged += new System.EventHandler(this.HomePage_SizeChanged);
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconCommunity)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconLearn)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconAdd)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconGet)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.iconTry)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.horizDiv)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vertDiv3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vertDiv2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.vertDiv1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bulletNetwork)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bulletSupport)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bulletPartners)).EndInit();
|
||||
this.mainPanel.ResumeLayout(false);
|
||||
this.mainPanel.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.PictureBox vertDiv1;
|
||||
private System.Windows.Forms.PictureBox vertDiv2;
|
||||
private System.Windows.Forms.PictureBox vertDiv3;
|
||||
private System.Windows.Forms.PictureBox horizDiv;
|
||||
private System.Windows.Forms.PictureBox iconLearn;
|
||||
private System.Windows.Forms.PictureBox iconAdd;
|
||||
private System.Windows.Forms.PictureBox iconGet;
|
||||
private System.Windows.Forms.PictureBox iconTry;
|
||||
private System.Windows.Forms.Label heading;
|
||||
private System.Windows.Forms.Label subHeading;
|
||||
private System.Windows.Forms.Label titleLearn;
|
||||
private System.Windows.Forms.Label titleAdd;
|
||||
private System.Windows.Forms.Label titleUpgrade;
|
||||
private System.Windows.Forms.Label titleTry;
|
||||
private System.Windows.Forms.Label line1Learn;
|
||||
private System.Windows.Forms.Label line1Add;
|
||||
private System.Windows.Forms.Label line1Upgrade;
|
||||
private System.Windows.Forms.Label line1Try;
|
||||
private System.Windows.Forms.Label line2Learn;
|
||||
private System.Windows.Forms.Label line2Try;
|
||||
private XenAdmin.Controls.TransparentPanel panelLearn;
|
||||
private XenAdmin.Controls.TransparentPanel panelAdd;
|
||||
private XenAdmin.Controls.TransparentPanel panelGet;
|
||||
private XenAdmin.Controls.TransparentPanel panelTry;
|
||||
private System.Windows.Forms.Label titleCommunity;
|
||||
private System.Windows.Forms.PictureBox iconCommunity;
|
||||
private System.Windows.Forms.Label labelNetwork;
|
||||
private System.Windows.Forms.PictureBox bulletNetwork;
|
||||
private System.Windows.Forms.PictureBox bulletSupport;
|
||||
private System.Windows.Forms.PictureBox bulletPartners;
|
||||
private System.Windows.Forms.Label labelSupport;
|
||||
private System.Windows.Forms.Label labelPartners;
|
||||
private System.Windows.Forms.Panel mainPanel;
|
||||
private Core.WebBrowser2 webBrowser;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -41,236 +41,59 @@ using XenAdmin.Core;
|
||||
using XenAdmin.Controls;
|
||||
using XenAdmin.Dialogs;
|
||||
using XenAdmin.Commands;
|
||||
using System.Linq;
|
||||
|
||||
|
||||
namespace XenAdmin.TabPages
|
||||
{
|
||||
public partial class HomePage : DoubleBufferedPanel
|
||||
{
|
||||
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private const string XCNS = "XenCenter://";
|
||||
bool initializing = true;
|
||||
|
||||
public HomePage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private Label[] LearnLabels
|
||||
{
|
||||
get { return new Label[] { titleLearn, line1Learn, line2Learn }; }
|
||||
}
|
||||
|
||||
private Label[] AddLabels
|
||||
{
|
||||
get { return new Label[] { titleAdd, line1Add }; }
|
||||
}
|
||||
|
||||
private Label[] GetLabels
|
||||
{
|
||||
get { return new Label[] { titleUpgrade, line1Upgrade }; }
|
||||
}
|
||||
|
||||
private Label[] TryLabels
|
||||
{
|
||||
get { return new Label[] { titleTry, line1Try, line2Try }; }
|
||||
}
|
||||
|
||||
private void panelLearn_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.MainWindow.ShowHelpTOC();
|
||||
}
|
||||
|
||||
private void panelAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
new AddHostCommand(Program.MainWindow).Execute();
|
||||
}
|
||||
|
||||
private void panelGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.OpenURL(InvisibleMessages.UPSELL_LEARNMOREURL_GENERAL);
|
||||
}
|
||||
|
||||
private void panelTry_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!HiddenFeatures.LinkLabelHidden)
|
||||
Program.OpenURL(InvisibleMessages.XENDESKTOP_URL);
|
||||
}
|
||||
|
||||
private void labelNetwork_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.OpenURL(InvisibleMessages.COMMUNITY_URL);
|
||||
}
|
||||
|
||||
private void labelSupport_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.OpenURL(InvisibleMessages.SUPPORT_URL);
|
||||
}
|
||||
|
||||
private void labelPartners_Click(object sender, EventArgs e)
|
||||
{
|
||||
Program.OpenURL(InvisibleMessages.PARTNEROFFERS_URL);
|
||||
}
|
||||
|
||||
private void Underline(bool b, params Label[] lbls)
|
||||
{
|
||||
foreach (Label lbl in lbls)
|
||||
try
|
||||
{
|
||||
lbl.Font = b ?
|
||||
new Font(lbl.Font, lbl.Font.Style | FontStyle.Underline) :
|
||||
new Font(lbl.Font, lbl.Font.Style & ~FontStyle.Underline);
|
||||
var location = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "HomePage", "index.mht");
|
||||
webBrowser.Navigate(location);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(string.Format("Failed to load the HomePage. Url = {0}", Location), ex);
|
||||
}
|
||||
|
||||
initializing = false;
|
||||
}
|
||||
|
||||
private void Colour(Color c, params Label[] lbls)
|
||||
private void webBrowser_Navigating(object sender, WebBrowserNavigatingEventArgs e)
|
||||
{
|
||||
foreach (Label lbl in lbls)
|
||||
lbl.ForeColor = c;
|
||||
}
|
||||
if (initializing)
|
||||
return;
|
||||
|
||||
private void panelLearn_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, LearnLabels);
|
||||
}
|
||||
e.Cancel = true;
|
||||
|
||||
private void panelLearn_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, LearnLabels);
|
||||
}
|
||||
string url = e.Url.OriginalString;
|
||||
|
||||
private void panelLearn_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, LearnLabels);
|
||||
}
|
||||
|
||||
private void panelLearn_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, LearnLabels);
|
||||
}
|
||||
|
||||
private void panelAdd_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, AddLabels);
|
||||
}
|
||||
|
||||
private void panelAdd_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, AddLabels);
|
||||
}
|
||||
|
||||
private void panelAdd_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, AddLabels);
|
||||
}
|
||||
|
||||
private void panelAdd_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, AddLabels);
|
||||
}
|
||||
|
||||
private void panelGet_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, GetLabels);
|
||||
}
|
||||
|
||||
private void panelGet_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, GetLabels);
|
||||
}
|
||||
|
||||
private void panelGet_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, GetLabels);
|
||||
}
|
||||
|
||||
private void panelGet_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, GetLabels);
|
||||
}
|
||||
|
||||
private void panelTry_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, TryLabels);
|
||||
}
|
||||
|
||||
private void panelTry_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, TryLabels);
|
||||
}
|
||||
|
||||
private void panelTry_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, TryLabels);
|
||||
}
|
||||
|
||||
private void panelTry_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, TryLabels);
|
||||
}
|
||||
|
||||
private void labelNetwork_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, labelNetwork);
|
||||
}
|
||||
|
||||
private void labelNetwork_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, labelNetwork);
|
||||
}
|
||||
|
||||
private void labelNetwork_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, labelNetwork);
|
||||
}
|
||||
|
||||
private void labelNetwork_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, labelNetwork);
|
||||
}
|
||||
|
||||
private void labelSupport_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, labelSupport);
|
||||
}
|
||||
|
||||
private void labelSupport_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, labelSupport);
|
||||
}
|
||||
|
||||
private void labelSupport_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, labelSupport);
|
||||
}
|
||||
|
||||
private void labelSupport_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, labelSupport);
|
||||
}
|
||||
|
||||
private void labelPartners_MouseEnter(object sender, EventArgs e)
|
||||
{
|
||||
Underline(true, labelPartners);
|
||||
}
|
||||
|
||||
private void labelPartners_MouseLeave(object sender, EventArgs e)
|
||||
{
|
||||
Underline(false, labelPartners);
|
||||
}
|
||||
|
||||
private void labelPartners_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Red, labelPartners);
|
||||
}
|
||||
|
||||
private void labelPartners_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
Colour(Color.Black, labelPartners);
|
||||
}
|
||||
|
||||
private void HomePage_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
// Implement own centring, because built-in anchoring loses both edges if the window gets too narrow.
|
||||
if (this.Width <= mainPanel.Width)
|
||||
mainPanel.Left = 0;
|
||||
if (url != null && url.StartsWith(XCNS, StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
if (url.Contains("HelpContents"))
|
||||
{
|
||||
XenAdmin.Help.HelpManager.Launch(null);
|
||||
}
|
||||
else if (url.Contains("AddServer"))
|
||||
{
|
||||
new AddHostCommand(Program.MainWindow, this).Execute();
|
||||
}
|
||||
}
|
||||
else
|
||||
mainPanel.Left = (this.Width - mainPanel.Width) / 2;
|
||||
{
|
||||
Program.OpenURL(url);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -345,6 +345,12 @@
|
||||
<Compile Include="TabPages\DockerDetailsPage.Designer.cs">
|
||||
<DependentUpon>DockerDetailsPage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TabPages\HomePage.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TabPages\HomePage.Designer.cs">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TabPages\SnapshotsPage.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
@ -953,12 +959,6 @@
|
||||
<Compile Include="SettingsPanels\VMHAEditPage.Designer.cs">
|
||||
<DependentUpon>VMHAEditPage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TabPages\HomePage.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TabPages\HomePage.Designer.cs">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TabPages\SearchPage.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
@ -1823,6 +1823,16 @@
|
||||
<DependentUpon>GeneralTabPage.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\HomePage.ja.resx">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\HomePage.resx">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\HomePage.zh-CN.resx">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\WlbPage.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>WlbPage.cs</DependentUpon>
|
||||
@ -2233,10 +2243,6 @@
|
||||
<DependentUpon>GeneralEditPage.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\HomePage.resx">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="SettingsPanels\LogDestinationEditPage.resx">
|
||||
<DependentUpon>LogDestinationEditPage.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
@ -2396,6 +2402,10 @@
|
||||
<None Include="app.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="HomePage\index.mht">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="HomePage\License" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@ -4070,6 +4080,19 @@
|
||||
<None Include="Images\000_error_h32bit_32.png" />
|
||||
<None Include="Images\000_AddIPAddress_h32bit_16.png" />
|
||||
<None Include="Images\000_ConfigureIPAddresses_h32bit_16.png" />
|
||||
<Content Include="HomePage\css\ie.css" />
|
||||
<Content Include="HomePage\css\print.css" />
|
||||
<Content Include="HomePage\css\screen.css" />
|
||||
<Content Include="HomePage\css\theme.css" />
|
||||
<Content Include="HomePage\index.html" />
|
||||
<Content Include="HomePage\media\grid.png" />
|
||||
<Content Include="HomePage\media\icons\cx-cloudServerGraphic.png" />
|
||||
<Content Include="HomePage\media\icons\cx-icon-addServer.png" />
|
||||
<Content Include="HomePage\media\icons\cx-icon-generic-doc.png" />
|
||||
<Content Include="HomePage\media\icons\cx-icon-purchaseSupport.png" />
|
||||
<Content Include="HomePage\media\icons\cx-icon-regServPool.png" />
|
||||
<Content Include="HomePage\media\icons\cx-icon-tryVirtualization.png" />
|
||||
<Content Include="HomePage\media\logos\cx-logo-citrixXenServer.png" />
|
||||
<Content Include="Images\000_FilterDates_h32bit_16.png" />
|
||||
<Content Include="Images\000_FilterServer_h32bit_16.png" />
|
||||
<None Include="Images\000_ImportVirtualAppliance_h32bit_16.png" />
|
||||
@ -5762,12 +5785,6 @@
|
||||
<EmbeddedResource Include="TabPages\HistoryPage.zh-CN.resx">
|
||||
<DependentUpon>HistoryPage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\HomePage.ja.resx">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\HomePage.zh-CN.resx">
|
||||
<DependentUpon>HomePage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="TabPages\NetworkPage.ja.resx">
|
||||
<DependentUpon>NetworkPage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|