-
Notifications
You must be signed in to change notification settings - Fork 1
/
ponderar-factores.html
executable file
·1115 lines (911 loc) · 55.7 KB
/
ponderar-factores.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="no-js css-menubar" lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui" name="viewport">
<meta content="bootstrap admin template" name="description">
<meta content="" name="author">
<title>WiseD On</title>
<link href="assets/images/apple-touch-icon.png" rel="apple-touch-icon">
<link href="assets/images/favicon.ico" rel="shortcut icon">
<!-- Stylesheets -->
<link href="global/css/bootstrap.min.css" rel="stylesheet">
<link href="global/css/bootstrap-extend.min.css" rel="stylesheet">
<!-- Plugins -->
<link href="global/vendor/animsition/animsition.css" rel="stylesheet">
<link href="global/vendor/asscrollable/asScrollable.css" rel="stylesheet">
<link href="global/vendor/switchery/switchery.css" rel="stylesheet">
<link href="global/vendor/intro-js/introjs.css" rel="stylesheet">
<link href="global/vendor/slidepanel/slidePanel.css" rel="stylesheet">
<link href="global/vendor/flag-icon-css/flag-icon.css" rel="stylesheet">
<link href="global/vendor/waves/waves.css" rel="stylesheet">
<link href="global/vendor/jvectormap/jquery-jvectormap.css" rel="stylesheet">
<!-- Fonts -->
<link href="assets/fonts/material-design/material-design.min.css" rel="stylesheet">
<link href="assets/fonts/brand-icons/brand-icons.min.css" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Roboto:300,400,500,300italic' rel='stylesheet'>
<!-- Css webexperts -->
<link href="assets/css/style.min.css" rel="stylesheet">
<script src="global/vendor/modernizr/modernizr.js"></script>
<script src="global/vendor/breakpoints/breakpoints.js"></script>
<script>
Breakpoints();
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" rel="stylesheet">
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.min.js"></script>
<!--[if lt IE 9]>
<script src="global/vendor/html5shiv/html5shiv.min.js"></script>
<![endif]-->
<!--[if lt IE 10]>
<script src="global/vendor/media-match/media.match.min.js"></script>
<script src="global/vendor/respond/respond.min.js"></script>
<![endif]-->
<!-- Scripts -->
</head>
<body class="dashboard site-menubar-fold" style="background-color:#fff;">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="site-navbar navbar navbar-inverse navbar-fixed-top navbar-mega" role="navigation">
<div class="navbar-header">
<button class="navbar-toggle hamburger hamburger-close navbar-toggle-left hided" data-toggle="menubar" type="button"><span class="sr-only">Toggle navigation</span> <span class="hamburger-bar"></span></button> <button class="navbar-toggle collapsed" data-target="#site-navbar-collapse" data-toggle="collapse" type="button"><i aria-hidden="true" class="icon md-more"></i></button>
<div class="navbar-brand"><img class="navbar-brand-logo" src="assets/images/logo_wisedon.png" title="Remark">
</div>
</div>
<div class="navbar-container container-fluid">
<!-- Navbar Collapse -->
<div class="collapse navbar-collapse navbar-collapse-toolbar" id="site-navbar-collapse">
<!-- Navbar Toolbar -->
<ul class="nav navbar-toolbar">
<li class="hidden-float" id="toggleMenubar">
<a data-toggle="menubar" href="#" role="button"><i class="icon hamburger hamburger-arrow-left"><span class="sr-only">Toggle menubar</span> <span class="hamburger-bar"></span></i></a>
</li>
</ul>
<!-- End Navbar Toolbar -->
<!-- Navbar Toolbar Right -->
<ul class="nav navbar-toolbar navbar-right navbar-toolbar-right">
<li class="dropdown">
<a aria-expanded="false" data-animation="scale-up" data-toggle="dropdown" href="javascript:void(0)" role="button" title="Notifications"><i aria-hidden="true" class="icon md-notifications"></i><span class="awhite">Notifications</span> <span class="chevronnotifications">▾</span></a>
<ul class="dropdown-menu dropdown-menu-right dropdown-menu-media" role="menu">
<li class="dropdown-menu-header" role="presentation">
<h5>TEM 10 NOTIFICAÇÕES</h5>
</li>
<li class="list-group" role="presentation">
<div data-role="container">
<div data-role="content">
<a class="list-group-item" href="javascript:void(0)" role="menuitem">
<div class="media">
<div class="media-left padding-right-10">
</div>
<div class="media-body">
<h6 class="media-heading">Admin adicionou um novo critério a Telemóvel</h6>
<time class="media-meta" datetime="2015-06-12T20:50:48+08:00">há 1 hora</time>
</div>
</div>
</a>
<a class="list-group-item" href="javascript:void(0)" role="menuitem">
<div class="media">
<div class="media-left padding-right-10">
</div>
<div class="media-body">
<h6 class="media-heading">Admin adicionou um novo critério a Telemóvel</h6>
<time class="media-meta" datetime="2015-06-12T20:50:48+08:00">há 1 hora</time>
</div>
</div>
</a>
<a class="list-group-item" href="javascript:void(0)" role="menuitem">
<div class="media">
<div class="media-left padding-right-10">
</div>
<div class="media-body">
<h6 class="media-heading">Admin adicionou um novo critério a Telemóvel</h6>
<time class="media-meta" datetime="2015-06-12T20:50:48+08:00">há 1 hora</time>
</div>
</div>
</a>
<a class="list-group-item" href="javascript:void(0)" role="menuitem">
<div class="media">
<div class="media-left padding-right-10">
</div>
<div class="media-body">
<h6 class="media-heading">Admin adicionou um novo critério a Telemóvel</h6>
<time class="media-meta" datetime="2015-06-12T20:50:48+08:00">há 1 hora</time>
</div>
</div>
</a>
<a class="list-group-item" href="javascript:void(0)" role="menuitem">
<div class="media">
<div class="media-left padding-right-10">
</div>
<div class="media-body">
<h6 class="media-heading">Admin adicionou um novo critério a Telemóvel</h6>
<time class="media-meta" datetime="2015-06-12T20:50:48+08:00">há 1 hora</time>
</div>
</div>
</a>
</div>
</div>
</li>
<li class="dropdown-menu-footer" role="presentation">
<a class="aorange">VER TODAS</a>
</li>
</ul>
</li>
<li class="dropdown">
<a aria-expanded="false" class="navbar-avatar dropdown-toggle" data-animation="scale-up" data-toggle="dropdown" href="#" role="button"><span class="avatar avatar-online"><img alt="..." src="global/portraits/5.jpg"><span class="adminname">Admin</span> <span class="chevron">▾</span></span></a>
<ul class="dropdown-menu dropdown-user" role="menu">
<li class="userarea"><span class="userareatext">Admin</span><br>
<span class="userareamail">admin@gmail.com</span>
</li>
<li style="list-style: none"><button class="btn btn-primary waves-effect waves-light buttonuserarea" type="button">BASIC PLAN</button>
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem">Perfil de Utilizador</a>
</li>
<li class="divider" role="presentation">
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem">Definições de conta</a>
</li>
<li class="divider" role="presentation">
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem">Sair</a>
</li>
</ul>
</li>
<li class="dropdown">
<a aria-expanded="false" class="dropdown-toggle" data-animation="scale-up" data-toggle="dropdown" href="javascript:void(0)" role="button"><span class="flag-icon flag-icon-us"></span> <span class="chevronflags">▾</span></a>
<ul class="dropdown-menu" role="menu">
<li role="presentation">
<a href="javascript:void(0)" role="menuitem"><span class="flag-icon flag-icon-gb"></span> English</a>
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem"><span class="flag-icon flag-icon-fr"></span> French</a>
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem"><span class="flag-icon flag-icon-cn"></span> Chinese</a>
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem"><span class="flag-icon flag-icon-de"></span> German</a>
</li>
<li role="presentation">
<a href="javascript:void(0)" role="menuitem"><span class="flag-icon flag-icon-nl"></span> Dutch</a>
</li>
</ul>
</li>
</ul>
<!-- End Navbar Toolbar Right -->
</div>
<!-- End Navbar Collapse -->
<!-- Site Navbar Seach -->
<div class="collapse navbar-search-overlap" id="site-navbar-search">
<form role="search">
<div class="form-group">
<div class="input-search">
<i aria-hidden="true" class="input-search-icon md-search"></i> <input class="form-control" name="site-search" placeholder="Search..." type="text"> <button aria-label="Close" class="input-search-close icon md-close" data-target="#site-navbar-search" data-toggle="collapse" type="button"></button>
</div>
</div>
</form>
</div>
<!-- End Site Navbar Seach -->
</div>
<div style="height:40px;">
<p class="buttonindex"><button class="btn btn-primary waves-effect waves-light buttonprimary" type="button">Start our Tour Guide</button>
</p>
<p class="usertext">Hello admin., you have...</p>
</div>
</nav>
<div class="site-menubar">
<div class="site-menubar-body">
<div>
<div>
<ul class="site-menu">
<li class="site-menu-category">
</li>
<li class="site-menu-item active">
<a class="animsition-link" href="#"><i aria-hidden="true" class="mdi mdi-home mdi-18px"></i> <span class="site-menu-title">Home</span></a>
</li>
<li class="site-menu-item active">
<a class="animsition-link" href="models.html"><i aria-hidden="true" class="mdi mdi-note mdi-18px"></i> <span class="site-menu-title">My Models</span></a>
</li>
<li class="site-menu-item active">
<a class="animsition-link" href="tasks.html"><i aria-hidden="true" class="mdi mdi-playlist-check mdi-18px"></i> <span class="site-menu-title">Task & Users</span></a>
</li>
<li class="site-menu-item active">
<a class="animsition-link" href="#"><i aria-hidden="true" class="mdi mdi-clipboard-check mdi-18px"></i> <span class="site-menu-title">My Reports</span></a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="site-gridmenu">
<div>
<div>
<ul>
<li>
<a href="apps/mailbox/mailbox.html"><i class="icon md-email"></i> <span>Mailbox</span></a>
</li>
<li>
<a href="apps/calendar/calendar.html"><i class="icon md-calendar"></i> <span>Calendar</span></a>
</li>
<li>
<a href="apps/contacts/contacts.html"><i class="icon md-account"></i> <span>Contacts</span></a>
</li>
<li>
<a href="apps/media/overview.html"><i class="icon md-videocam"></i> <span>Media</span></a>
</li>
<li>
<a href="apps/documents/categories.html"><i class="icon md-receipt"></i> <span>Documents</span></a>
</li>
<li>
<a href="apps/projects/projects.html"><i class="icon md-image"></i> <span>Project</span></a>
</li>
<li>
<a href="apps/forum/forum.html"><i class="icon md-comments"></i> <span>Forum</span></a>
</li>
<li>
<a href="index.html"><i class="icon md-view-dashboard"></i> <span>Dashboard</span></a>
</li>
</ul>
</div>
</div>
</div>
<!-- Page -->
<div class="page animsition">
<div class="page-content container-fluid">
<div class="row" data-by-row="true" data-plugin="matchHeight">
<!-- End Widget Linearea Three -->
</div>
<div class="submenu">
<table>
<tr>
<td class="headsub first">
<a href="factores.html">1. Definir Factores</a>
</td>
<td class="headsub">
<a href="definir-escalas.html">2. Definir Escalas</a>
</td>
<td class="headsub active">
<a href="ponderar-factores.html">3. Ponderar Factores</a>
</td>
<td class="headsub">
<a href="avaliar-opcoes.html">4. Definir e Avaliar Opções</a>
</td>
<td class="headsub">
<a href="analisar-resultados.html">5. Analisar Resultados</a>
</td>
</tr>
</table>
</div>
<div class="page-content container-fluid">
<div class="row" data-by-row="true" data-plugin="matchHeight">
</div>
<div class="col-md-12">
<!-- Panel Projects -->
<div class="" id="projects">
<div class="panel-heading">
<h3 class="panel-title">
<span class="titleorange">Ponderar Factores</span>
<i aria-hidden="true" class="fa fa-question-circle fa-lg questionicon"></i>
<span class="lowercasenobold">Show related help</span> <i aria-hidden="true" class="fa fa-play-circle fa-lg questionicon"></i>
<span class="lowercasenobold">View video Tutorial</span>
</h3>
<p class="basictext">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce augue orci, imperdiet ut tincidunt quis, molestie quis odio.<br> Sed convallis, nibh ut fermentum aliquet, felis odio finibus nulla, sed accumsan lacus magna id turpis.</p>
<br>
</div>
</div>
</div>
<div class="col-md-12">
<div class="list-criteria-container">
<h3>
<span>New Blue Line mobile</span>
<span class="lowercasenobold">create 12hours ago</span>
</h3>
<ol class="criterion-list define-scales sortable ui-sortable mjs-nestedSortable-branch mjs-nestedSortable-expanded">
<li>
<div>
<span class="disclose ui-icon ui-icon-triangle-1-n"></span>
<span class="itemTitle">Área Técnica(2)</span>
</div>
<ol>
<li>
<div>
<span class="disclose ui-icon ui-icon-triangle-1-n"></span>
<span class="itemTitle">Processamento(3)</span>
</div>
<ol>
<li>
<div>
<span class="itemTitle"><a>resolução</a></span>
</div>
</li>
<li>
<div>
<span class="itemTitle">sistema operativo</span>
</div>
</li>
<li>
<div>
<span class="itemTitle">autonomia</span>
</div>
</li>
</ol>
</li>
<li>
<div>
<span class="disclose ui-icon ui-icon-triangle-1-n"></span>
<span class="itemTitle">Extras(2)</span>
</div>
<ol>
<li>
<div>
<span class="disclose ui-icon ui-icon-triangle-1-n"></span>
<span class="itemTitle">camera</span>
</div>
<ol>
<li>
<div>
<span class="itemTitle">camera</span>
</div>
</li>
<li>
<div>
<span class="itemTitle">gps</span>
</div>
</li>
</ol>
</li>
<li>
<div>
<span class="itemTitle no-collapssible">gps</span>
</div>
</li>
</ol>
</li>
</ol>
</li>
<li>
<div>
<span class="itemTitle no-collapssible">Preço de Equipamento</span>
</div>
</li>
<li>
<div>
<span class="itemTitle no-collapssible">Cor</span>
</div>
</li>
</ol>
</div>
<div class="panel-dialog-container-overlay"></div>
<div class="panel-dialog-container">
<div class="panel-content">
<div class="headertitle">
<h3>sistema operativo</h3>
<span class="done">Done</span>
</div>
<div class="dialog-breadcrumbs">
<ul>
<li class="active" page="define-scales"><span>1. Definir Swings</span></li>
<li page="compare-refs"><span>2. Comparar Swings</span></li>
<li page="obtain-scale"><span>3. Obter Pesos</span></li>
</ul>
</div>
<div class="panel-body container-fluid">
<!-- DEFINE SCALES -->
<div id="define-scales" class="dialog-page">
<div class="row">
<div class="col-md-12">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce augue orci, imperdiet ut tincidunt quis, molestie quis odio. Sed convallis, nibh ut fermentum aliquet, felis odio finibus nulla, sed accumsan lacus magna id turpis.</p>
</div>
</div>
<div class="references-table swings">
<ol class="is-sortable">
<li>
<div class="ref-sort">
<span></span>
</div>
<div class="row ref-content">
<div class="col-md-9 ref-description">
<span>1MP</span> > <span>3MP</span>
</div>
<div class="col-md-3 ref-name">
<span>Resolução</span>
</div>
</div>
</li>
<li>
<div class="ref-sort">
<span></span>
</div>
<div class="row ref-content">
<div class="col-md-9 ref-description">
<span>Win</span> > <span>IOS</span>
</div>
<div class="col-md-3 ref-name">
<span>Sistema Operativo</span>
</div>
</div>
</li>
<li>
<div class="ref-sort">
<span></span>
</div>
<div class="row ref-content">
<div class="col-md-9 ref-description">
<span>32h</span> > <span>48h</span>
</div>
<div class="col-md-3 ref-name">
<span>Autonomia</span>
</div>
</div>
</li>
</ol>
</div>
<div class="start-scoring-container">
<button class="btn-start-scoring btn-action">Start weighting</button>
</div>
</div>
<!-- COMPARE REFS-->
<div id="compare-refs" class="dialog-page">
<div class="questions-container">
<div class="question-container current-question">
<div class="questiontitle">
<h3>Pergunta 3 de 15</h3>
<span>Qual a diferença de valor entre os dois niveis seguintes?</span>
</div>
<div class="question-options">
<div class="first questionoption no-bg swings">
<div class="description">
<span>1MP</span> > <span>3MP</span>
</div>
<div class="name">
Resolução
</div>
</div>
<div class="second questionoption no-bg swings">
<div class="description">
<span>32h</span> > <span>48h</span>
</div>
<div class="name">
Autonomia
</div>
</div>
</div>
<div class="question-answers">
<div class="multisteprange">
<ul class="range-labels">
<li class="active selected">Indiferente</li>
<li>Muito Fraco</li>
<li>Fraco</li>
<li>Moderado</li>
<li>Forte</li>
<li>Muito Forte</li>
<li class="last">Extremo</li>
<li class="isolated">
<div class="interval"></div>
<span>Não sei</span>
</li>
</ul>
<div class="range-line"></div>
<div class="range">
<input type="text" name="range-input" value="1">
</div>
</div>
<div class="options">
<input type="checkbox" name="add-variant"/>
<label>Adicionar variante</label>
</div>
</div>
</div>
<div class="questions-navigation">
<button class="previous-question btn-action disabled">Pergunta anterior</button>
<button class="next-question btn-action">Pergunta seguinte</button>
</div>
</div>
<div class="">
</div>
</div>
<!-- OBTAIN SCALE -->
<div id="obtain-scale" class="dialog-page">
<div class="row">
<div class="col-md-12">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce augue orci, imperdiet ut tincidunt quis, molestie quis odio. Sed convallis, nibh ut fermentum aliquet, felis odio finibus nulla, sed accumsan lacus magna id turpis.</p>
</div>
</div>
<div class="row charts">
<div class="col-md-12">
<canvas id="barChart" width="400" height="150"></canvas>
</div>
<!--
<div class="col-md-6">
<canvas id="bubbleChart" width="400" height="300"></canvas>
</div>
<div class="col-md-6">
<canvas id="lineChart" width="400" height="300"></canvas>
</div> -->
</div>
<div class="options-container">
<a class="left show-matrix-table">Show Matrix Table<i class="mdi mdi-menu-up"></i></a>
<button class="btn-action propose-weight">Propose weight</button>
<button class="btn-action edit-weight">Edit weight</button>
</div>
<div class="matrix-table">
<table>
<thead>
<tr>
<th></th>
<th>Windows</th>
<th>Android</th>
<th>Opção 4</th>
</tr>
</thead>
<tbody>
<tr>
<td class="featured">IOS</td>
<td>Extremo</td>
<td>Muito Fraco</td>
<td>Forte</td>
</tr>
<tr>
<td class="transparent"></td>
<td class="featured">Windows</td>
<td>Extremo</td>
<td>-</td>
</tr>
<tr>
<td class="transparent"></td>
<td class="transparent"></td>
<td class="featured">Android</td>
<td>Muito Forte</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="panel-footer">
<div class="painel-controls">
<buton class="border-button white left" id="view-table-mode">Table mode</buton>
<div class="use-by-default">
<input type="checkbox"/>
<label>Use by default</label>
</div>
<buton id="get-scale" class="btn-action yellow right">Get Weight</buton>
</div>
<!--
<div class="buttons">
<a class="btn-previous disabled">Previous</a>
<a class="btn-next">Next</a>
</div>-->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Core -->
<script src="global/vendor/bootstrap/bootstrap.js"></script>
<script src="global/vendor/animsition/animsition.js"></script>
<script src="global/vendor/asscroll/jquery-asScroll.js"></script>
<script src="global/vendor/mousewheel/jquery.mousewheel.js"></script>
<script src="global/vendor/asscrollable/jquery.asScrollable.all.js"></script>
<script src="global/vendor/ashoverscroll/jquery-asHoverScroll.js"></script>
<script src="global/vendor/waves/waves.js"></script>
<!-- Plugins -->
<script src="global/vendor/switchery/switchery.min.js"></script>
<script src="global/vendor/intro-js/intro.js"></script>
<script src="global/vendor/screenfull/screenfull.js"></script>
<script src="global/vendor/slidepanel/jquery-slidePanel.js"></script>
<script src="global/vendor/jvectormap/jquery-jvectormap.min.js"></script>
<script src="global/vendor/jvectormap/maps/jquery-jvectormap-world-mill-en.js"></script>
<script src="global/vendor/matchheight/jquery.matchHeight-min.js"></script>
<script src="global/vendor/peity/jquery.peity.min.js"></script>
<!-- Scripts -->
<script src="global/js/core.js"></script>
<script src="assets/js/site.js"></script>
<script src="assets/js/sections/menu.js"></script>
<script src="assets/js/sections/menubar.js"></script>
<script src="assets/js/sections/gridmenu.js"></script>
<script src="assets/js/sections/sidebar.js"></script>
<script src="global/js/configs/config-colors.js"></script>
<script src="assets/js/configs/config-tour.js"></script>
<script src="global/js/components/asscrollable.js"></script>
<script src="global/js/components/animsition.js"></script>
<script src="global/js/components/slidepanel.js"></script>
<script src="global/js/components/switchery.js"></script>
<script src="global/js/components/tabs.js"></script>
<script src="global/js/components/matchheight.js"></script>
<script src="global/js/components/jvectormap.js"></script>
<script src="global/js/components/peity.js"></script>
<script src="assets/examples/js/dashboard/v1.js"></script>
<script src="assets/js/jquery.mjs.nestedSortable.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
<script src="assets/js/charts.js"></script>
<script src="assets/js/range_input.js"></script>
<script>
$().ready(function() {
/* INITIALIZATION OF CHARTS */
/* ========================================================== */
lineChartConfig.data.datasets[0].data = [80, 75, 65, 59, 56, 55, 40];
lineChartConfig.data.labels = ["Windows", "Android", "IOS", "Windows 8", "Windows 10", "Windows 7", "Linux"];
//var myLineChart = new Chart($("#lineChart"), lineChartConfig);
bubbleChartConfig.data.datasets[0].data = [
{
x: 0,
r: 5,
y: 89,
label: 'Apple'
},
{
x: 0,
r: 5,
y: 72,
label: 'Samsung'
},
{
x: 0,
r: 5,
y: 45,
label: 'Windows'
},
{
x: 0,
r: 5,
y: 45,
label: 'Windows 2'
},
{
x: 0,
r: 5,
y: 0,
label: 'Neutral'
},
{
x: 0,
r: 5,
y: 100,
label: 'Bom'
},
{
x: 0,
r: 5,
y: -12,
label: 'Opção 4'
}];
//var myBublleChart = new Chart($("#bubbleChart"), bubbleChartConfig);
barChartConfig.data.datasets[0].data = [50, 30, 20];
var myBarChart = new Chart($("#barChart"), barChartConfig);
/* CONTROLLER - FACTOR DIALOG PAGE */
/* ========================================================== */
var FactorDialogPage;
FactorDialogPage = (function(){
function FactorDialogPage(config){
this._define_swings_handler = config.define_swings;
this.current_page = 'define-scales';
//this.current_page = 'compare-refs';
//this.current_page = 'obtain-scale';
this._initEventHandlers();
this._range_input = new RangeInput();
};
FactorDialogPage.prototype._initEventHandlers = function() {
var self = this;
$('.define-scales a').on('click', function(){
self.showDialog();
});
$('.done').on('click', function() {
self.hideDialog();
});
$('.btn-start-scoring').on('click', function() {
self.startScoring($(this));
});
$('input[name=add-variant]').on('change', function() {
self._range_input.setMultiple($(this).is(':checked'));
});
$('#view-table-mode').on('click', function() {
self.showTableMode($(this));
});
$('#get-scale').on('click', function() {
self.obtainScale($(this));
});
$('.btn-previous').on('click', function() {
self.gotoPreviousPage($(this));
});
$('.btn-next').on('click', function() {
self.gotoNextPage($(this));
});
$('body').on('click', '.matrix-table td', function(){
if ($(this).hasClass('featured') === false){
$(this).toggleClass('active');
}
});
$('.disclose').attr('title', 'Click to show/hide children');
$('.disclose').on('click', function() {
$(this).closest('li').toggleClass('mjs-nestedSortable-collapsed').toggleClass('mjs-nestedSortable-expanded');
$(this).parent().find('.disclose').toggleClass('ui-icon-plusthick').toggleClass('ui-icon-minusthick');
});
};
FactorDialogPage.prototype.showDialog = function() {
$('.panel-dialog-container-overlay').addClass('show');
$('.panel-dialog-container').addClass('show');
this.refreshPage();
};
FactorDialogPage.prototype.hideDialog = function() {
$('.panel-dialog-container-overlay').removeClass('show');
$('.panel-dialog-container').removeClass('show');
$('.panel-dialog-container .dialog-page').hide();
$('.list-criteria-container').css('height', 'auto');
};
FactorDialogPage.prototype.refreshPage = function() {
var self = this;
$('.dialog-breadcrumbs ul li').removeClass('active');
$('.dialog-breadcrumbs ul li[page=' + self.current_page + ']').addClass('active');
self._define_swings_handler.destroySortable();
$.when($('.panel-dialog-container .dialog-page:not(#' + self.current_page + ')').fadeOut(500)).then(function() {
$('.dialog-page#' + self.current_page).fadeIn();
if (self.current_page == 'define-scales'){
$(".references-table li:visible").css('margin-bottom', '0');
$(".references-table li:not(.placeholder):not(.new-ref-template)").fadeTo(100, 1);
self._define_swings_handler.initSortable();
$('#define-scales').attr('class', 'dialog-page');
$('.painel-controls').hide();
} else if (self.current_page == 'compare-refs'){
$('.painel-controls').show();
} else if (self.current_page == 'obtain-scale'){
$('.painel-controls').show();
}
$('html, body').animate({
scrollTop: $(".panel-dialog-container").offset().top - 150
}, 1000);
$('.btn-previous').removeClass('disabled');
$('.btn-next').removeClass('disabled');
if ($('.dialog-breadcrumbs ul li.active').prev().length == 0){
$('.btn-previous').addClass('disabled');
}
if ($('.dialog-breadcrumbs ul li.active').next().length == 0){
$('.btn-next').addClass('disabled');
}
$('.list-criteria-container').height($('.panel-dialog-container').height() + 50);
});
};
FactorDialogPage.prototype.startScoring = function($button) {
var self = this;
//if ($button.hasClass('disabled'))
// return false;
$('#define-scales').addClass('start-scoring');
setTimeout(function() {
$.when($(".references-table li:visible:not(:first):not(:last)").fadeTo( "slow" , 0.4)).then(function() {
$.when($(".references-table li:visible:not(:first):not(:last)").fadeOut(500)).then(function(){
$(".references-table li:visible:first").css('margin-bottom', '80px');
setTimeout(function() {
self.current_page = 'compare-refs';
self.refreshPage();
}, 1000);
});
});
}, 1000);
};
FactorDialogPage.prototype.changeQuestion = function($button) {
var self = this;
//if ($button.hasClass('disabled'))
// return false;
};
FactorDialogPage.prototype.showTableMode = function($button) {
var self = this;
self.current_page = 'obtain-scale';
self.refreshPage();
setTimeout(function() {
$('#obtain-scale').addClass('matrix-table-mode');
$('.painel-controls').show();
}, 1000);
};
FactorDialogPage.prototype.obtainScale = function($button) {
var self = this;
self.current_page = 'obtain-scale';
self.refreshPage();
};
FactorDialogPage.prototype.gotoNextPage = function($button) {
var self = this;
if ($button.hasClass('disabled'))
return false;
var $next = $('.dialog-breadcrumbs ul li.active').next();
self.current_page = $next.attr('page');
self.refreshPage();
};
FactorDialogPage.prototype.gotoPreviousPage = function($button) {
var self = this;
if ($button.hasClass('disabled'))
return false;
var $previous = $('.dialog-breadcrumbs ul li.active').prev();