Пример #1
1
  border:1px solid #999;
  background:#eee;
  font-weight:bold;
  padding:0.5em 1em;
  margin-bottom:0.5em;
}

a {
  padding-right:0.5em;
}
</style>
</head>
<body style="margin:0;">

<?php 
masthead('Login');
?>

<div id="iesux">
<div id="online-login" style="display:none">
  <p><b class='green'>Gearpad</b> is a simple notepad you can access from anywhere, even offline.
  <p>When you return to the network, your notes will be synchronized with the server automatically. Hooray!

<div id="head"></div>
<?php 
echo $message;
?>
<div id="clip" style="position:relative; overflow:hidden;" 
  onkeypress="if (event.keyCode == 13 && presubmit()) document.forms[0].submit()">
<input id="email" type="text" label="email" value="<?php 
echo $email;
Пример #2
0
        $message = "<p class='ok' style='margin:2em 0'>Ok, your password has been \n        reset. <a href='../'>Go to your note</a>.</p>";
    }
}
?>
<html>
<head>
<style type="text/css">
<?php 
include "_style_base.php";
include "_style_form.php";
?>
</style>
<title>Gearpad - Reset Account</title>

<?php 
masthead('Reset Account');
?>

<div style="width:50em; margin:1em;">
<p>Enter your new desired password below.</p>
<?php 
echo $message;
?>
<form method="post">
  <input type="hidden" name="action" value="reset">
  Password: <input type="password" name="password"><br>
  Once more: <input type="password" name="password2"><br>
  <input type="submit" value="OK" style="width:auto">
</form>
</div>
</body>
Пример #3
0
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->

<html>
<title>Gearpad</title>
<head>
<style type="text/css">
 <?php 
include "_layout.php";
include "_style_base.php";
?>
</style>
</head>

<body>
<?php 
masthead("enable offline access");
?>

<div id='main' style='margin:1em; font-size:1.2em;'>
<p>Offline access requires <b><a
    href='http://gears.google.com/'
    target='_blank'>Gears</a></b>. Go install it, then come back here
    to finish setting up offline access.
</div>

</body>
</html>
Пример #4
0
          (document.getElementById("status") ? 
                       document.getElementById("status").offsetHeight : 0) -
          this.offsetTop - 5);
}

iframe {
  height:expression(document.body.offsetHeight - this.offsetTop);
}
</style>
<![endif]-->

</head>
<body onload="init()">

<?php 
masthead();
?>

<textarea></textarea>

<div id="status" class="green">Ready.</div>
<div id="contact">
  <a href="mailto:gearpad@example.com?subject=Gearpad">Contact</a>
</div>

<script type="text/javascript" src="base.js"></script>
<script type="text/javascript" src="cookies.js"></script>
<script type="text/javascript" src="xhr.js"></script>
<script type="text/javascript" src="utils.js"></script>
<script type="text/javascript" src="datastore.js"></script>
<script type="text/javascript" src="note.js"></script>