Permalink
Browse files

Version 1.4c (March 7, 2011)

- focus is sweet
  • Loading branch information...
1 parent 8db3d95 commit 22ec035c948bb857cb95d6e751346826a096beac @jankeesvw jankeesvw committed Mar 7, 2011
Showing with 25 additions and 15 deletions.
  1. +1 −1 app/config/bootstrap.php
  2. +6 −1 app/views/todos/login.ctp
  3. +2 −0 app/views/todos/password.ctp
  4. +16 −13 app/views/todos/start.ctp
@@ -1,3 +1,3 @@
<?php
-Configure::write('TodoMeister.version','1.4b');
+Configure::write('TodoMeister.version','1.4c');
Configure::write('TodoMeister.build_index',false); // true or false
@@ -1,6 +1,11 @@
+<script>
+ $(function() {
+ $('#PasswordPassword').focus();
+ });
+</script>
<h2>Please fill in your password:</h2>
<div class="twinForm" style="width: 300px;">
<?php echo $form->create('Password', array('url' => array('controller' => 'Todos', 'action' => 'login',$project_id,$name))) ?>
<?php echo $form->password('password') ?>
<?php echo $form->end('login') ?>
-</div>
+</div>
@@ -44,5 +44,7 @@
$('#readonlypassword').hide();
$('#PasswordRead').attr('value','');
+ $('#PasswordRead').focus();
+
});
</script>
@@ -1,19 +1,22 @@
<div id="home">
<?php if($project_id === ""){ ?>
- <h2>Welcome to <em><abbr title="version <?php echo Configure::read('TodoMeister.version'); ?>">Todomeister</abbr></em></h2>
- Todomeister is the simplest way to create <ins>collaborative todo lists</ins> to <ins>share</ins> with your team. <br><br>
- The main goal of Todomeister is to keep it simple! So <ins>no login</ins> and <ins>no registration</ins> required.<br>
- <br>
- Just pick a project name fill in your name and get started<br>
+ <h2>Welcome to <em><abbr title="version <?php echo Configure::read('TodoMeister.version'); ?>">Todomeister</abbr></em></h2>
+ Todomeister is the simplest way to create <ins>collaborative todo lists</ins> to <ins>share</ins> with your team. <br><br>
+ The main goal of Todomeister is to keep it simple! So <ins>no login</ins> and <ins>no registration</ins> required.<br>
+ <br>
+ Just pick a project name fill in your name and get started<br>
+ <script>
+ $(function() {
+ $('#projectname').focus();
+ });
+ </script>
<?php }else{ ?>
- Please fill in <strong>your name</strong> below to work on: <br><br><ins><?php echo $project_id; ?></ins><br>
-
- <script>
- $(function() {
- $('#username').focus();
- });
- </script>
-
+ Please fill in <strong>your name</strong> below to work on: <br><br><ins><?php echo $project_id; ?></ins><br>
+ <script>
+ $(function() {
+ $('#username').focus();
+ });
+ </script>
<?php } ?>
<form method="post" action="<?php echo $this->Html->url(array("action" => "start"));?>">
<label for="projectname">Project name:</label><input type="text" name="projectname" value="<?php echo $project_id; ?>" class="start input" id="projectname">

0 comments on commit 22ec035

Please sign in to comment.