1
1
<!DOCTYPE html>
2
2
< html >
3
-
4
- < head >
3
+ < head >
5
4
< meta charset ="utf-8 " />
6
5
< title > SurveyJS</ title >
7
- < link rel ="stylesheet " href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css " />
8
- < script type ="text/javascript " src ="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js "> </ script >
6
+ < link
7
+ rel ="stylesheet "
8
+ href ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css "
9
+ />
10
+ < script
11
+ type ="text/javascript "
12
+ src ="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js "
13
+ > </ script >
9
14
< script src ="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js "> </ script >
10
15
< script src ="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.4.1/knockout-debug.js "> </ script >
11
- < link rel ="stylesheet " href ="https://unpkg.com/survey-knockout/survey.css " />
16
+ < link
17
+ rel ="stylesheet "
18
+ href ="https://unpkg.com/survey-knockout/survey.css "
19
+ />
12
20
< link rel ="stylesheet " href ="./index.css " />
13
- </ head >
21
+ </ head >
14
22
15
- < body >
16
- < a class ="fork_me_on_github " href ="https://github.com/surveyjs/surveyjs-aspnet-mvc " target ="_blank ">
17
- < img style ="position: absolute; top: 0; right: 0; border: 0; " src ="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67 "
18
- alt ="Fork me on GitHub " data-canonical-src ="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png ">
23
+ < body >
24
+ < a
25
+ class ="fork_me_on_github "
26
+ href ="https://github.com/surveyjs/surveyjs-aspnet-mvc "
27
+ target ="_blank "
28
+ >
29
+ < img
30
+ style ="position: absolute; top: 0; right: 0; border: 0; "
31
+ src ="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67 "
32
+ alt ="Fork me on GitHub "
33
+ data-canonical-src ="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png "
34
+ />
19
35
</ a >
20
36
< div class ="sv_main sv_frame sv_default_css ">
21
- < div class ="sv_custom_header "> </ div >
22
- < div class ="sv_container ">
23
- < div class ="sv_header ">
24
- < h3 > SurveyJS custom service ASP.NET Core example</ h3 >
25
- < p > Below you can see the list of available surveys you can edit, run and see the results</ p >
26
- </ div >
27
- < div class ="sv_body ">
28
- < div id ="surveys-list " class ="surveys-list ">
29
- < section >
30
- < button data-bind ="click: function() { createSurvey('NewSurvey' + Date.now(), loadSurveys); } "> Add</ button >
31
- </ section >
32
- < table class ="table table-striped ">
33
- < tbody >
34
- <!-- ko foreach: availableSurveys -->
35
- < tr >
36
- < td data-bind ="text: name "> </ td >
37
- < td >
38
- < a class ="sv_button_link " data-bind ="attr: { href: 'survey.html?id=' + ko.unwrap(id) } "> Run</ a >
39
- < a class ="sv_button_link " data-bind ="attr: { href: 'editor.html?id=' + ko.unwrap(id) } "> Edit</ a >
40
- < a class ="sv_button_link " data-bind ="attr: { href: 'results.html?id=' + ko.unwrap(id) } "> Results</ a >
41
- < span class ="sv_button_link sv_button_delete " data-bind ="click: function() { $parent.deleteSurvey(ko.unwrap(id), $parent.loadSurveys); } "> Delete</ span >
42
- </ td >
43
- </ tr >
44
- <!-- /ko -->
45
- </ tbody >
46
- </ table >
47
- </ div >
48
- </ div >
37
+ < div class ="sv_custom_header "> </ div >
38
+ < div class ="sv_container ">
39
+ < div class ="sv_header ">
40
+ < h3 > SurveyJS custom service ASP.NET Core example</ h3 >
41
+ < p >
42
+ Below you can see the list of available surveys you can edit, run
43
+ and see the results
44
+ </ p >
45
+ </ div >
46
+ < div class ="sv_body ">
47
+ < div id ="surveys-list " class ="surveys-list ">
48
+ < section >
49
+ < button
50
+ data-bind ="click: function() { createSurvey('NewSurvey' + Date.now(), loadSurveys); } "
51
+ >
52
+ Add
53
+ </ button >
54
+ </ section >
55
+ < table class ="table table-striped ">
56
+ < tbody >
57
+ <!-- ko foreach: availableSurveys -->
58
+ < tr >
59
+ < td data-bind ="text: name "> </ td >
60
+ < td >
61
+ < a
62
+ class ="sv_button_link "
63
+ data-bind ="attr: { href: 'survey.html?id=' + ko.unwrap(id) } "
64
+ > Run</ a
65
+ >
66
+ < a
67
+ class ="sv_button_link "
68
+ data-bind ="attr: { href: 'survey-creator.html?id=' + ko.unwrap(id) } "
69
+ > Edit</ a
70
+ >
71
+ < a
72
+ class ="sv_button_link "
73
+ data-bind ="attr: { href: 'results.html?id=' + ko.unwrap(id) } "
74
+ > Results</ a
75
+ >
76
+ < span
77
+ class ="sv_button_link sv_button_delete "
78
+ data-bind ="click: function() { $parent.deleteSurvey(ko.unwrap(id), $parent.loadSurveys); } "
79
+ > Delete</ span
80
+ >
81
+ </ td >
82
+ </ tr >
83
+ <!-- /ko -->
84
+ </ tbody >
85
+ </ table >
86
+ </ div >
49
87
</ div >
88
+ </ div >
50
89
</ div >
51
- </ body >
52
-
53
- < script src ="index.js "> </ script >
90
+ </ body >
54
91
55
- </ html >
92
+ < script src ="index.js "> </ script >
93
+ </ html >
0 commit comments