2014-03-06 18:31:40 +08:00
|
|
|
<!DOCTYPE html>
|
2013-08-20 04:45:54 +08:00
|
|
|
<html>
|
2013-06-06 15:40:10 +08:00
|
|
|
<head>
|
|
|
|
<title>Spring Initializr</title>
|
|
|
|
<link rel="stylesheet"
|
|
|
|
href="/css/bootstrap.min.css"/>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar">
|
|
|
|
<div class="navbar-inner">
|
|
|
|
<a class="brand"
|
2014-03-09 01:00:59 +08:00
|
|
|
href="https://spring.io">
|
2013-06-06 15:40:10 +08:00
|
|
|
Spring
|
|
|
|
</a>
|
|
|
|
<ul class="nav">
|
|
|
|
<li>
|
|
|
|
<a href="/">
|
|
|
|
Projects
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2013-08-05 18:12:53 +08:00
|
|
|
<a href="/spring.zip">
|
|
|
|
Download
|
2013-06-06 15:40:10 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-06-06 19:19:15 +08:00
|
|
|
<li>
|
2013-08-05 18:12:53 +08:00
|
|
|
<a href="/install.sh">
|
|
|
|
Installer
|
2013-06-06 19:19:15 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
2013-06-06 15:40:10 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h1>Spring Initializr</h1>
|
|
|
|
<div>
|
2013-11-01 22:39:56 +08:00
|
|
|
<form id="form" action="/starter.zip" method="get">
|
2013-06-06 15:40:10 +08:00
|
|
|
<label for="groupId">Group:</label> <input id="groupId" type="text" value="org.demo" name="groupId"/>
|
|
|
|
<label for="artifactId">Artifact:</label> <input id="artifactId" type="text" value="demo" name="artifactId"/>
|
|
|
|
<label for="name">Name:</label> <input id="name" type="text" value="demo" name="name"/>
|
|
|
|
<label for="name">Description:</label> <input id="description" type="text" value="Demo project" name="description"/>
|
|
|
|
<label for="packageName">Package Name:</label> <input id="packageName" type="text" value="demo" name="packageName"/>
|
|
|
|
<label>Styles:</label>
|
|
|
|
<% styles.each { %>
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" name="style" value="${it.value}"/>
|
|
|
|
${it.name}
|
|
|
|
</label><% } %>
|
|
|
|
<label>Type:</label>
|
|
|
|
<% types.each { %>
|
|
|
|
<label class="radio">
|
2014-05-29 23:26:47 +08:00
|
|
|
<input type="radio" name="type" value="${it.value}"${it.selected==true ? ' checked="true"' : ''} onclick="javascript:this.form.action='${it.action}'"/>
|
|
|
|
${it.name}
|
|
|
|
</label><% } %>
|
|
|
|
<label>Packaging:</label>
|
|
|
|
<% packagings.each { %>
|
|
|
|
<label class="radio">
|
|
|
|
<input type="radio" name="packaging" value="${it.value}"${it.selected==true ? ' checked="true"' : ''}/>
|
2013-06-06 15:40:10 +08:00
|
|
|
${it.name}
|
|
|
|
</label><% } %>
|
2014-05-30 13:18:33 +08:00
|
|
|
<label>Java Version:</label>
|
|
|
|
<% javaVersions.each { %>
|
|
|
|
<label class="radio">
|
|
|
|
<input type="radio" name="packaging" value="${it.value}"${it.selected==true ? ' checked="true"' : ''}/>
|
|
|
|
${it.value}
|
|
|
|
</label><% } %>
|
2013-06-06 15:40:10 +08:00
|
|
|
<button type="submit" class="btn">Generate</button>
|
2013-08-20 04:45:54 +08:00
|
|
|
</form>
|
2013-06-06 15:40:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|