forked from teamleadercrm/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include index.html which is manually uploaded to developer.(focus.)te…
…amleader.eu
- Loading branch information
Showing
3 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
var embed = new Apiary.Embed({ | ||
subdomain: 'teamleadercrm', | ||
preferences: { | ||
header: '.header', | ||
defaultHost: 'production', | ||
collapseMachineColumnByDefault: true, | ||
permalinks: true, | ||
console: false | ||
}, | ||
customFonts: { | ||
families: [ | ||
{ | ||
name: 'Proxima Nova', | ||
style: 'normal', | ||
weight: 200, | ||
formats: [ | ||
{ | ||
format: 'woff', | ||
url: | ||
'https://focus.teamleader.eu/images/fonts/proximanova-reg-webfont.woff' | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
theme: { | ||
fontFamily: 'Proxima Nova', | ||
tableOfContents: { | ||
backgroundColor: '#fdfdfd', | ||
borderRight: '1px solid #e9e9e9', | ||
fontSize: '16px', | ||
section: { | ||
title: { | ||
color: '#00ACA9' | ||
} | ||
} | ||
}, | ||
humanColumn: { | ||
content: { | ||
apiName: { | ||
display: 'none', | ||
}, | ||
section: { | ||
title: { | ||
color: '#3b4151', | ||
fontSize: '35px' | ||
}, | ||
apiDescription: { | ||
h3: { | ||
marginTop: '20px' | ||
}, | ||
code: { | ||
color: '#00ACA9' | ||
}, | ||
pre: { | ||
padding: '15px', | ||
backgroundColor: '#fafafc', | ||
borderRadius: '5px' | ||
}, | ||
ul: { | ||
li: { | ||
marginBottom: '5px' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}); | ||
|
||
const msg = embed.onReady(function (iframeElement, event) { | ||
if (typeof console._commandLineAPI !== 'undefined') { | ||
console._commandLineAPI.clear(); | ||
} else if (typeof console._inspectorCommandLineAPI !== 'undefined') { | ||
console._inspectorCommandLineAPI.clear(); | ||
} else if (typeof console.clear !== 'undefined') { | ||
console.clear(); | ||
} | ||
|
||
console.log('Hello fellow developer!'); | ||
console.log('Thank you for showing interest in our source code. Perhaps you\'d like to join our team?'); | ||
console.log('To learn more, visit: https://www.teamleader.eu/company/engineering'); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
|
||
<!-- | ||
Hello fellow developer! Looks like you're interested in our source code. | ||
Perhaps you'd like to join our team? To learn more, visit: | ||
https://www.teamleader.eu/company/engineering | ||
--> | ||
|
||
<meta charset="utf-8"> | ||
<title>Teamleader API Documentation</title> | ||
<meta name="viewport" content="initial-scale=1.0, width=device-width, | ||
height=device-height, minimum-scale=1.0, maximum-scale=1.0, | ||
user-scalable=no"> | ||
<link rel="shortcut icon" type="image/x-icon" href="https://focus.teamleader.eu/favicon.ico" /> | ||
<link rel="stylesheet" href="style.css" type="text/css" /> | ||
|
||
<!-- Google Tag Manager --> | ||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | ||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | ||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | ||
})(window,document,'script','dataLayer','GTM-MM9KDVH');</script> | ||
<!-- End Google Tag Manager --> | ||
</head> | ||
<body> | ||
<!-- Google Tag Manager (noscript) --> | ||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MM9KDVH" | ||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
<!-- End Google Tag Manager (noscript) --> | ||
|
||
<header class="header"> | ||
<img src="https://focus.teamleader.eu/images/logo.svg" alt="Teamleader" | ||
height="48" width="180"/> | ||
<span class="pipe">|</span> | ||
<span>API documentation</span> | ||
</header> | ||
|
||
<script src="https://api.apiary.io/seeds/embed.js"></script> | ||
<script src="apiary.js?v4"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@font-face { | ||
font-family: "proximanova"; | ||
src: url("https://focus.teamleader.eu/images/fonts/proximanova-reg-webfont.woff") format("woff") | ||
} | ||
@font-face { | ||
font-family: "proximanova"; | ||
src: url("https://focus.teamleader.eu/images/fonts/proximanova-sbold-webfont.woff") format("woff"); | ||
font-weight: 700 | ||
} | ||
html, | ||
body { | ||
margin: 0px; | ||
padding: 0px; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
body { | ||
font: 100%/1.5 "proximanova", trebuchet ms, Verdana, Arial, Helvetica, sans-serif; | ||
} | ||
header { | ||
position: relative; | ||
padding: 10px 20px; | ||
background: #00aca9; | ||
color: white; | ||
font-size: 20px; | ||
box-shadow: 0 2px 14px rgba(0, 0, 0, .2); | ||
font-weight: 300; | ||
} | ||
header:after { | ||
content: ''; | ||
background: url("https://marketplace.teamleader.eu/61a23995e69719a69e444c2266197830.png"); | ||
opacity: 0.1; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
right: 0; | ||
position: absolute; | ||
z-index: 0; | ||
} | ||
header .pipe { | ||
display: inline-block; | ||
padding: 0 .5em; | ||
color: rgba(255, 255, 255, 0.3); | ||
} | ||
header span { | ||
display: inline-block; | ||
font-size: 14px; | ||
font-weight: 300; | ||
color: rgba(255, 255, 255, 0.7); | ||
} |