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
 
@@ -534,7 +534,12 @@ table.code-browser tbody td {
 
	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
 
@@ -53,16 +53,18 @@
 
        <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;
 
		        	
 
@@ -70,13 +72,13 @@
 
			        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>			
0 comments (0 inline, 0 general)