Skip to content

Instantly share code, notes, and snippets.

@xsalefter
Created August 28, 2013 19:18
Show Gist options
  • Save xsalefter/6370075 to your computer and use it in GitHub Desktop.
Save xsalefter/6370075 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>
Xero | Error
</title>
<!-- CSS -->
<link href="/Content/Style/XERO/base/xero.base.Controls.css" rel="stylesheet" type="text/css" />
<link href="/Content/Style/XERO.css" rel="stylesheet" type="text/css" />
<link href="/content/all/menu.css" rel="stylesheet" type="text/css" />
<link href="/Content/Style/ext-css.css" rel="stylesheet" type="text/css" />
<link href="/Content/Style/Previewer.css" rel="stylesheet" type="text/css"/>
<!-- JS -->
<script type="text/javascript" src="/Scripts/prototype.js"></script>
<script type="text/javascript" src="/Scripts/ExtJS/ext-base.js"></script>
<script type="text/javascript" src="/Scripts/ExtJS/ext-all.js"></script>
<script type="text/javascript" src="/Scripts/XERO.js"></script>
<script type="text/javascript" src="/Scripts/GettingStarted.js"></script>
<script type="text/javascript" src="/Scripts/widget/Media.js"></script>
<!-- Page specific headers -->
<!-- Icons -->
<link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="icon" href="/favicon.png" type="image/png" />
</head>
<body class="center">
<header class="x-header black">
<div>
<h1>Xero</h1>
<h2><a href="/">Xero Developer Centre</a></h2>
<ul class="x-user">
<li><a id="logout" href="/logout">Logout</a></li>
<li>
<div class="x-menu">
<a href="javascript:">Help<span></span></a>
<ul class="x-list">
<li>
<a href="http://developer.xero.com" target="_blank" onclick="window.open('http://developer.xero.com', '_blank')">Developer Centre</a>
</li>
<li>
<a href="http://developer.xero.com/api" target="_blank" onclick="window.open('http://developer.xero.com/api', '_blank')">API Reference</a>
</li>
<li>
<a href="javascript:;" id="gettingStartedText">Show Getting Started</a>
</li>
<li>
<a href="mailto:[email protected]" onclick="location.href='mailto:[email protected]'">Contact Support</a></li>
</ul>
</div>
</li>
</ul>
<nav class="x-main">
<ul>
</ul>
</nav>
</div>
</header>
<div class="container">
<div class="w-content">
<div class="document forms">
<div class="title">
<h1>
Well, that wasn't supposed to happen...
</h1>
</div>
<h2>
<span>It seems that an error has occurred in processing the last page request. Please contact&nbsp;</span>
<a href='mailto:[email protected]?subject=I%20found%20an%20error%20in%20API%20v2!'>[email protected]</a>
<span>&nbsp;if this problem happens again.</span>
</h2>
</div>
</div>
</div>
<!-- Initialise Xero page cache -->
<script type="text/javascript">
Ext.onReady(function () {
//get lists and buttons
var list = Ext.query("dl.list/dt");
var btn = Ext.query(".button");
//load lists and buttons
for (var i = 0; i < list.length; i++)
XERO.widget.Menus.cache.add(list[i].id || "list" + i, new XERO.widget.Menu(list[i]));
for (i = 0; i < btn.length; i++)
XERO.widget.Buttons.cache.add(btn[i].id || "btn" + i, new XERO.widget.Button(btn[i]));
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment