summaryrefslogtreecommitdiff
path: root/www/index.php
blob: 74b121d45ab68a9bab97af4c774e71c2bacc1a6c (plain) (blame)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Welcome to OpenShift</title>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300" rel="stylesheet" type="text/css" />
    <style type="text/css">
        html, body {
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            padding-top: 100px;
        }

        h1 {
            font-size: 52px;
            margin-bottom: 0;
        }

        h1, h2, p {
            margin-top: 0;
            font-weight: normal;
        }

        a {
            color: #DB242F;
        }

        a:not(:hover) {
            text-decoration: none;
        }

        .container {
            display: flex;
            flex-direction: row;
            margin: 0 auto;
            width: 960px;
        }

        .section {
            padding: 15px;
        }

        .section + .section {
            margin-left: 15px;
        }

        .welcome {
            background: #eee;
            border-radius: 5px;
            text-align: center;
            flex: 0 0 300px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="section welcome">
            <div>
                <img src="/static/openshift-logo.png" alt="OpenShift Logo" />
            </div>
            <h1>Welcome!</h1>
            <p>You are running PHP <?php echo phpversion(); ?></p>
        </div>
        <div class="section">
            <h2>What's next?</h2>
            <p>Make changes to this website by editing the files inside <code>www/</code> of your repository.</p>
            <p>Commit your changes after, then push to the remote repository.</p>
            <pre><code>$ git commit -a -m "Some commit message"
$ git push origin master</code></pre>
            <h2>More</h2>
            <ul>
                <li>Visit <a href="http://www.openshift.com">http://www.openshift.com</a>.</li>
                <li>Get help in the <a href="http://www.openshift.com/forums/openshift">OpenShift forums</a>.</li>
                <li>More on the cartridge at <a href="https://github.com/pinodex/openshift-cartridge-nginx-php7">pinodex/openshift-cartridge-nginx-php7</a>.</li>
            </ul>
        </div>
    </div>
</body>
</html>