Debian Codegraph @

activemq-web-demo/src/main/webapp/portfolio/portfolio.html

raw symbols SCIP
1 <!--
2 Licensed to the Apache Software Foundation (ASF) under one or more
3 contributor license agreements. See the NOTICE file distributed with
4 this work for additional information regarding copyright ownership.
5 The ASF licenses this file to You under the Apache License, Version 2.0
6 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <html>
18 <head>
19 <title>My Portfolio</title>
20 <link rel="stylesheet" type="text/css" href="../style.css"></link>
21 <script type="text/javascript" src="../amq/amq.js"></script>
22 <script type="text/javascript">amq.uri='../amq';</script>
23 <script type="text/javascript" src="portfolio.js"></script>
24 <style>
25 .stocks { border: 1 solid black; }
26 .stocks td, .stocks th { width: 200; text-align: right; }
27 .stocks .up { background-color: #9f9; }
28 .stocks .down { background-color: #f99; }
29 </style>
30 </head>
31 <body>
32
33 <h1>My Portfolio</h1>
34
35 <p>This example displays an example stock portfolio. In a real system
36 this page would be generated dynamically based on the users current
37 stock portfolio</p>
38
39 <table class="stocks">
40 <tr>
41 <th>Stock</th>
42 <th>Description</th>
43 <th>Amount</th>
44 <th>Price</th>
45 <th>Value</th>
46 <th>Cost</th>
47 <th>P & L</th>
48 </tr>
49 <tr id="IBMW">
50 <td>IBMW</td>
51 <td>IBM Stock</td>
52 <td id="amount">1000</td>
53 <td id="price"></td>
54 <td id="value"></td>
55 <td id="cost">19000</td>
56 <td id="pl"></td>
57 </tr>
58 <tr id="MSFT">
59 <td>MSFT</td>
60 <td>Microsoft</td>
61 <td id="amount">6000</td>
62 <td id="price"></td>
63 <td id="value"></td>
64 <td id="cost">22000</td>
65 <td id="pl"></td>
66 </tr>
67 <tr id="BEAS">
68 <td>BEAS</td>
69 <td>BEA Stock</td>
70 <td id="amount">1100</td>
71 <td id="price"></td>
72 <td id="value"></td>
73 <td id="cost">12342</td>
74 <td id="pl"></td>
75 </tr>
76 <tr id="SUNW">
77 <td>SUNW</td>
78 <td>Sun Microsystems Inc</td>
79 <td id="amount">3000</td>
80 <td id="price"></td>
81 <td id="value"></td>
82 <td id="cost">7700</td>
83 <td id="pl"></td>
84 </tr>
85 </table>
86 </body>
87 </html>