forked from CleverCloud/json2caseclass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (124 loc) · 6.64 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>json2caseclass , #scala case class generator</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="" />
<!-- Le styles -->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" href="css/sh_vampire.min.css" />
<!--[if IE 7]>
<link rel="stylesheet" href="/css/font-awesome-ie7.min.css">
<![endif]-->
<link href="css/main.css" rel="stylesheet" />
<link rel="shortcut icon" href="favicon.png" />
<!-- Fav and touch icons -->
<!-- highlight.js theme -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/styles/github.min.css">
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<div class="hero-unit">
<div class="row-fluid">
<div class="span9">
<img id="scalalogo" class="media-object pull-left" src="img/scalalogo.png" />
<h1>json 2 case class</h1>
<p></p>
<p>This software is designed to generate <strong>Scala case classes</strong> from some <strong>json</strong>.</p>
<p>The basic idea is to allow fast API integration by generating case classes modelling API responses (useful with serialization / deserialization)</p>
<p id="about">This soft is licensed under GPLv3 and was created by the <a href="http://www.clever-cloud.com">Clever Cloud</a> team (awesome PaaS service featuring high-performance scala hosting) for internal needs.</p>
<button type="button" id="test_button" class="btn btn-primary"><i class="icon-legal"></i> Test it with some twitter data</button> or
<button type="button" id="test_button2" class="btn btn-primary"><i class="icon-legal"></i> Test it with some google maps API data</button>
</div>
<div class="span3">
<h3><i class="icon-share"></i> Share the good news</h3>
<p> <a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-related="clever_cloud" data-hashtags="scala">Tweet</a></p>
<p><a class="btn" href="http://github.com/CleverCloud/json2caseclass"><i class="icon-github-alt"></i> Find this project on github</a></p>
<p>
<g:plusone></g:plusone></p>
<p><a href="https://twitter.com/clever_cloud" class="twitter-follow-button" data-show-count="false">Follow @clever_cloud</a>
</p>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<form id="pastejsonform">
<fieldset>
<legend>Json paste</legend>
<textarea rows="5" class="span12" placeholder="paste your json here"></textarea>
<button type="submit" class=" pull-right btn btn-primary"><i class="icon-magic"></i> Let's go !</button>
</fieldset>
</form>
</div><!--/span-->
<div class="row-fluid" id="app"></div>
<!-- <div class="row-fluid">
<div class="span12" id="optionzone"></div>
</div> -->
<!--
<div class="row-fluid">
<div class="span12">
<form id="caseclassform">
<fieldset>
<legend>Scala result</legend>
<div id="mycodeis"></div>
<textarea rows="8" class="span12" placeholder="here is the result"></textarea>
</fieldset>
</form>
</div>
</div>
-->
</div><!--/row-->
<hr>
<footer>
<p>This software is on the GPLv3 licence and built by <a href="http://www.clever-cloud.com">Clever Cloud</a> team to help developers</p><a href="http://www.clever-cloud.com"><img class="pull-right" src="img/host-v-black.png" /></a>
</footer>
</div><!--/.fluid-container-->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!--<script src="js/underscore-min.js"></script>-->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/sha1.js"></script>
<script src="js/sh_main.min.js"></script>
<script src="js/sh_scala.min.js"></script>
<!-- Our custom highlight pack with only scala support -->
<script src="js/highlight.pack.js"></script>
<!-- <script src="js/main.js"></script> -->
<!--<script type="text/javascript" src="assets/mainpage-bundle.js"></script>-->
<!--<script type="text/javascript" src="assets/jsontocaseclass-opt.js"></script>-->
<!--<script type="text/javascript" src="assets/jsontocaseclass-launcher.js"></script>-->
<!--<script type="text/javascript" src="./target/scala-2.11/jsontocaseclass-opt.js"></script>-->
<!--<script type="text/javascript" src="./target/scala-2.11/jsontocaseclass-fastopt.js"></script>-->
<!--<script type="text/javascript" src="./target/scala-2.11/jsontocaseclass-launcher.js"></script>-->
<!--all js dependencies-->
<script type="text/javascript" src="assets/mainpage-bundle.js"></script>
<!-- Include Scala.js compiled code -->
<script type="text/javascript" src="assets/jsontocaseclass-opt.js"></script>
<!-- Run JSApp -->
<script type="text/javascript" src="assets/jsontocaseclass-launcher.js"></script>
<!--<script>io.github.onilton.jsontocaseclass.Jsontocaseclass().main()</script>-->
<!--<script>sri.templates.web.WebApp().main()</script>-->
<script type="text/javascript">
/*
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34491343-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
*/
</script>
<!--
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> -->
</body>
</html>