PAN-18 WORKING HOMEPAGE
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
||||
compile group: 'org.jacoco', name: 'org.jacoco.core', version: '0.8.3'
|
||||
compile 'org.codehaus.groovy:groovy-all:2.3.11'
|
||||
compile 'org.apache.commons:commons-lang3:3.5'
|
||||
// The production code uses the SLF4J logging API at compile time
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
package edu.msudenver.tsp.website.controller;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@Slf4j
|
||||
@Controller
|
||||
@AllArgsConstructor
|
||||
@RequestMapping("/")
|
||||
public class HomeController {
|
||||
|
||||
@GetMapping("")
|
||||
public String home(Map<String, Object> model) {
|
||||
model.put("message", "Welcome to Theorem Prover !!");
|
||||
return "index";
|
||||
}
|
||||
|
||||
@RequestMapping("/next")
|
||||
public String next(Map<String, Object> model) {
|
||||
model.put("message", "You are in new page !!");
|
||||
return "Theorem";
|
||||
}
|
||||
}
|
||||
@@ -7,20 +7,20 @@
|
||||
--%>
|
||||
|
||||
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Theroem Prover</title>
|
||||
<title>Theorem Prover</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div>
|
||||
<h1>Theorem Prover</h1>
|
||||
<h2>Hello! ${message}</h2>
|
||||
<h2>Hello! Welcome to Theorem Prover !!</h2>
|
||||
|
||||
Click on this <strong><a href="next">link</a></strong> to visit theorem entering page.
|
||||
Click on this <strong><a href="/theorem/">link</a></strong> to visit theorem entering page.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
Reference in New Issue
Block a user