diff options
-rw-r--r-- | predPy/templates/layout.html | 38 | ||||
-rw-r--r-- | src/model/Model.java | 17 | ||||
-rw-r--r-- | src/model/ModelInterface.java | 17 |
3 files changed, 72 insertions, 0 deletions
diff --git a/predPy/templates/layout.html b/predPy/templates/layout.html new file mode 100644 index 0000000..a06e5ae --- /dev/null +++ b/predPy/templates/layout.html @@ -0,0 +1,38 @@ +$def with (content) + +<html> + <head> + <title>Failure Prediction</title> + + <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'> + <link href='http://fonts.googleapis.com/css?family=Oleo+Script' rel='stylesheet' type='text/css'> + + <style> + body { + margin-top: 60px; + } + + h2 { + font: 200 30px/1.3 Helvetica, sans-serif; + color: #2b2b2b; + } + + .input-box { + width: 600px; + line-height: 29px; + } +</style> +</head> + +<body> + <div class="container"> + <div class="jumbotron"> + <div class="row"> + $:content + </div> + </div> + </div> + +</body> + +</html> diff --git a/src/model/Model.java b/src/model/Model.java index ca9897b..22fa9b3 100644 --- a/src/model/Model.java +++ b/src/model/Model.java @@ -1,3 +1,20 @@ +// Copyright 2016 Huawei Technologies Co. Ltd. +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package model; import java.io.*; diff --git a/src/model/ModelInterface.java b/src/model/ModelInterface.java index a4d1b7b..983183f 100644 --- a/src/model/ModelInterface.java +++ b/src/model/ModelInterface.java @@ -1,3 +1,20 @@ +// Copyright 2016 Huawei Technologies Co. Ltd. +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package model; import java.util.ArrayList; |