[Rt-commit] [svn] r1611 - in RT-JustDoSomething: . html html/Callbacks html/t lib lib/RT lib/RT/Extension

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Sun Oct 3 18:41:46 EDT 2004


Author: jesse
Date: Sun Oct  3 18:41:45 2004
New Revision: 1611

Added:
   RT-JustDoSomething/META.yml
   RT-JustDoSomething/Makefile.PL
   RT-JustDoSomething/html/
   RT-JustDoSomething/html/Callbacks/
   RT-JustDoSomething/html/History   (contents, props changed)
   RT-JustDoSomething/html/Triage
   RT-JustDoSomething/html/index.html
   RT-JustDoSomething/html/t/
   RT-JustDoSomething/lib/
   RT-JustDoSomething/lib/RT/
   RT-JustDoSomething/lib/RT/Extension/
   RT-JustDoSomething/lib/RT/Extension/DoingThings.pm
Modified:
   RT-JustDoSomething/   (props changed)
Log:
Initial commit of "JustDoSomething" which is a streamlined UI for jesse to answer his sales email.

Added: RT-JustDoSomething/META.yml
==============================================================================
--- (empty file)
+++ RT-JustDoSomething/META.yml	Sun Oct  3 18:41:45 2004
@@ -0,0 +1,11 @@
+name: RT-Extension-DoingThings
+version: undef
+abstract: RT Extension-DoingThings Extension
+author: Jesse Vincent <jesse at bestpractical.com>
+license: unknown
+distribution_type: module
+no_index:
+  directory:
+    - html
+    - inc
+generated_by: Module::Install version 0.36

Added: RT-JustDoSomething/Makefile.PL
==============================================================================
--- (empty file)
+++ RT-JustDoSomething/Makefile.PL	Sun Oct  3 18:41:45 2004
@@ -0,0 +1,4 @@
+use inc::Module::Install;
+author('Jesse Vincent <jesse at bestpractical.com>');
+RTx('RT-Extension-DoingThings');
+&WriteAll;

Added: RT-JustDoSomething/html/History
==============================================================================
--- (empty file)
+++ RT-JustDoSomething/html/History	Sun Oct  3 18:41:45 2004
@@ -0,0 +1,15 @@
+<html>
+<head>
+<link rel="stylesheet" href="<%$RT::WebPath%>/NoAuth/webrt.css" type="text/css">
+</head>
+<body>
+<& /Ticket/Elements/ShowHistory, URIFile => 'History', Ticket => $Ticket &>
+</body>
+</html>
+<%$m->abort()%>
+<%init>
+my $Ticket = LoadTicket($id);
+</%init>
+<%args>
+$id
+</%args>

Added: RT-JustDoSomething/html/Triage
==============================================================================
--- (empty file)
+++ RT-JustDoSomething/html/Triage	Sun Oct  3 18:41:45 2004
@@ -0,0 +1,90 @@
+<%args>
+$id => undef
+</%args>
+<%init>
+my $ticket = LoadTicket($id);
+
+
+</%init>
+<& /Elements/Header&>
+<form method="post" action="Triage">
+<& Elements/SetupKeyboardNav &>
+        <h1><%$ticket->id%>: <%$ticket->Subject%></h1>
+<table width="100%">
+<tr>
+<td>
+<div align="left">
+              <IFRAME src="History?id=<%$ticket->id%>" width="70%" height="250"
+             scrolling="auto" frameborder="1">
+  [Your user agent does not support iframes or is currently configured
+  not to display frames. However, you may visit
+  <A href="History?id=<%$ticket->id%>" target="_new">the history.</A>]
+  </IFRAME>
+</div>
+<br>
+      <div class="row">      
+<div id="CommentsBlock">
+            <label name="Comments">Private comments</label><br>
+            <textarea name="Comments" rows=5 cols=60></textarea>
+</div>
+</div>    <div class="row">
+<div id="ReplyBlock">
+            <label name="Reply">Reply</label><br>
+            <textarea name="Reply" rows=5 cols=60></textarea>
+            <br>
+            <label name="Template">Template:</label>
+            <select name="Template"><option value="No freebies">No Freebies</option></select>
+  </div> 
+</div> 
+</td>
+<td valign="top">
+<table height="100%">
+<tr height="25%" bgcolor="#cccccc"><td>  
+ <div class="row">
+ 
+<div id="Defer">
+            Defer until<br>
+
+        <input type="submit" value="Tomorrow"><br>
+        <input type="submit" value="Next week"><br>
+        <input type="submit" value="Next month"><br>
+</div>
+</div>    
+
+</td>
+</tr> 
+<tr height="25%" bgcolor="#cccccc">
+<td>
+<div class="row">
+<div id="Delegate">
+            Delegate it to  <& /Elements/SelectOwner &>
+</div>
+</div> 
+</td> 
+</tr> 
+<tr height="25%" bgcolor="#cccccc"><td>  
+
+   <div class="row">
+<div id="Done">
+            <input type="submit" name="Done" value="Done">
+</div>
+</div>
+
+</td> 
+</tr> 
+<tr height="25%" bgcolor="#cccccc">
+<td>
+
+    <div class="row">
+<div id="Kill">
+<& Elements/AddKeyBinding, key =>'K', action => 'click', target => 'Kill' &>
+
+            <input type="submit" name="Kill" value="Kill">
+</div>
+</div>
+</td>
+</tr>
+</table>
+</td> </tr>
+</table>
+</form>

Added: RT-JustDoSomething/html/index.html
==============================================================================
--- (empty file)
+++ RT-JustDoSomething/html/index.html	Sun Oct  3 18:41:45 2004
@@ -0,0 +1,8 @@
+    
+            What do you want to do?
+
+
+            * Triage incoming items
+
+
+            * Review deferred items

Added: RT-JustDoSomething/lib/RT/Extension/DoingThings.pm
==============================================================================
--- (empty file)
+++ RT-JustDoSomething/lib/RT/Extension/DoingThings.pm	Sun Oct  3 18:41:45 2004
@@ -0,0 +1 @@
+1;


More information about the Rt-commit mailing list