[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6047] trunk/UI



Revision: 6047
          http://sourceforge.net/p/ledger-smb/code/6047
Author:   einhverfr
Date:     2013-09-18 08:06:37 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
Very basic tabular form setup via Dojo now available

Modified Paths:
--------------
    trunk/UI/lib/elements.html
    trunk/UI/lib/ui-header.html
    trunk/UI/timecards/entry_filter.html

Modified: trunk/UI/lib/elements.html
===================================================================
--- trunk/UI/lib/elements.html	2013-09-18 05:42:18 UTC (rev 6046)
+++ trunk/UI/lib/elements.html	2013-09-18 08:06:37 UTC (rev 6047)
@@ -182,7 +182,10 @@
 
 <?lsmb # SELECT ELEMENT ?>
 <?lsmb BLOCK select ?>
-  <?lsmb IF element_data  # Only process element if one exists. ?>
+  <?lsmb IF element_data;  # Only process element if one exists.
+              IF !element_data.title.defined();
+                  element_data.title = element_data.label;
+              END; ?>
     <?lsmb IF element_data.defined('text_attr') ?>
         <?lsmb text_attr =  element_data.text_attr ?>
         <?lsmb element.delete('text_attr') ?>

Modified: trunk/UI/lib/ui-header.html
===================================================================
--- trunk/UI/lib/ui-header.html	2013-09-18 05:42:18 UTC (rev 6046)
+++ trunk/UI/lib/ui-header.html	2013-09-18 08:06:37 UTC (rev 6047)
@@ -38,6 +38,8 @@
 	<?lsmb FOREACH s = include_script ?>
 	<script type="text/javascript" language="JavaScript" src="<?lsmb s ?>" ></script>
 	<?lsmb END ?>
+        <script type="text/javascript" language="JavaScript" 
+           src="UI/lib/setup.js"></script>
 	
         <?lsmb IF html_charset ?>
         <meta http-equiv="content-type" content="text/html; charset=<?lsmb

Modified: trunk/UI/timecards/entry_filter.html
===================================================================
--- trunk/UI/timecards/entry_filter.html	2013-09-18 05:42:18 UTC (rev 6046)
+++ trunk/UI/timecards/entry_filter.html	2013-09-18 08:06:37 UTC (rev 6047)
@@ -3,7 +3,7 @@
        PROCESS 'utilities.html';
 ?>
 <body>
-<form method="post" action="timecard.pl">
+<form method="post" action="timecard.pl" title = "<?lsmb text('Timecard Criteria') ?>" class="tabular col-1">
 <div class="listtop"><?lsmb text('Timecard Criteria') ?></div>
 <div class="input_row"><?lsmb IF employees;
           # Setting this to a conditional so that employee list can be
@@ -29,7 +29,7 @@
 <div class="input_row">
 <?lsmb PROCESS input element_data = {
        label = text('Starting Date') #'
-        name = date_from
+        name = 'date_from'
         type = 'text'
         size = 12
        class = 'date'

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits