Skip to content

Commit

Permalink
UI field moved.
Browse files Browse the repository at this point in the history
  • Loading branch information
gitorko committed Jan 21, 2016
1 parent db5ea0c commit d3b4fc1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
11 changes: 5 additions & 6 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

spring.freemarker.allowRequestOverride=false
spring.freemarker.cache=false
spring.freemarker.checkTemplateLocation=true
spring.freemarker.charSet=UTF-8
spring.freemarker.contentType=text/html
spring.freemarker.exposeRequestAttributes=false
spring.freemarker.exposeSessionAttributes=false
spring.freemarker.prefer-file-system-access=true
spring.freemarker.suffix=.ftl.html
spring.freemarker.templateLoaderPath=classpath:/templates/
spring.resources.cache-period=0
spring.freemarker.template-loader-path=classpath:/templates/
spring.freemarker.check-template-location=true
spring.freemarker.enabled=true
spring.freemarker.prefer-file-system-access=true


#spring.jpa.hibernate.ddl-auto=create
Expand Down
15 changes: 9 additions & 6 deletions src/main/resources/templates/testcase_form.ftl.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ <h3>Test Case</h3>
<br/>
</div>
<div>
<label for="tdescription">Description<font color="red">*</font></label>
<textarea class="form-control" name="tdescription" id="tdescription" rows="4" required><#if tc??>${tc.description}</#if></textarea>
<label for="tmethod">Slug</label>
<input type="text" class="form-control" readonly value="<#if tc??>${tc.slug}</#if>"/>
<br/>
</div>
<div>
Expand Down Expand Up @@ -183,10 +183,6 @@ <h3>Test Case</h3>
<label for="tmethod">Automation Test Method Name:</label>
<input type="text" name="tmethod" class="form-control" id="tmethod" maxlength="45" value="<#if tc??>${tc.methodName}</#if>"/>
</div>
<div class="form-group">
<label for="tmethod">Slug</label>
<input type="text" class="form-control" readonly value="<#if tc??>${tc.slug}</#if>"/>
</div>
</div>

<div class="col-md-1">
Expand Down Expand Up @@ -216,6 +212,13 @@ <h3>Test Case</h3>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<label for="tdescription">Description<font color="red">*</font></label>
<textarea class="form-control" name="tdescription" id="tdescription" rows="4" required><#if tc??>${tc.description}</#if></textarea>
<br/>
</div>
</div>

<div class="row">
<div class="col-md-12">
Expand Down

0 comments on commit d3b4fc1

Please sign in to comment.