UNPKG

2.21 kBtext/x-handlebars-templateView Raw
1<!DOCTYPE html>
2<html lang="en" class="height-full">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <meta http-equiv="X-UA-Compatible" content="ie=edge">
7 <title>Setup {{#if pkg.name }}{{ pkg.name }}{{else}}Your App{{/if}} | built with Probot</title>
8 <link rel="icon" href="/probot/static/probot-head.png">
9 <link rel="stylesheet" href="/probot/static/primer.css">
10 </head>
11 <body class="height-full bg-gray-light">
12 <div class="d-flex flex-column flex-justify-center flex-items-center text-center height-full">
13 <img src="/probot/static/robot.svg" alt="Probot Logo" width="100" class="mb-6">
14 <div class="box-shadow rounded-2 border p-6 bg-white">
15 <h1>
16 Welcome to {{#if pkg.name }}{{ pkg.name }}{{else}}your Probot App{{/if}}
17 {{#if version}}
18 <span class="Label Label--outline v-align-middle ml-2 text-gray-light">v{{ pkg.version }}</span>
19 {{/if}}
20 </h1>
21
22 {{#if pkg.description }}
23 <p>{{ pkg.description }}</p>
24 {{else}}
25 <p>This app was built using <a href="https://github.com/probot/probot">Probot</a>, a framework for building GitHub Apps.</p>
26 {{/if}}
27
28 <div class="text-left mt-6">
29 <h2 class="alt-h3 mb-2">Getting Started</h2>
30
31 <p>To start building a GitHub App, you'll need to register a new app on GitHub.</p>
32 <br>
33
34 <form action="{{ createAppUrl }}" method="post" target="_blank" class="d-flex flex-items-center">
35 <button class="btn btn-outline" name="manifest" id="manifest" value='{{ manifest }}' >Register GitHub App</button>
36 <a href="/probot/import" class="ml-2">or use an existing Github App</a>
37 </form>
38 </div>
39 </div>
40
41 <div class="mt-4">
42 <h4 class="alt-h4 text-gray-light">Need help?</h4>
43 <div class="d-flex flex-justify-center mt-2">
44 <a href="https://probot.github.io/docs/" class="btn btn-outline mr-2">Documentation</a>
45 <a href="https://probot-slackin.herokuapp.com/" class="btn btn-outline">Chat on Slack</a>
46 </div>
47 </div>
48 </div>
49 </body>
50</html>
51
\No newline at end of file