Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
192 lines (163 sloc) 7.05 KB
<!doctype html>
Version: MPL 1.1
The contents of this file are subject to the Mozilla Public License Version
1.1 (the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the
The Original Code is Bespin.
The Initial Developer of the Original Code is Mozilla.
Portions created by the Initial Developer are Copyright (C) 2009
the Initial Developer. All Rights Reserved.
Bespin Team (
<title>Bespin &raquo; Code in the Cloud</title>
<link type="text/css" rel="stylesheet" href="css/index.css"/>
<!-- begin script tags -->
<script type="text/javascript" src="js/external/prototype-"></script>
<script type="text/javascript" src="js/external/scriptaculous-1.8.2/effects.js"></script>
<script type="text/javascript" src="js/bespin.js"></script>
<script type="text/javascript" src="js/client/server.js"></script>
<script type="text/javascript" src="js/util/navigate.js"></script>
<script type="text/javascript" src="js/registration.js"></script>
<!-- end script tags -->
<div id="loginpane">
<div id="version"></div>
<div id="not_logged_in" style="display: none;">
<form onsubmit="login(); return false;">
<input id="loginbutton" type="image" src="images/splash_btn_login.gif" />
<div id="login-holder"><span id="login_label"><a href="#" onclick="register.showForm();">Sign up</a> or log in:</span>
<label for="username">Username: </label><input id="username" type="text" /> <label id="psw-label" for="password">Password: </label><input id="password" type="password" /> <div id="status" style="display: none;"></div>
<div id="logged_in" style="display: none;">
Welcome back, <span id="display_username"></span>!
Go to the <a href="dashboard.html">dashboard</a> to start coding.
You can also <a href="#" onclick="logout()">logout</a>.
<div id="browser_not_compat" style="display:none;">
<div id="inner_browser_not_compat">
<h3>Browser compatibility</h3>
<div id="sorry_browser_text">
<img src="images/splash_browser_compat.png" style="float: left; padding: 6px; margin-top: 4px">
<p><em>We would love to have you try Bespin</em></p>
<p>Unfortunately, we are using exciting new technology in HTML 5 that only leading browsers have implemented.</p>
<p>This message is not shown to you because we flag a particular browser.</p>
<p>We are specifically testing for Canvas and the ability to draw text in Canvas. As soon as your current browser supports these technologies, Bespin will work.</p>
<p>We have successfully tested Bespin on <a href="">Safari 4</a> and <a href="">Firefox 3</a>, so try one of them!</p>
<center><img src="images/splash_browser_cancel.png" id="sorry_browser_cancel" onclick="hideBrowserCompatScreen()"></center>
<div id="register_border" style="display:none;">
<div id="register_form">
<div id="register_title">
<p>Register for Bespin</p>
<td><input type="text" id="register_username" onchange="register.checkUsername();"/></td>
<td class="register_error" colspan="2">
<div id="register_username_error"></div>
<td><input type="password" id="register_password" onchange="register.checkPassword();"/></td>
<td class="register_error" colspan="2">
<div id="register_password_error"></div>
<th>Confirm Password:</th>
<td><input type="password" id="register_confirm" onchange="register.checkConfirm();"/></td>
<td class="register_error" colspan="2">
<div id="register_confirm_error"></div>
<td><input type="text" id="register_email" onchange="register.checkEmail();"/></td>
<td class="register_error" colspan="2">
<div id="register_email_error"></div>
<input type="button" class="darkButton" value="Cancel >" onclick="register.cancel();"/>
<input type="button" class="darkButton" value="Register >" onclick="register.send();"/>
<td><div id="register_register_error"></div></td>
<div id="welcome" align="center">
<div id="logo"></div>
<div id="toolbar" align="center">Log in above to work on your projects, or select an option below.</div>
<div id="main" align="center">
<div id="usebespin">
<h2>Use Bespin</h2>
<img src="images/splash_icn_editnow.png" style="float: left; padding: 4px;">
<h3>Edit Open Source</h3>
Give us an open-source project name or a publicly accessible repository URL and we'll create a project for you.
<input type="text" size="10" id="vcsurl" style="width: 220px;" value="coming soon!" disabled>
<!-- <img src="images/splash_btn_editnow.png" align="right" style="padding-right: 16px"> -->
<br clear="all">
<img src="images/splash_icn_register.png" style="float: left; padding: 4px;">
<h3 style="padding-top: 12px;">Register for Bespin</h3>
No account? No problem! Click below to create an account. Registration is free.
<img src="images/splash_btn_register.png" align="right" onclick="register.showForm();" style="padding-right: 20px">
<div id="learnbespin">
<h2>Learn about Bespin</h2>
<h3>What is Bespin?</h3>
<p>Bespin is a Mozilla Labs experiment on how to build an extensible Web code editor using HTML 5 technology.</p>
<a href=""><img src="images/splash_video.png" border="0"></a>
<a href="" style="padding-right: 10px;">Read more &gt;</a>
<a href="">Participate &gt;</a>
<br clear="all"/>
<div id="footer" align="center">&copy; 2009 Mozilla. All rights reserved.</div>
<div id="opaque" style="display: none"></div>
<canvas id="testcanvas" style="display: none"></canvas>
Jump to Line
Something went wrong with that request. Please try again.