-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathredoc.php
45 lines (44 loc) · 1.04 KB
/
redoc.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
$this->assign('title', $title);
?>
<!DOCTYPE html>
<html>
<head>
<!-- REDOC -->
<title><?php echo $this->fetch('title'); ?></title>
<!-- needed for adaptive design -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
<!--
ReDoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
/* Flash messages */
.message, .alert {
padding: 1rem;
border-width: 1px;
border-style: solid;
border-radius: 4px;
margin-bottom: 2rem;
}
.message.error, .alert.alert-danger {
background: #fcebea;
color: #cc1f1a;
border-color: #ef5753;
}
</style>
</head>
<body>
<?php
if (isset($this->Flash)) {
echo $this->Flash->render();
}
echo $this->fetch('content');
?>
</body>
</html>