2 <html style=
"width: 97%;" >
6 <link type=
"text/css" href=
"css/ui.all.css" rel=
"stylesheet" />
7 <link type=
"text/css" href=
"css/ui.base.css" rel=
"stylesheet" /> <!-- remove the vertical tab images -->
8 <link type=
"text/css" href=
"css/ui.tabs.css" rel=
"stylesheet" />
10 <link type=
"text/css" href=
"css/site.css" rel=
"stylesheet" />
12 <link type=
"text/css" href=
"css/main.css" rel=
"stylesheet" />
13 <link type=
"text/css" href=
"css/jquery-ui.css" rel=
"stylesheet" />
14 <style type=
"text/css">
16 /*.ui-widget-content {
22 -moz-background-clip:border
;
23 -moz-background-inline-policy:continuous
;
24 -moz-background-origin:padding
;
38 /* position: relative;
44 -moz-border-radius: 5px;
45 -webkit-border-radius: 5px;
70 horizontal-align: middle
;
77 <script type=
"text/javascript" src=
"javascript/jquery-1.3.2.js" ></script>
78 <script type=
"text/javascript" src=
"javascript/jquery-ui-1.7.2.custom.min.js" ></script>
79 <!-- <script type="text/javascript" src="javascript/jquery-ui-1.7.2.custom.js" ></script>
82 <script type=
"text/javascript" src=
"javascript/effects.core.js" ></script>
83 <script type=
"text/javascript" src=
"javascript/effects.slide.js" ></script>
86 <script type=
"text/javascript" src=
"javascript/bkeeping.js"></script>
87 <script type=
"text/javascript">
93 toggleAccountsOpen: function() {
96 var journalLeft
= -30 + 416;
98 if (localbkeeping
._a_open
) {
100 localbkeeping
._a_open
= false;
101 newleft
= newleft
- 381;
102 journalLeft
= journalLeft
- 380;
105 localbkeeping
._a_open
= true;
108 newleft
= newleft
+ "px";
109 journalLeft
= journalLeft
+ "px";
112 var adjustJournals = function() {
113 $("#centre-nav").animate({ left
: journalLeft
}, { duration
: 100, easing
: "swing", complete: function(){}, queue
: false });
115 $("#left-nav").animate({ left
: newleft
}, { duration
: 750, easing
: "swing", complete
: adjustJournals
, queue
: false });
121 $(document
).ready(function(){
123 // 2. vertical tabs - http://jsbin.com/iqupu
126 // http://dhtmlx.com/docs/products/dhtmlxTabbar/index.shtml
127 // http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs
128 // http://www.good.is
129 // http://www.csstea.com/css-gallery-news-and-resources/264-120-excellent-examples-of-css-horizantal-menu.html
131 // web developers - http://adaptd.com , http://lukelarsen.com , http://www.atlanticbt.com
134 $("#tabs").tabs().addClass('ui-tabs-vertical ui-helper-clearfix');
135 $("#tabs li").removeClass('ui-corner-top').addClass('ui-corner-right');
139 var newleft
= "-30px";
140 $("#left-nav").animate({ left
: newleft
}, { duration
: 50, easing
: "swing", complete: function(){}, queue
: false });
143 var journalLeft
= "385px";
144 $("#centre-nav").animate({ left
: journalLeft
}, { duration
: 100, easing
: "swing", complete: function(){}, queue
: false });
151 function page_loader() {
154 $("#modal_screen").css("opacity", 0.5);
157 //** list accounts and journals
158 new bkeeping
.ListCommand("accounts", bkeeping
.displayAccounts
).run();
159 new bkeeping
.ListCommand("journals", bkeeping
.displayJournals
).run();
162 //** get default currency
163 new bkeeping
.LoadCommand("profileDetail", bkeeping
.setDefaultCurrency
).run();
165 bkeeping
.ROOT_URL
= document
.referrer
;
176 <div style=
"position: relative; top: 15px; left: 30px; width: 70%; margin-bottom: 30px; " class=
"title" id=
"title">
178 <xx class=
"subheader">Your solution to simple
179 <xx style=
"color: rgb(0, 0, 0);">online bookkeeping
</xx>
184 style=
"font-size: 13.2px; font-style: normal; font-family: Verdana,Arial,sans-serif; float: right;"
185 onclick=
"bkeeping.logout();" >LOGOUT
</button>
191 <div id=
"tabs" style=
"background: none; border: none;" >
194 <li><a href=
"#tabs-1">Books
</a></li>
195 <li><a href=
"#tabs-2">User Profile
</a></li>
196 <li><a href=
"#tabs-3">Forums
</a></li>
201 <div id=
"tabs-1" style=
"height: 440px; width: 83%; float: left; position: relative;" >
203 <div class=
"accounts-wrapper" id=
"left-nav" >
204 <div class=
"accounts-pane" style=
"width: 343px; height: 419px; left: 3px;" >
206 <div id=
"accounts_ui" class=
"cell_content">
208 <div class=
"cell_header" style=
"border: 0 none white; margin-left: 3px; width: 328px; margin-top: 3px; left: 6px; " >
210 <div id=
"add_account_div" class=
"adder_plus" title=
"Add account" alt=
"Add account" onclick=
"bkeeping.addAccount();">+
</div>
212 <div id=
"accounts_content" class=
"cell_window" style=
"border: 0 none white; width: 328px; left: 6px; " >
213 <div id=
"accounts_content_list" class=
"ac_list">
214 <div id=
"acl_header" class=
"form_header_row row">
215 <div id=
"acl_header_edit" class=
"edit_column left_column">
218 <div id=
"acl_header_name" class=
"name_column left_column" style=
"margin-left: 20px;" >
221 <div id=
"acl_header_category" class=
"category_column left_column" style=
"margin-left: 40px;" >
224 <!-- <div id="acl_header_balance" class="balance_column left_column">
228 <div id=
"acl_header_delete" class=
"delete_column left_column">
232 <div id=
"acl_rows" class=
"acl_rows rows">
241 <div class=
"handle" onclick=
"localbkeeping.toggleAccountsOpen();" style=
"left: 3px; z-index:1050; " ></div>
243 <div class=
"journals-pane" id=
"centre-nav" style=
"top: 10px; height: 430px; left: 0px;" >
246 <div class=
"cell_header" style=
"border: 0 none white;" >
248 <div onclick=
"bkeeping.addJournal();" alt=
"Add journal" title=
"Add journal" class=
"adder_plus" id=
"add_journal_div">+
</div>
250 <div class=
"cell_window" id=
"journals_content" style=
"border: 0 none white; height: auto; width: 93%;" >
252 <div class=
"ac_list" id=
"journals_content_list">
254 <div class=
"form_header_row row" id=
"js_header">
255 <div class=
"edit_column left_column" id=
"js_header_edit">
258 <div class=
"large_name_column left_column" id=
"js_header_name">
261 <div class=
"delete_column left_column" id=
"js_header_delete">
266 <div class=
"js_rows rows" id=
"js_rows">
274 <!-- this is needed to keep the width dynamically changing with the accounts panel -->
275 <p style=
"visibility: hidden;" >lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
</p>
281 <!-- ================================================ -->
282 <!-- JOURNAL UI Template -->
283 <!-- ================================================ -->
285 style=
" color: #000000;
288 filter: alpha(opacity=40);
289 background-color:rgba(255, 255, 255, 1);
294 <div class=
"twindow" >
298 <div style=
"width: 95%; margin: 2.25% 10px 0; overflow: auto; font-family:arial,sans-serif; font-weight:bold;" >
299 <div style=
"float: left; position:relative; text-align:left; left: 10px; " >
301 Journal:
<span id=
"_journal_id">${jname}
</span>
304 <div style=
"position: absolute; right: 10px; overflow: visible; " alt=
"Add entry" onclick=
"bkeeping.addEntry();" >+
</div>
309 <div class=
"grid_list" >
313 border: 1px solid rgb(0, 0, 0);
315 background-color: rgb(204, 204, 204);
321 <div class=
"column_headers" > </div>
322 <div class=
"column_headers" >Date
</div>
323 <div class=
"column_headers" >Entry
</div>
324 <div class=
"column_headers" >Balance
</div>
325 <div class=
"column_headers" > </div>
329 <div id=
"j_rows" style=
"overflow: auto; clear: both; height: 78%; " >
335 <div style=
"width: 95%; margin-left:2.25%; overflow: auto; bottom: 2%;" >
337 <button class=
"buttons"
338 style=
"margin: 0px 280px;"
339 onclick='$(
"#journal_ui").css(
"display",
"none");'
>
351 <!-- ================================================ -->
352 <!-- ENTRY UI Template -->
353 <!-- ================================================ -->
355 style=
" color: #000000;
362 filter: alpha(opacity=40);
363 background-color:rgba(255, 255, 255, 1);
368 <div class=
"twindow" >
372 <div style=
"width: 95%; margin: 2.25% 10px 0; overflow: auto; font-family:arial,sans-serif; font-weight:bold;" >
373 <div style=
"float: left; position:relative; text-align:left; left: 10px; " >
374 Entry:
<span id=
"_journalentry_id">${jname}
</span>
376 <div style=
"position: absolute; right: 10px; overflow: visible; alt="Add entry
" onclick="bkeeping.addEditEntryPart(null);
" >+</div>
381 <div class="grid_list
" >
385 border:
1px solid rgb(
0,
0,
0);
387 background-color: rgb(
204,
204,
204);
394 <div class="column_headers
" > </div>
396 <div style="height:
12px;
" >
398 <div style="height:
14px; width:
30%; text-align: center; float: left;
">
401 <div style="height:
14px; width:
30%; text-align: center; float: left;
">
407 <div style="text-align: center; float: left; width:
60%;
" >
409 <div style="width:
25%; text-align: center; float: left;
">
412 <div style="width:
25%; text-align: center; float: left;
">
415 <div style="width:
25%; text-align: center; float: left;
">
418 <div style="width:
25%; text-align: center; float: left;
">
423 <div class="column_headers
" > </div>
427 <div id="jentry_rows
" style="overflow: auto; clear: both; height:
81%;
" >
433 <div style="width:
95%; margin-left:
2.25%; overflow: auto; bottom:
2%;
" >
435 <button class="buttons
" style="margin:
0px
40px
0px
220px;
" onclick="bkeeping.saveEntry( '${entryid}' )
" >SAVE</button>
436 <button class="buttons
" style="margin:
0px
200px
0px
40px;
" onclick='$("#entry_ui
").css("display
", "none
");' >CANCEL</button>
451 style="float: left; height:
440px; width:
88%;
" >
454 style="width:
100%; height:
419px; left: -
20px;
"
455 class="accounts-pane
">
457 <div class="cell_content
" id="accounts_ui
">
460 style="border:
0pt none white; margin-left:
3px; width:
328px; margin-top:
3px; top:
25px;
"
462 <h3>User Profile </h3>
465 <xx class="subheader
" style="font-size:
1em; color: rgb(
104,
104,
104); top:
25px; left:
25px; position: relative;
">Coming Soon</xx>
474 <!-- <div class="register
" style="background-color:white; border-color:#E0E0E0; border-style:solid;
" >
475 <p class="signuptitle
">
480 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">Username</td><td><input style="margin:
0px
7px;
" name="password
" id="username
" value="" disabled="disabled
" ></td>
483 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">Password</td><td><input type="password
" style="margin:
0px
7px;
" name="password
" id="password
" value=""></td>
486 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">First Name</td><td><input type="text
" style="margin:
0px
7px;
" name="firstname
" id="firstname
" value=""></td>
489 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">Last Name</td><td><input type="text
" style="margin:
0px
7px;
" name="lastname
" id="lastname
" value=""></td>
492 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">Email</td><td><input type="text
" style="margin:
0px
7px;
" name="email
" id="email
" value=""></td>
495 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">Country</td>
497 <select style="margin:
0px
7px;
" name="country
" id="country
">
498 <option>United States</option>
499 <option>Canada</option>
504 <td style=" color:#
222222; text-decoration:none; font-family:arial,sans-serif; font-size:
13.2px;
">Currency</td>
506 <select style="margin:
0px
7px;
" name="currency
" id="currency
">
516 <button onclick="javascript:bkeeping.register();
" style="font-size:
13.2px;
" class="buttons
">SAVE</button>
529 <div id="tabs-
3" style="float: left; height:
440px; width:
88%;
" >
533 style="width:
100%; height:
419px; left: -
20px;
"
534 class="accounts-pane
">
536 <div class="cell_content
" id="accounts_ui
">
539 style="border:
0pt none white; margin-left:
3px; width:
328px; margin-top:
3px; top:
25px;
"
544 <xx class="subheader
" style="font-size:
1em; color: rgb(
104,
104,
104); top:
25px; left:
25px; position: relative;
">Coming Soon</xx>
552 <!-- Look into embedding Zoho forums:
553 - http://gadgets.zoho.com/zc/index.do
554 - http://ejohn.org/blog/google-groups-is-dead/
555 - http://forum.jquery.com/#AllForums
558 <!-- <h2>Content heading 3</h2>
559 <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
561 <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
571 <div id="modal_screen
" class="modal screen
">
577 2008-2009 bkeeping Software, Inc. | All Rights Reserved