1. Matthew Farver
  2. roomiereal_matt

Source

roomiereal_matt / web / expenses.jsp

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta name="author" content=""	/>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    <link rel="stylesheet" href="css/formcheck.css" type="text/css" />
    <link rel="stylesheet" href="css/forms.css" type="text/css" />
    <link rel="stylesheet" href="css/jquery.calendar.css" type="text/css" />
    
    <script type="text/javascript" src="scripts/jquery.js"></script>
    <script type="text/javascript" src="scripts/jquery.accordion.js"></script>
    <script type="text/javascript" src="scripts/jquery.calendar.js"></script>
    <script type="text/javascript" src="scripts/mootools.js"></script>
    <script type="text/javascript" src="scripts/login.js"></script>
    <script type="text/javascript">
        var currentPage = "expenses";
    </script>
    <script type="text/javascript" src="scripts/roomies.js"></script>
    <script type="text/javascript" src="scripts/expenses.js"></script>
    <title>roomie | expenses</title>
  </head>
  <body>
    <%@include file="resources/header.jsp"%>
    <div class="container">
      <div class="left wide">
        <h3>Expenses</h3>
        <table>
          <tr style="vertical-align:top;">
            <td style="width:33%;padding-right:7px;">
              <table class="grey_box_top">
                <tr><th colspan="100%" style="text-align:center;">Created Expenses</th></tr>
                <tr>
                  <td style="vertical-align:bottom;">
                    <input type="button" onclick="expense_add_slider.toggle();$('expense_add_description').focus();" value="Add Expense"/>
                  </td>
                  <td style="vertical-align:bottom;text-align:right;">
                    Sort by
                    <select id="createdExpense_sort" class="grey_box_combo">
                      <option value="0" selected>Title</option>
                      <option value="1">Date</option>
                      <option value="2">Owner</option>
                    </select>
                  </td>
                </tr>
              </table>
              <div id="expense_add_slider">
                <form id="expense_add_form" class="grey_box extender" onsubmit="addExpense();">
                  the expense named
                  <input id="expense_add_description" type="text" name="description"/>
                  was paid on
                  <input id="expense_add_paidDate" type="text" name="description"/>
                  had cost
                  <input id="expense_add_cost" type="text" name="amount"/>
                  and is owed by
                  <span id="expense_roomies">
                    <span id="expense_roomies_available_0"></span>
                    <span id="expense_roomies_selected_0"></span>
                  </span>
                  on
                  <input id="expense_add_date" type="text" name="date"/>
                  <input type="hidden" id="expense_roomies_hidden_0" name="roomies" />
                  <input type="submit" value="Add" />
                </form>
              </div>
              <div id="createdExpense_accordion">
                <div class="toggler static">
                  <img src="images/text-loader.gif" />
                </div>
              </div>
            </td>
            <td style="width:33%;padding-right:7px;">
              <table class="grey_box_top">
                <tr><th colspan="100%" style="text-align:center;">Assigned Expenses</td></tr>
                <tr>
                  <td style="vertical-align:bottom;text-align:right;">
                    Sort by
                    <select id="assignedExpense_sort" class="grey_box_combo">
                      <option value="0" selected>Title</option>
                      <option value="1">Date</option>
                      <option value="2">Owner</option>
                    </select>
                  </td>
                </tr>
              </table>
              <div id="assignedExpense_accordion">
                <div class="toggler static">
                  <img src="images/text-loader.gif" />
                </div>
              </div>
            </td>
            <td style="width:33%;padding-right:7px;">
              <table class="grey_box_top">
                <tr><th colspan="100%" style="text-align:center;">Room Expenses</th></tr>
                <tr>
                  <td style="vertical-align:bottom;text-align:right;">
                    Sort by
                    <select id="expense_sort" class="grey_box_combo">
                      <option value="0" selected>Title</option>
                      <option value="1">Date</option>
                      <option value="2">Owner</option>
                    </select>
                  </td>
                </tr>
              </table>
              <div id="expense_accordion">
                <div class="toggler static">
                  <img src="images/text-loader.gif" />
                </div>
              </div>
            </td>
          </tr>
        </table>
      </div>
    </div>
    <%@include file="resources/footer.html"%>
  </body>
</html>