-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
45 lines (38 loc) · 1.36 KB
/
index.php
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
<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
require dirname(__FILE__) . "/validator.php";
exit;
};
header("Content-type: application/xhtml+xml");
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>NewsML-G2 Validator</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="css/styles.css"/>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-truncate/src/truncate.js"></script>
<script src="lib/newsmlvalidator.js"></script>
<script src="bower_components/ace-builds/src-noconflict/ace.js"></script>
<script src="bower_components/angular-ui-ace/ui-ace.js"></script>
</head>
<body data-ng-app="nmlv" data-ng-controller="nmlvCtrl">
<h1 class="main-headline leftElement">
<b>NewsML-G2 Validator</b>
<span> + ((</span> HTML 5 polyglot <span> + </span> Microdata <span> ) || </span> XHTML1.0
<span>) + </span> NITF
</h1>
<div id="validationForm" class="leftElement {{validationActive ? 'active' : 'inactive'}}">
<? include("lib/views/validation-form.html")?>
</div>
<br/>
<div id="validationResults" class="leftElement">
<? include("lib/views/validation-results.html")?>
</div>
<div id="info" class="rightElement">
<? include("lib/views/frontpage-aside.html")?>
</div>
</body>
</html>