Skip to content

Instantly share code, notes, and snippets.

@mtthwkfmn
Created September 17, 2009 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtthwkfmn/188511 to your computer and use it in GitHub Desktop.
Save mtthwkfmn/188511 to your computer and use it in GitHub Desktop.
marketapi templates from matt's desktop
<html>
<head>
<title>Market API</title>
<style type="text/css">
body, div, img, form, fieldset, ul, ol, li, h1, h2, h3, h4 {
margin: 0;
padding: 0;
border: none; }
body {
background: #fff;
color: #fff;
font: normal 14px Arial, Helvetica, sans-serif; }
div#wrapper { background:#003d4c; }
p { margin: 0 0 15px 0; }
a {
color: #e32;
text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 {
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 190%;
font-weight: bold;
noborder-bottom: 1px solid #ccc;
margin-bottom: 15px; }
h1 a { color: #ffffff; }
h3 {
color: #f9f9d2;
padding: 5px 10px;
font: normal 18px 'Gill Sans','lucida grande', helvetica, arial, sans-serif; }
h3 a { color: #879fa9; }
h4 { font-size: 24px; }
/*------------------------------------------------------
Forums
------------------------------------------------------*/
.input, #search {
padding: 10px;
margin-bottom: 10px;
background: #f4f4f4;
border: 1px solid #ccc;
-moz-border-radius: .3em;
clear: both; }
.input input,
.input textarea,
#search input {
border: 1px solid #ccc;
padding: 3px;
width: 25%;
font: normal 90% Arial, Helvetica, sans-serif; }
.input textarea { width: 50%; }
.input select,
#search select {
border: 1px solid #ccc;
padding: 3px;
font: normal 90% Arial, Helvetica, sans-serif; }
.input label {
float: left;
width: 25%;
text-align: right;
margin-right: 10px;
padding-top: 2px; }
.submit {
text-align: center;
margin-bottom: 15px; }
.submit input {
font-size: 18px;
padding: 5px 10px;
color: #003d4c;
font-weight: normal; }
.error-message {
padding: 5px 0 0 10px;
margin-left: 25%;
color: red; }
.inputText {
padding: 5px 0 0 10px;
margin-left: 25%; }
#flashMessage {
padding: 10px;
margin-bottom: 15px;
background: #def2c0;
border: 1px solid #8bb24d;
-moz-border-radius: .3em; }
/*------------------------------------------------------
Header
------------------------------------------------------*/
#header {
padding: 25px 40px 0 40px; }
#menu {
list-style: none; }
#menu li {
float: left;
margin-right: 5px; }
#menu li a {
float: left;
display: block;
padding: 7px 15px;
background: #2c6877;
color: #f9f9d2;
font-weight: bold;
font-size: 15px; }
#menu li a:hover,
#menu li.active a {
color: #ff8929;
background: #ffffff;
text-decoration: underline; }
/*------------------------------------------------------
Content
------------------------------------------------------*/
#content {
padding: 25px 40px;
color: #000;
background: #ffffff; }
#navigation {
padding: 5px;
background: #fafad8;
border: 1px solid #cbcd7c;
margin-bottom: 15px;
-moz-border-radius: .3em; }
#navigation a { color: #ff8929; }
#copyright {
padding: 25px;
text-align: center;
font-size: 12px; }
#copyright a { color: #fafad8; }
.forumOptions {
margin-bottom: 15px;
text-align: right;
font-weight: bold;
font-size: 15px; }
.forumOptions a,
.forumOptions span {
margin-left: 15px; }
#categoryInfo,
#userInfo { margin-bottom: 15px; }
#topicReview {
max-height: 500px;
overflow-x: hidden;
overflow-y: auto; }
.pollBar {
height: 10px;
background: #ff8929;
display: block; }
/*------------------------------------------------------
Tables
------------------------------------------------------*/
.forumWrap,
#topicWrap,
#pollWrap,
#postWrap {
background: #2c6877;
border: 1px solid #2c6877;
margin-bottom: 15px;
-moz-border-radius: .3em; }
.table {
background: #fff;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
clear: both;
color: #333;
width: 100%;
-moz-border-radius: .3em; }
.table th {
background: #f2f2f2;
border: 1px solid #bbb;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
text-align: center;
padding: 5px; }
.table th a { color: #333; }
.table td {
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding: 5px; }
.table tr.altRow { background: #f4f4f4; }
.table tr.altRow2 { background: #fafad8; }
td.empty {
text-align: center;
padding: 50px; }
/*------------------------------------------------------
Pagination
------------------------------------------------------*/
.pagination {
padding: 5px;
color: #879fa9; }
.pagingList { float: right; }
.pagingList span { margin-left: 5px; }
.pagingList span a {
padding: 1px 5px;
color: #f9f9d2;
background: #879fa9;
-moz-border-radius: .3em; }
.pagingList span.current {
padding: 0px 5px;
color: #fff;
font-weight: bold; }
/*------------------------------------------------------
Classes
------------------------------------------------------*/
.al { text-align: left; }
.ac { text-align: center; }
.ar { text-align: right; }
.fr { float: right; }
.fl { float: left; }
.gray { color: #b2b2b2; }
.img { margin-bottom: -2px; }
.clear {
clear: both;
display: block; }
</style>
</head>
<body>
<div id="wrapper">
<div id="header">
<h1><a href="http://www.milesj.me/">StockAPI</a></h1>
<ul id="menu">
<li><a href="/forum">mattkaufman</a></li>
<li><a href="/forum/users/listing">My Watchlists</a></li>
<li><a href="/forum/users/listing">My Portfolios</a></li>
<li class="active"><a href="/forum/search/index">Stocks</a></li>
<li><a href="/forum/search/index">Options</a></li>
<li><a href="/forum/home/rules">Data Management</a></li>
<li><a href="/forum/home/help">News</a></li>
</ul>
<span class="clear"><!-- --></span>
</div>
<style type="text/css">
div#sub_menu { width:100%; background:#fff; padding: 6px; color:#000; padding-left:40px;}
</style>
<div id="sub_menu">
<strong>SubNav:</strong>
<a href="/stocks/index">Summary</a>
&nbsp; | &nbsp;
<!--<a href="/stocks/new_ticker">Add Stock Symbol</a>
&nbsp; | &nbsp;-->
<a href="/stocks/new_ticker">Quotes</a>
&nbsp; | &nbsp;
<a href="/stocks/new_ticker">Company Name Maintence Runner</a>
&nbsp; | &nbsp;
<a href="/stocks/new_ticker">Quote Data Runner</a>
&nbsp; | &nbsp;
<a href="/stocks/new_ticker">Options Directory Cache Runner</a>
</div>
</div>
<!-- @start Content -->
<div id="content">
<div id="navigation">
<span class="fl">
<strong>STOCKS &raquo;</strong><br>
<a href="/forum/users/login">View Index</a> |
<a href="/forum/users/signup">Update Runner</a>
Wed, Sep 9th 2009, 07:08
</span>
<span class="clear"><!-- --></span>
</div>
<div id="leftpane" style="width:200px; float:left;">
[LEFT]
</div>
<div id="rightpane" style="float:left; border-left:1px solid #c0c0c0; padding-left:20px;">
<h2>Forgot Password</h2>
<p>Please enter either your username or email to retrieve your information. Once you retrieved, you should receive an email with your login credentials.</p>
<form id="UserAddForm" method="post" action="/forum/users/forgot">
<fieldset style="display:none;">
<input type="hidden" name="_method" value="POST" />
<input type="hidden" name="data[_Token][key]" value="427e283a621bc6fde83a9ec2bd78dc40f65bf8f0" id="Token561220064" /></fieldset>
<div class="input text">
<label for="UserUsername">Username</label>
<input name="data[User][username]" type="text" maxlength="30" value="" id="UserUsername" />
</div>
<div class="input text">
<label for="UserEmail">Email</label>
<input name="data[User][email]" type="text" maxlength="30" value="" id="UserEmail" /></div><div class="submit">
<input type="submit" value="Retrieve" /></div><fieldset style="display:none;">
<input type="hidden" name="data[_Token][fields]" value="950396fe0198b236f091330360b98b88%3An%3A0%3A%7B%7D" id="TokenFields1422198650" />
</div>
</fieldset>
</form>
</div> <!-- @end Content -->
</div>
</body>
</html>
<html>
<head>
<title>Market API</title>
<style type="text/css">
body, div, img, form, fieldset, ul, ol, li, h1, h2, h3, h4 {
margin: 0;
padding: 0;
border: none; }
body {
background: #fff;
color: #fff;
font: normal 14px Arial, Helvetica, sans-serif; }
div#wrapper { background:#5d5d5d; }
p { margin: 0 0 15px 0; }
a {
color: #e32;
text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2 {
color: #000;
font-family: Arial, Helvetica, sans-serif;
font-size: 190%;
font-weight: bold;
noborder-bottom: 1px solid #ccc;
margin-bottom: 15px; }
h1 a { color: #ffffff; }
h3 {
color: #f9f9d2;
padding: 5px 10px;
font: normal 18px 'Gill Sans','lucida grande', helvetica, arial, sans-serif; }
h3 a { color: #879fa9; }
h4 { font-size: 24px; }
/*------------------------------------------------------
Forums
------------------------------------------------------*/
.input, #search {
padding: 10px;
margin-bottom: 10px;
background: #f4f4f4;
border: 1px solid #ccc;
-moz-border-radius: .3em;
clear: both; }
.input input,
.input textarea,
#search input {
border: 1px solid #ccc;
padding: 3px;
width: 25%;
font: normal 90% Arial, Helvetica, sans-serif; }
.input textarea { width: 50%; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment