Changeset - 7b778f90a871
[Not reviewed]
default
0 2 0
Marcin Kuzminski - 16 years ago 2010-04-26 21:03:04
marcin@python-works.com
html updates
2 files changed with 8 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pylons_app/public/css/monoblue_custom.css
Show inline comments
 
@@ -156,385 +156,390 @@ div.page-path {
 
  font-size: 1.2em;
 
}
 

	
 
div.page-footer {
 
  margin: 50px 0 0;
 
  position: relative;
 
}
 
  div.page-footer p {
 
    position: relative;
 
    left: 20px;
 
    bottom: 5px;
 
    font-size: 1.2em;
 
  }
 

	
 
  ul.rss-logo {
 
    position: absolute;
 
    top: -10px;
 
    right: 20px;
 
    height: 20px;
 
    list-style-type: none;
 
  }
 
  ul.rss-logo li {
 
    display: inline;
 
  }
 
  ul.rss-logo li a {
 
    padding: 3px 6px;
 
    line-height: 10px;
 
    border:1px solid;
 
    border-color:#fcc7a5 #7d3302 #3e1a01 #ff954e;
 
    color:#ffffff;
 
    background-color:#ff6600;
 
    font-weight:bold;
 
    font-family:sans-serif;
 
    font-size:10px;
 
    text-align:center;
 
    text-decoration:none;
 
  }
 
  div.rss-logo li a:hover {
 
    background-color:#ee5500;
 
  }
 

	
 
p.normal {
 
  margin: 20px 0 20px 30px;
 
  font-size: 1.2em;
 
}
 

	
 
table {
 
  margin: 0 0 0 0;  
 
  border-collapse: collapse;
 
}
 
/*
 
table tr td {
 
  font-size: 1.1em;
 
}
 
table tr td.nowrap {
 
  white-space: nowrap;
 
}
 
*/
 
table tr.parity0:hover,table tr.parity1:hover {
 
  background: #D5E1E6;
 
}
 

	
 
table tr.parity0 {
 
  background: #EAEAE9;
 
}
 
table tr.parity1 {
 
  background: #FFFFFF;
 
}
 
table tr td {
 
  padding: 3px 3px;
 
}
 
table.annotated tr td {
 
  padding: 0px 3px;
 
}
 

	
 
span.logtags span {
 
  padding: 2px 6px;
 
  font-weight: normal;
 
  font-size: 11px;
 
  border: 1px solid;
 
  background-color: #ffaaff;
 
  border-color: #ffccff #ff00ee #ff00ee #ffccff;
 
}
 
span.logtags span.tagtag {
 
  background-color: #ffffaa;
 
  border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
 
}
 
span.logtags span.branchtag {
 
  background-color: #aaffaa;
 
  border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 
}
 
span.logtags span.inbranchtag {
 
  background-color: #d5dde6;
 
  border-color: #e3ecf4 #9398f4 #9398f4 #e3ecf4;
 
}
 

	
 
div.diff pre {
 
  margin: 10px 0 0 0;
 
}
 
div.diff pre span {
 
  font-family: monospace;
 
  white-space: pre;
 
  font-size: 1.2em;
 
  padding: 3px 0;
 
}
 
td.source {
 
  white-space: pre;
 
  font-family: monospace;
 
  margin: 10px 30px 0;
 
  font-size: 1.2em;
 
  font-family: monospace;
 
}
 
  div.source div.parity0,
 
  div.source div.parity1 {
 
    padding: 1px;
 
    font-size: 1.2em;
 
  }
 
  div.source div.parity0 {
 
    background: #F1F6F7;
 
  }
 
  div.source div.parity1 {
 
    background: #FFFFFF;
 
  }
 
div.parity0:hover,
 
div.parity1:hover {
 
  background: #D5E1E6;
 
}
 
.linenr {
 
  color: #999;
 
  text-align: right;
 
}
 
.lineno {
 
  text-align: right;
 
}
 
.lineno a {
 
  color: #999;
 
}
 
td.linenr {
 
  width: 60px;
 
}
 

	
 
div#powered-by {
 
  position: absolute;
 
  width: 75px;
 
  top: 15px;
 
  right: 20px;
 
  font-size: 1.2em;
 
}
 
div#powered-by a {
 
  color: #EEE;
 
  text-decoration: none;
 
}
 
div#powered-by a:hover {
 
  text-decoration: underline;
 
}
 
/*
 
div#monoblue-corner-top-left {
 
  position: absolute;
 
  top: 0;
 
  left: 0;
 
  width: 10px;
 
  height: 10px;
 
  background: url(./monoblue-corner.png) top left no-repeat !important;
 
  background: none;
 
}
 
div#monoblue-corner-top-right {
 
  position: absolute;
 
  top: 0;
 
  right: 0;
 
  width: 10px;
 
  height: 10px;
 
  background: url(./monoblue-corner.png) top right no-repeat !important;
 
  background: none;
 
}
 
div#monoblue-corner-bottom-left {
 
  position: absolute;
 
  bottom: 0;
 
  left: 0;
 
  width: 10px;
 
  height: 10px;
 
  background: url(./monoblue-corner.png) bottom left no-repeat !important;
 
  background: none;
 
}
 
div#monoblue-corner-bottom-right {
 
  position: absolute;
 
  bottom: 0;
 
  right: 0;
 
  width: 10px;
 
  height: 10px;
 
  background: url(./monoblue-corner.png) bottom right no-repeat !important;
 
  background: none;
 
}
 
*/
 
/** end of common settings **/
 

	
 
/** summary **/
 
dl.overview {
 
  margin: 0 0 0 30px;
 
  font-size: 1.1em;
 
  overflow: hidden;
 
}
 
  dl.overview dt,
 
  dl.overview dd {
 
    margin: 5px 0;
 
    float: left;
 
  }
 
  dl.overview dt {
 
    clear: left;
 
    font-weight: bold;
 
    width: 150px;
 
  }
 
/** end of summary **/
 

	
 
/** chagelog **/
 
h3.changelog {
 
  margin: 20px 0 5px 30px;
 
  padding: 0 0 2px;
 
  font-size: 1.4em;
 
  border-bottom: dotted 1px #D5E1E6;
 
}
 
ul.changelog-entry {
 
  margin: 0 0 10px 30px;
 
  list-style-type: none;
 
  position: relative;
 
}
 
ul.changelog-entry li span.revdate {
 
  font-size: 1.1em;
 
}
 
ul.changelog-entry li.age {
 
  position: absolute;
 
  top: -25px;
 
  right: 10px;
 
  font-size: 1.4em;
 
  color: #CCC;
 
  font-weight: bold;
 
  font-style: italic;
 
}
 
ul.changelog-entry li span.name {
 
  font-size: 1.2em;
 
  font-weight: bold;
 
}
 
ul.changelog-entry li.description {
 
  margin: 10px 0 0;
 
  font-size: 1.1em;
 
}
 
/** end of changelog **/
 

	
 
/** file **/
 
p.files {
 
  margin: 0 0 0 20px;
 
  font-size: 2.0em;
 
  font-weight: bold;
 
}
 
/** end of file **/
 

	
 
/** changeset **/
 
h3.changeset {
 
  margin: 20px 0 5px 20px;
 
  padding: 0 0 2px;
 
  font-size: 1.6em;
 
  border-bottom: dotted 1px #D5E1E6;
 
}
 
p.changeset-age {
 
  position: relative;
 
}
 
p.changeset-age span {
 
  position: absolute;
 
  top: -25px;
 
  right: 10px;
 
  font-size: 1.4em;
 
  color: #CCC;
 
  font-weight: bold;
 
  font-style: italic;
 
}
 
p.description {
 
  margin: 10px 30px 0 30px;
 
  padding: 10px;
 
  border: solid 1px #CCC;
 
  font-size: 1.2em;
 
}
 
/** end of changeset **/
 

	
 
/** canvas **/
 
div#wrapper {
 
	position: relative;
 
    font-size: 1.2em;
 
}
 

	
 
canvas {
 
	position: absolute;
 
	z-index: 5;
 
	top: -0.7em;
 
}
 

	
 
ul#nodebgs li.parity0 {
 
    background: #F1F6F7;
 
}
 

	
 
ul#nodebgs li.parity1 {
 
    background: #FFFFFF;
 
}
 

	
 
ul#graphnodes {
 
	position: absolute;
 
	z-index: 10;
 
	top: 7px;
 
	list-style: none inside none;
 
}
 

	
 
ul#nodebgs {
 
	list-style: none inside none;
 
}
 

	
 
ul#graphnodes li, ul#nodebgs li {
 
	height: 39px;
 
}
 

	
 
ul#graphnodes li .info {
 
	display: block;
 
	position: relative;
 
}
 
/** end of canvas **/
 

	
 
table.code-browser{
 
	
 
}
 
table.code-browser thead th {
 
	background-color:#EEEEEE;
 
	border:1px solid #999999;
 
	height:20px;
 
	font-size: 1.1em;
 
	font-weight: bold;
 
}
 
table.code-browser tbody td {
 
	border:1px solid #999999;
 
	height:20px;
 
}
 
.info-table {
 
	background:none repeat scroll 0 0 #FAFAFA;
 
	border-bottom:1px solid #DDDDDD;
 
	width:100%;
 
}
 
.rss_logo{
 
	background-image:url("/images/feed.png");
 
	background-repeat:no-repeat;
 
	display:block;
 
	height:16px;
 
	padding-left:20px;
 
	padding-top:0px;
 
	text-align:left;
 
	
 
}
 
.atom_logo{
 
	background-image:url("/images/atom.png");
 
	background-repeat:no-repeat;
 
	display:block;
 
	height:16px;
 
	padding-left:20px;
 
	padding-top:0px;
 
	text-align:left;
 
	
 
}
 
.browser-file {
 
	background-image:url("/images/file.png");
 
	background-repeat:no-repeat;
 
	display:block;
 
	height:16px;
 
	padding-left:20px;
 
	padding-top:5px;
 
	text-align:left;
 
}
 
.browser-dir {
 
	background-image:url("/images/folder.png");
 
	background-repeat:no-repeat;
 
	display:block;
 
	height:16px;
 
	padding-left:20px;
 
	padding-top:5px;
 
	text-align:left;
 
}
 

	
 
.current_submenu{
 
	border-bottom: 2px solid;
 

	
 
}
 
#repos_list{
 
border:1px solid #556CB5;
 
background: #FFFFFF;
 

	
 
}
 
\ No newline at end of file
pylons_app/templates/base/base.html
Show inline comments
 
## -*- coding: 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">
 
<head>
 
    <link rel="icon" href="/images/hgicon.png" type="image/png" />
 
    <meta name="robots" content="index, nofollow"/>
 
    <title>${next.title()}</title>
 
    ${self.css()}
 
    ${self.js()}
 
</head>
 

	
 
<body>
 
<div id="container">
 
    <div class="page-header">
 
        <h1>
 
            ${next.breadcrumbs()}
 
        </h1>
 
        <ul class="page-nav">
 
            ${self.page_nav()}
 
        </ul>
 
    </div>
 
    <div id="main">
 
    	${next.main()}
 
    </div>
 
    <div class="page-footer">
 
        Mercurial App &copy; 2010
 
    </div>   
 

	
 
    <div id="powered-by">
 
        <p>
 
        <a href="http://mercurial.selenic.com/" title="Mercurial">
 
            <img src="/images/hglogo.png" width="75" height="90" alt="mercurial"/></a>
 
        </p>
 
    </div>
 

	
 
    <div id="corner-top-left"></div>
 
    <div id="corner-top-right"></div>
 
    <div id="corner-bottom-left"></div>
 
    <div id="corner-bottom-right"></div>
 

	
 
</div>
 
</body>
 
</html>
 

	
 
<%def name="page_nav()">
 

	
 
	${self.menu()}
 

	
 
</%def>
 

	
 

	
 
<%def name="menu(current)">
 
        <ul class="page-nav">
 
        	<script>
 
        	YAHOO.util.Event.onDOMReady(function(){
 
				YAHOO.util.Event.addListener('repo_switcher','click',function(){
 
					if(YAHOO.util.Dom.hasClass('repo_switcher','selected')){
 
						YAHOO.util.Dom.setStyle('switch_repos','display','none');
 
						YAHOO.util.Dom.setStyle('repo_switcher','background','');
 
						YAHOO.util.Dom.removeClass('repo_switcher','selected');
 
					}
 
					else{
 
						YAHOO.util.Dom.setStyle('switch_repos','display','');
 
						YAHOO.util.Dom.setStyle('repo_switcher','background','#FFFFFF');
 
						YAHOO.util.Dom.addClass('repo_switcher','selected');
 
					}
 
					});
 
				YAHOO.util.Event.addListener('repos_list','change',function(e){
 
		            var wa = YAHOO.util.Dom.get('repos_list').value;
 
		        	
 
		            var url = "${h.url('summary_home',repo_name='__REPLACE__')}".replace('__REPLACE__',wa);
 
			        window.location = url;
 
				})
 
            });
 
        	</script>
 
			<li>
 
				<a id="repo_switcher" title="${_('Switch repository')}" href="#">&darr;</a>
 
				<div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px;background-color: #DDDDDD">
 
				<div id="switch_repos" style="display:none;position: absolute;width: 150px;height: 25px">
 
					<select id="repos_list">
 
					%for repo in c.repo_list:
 
						<option value="${repo}">${repo}</option>
 
					%endfor
 
					</select>
 
				</div>			
 
			</li>
 
            <li 
 
            %if current=='summary':
 
            	class='current' 
 
            %endif
 
            >${h.link_to_unless(current=='summary',_('summary'),h.url('summary_home',repo_name=c.repo_name))}</li>
 
            <li 
 
            %if current=='changelog':
 
            	class='current' 
 
            %endif
 
            >${h.link_to_unless(current=='changelog',_('changelog'),h.url('changelog_home',repo_name=c.repo_name))}</li>
 
            <li 
 
            %if current=='branches':
 
            	class='current' 
 
            %endif
 
            >${h.link_to_unless(current=='branches',_('branches'),h.url('branches_home',repo_name=c.repo_name))}</li>
 
            <li 
 
            %if current=='tags':
 
            	class='current' 
 
            %endif
 
            >${h.link_to_unless(current=='tags',_('tags'),h.url('tags_home',repo_name=c.repo_name))}</li>
 
            <li 
 
            %if current=='graph':
 
            	class='current' 
 
            %endif
 
            >${h.link_to_unless(current=='graph',_('graph'),h.url('graph_home',repo_name=c.repo_name))}</li>
 
            <li 
 
            %if current=='files':
 
            	class='current' 
 
            %endif
 
            >${h.link_to_unless(current=='files',_('files'),h.url('files_home',repo_name=c.repo_name))}</li>
 
        </ul>
 
</%def>
 

	
 
<%def name="css()">
 
<link rel="stylesheet" href="/css/monoblue_custom.css" type="text/css" />
 
</%def>
 

	
 
<%def name="js()">
 
<script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
 
</%def>
 
\ No newline at end of file
0 comments (0 inline, 0 general)