Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: gh-pages
Fetching contributors…

Cannot retrieve contributors at this time

347 lines (338 sloc) 17.511 kb
<!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" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Web App Theme</title>
<link rel="stylesheet" href="stylesheets/base.css" type="text/css" media="screen" />
<link rel="stylesheet" id="current-theme" href="stylesheets/themes/default/style.css" type="text/css" media="screen" />
<script type="text/javascript" charset="utf-8" src="javascripts/jquery-1.3.min.js"></script>
<script type="text/javascript" charset="utf-8" src="javascripts/jquery.scrollTo.js"></script>
<script type="text/javascript" charset="utf-8" src="javascripts/jquery.localscroll.js"></script>
<script type="text/javascript" charset="utf-8">
var Theme = {
activate: function(name) {
window.location.hash = 'themes/' + name
Theme.loadCurrent();
},
loadCurrent: function() {
var hash = window.location.hash;
if (hash.length > 0) {
matches = hash.match(/^#themes\/([a-z0-9\-_]+)$/);
if (matches && matches.length > 1) {
$('#current-theme').attr('href', 'stylesheets/themes/' + matches[1] + '/style.css');
} else {
alert('theme not valid');
}
}
}
}
$(document).ready(function() {
Theme.loadCurrent();
$.localScroll();
$('.table :checkbox.toggle').each(function(i, toggle) {
$(toggle).change(function(e) {
$(toggle).parents('table:first').find(':checkbox:not(.toggle)').each(function(j, checkbox) {
checkbox.checked = !checkbox.checked;
})
});
});
});
</script>
</head>
<body>
<div id="container">
<div id="header">
<h1><a href="index.html">Wep App Theme</a></h1>
<div id="user-navigation">
<ul>
<li><a href="#">Profile</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">Logout</a></li>
</ul>
<div class="clear"></div>
</div>
<div id="main-navigation">
<ul>
<li class="first"><a href="#block-text">Main Page</a></li>
<li class="active"><a href="#block-text">Active</a></li>
</ul>
<div class="clear"></div>
</div>
</div>
<div id="wrapper">
<div id="main">
<div class="block" id="block-text">
<div class="secondary-navigation">
<ul>
<li class="active first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
<div class="clear"></div>
</div>
<h2 class="title">Text</h2>
<div class="content">
<p class="first">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p> <span class="small">small text</span></p>
<p> <span class="gray">gray text</span></p>
<hr />
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <span class="hightlight">Excepteur sint occaecat cupidatat non proident</span>, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</div>
<div class="block" id="block-tables">
<div class="secondary-navigation">
<ul>
<li class="first"><a href="#block-text">Text</a></li>
<li class="active"><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
<div class="clear"></div>
</div>
<h2 class="title">Tables</h2>
<div class="content">
<form action="#" class="form">
<table class="table">
<tr>
<th class="first"><input type="checkbox" class="checkbox toggle" /></th>
<th>ID</th>
<th>Login</th>
<th>Name</th>
<th class="last">Surname</th>
</tr>
<tr>
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>1</td><td>hulk</td><td>Hulk</td><td>Hogan</td>
</tr>
<tr>
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>2</td><td>ultimate</td><td>Ultimate</td><td>Warrior</td>
</tr>
<tr>
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>3</td><td>andre</td><td>Andre</td><td>The Giant</td>
</tr>
<tr>
<td><input type="checkbox" class="checkbox" name="id" value="1" /></td><td>4</td><td>machoman</td><td>Macho Man</td><td>Randy Savage</td>
</tr>
</table>
<div class="actions-bar">
<div class="actions">
<input type="submit" class="button" value="Delete" class="button">
</div>
<div class="pagination">
<span class="current">1</span><a href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><a href="#">6</a><a href="#">7</a><a href="#">8</a><a href="#">9</a><a href="#">10</a><a href="#">Next »</a>
</div>
<div class="clear"></div>
</div>
</form>
</div>
</div>
<div class="block" id="block-forms">
<div class="secondary-navigation">
<ul>
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li class="active"><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
<div class="clear"></div>
</div>
<h2 class="title">Forms</h2>
<div class="content">
<form action="#" method="get" class="form">
<div class="group">
<label class="title">Text field</label>
<input type="text" class="text" />
<span class="description">Ex: a simple text</span>
</div>
<div class="group">
<label class="title">Text area</label>
<textarea class="textarea" rows="10" cols="80"></textarea>
<span class="description">Write here a long text</span>
</div>
<div class="group navform">
<input type="submit" class="button" value="Save &rarr;" /> or <a href="#header">Cancel</a>
</div>
</form>
</div>
</div>
<div class="block" id="block-messages">
<div class="secondary-navigation">
<ul>
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li class="active"><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
<div class="clear"></div>
</div>
<h2 class="title">Messages</h2>
<div class="content">
<div class="flash-messages error">
<p>Error message</p>
</div>
<div class="flash-messages warning">
<p>Warning message</p>
</div>
<div class="flash-messages notice">
<p>Notice message</p>
</div>
</div>
</div>
<div class="block" id="block-forms-2">
<div class="secondary-navigation">
<ul>
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li class="active"><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
<div class="clear"></div>
</div>
<h2 class="title">2 columns forms</h2>
<div class="content">
<form action="#" method="get" class="form">
<div class="column left">
<div class="group">
<label class="title">Text field</label>
<input type="text" class="text" />
</div>
<div class="group">
<label class="title">Text area</label>
<textarea class="textarea" rows="10" cols="80"></textarea>
</div>
</div>
<div class="column right">
<div class="group">
<label class="title">Select</label>
<select><option value="1">Choose...</option></select>
</div>
<div class="group">
<label class="title">Check box</label>
<div>
<input type="checkbox" name="checkbox" id="checkbox_1" class="checkbox" value="1" /> <label for="checkbox_1" class="checkbox">Option 1</label>
</div>
<div>
<input type="checkbox" name="checkbox" id="checkbox_2" class="checkbox" value="2" /> <label for="checkbox_2" class="checkbox">Option 2</label>
</div>
</div>
<div class="group">
<label class="title">Radio</label>
<div>
<input type="radio" name="radio" id="radio_1" class="checkbox" value="1" /> <label for="radio_1" class="radio">Option 1</label>
</div>
<div>
<input type="radio" name="radio" id="radio_2" class="checkbox" value="2" /> <label for="radio_2" class="radio">Option 2</label>
</div>
</div>
</div>
<div class="clear"></div>
<div class="group navform">
<input type="submit" class="button" value="Save &rarr;" /> or <a href="#">Cancel</a>
</div>
</form>
</div>
</div>
<div class="block" id="block-lists">
<div class="secondary-navigation">
<ul>
<li class="first"><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li class="active"><a href="#block-lists">Lists</a></li>
</ul>
<div class="clear"></div>
</div>
<h2 class="title">Lists</h2>
<div class="content">
<ul class="list">
<li>
<div class="left">
<a href="#"><img class="avatar" src="images/avatar.png" alt="avatar" /></a>
</div>
<div class="item">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</li>
<li>
<div class="left">
<a href="#"><img class="avatar" src="images/avatar.png" alt="avatar" /></a>
</div>
<div class="item">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</li>
<li>
<div class="left">
<a href="#"><img class="avatar" src="images/avatar.png" alt="avatar" /></a>
</div>
<div class="item">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</li>
</ul>
</div>
</div>
</div>
<div id="sidebar">
<div class="block">
<h3>Simple Block</h3>
<div class="content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
</div>
<div class="block">
<h3>Switch Theme</h3>
<ul class="navigation">
<li><a href="#" onclick="Theme.activate('default'); return false;">Default</a></li>
<li class="last"><a href="#" onclick="Theme.activate('bec'); return false;">Bec</a></li>
<li><a href="#" onclick="Theme.activate('black-grey'); return false;">Black &amp; Grey</a></li>
</ul>
</div>
<div class="block">
<h3>Sidebar</h3>
<ul class="navigation">
<li><a href="#block-text">Text</a></li>
<li><a href="#block-tables">Tables</a></li>
<li><a href="#block-forms">Forms</a></li>
<li><a href="#block-messages">Messages</a></li>
<li><a href="#block-forms-2">2 Columns Forms</a></li>
<li><a href="#block-lists">Lists</a></li>
</ul>
</div>
<div class="block notice">
<h4>Notice Title</h4>
<p>Morbi posuere urna vitae nunc. Curabitur ultrices, lorem ac aliquam blandit, lectus eros hendrerit eros, at eleifend libero ipsum hendrerit urna. Suspendisse viverra. Morbi ut magna. Praesent id ipsum. Sed feugiat ipsum ut felis. Fusce vitae nibh sed risus commodo pulvinar. Duis ut dolor. Cras ac erat pulvinar tortor porta sodales. Aenean tempor venenatis dolor.</p>
</div>
<div class="block">
<div class="sidebar-block">
<h4>Sidebar Inner block Title</h4>
<p>Morbi posuere urna vitae nunc. Curabitur ultrices, lorem ac <a href="#">aliquam blandit</a>, lectus eros hendrerit eros, at eleifend libero ipsum hendrerit urna. Suspendisse viverra. Morbi ut magna. Praesent id ipsum. Sed feugiat ipsum ut felis. Fusce vitae nibh sed risus commodo pulvinar. Duis ut dolor. Cras ac erat pulvinar tortor porta sodales. Aenean tempor venenatis dolor.</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<div class="block">
<p>Copyright &copy; 2009 Your Site.</p>
</div>
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.