incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [4/4] git commit: [#4812] ticket:506 Added title to ticket name field and changed initial focusing to search field
Date Wed, 01 Jan 2014 05:36:18 GMT
[#4812] ticket:506 Added title to ticket name field and changed initial focusing to search
field


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/8039b3d8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/8039b3d8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/8039b3d8

Branch: refs/heads/master
Commit: 8039b3d88d06188fa6b5f0a654e98de6c284141b
Parents: 65ca68f
Author: Yaroslav Sokolovsky <yaroslav.sokolovsky@gmail.com>
Authored: Tue Dec 24 13:57:59 2013 +0200
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Jan 1 05:35:37 2014 +0000

----------------------------------------------------------------------
 .../forgetracker/templates/tracker/new_ticket.html        | 10 +++++++++-
 .../templates/tracker_widgets/ticket_form.html            |  2 +-
 2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/8039b3d8/ForgeTracker/forgetracker/templates/tracker/new_ticket.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker/new_ticket.html b/ForgeTracker/forgetracker/templates/tracker/new_ticket.html
index fd75006..649bb6e 100644
--- a/ForgeTracker/forgetracker/templates/tracker/new_ticket.html
+++ b/ForgeTracker/forgetracker/templates/tracker/new_ticket.html
@@ -35,19 +35,27 @@
 <style type="text/css">
   input[name='ticket_form.summary']{
     top: 5px;
+    left: 100px;
     position: absolute;
     z-index: 21;
   }
   .markdown_edit textarea {
     height: 100px;
   }
+
+  .new-ticket-title {
+    top: 9px;
+    position: absolute;
+    z-index: 21;
+    color: #FFFFFF !important;
+  }
 </style>
 {% endblock %}
 
 {% block extra_js %}
 <script type="text/javascript">
   $(document).ready(function(){
-    $('input[name="ticket_form.summary"]').focus();
+    $('input[name="q"]').focus();
   });
 </script>
 {% endblock %}

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/8039b3d8/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_form.html
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_form.html b/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_form.html
index 93f5fcc..e73bc18 100644
--- a/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_form.html
+++ b/ForgeTracker/forgetracker/templates/tracker_widgets/ticket_form.html
@@ -23,7 +23,7 @@
     <div id="new-ticket-help-msg" class="grid-19 info">{{g.markdown.convert(help_msg)}}</div>
   {% endif %}
   <div class="grid-18">
-      {{widget.display_field_by_name('summary')|safe}}
+      <label class="new-ticket-title">Create Ticket:</label>{{widget.display_field_by_name('summary')|safe}}
   </div>
     {% if widget.fields['_milestone'] %}
       <div class="grid-6">


Mime
View raw message