| 1778 |
rajveer |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
| 5048 |
amit.gupta |
3 |
#set($slidenames = $action.getSlideNames())
|
| 1778 |
rajveer |
4 |
<head>
|
| 5048 |
amit.gupta |
5 |
<title>$action.getPageTitle()</title>
|
| 1778 |
rajveer |
6 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
| 5048 |
amit.gupta |
7 |
<meta name="Description" content="$action.getPageDescription()" />
|
|
|
8 |
<meta name="Keywords" content="$action.getKeywords()" />
|
| 1778 |
rajveer |
9 |
|
| 5422 |
amit.gupta |
10 |
#set($productnames = $action.getProductNames())
|
| 1950 |
rajveer |
11 |
#set($productids = $action.getProductList())
|
| 5322 |
amit.gupta |
12 |
#set($totalCount = $action.getProductList().size())
|
| 1950 |
rajveer |
13 |
#set($slidenameimportancemap = $action.getSlideNameImportanceMap())
|
|
|
14 |
#set($productslidescores = $action.getProductSlideScores())
|
|
|
15 |
#set($importances = $action.getImportances())
|
|
|
16 |
#set($overallScores = $action.getOverallScores())
|
|
|
17 |
#set($uncomparedSlides= $action.getUncomparedSlides())
|
|
|
18 |
#set($commonSlides= $action.getcommonSlides())
|
|
|
19 |
|
| 1778 |
rajveer |
20 |
#include ( "templates/commoncssfiles.vm" )
|
|
|
21 |
|
|
|
22 |
#set($userinfo = $action.getUserInfo())
|
|
|
23 |
</head>
|
|
|
24 |
|
|
|
25 |
<body>
|
|
|
26 |
<noscript>
|
|
|
27 |
<p id="noScript">Please allow <em>Javascript</em> in order to function this website correctly!</p>
|
|
|
28 |
</noscript>
|
|
|
29 |
|
| 3830 |
chandransh |
30 |
$action.getHeaderSnippet()
|
|
|
31 |
|
|
|
32 |
<!-- Main -->
|
|
|
33 |
<div id="main">
|
|
|
34 |
<div class="main-content">
|
|
|
35 |
<div class="main-top">
|
|
|
36 |
<div class="bread-crumbs">
|
|
|
37 |
<a href="/">Home</a> >
|
|
|
38 |
<a href="#">Comparison</a>
|
|
|
39 |
</div>
|
|
|
40 |
</div>
|
| 5322 |
amit.gupta |
41 |
#if($totalCount==2)
|
|
|
42 |
<div class="left" style="padding:5px">
|
|
|
43 |
<h1 style="font-size:20px">Compare $productNames.get(0) vs $productNames.get(1)</h1>
|
| 3830 |
chandransh |
44 |
</div>
|
| 5322 |
amit.gupta |
45 |
#end
|
| 3830 |
chandransh |
46 |
<!-- Comparision main body -->
|
| 1778 |
rajveer |
47 |
<div id="slideGuideContent" class="comparision-page">
|
| 3830 |
chandransh |
48 |
<div class="middle blue-border">
|
| 1778 |
rajveer |
49 |
<div id="comparision-left" >
|
| 3830 |
chandransh |
50 |
<div id="slideGuideNav" style="width:155px;">
|
| 1778 |
rajveer |
51 |
<ul id="sideNav" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
|
|
|
52 |
|
| 1977 |
rajveer |
53 |
<li title="Analysis" class=" ui-state-default ui-state-active ui-corner-top">
|
| 1950 |
rajveer |
54 |
<a class="vt" href="#vtab-summary">
|
| 1977 |
rajveer |
55 |
<span>Analysis</span>
|
| 1950 |
rajveer |
56 |
</a>
|
|
|
57 |
</li>
|
| 1778 |
rajveer |
58 |
#foreach($slidename in $slidenames)
|
|
|
59 |
#set($slidenamesmall = $slidename.toLowerCase().replace(" ", ""))
|
| 1836 |
rajveer |
60 |
#set($slidenamesmall = $slidenamesmall.replace("/", ""))
|
| 5145 |
phani.kuma |
61 |
<li title="$slidename" class="ui-state-default ui-corner-top">
|
| 1950 |
rajveer |
62 |
<a class="vt" href="#vtab-$slidenamesmall">
|
| 1778 |
rajveer |
63 |
<span>$slidename</span>
|
|
|
64 |
</a>
|
|
|
65 |
</li>
|
|
|
66 |
#end
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
</ul>
|
|
|
70 |
</div>
|
|
|
71 |
</div>
|
| 1950 |
rajveer |
72 |
<div id="comparision-right">
|
| 1778 |
rajveer |
73 |
<h1 class='comparision-page-title'>Introduction</h1>
|
| 1950 |
rajveer |
74 |
<div class="scroller-column-$snippets.size() scroller-columns">
|
| 1778 |
rajveer |
75 |
<div class="column-top-grey"> </div>
|
|
|
76 |
|
|
|
77 |
<div class="scroller-content-inner" id="scroller-main-content">
|
|
|
78 |
|
|
|
79 |
<div class="comparision-product-name">
|
|
|
80 |
|
|
|
81 |
#set($productsnippets = $action.getProductSnippets())
|
|
|
82 |
#foreach ( $snippet in $productsnippets.values() )
|
|
|
83 |
#if($velocityCount != 1)
|
|
|
84 |
<div class="comparision-border-inner"></div>
|
|
|
85 |
#end
|
|
|
86 |
$snippet
|
|
|
87 |
#end
|
|
|
88 |
</div>
|
|
|
89 |
|
|
|
90 |
#set($snippets = $action.getSnippets())
|
| 1806 |
rajveer |
91 |
#set($count = 1)
|
| 1778 |
rajveer |
92 |
#foreach ( $snippet in $snippets.values() )
|
|
|
93 |
#if($velocityCount != 1)
|
|
|
94 |
<div class="comparision-border-inner"></div>
|
|
|
95 |
#end
|
| 1806 |
rajveer |
96 |
<div id="product-comparision" class="comparision-product-column #if($count == 0) comparision-product-column-even #set($count = 1) #else #set($count = 0) #end">
|
| 1778 |
rajveer |
97 |
$snippet
|
|
|
98 |
</div>
|
|
|
99 |
#end
|
|
|
100 |
|
|
|
101 |
</div>
|
|
|
102 |
<div class="column-bottom-grey"> </div>
|
|
|
103 |
</div>
|
| 1950 |
rajveer |
104 |
|
|
|
105 |
<div id="comparision-summary-content" class="summary-column-$snippets.size()">
|
|
|
106 |
<div class="summary comparision-summary-inner-content">
|
|
|
107 |
<div class="summarypage-headerrow">
|
|
|
108 |
<div class="column summary-column-title" >
|
|
|
109 |
<div class="header">
|
| 1977 |
rajveer |
110 |
<h1 class='summary-comparision-page-title'> Analysis</h1>
|
| 1950 |
rajveer |
111 |
</div>
|
|
|
112 |
</div>
|
|
|
113 |
|
|
|
114 |
#set($productsnippets = $action.getProductSummarySnippets())
|
|
|
115 |
#foreach ( $snippet in $productsnippets.values() )
|
|
|
116 |
|
|
|
117 |
$snippet
|
|
|
118 |
#end
|
|
|
119 |
</div>
|
|
|
120 |
|
|
|
121 |
<div class="summarypage-row-0 summarypage-row">
|
|
|
122 |
<div class="column-score-title">
|
|
|
123 |
<span class="scoretext">Overall Score</span>
|
|
|
124 |
</div>
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
#foreach($overallScore in $overallScores)
|
|
|
128 |
<div class="column-score-total">
|
| 1977 |
rajveer |
129 |
<span class="score-total score-total-$velocityCount scoretext">$overallScore / 10</span>
|
| 1950 |
rajveer |
130 |
</div>
|
|
|
131 |
#end
|
|
|
132 |
</div>
|
|
|
133 |
|
|
|
134 |
#foreach($slidename in $slidenameimportancemap.keySet())
|
|
|
135 |
<div class="summarypage-row-$velocityCount summarypage-row">
|
|
|
136 |
<div class="column-score-name">
|
|
|
137 |
<span class="scoretextnormal">$slidename</span>
|
|
|
138 |
<span class="option">
|
|
|
139 |
<select id="category-2" class="summary-dropdown">
|
|
|
140 |
#foreach($importance in $importances)
|
|
|
141 |
#if($slidenameimportancemap.get($slidename).equals($importance))
|
|
|
142 |
<option selected value="$velocityCount" > $importance </option>
|
|
|
143 |
#else
|
|
|
144 |
<option value="$velocityCount"> $importance </option>
|
|
|
145 |
#end
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
#end
|
|
|
149 |
|
|
|
150 |
</select>
|
|
|
151 |
</span>
|
|
|
152 |
</div>
|
|
|
153 |
#set($prodnum = 1)
|
|
|
154 |
#foreach($productname in $productnames)
|
|
|
155 |
#set($score = 0.0)
|
|
|
156 |
#set($score = $productslidescores.get($productname).get($slidename))
|
|
|
157 |
<div class="features-color features-color-$velocityCount">
|
|
|
158 |
|
|
|
159 |
#if( $score < 2 )
|
|
|
160 |
<div class="product-${prodnum} summary-rating rating0-2">$score</div>
|
|
|
161 |
#elseif( $score < 3 )
|
|
|
162 |
<div class="product-${prodnum} summary-rating rating2-3">$score</div>
|
|
|
163 |
#elseif( $score < 4 )
|
|
|
164 |
<div class="product-${prodnum} summary-rating rating3-4">$score</div>
|
|
|
165 |
#elseif( $score < 5 )
|
|
|
166 |
<div class="product-${prodnum} summary-rating rating4-5">$score</div>
|
|
|
167 |
#elseif( $score < 6 )
|
|
|
168 |
<div class="product-${prodnum} summary-rating rating5-6">$score</div>
|
|
|
169 |
#elseif( $score < 7 )
|
|
|
170 |
<div class="product-${prodnum} summary-rating rating6-7">$score</div>
|
|
|
171 |
#elseif( $score < 8 )
|
|
|
172 |
<div class="product-${prodnum} summary-rating rating7-8">$score</div>
|
|
|
173 |
#else
|
|
|
174 |
<div class="product-${prodnum} summary-rating rating8-10">$score</div>
|
|
|
175 |
#end
|
|
|
176 |
|
|
|
177 |
#set($prodnum = $prodnum + 1)
|
|
|
178 |
</div>
|
|
|
179 |
#end
|
|
|
180 |
|
|
|
181 |
</div>
|
|
|
182 |
#end
|
|
|
183 |
</div>
|
| 5145 |
phani.kuma |
184 |
<!-- rating area -->
|
| 1950 |
rajveer |
185 |
<div class="summary-rating rating-area">
|
|
|
186 |
<div class="summary-rating rating-scale">
|
|
|
187 |
<span class="first">Excellent</span>
|
|
|
188 |
<span class="summary-rating rating8-10"></span>
|
|
|
189 |
<span class="summary-rating rating7-8"></span>
|
|
|
190 |
<span class="summary-rating rating6-7"></span>
|
|
|
191 |
<span class="summary-rating rating5-6"></span>
|
|
|
192 |
<span class="summary-rating rating4-5"></span>
|
|
|
193 |
<span class="summary-rating rating3-4"></span>
|
|
|
194 |
<span class="summary-rating rating2-3"></span>
|
|
|
195 |
<span class="summary-rating rating0-2"></span>
|
|
|
196 |
<span class="last">Bad</span>
|
|
|
197 |
</div>
|
|
|
198 |
</div>
|
|
|
199 |
<!-- /rating area -->
|
|
|
200 |
|
|
|
201 |
<div class="bottom-area">
|
|
|
202 |
#if($commonSlides && $commonSlides.size()>0)
|
|
|
203 |
<p>
|
|
|
204 |
<b>These features are the same across the compared phones </b>
|
|
|
205 |
</p>
|
|
|
206 |
#foreach($commonSlide in $commonSlides)
|
|
|
207 |
<p>$commonSlide </p>
|
|
|
208 |
#end
|
|
|
209 |
#end
|
|
|
210 |
<p/>
|
|
|
211 |
<p>
|
|
|
212 |
<b>These features are not compared </b>
|
|
|
213 |
</p>
|
|
|
214 |
#foreach($uncomparedSlide in $uncomparedSlides)
|
|
|
215 |
<p>$uncomparedSlide</p>
|
|
|
216 |
#end
|
|
|
217 |
</div>
|
|
|
218 |
|
|
|
219 |
</div>
|
|
|
220 |
</div>
|
| 1778 |
rajveer |
221 |
</div>
|
|
|
222 |
</div>
|
|
|
223 |
<!-- /Comparision main body -->
|
|
|
224 |
|
| 3830 |
chandransh |
225 |
|
|
|
226 |
</div>
|
|
|
227 |
</div>
|
|
|
228 |
<!-- /Main -->
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
#include("templates/footer.vm")
|
| 1778 |
rajveer |
232 |
<!-- color by color lightbox -->
|
|
|
233 |
<div style="display: none;">
|
|
|
234 |
<div class="colorSelLightBoxColor">
|
|
|
235 |
<form name="frmColorSelName" method="post" action="#">
|
|
|
236 |
<h1>Color Selector</h1>
|
|
|
237 |
<h2>"Please choose color of product"</h2>
|
|
|
238 |
<div class="content"></div>
|
|
|
239 |
<div class="bigImgButton yellow-image">
|
|
|
240 |
<input value="Continue" class="button" onclick="selectColor();" type="button" />
|
|
|
241 |
</div>
|
|
|
242 |
<div class="clearBoth"></div>
|
|
|
243 |
</form>
|
|
|
244 |
</div>
|
|
|
245 |
</div>
|
|
|
246 |
<!-- /color by color lightbox -->
|
|
|
247 |
#include ( "templates/commonjsfiles.vm" )
|
| 1950 |
rajveer |
248 |
<script language="javascript" type="text/javascript" src="/js/jquery.jscrollpane.js"></script>
|
| 1816 |
rajveer |
249 |
|
| 3068 |
chandransh |
250 |
|
| 1778 |
rajveer |
251 |
<script type="text/javascript" id="sourcecode">
|
|
|
252 |
$(function() {
|
| 1950 |
rajveer |
253 |
hideSlides();
|
|
|
254 |
#if($snippets.size() > 3)
|
| 1778 |
rajveer |
255 |
if ($(".scroller-column-$snippets.size()").length){
|
| 1950 |
rajveer |
256 |
$('.scroller-column-$snippets.size()').jScrollPane({showArrows: true});
|
| 1778 |
rajveer |
257 |
}
|
| 1950 |
rajveer |
258 |
#end
|
|
|
259 |
renderComparison();
|
| 1778 |
rajveer |
260 |
});
|
|
|
261 |
</script>
|
| 1816 |
rajveer |
262 |
|
| 1778 |
rajveer |
263 |
|
|
|
264 |
|
|
|
265 |
</body>
|
|
|
266 |
</html>
|