Changeset - 95b746f2f0ed
[Not reviewed]
default
2 3 0
Marcin Kuzminski - 15 years ago 2010-10-11 10:46:05
marcin@python-works.com
fixed nasty bug when browsing on renames.
Turned off dirsize until new vcs release.
some templating updates
5 files changed with 3 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -10,97 +10,97 @@ html,body,div,span,applet,object,iframe,
 
}
 
 
body {
 
	line-height: 1;
 
}
 
 
ol,ul {
 
	list-style: none;
 
}
 
 
blockquote,q {
 
	quotes: none;
 
}
 
 
blockquote:before,blockquote:after,q:before,q:after {
 
	content: '';
 
	content: none;
 
}
 
 
:focus {
 
	outline: 0;
 
}
 
 
ins {
 
	text-decoration: none;
 
}
 
 
del {
 
	text-decoration: line-through;
 
}
 
 
/* tables still need 'cellspacing="0"' in the markup */
 
table {
 
	border-collapse: collapse;
 
	border-spacing: 0;
 
}
 
 
/*
 
	main stylesheet
 
*/
 
html {
 
	height: 100%;
 
}
 
 
body {
 
	margin: 0;
 
	padding: 0;
 
	height: 100%;
 
	background: #d1d1d1 url("../images/background.png") repeat;
 
	background: url("../images/background.png") repeat scroll 0 0 #B0B0B0;
 
	font-family: Lucida Grande, Verdana, Lucida Sans Regular,
 
		Lucida Sans Unicode, Arial, sans-serif;
 
	font-size: 12px;
 
	color: #000000;
 
}
 
 
/*
 
	images
 
*/
 
img {
 
	border: none;
 
}
 
 
img.icon {
 
	vertical-align: bottom;
 
}
 
 
/*
 
	anchors
 
*/
 
a {
 
	color: #003367;
 
	text-decoration: none;
 
	cursor: pointer;
 
	font-weight: bold;
 
}
 
 
a:hover {
 
	color: #316293;
 
	text-decoration: underline;
 
}
 
 
/*
 
	headings
 
*/
 
h1,h2,h3,h4,h5,h6 {
 
	color: #292929;
 
	font-weight: bold;
 
}
 
 
h1 {
 
	font-size: 22px;
 
}
 
 
h2 {
 
	font-size: 20px;
 
}
 
 
@@ -185,97 +185,96 @@ div.color a.green {
 
}
 
 
div.color a.brown {
 
	background: #9b6e42;
 
}
 
 
div.color a.purple {
 
	background: #88528b;
 
}
 
 
div.color a.red {
 
	background: #bd3220;
 
}
 
 
div.color a.greyblue {
 
	background: #566e86;
 
}
 
 
/*
 
	options
 
*/
 
div.options {
 
	margin: 7px 0 0 162px;
 
	padding: 0;
 
	clear: both;
 
	overflow: hidden;
 
	position: absolute;
 
	background: #FFFFFF;
 
}
 
 
div.options a {
 
	margin: 0;
 
	padding: 3px 8px 3px 8px;
 
	height: 1%;
 
	display: block;
 
	text-decoration: none;
 
}
 
 
div.options a:hover {
 
	text-decoration: none;
 
}
 
 
/*
 
	header
 
*/
 
#header {
 
	margin: 0;
 
	padding: 0 30px 0 30px;
 
	background: #b0b0b0 url("../images/header_background.png") repeat;
 
}
 
 
/*
 
	header / user
 
*/
 
#header ul#logged-user {
 
	margin: 0;
 
	padding: 0;
 
	float: right;
 
}
 
 
#header ul#logged-user li {
 
	margin:-2px 0 0;
 
	padding: 10px 12px 10px 12px;
 
	list-style: none;
 
	float: left;
 
	border-left: 1px solid #bbbbbb;
 
	border-right: 1px solid #a5a5a5;
 
}
 
 
#header ul#logged-user li.first {
 
	border-left: none;
 
	margin: -6px;
 
}
 
 
#header ul#logged-user li.first div.account {
 
	padding-top: 4px;
 
	float: left;
 
}
 
 
#header ul#logged-user li.last {
 
	border-right: none;
 
}
 
 
#header ul#logged-user li a {
 
	color: #4e4e4e;
 
	font-weight: bold;
 
	text-decoration: none;
 
}
 
 
#header ul#logged-user li a:hover {
 
	color: #376ea6;
 
	text-decoration: underline;
 
}
 
 
#header ul#logged-user li.highlight a {
 
	color: #ffffff;
 
}
 
@@ -2148,97 +2147,96 @@ div.form div.fields div.buttons input {
 
	float: left;
 
	border: none;
 
}
 
 
#content div.box div.traffic div.legend ul {
 
	margin: 0;
 
	padding: 0;
 
	float: right;
 
}
 
 
#content div.box div.traffic div.legend li {
 
	margin: 0;
 
	padding: 0 8px 0 4px;
 
	list-style: none;
 
	float: left;
 
	font-size: 11px;
 
}
 
 
#content div.box div.traffic div.legend li.visits {
 
	border-left: 12px solid #edc240;
 
}
 
 
#content div.box div.traffic div.legend li.pageviews {
 
	border-left: 12px solid #afd8f8;
 
}
 
 
#content div.box div.traffic table {
 
	width: auto;
 
}
 
 
#content div.box div.traffic table td {
 
	padding: 2px 3px 3px 3px;
 
	background: transparent;
 
	border: none;
 
}
 
 
#content div.box div.traffic table td.legendLabel {
 
	padding: 0 3px 2px 3px;
 
}
 
 
/*
 
	footer
 
*/
 
#footer {
 
	margin: 0;
 
	padding: 0px 30px;
 
	clear: both;
 
	overflow: hidden;
 
	background: url("../images/header_background.png") repeat scroll 0 0 #B0B0B0;
 
	text-align: right;
 
}
 
 
#footer p {
 
	background:none repeat scroll 0 0 #2F2F2F;
 
	color:#FFFFFF;
 
	font-weight:bold;
 
	padding:15px 25px 15px 0;
 
}
 
 
/*
 
	login
 
*/
 
#login {
 
	margin: 10% auto 0 auto;
 
	padding: 0;
 
	width: 420px;
 
}
 
 
/*
 
	login / colors
 
*/
 
#login div.color {
 
	margin: 10px auto 0 auto;
 
	padding: 3px 3px 3px 0;
 
	clear: both;
 
	overflow: hidden;
 
	background: #FFFFFF;
 
}
 
 
#login div.color a {
 
	margin: 0 0 0 3px;
 
	padding: 0;
 
	width: 20px;
 
	height: 20px;
 
	display: block;
 
	float: left;
 
}
 
 
/*
 
	login / title
 
*/
 
#login div.title {
 
	margin: 0 auto;
 
	padding: 0;
 
	width: 420px;
 
	clear: both;
 
	overflow: hidden;
 
@@ -3369,97 +3367,96 @@ div#legend_choices {
 
}
 
 
/*
 
    PERMISSIONS TABLE
 
*/
 
table#permissions_manage {
 
	width: 0 !important;
 
}
 
 
table#permissions_manage span.private_repo_msg {
 
	font-size: 0.8em;
 
	opacity: 0.6;
 
}
 
 
table#permissions_manage td.private_repo_msg {
 
	font-size: 0.8em;
 
}
 
 
table#permissions_manage tr#add_perm_input td {
 
	vertical-align: middle;
 
}
 
 
/*
 
    GRAVATARS
 
*/
 
div.gravatar {
 
	background-color: white;
 
	border: 1px solid #D0D0D0;
 
	float: left;
 
	margin-right: 0.7em;
 
	padding: 2px 2px 0px;
 
}
 
 
/*
 
    GLOBAL WIDTH
 
*/
 
#header,#content,#footer {
 
	min-width: 1224px;
 
}
 
 
/*
 
    content
 
*/
 
#content {
 
	padding:10px 30px;
 
	min-height: 100%;
 
	clear: both;
 
	overflow: hidden;
 
	background: url("../images/header_background.png") repeat scroll 0 0 #B0B0B0
 
}
 
 
/*
 
    content / right / forms / labels
 
*/
 
#content div.box div.form div.fields div.field div.label {
 
	left: 80px;
 
	margin: 0;
 
	padding: 8px 0 0 5px;
 
	width: auto;
 
	position: absolute;
 
}
 
 
#content div.box-left div.form div.fields div.field div.label,#content div.box-right div.form div.fields div.field div.label
 
	{
 
	left: 0;
 
	margin: 0;
 
	padding: 0 0 8px 0;
 
	width: auto;
 
	position: relative;
 
}
 
 
/*THEME*/
 
 
/*
 
    header / quick
 
*/
 
#header #header-inner #quick li a {
 
	background: #336699 url("../../images/quick_l.png") no-repeat top left;
 
}
 
 
#header #header-inner #quick li span {
 
	background: url("../../images/quick_r.png") no-repeat top right;
 
	border-left: 1px solid #3f6f9f;
 
}
 
 
#header #header-inner #quick li span.icon {
 
	background: url("../../images/quick_l.png") no-repeat top left;
 
	border-right: 1px solid #2e5c89;
 
}
 
 
#header #header-inner #quick li a:hover {
 
	background: #4e4e4e url("../../images/quick_l_selected.png") no-repeat
 
		top left;
 
}
 
 
#header #header-inner #quick li a:hover span {
 
	background: url("../../images/quick_r_selected.png") no-repeat top right;
rhodecode/public/images/background.png
Show inline comments
 
binary diff not shown
Show images
rhodecode/public/images/header_background.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
rhodecode/public/images/menu_arrow.png
Show inline comments
 
deleted file
 
binary diff not shown
Show images
rhodecode/templates/files/files_browser.html
Show inline comments
 
@@ -4,75 +4,77 @@
 
	%else:
 
		<%return "browser-dir"%>
 
	%endif
 
</%def>
 
<div id="body" class="browserblock">
 
	<div class="browser-header">
 
		${h.form(h.url.current())}
 
		<div class="info_box">
 
          <span >${_('view')}@rev</span> 
 
          <a href="${c.url_prev}">&laquo;</a>
 
          ${h.text('at_rev',value=c.rev_nr,size=3)}
 
          <a href="${c.url_next}">&raquo;</a>
 
          ${h.submit('view','view')}
 
	    </div>           
 
		${h.end_form()}
 
	</div>
 
	<div class="browser-body">
 
		<table class="code-browser">
 
		         <thead>
 
		             <tr>
 
		                 <th>${_('Name')}</th>
 
		                 <th>${_('Size')}</th>
 
		                 <th>${_('Mimetype')}</th>
 
		                 <th>${_('Revision')}</th>
 
		                 <th>${_('Last modified')}</th>
 
		                 <th>${_('Last commiter')}</th>
 
		             </tr>
 
		         </thead>
 

	
 
          		% if c.files_list.parent:
 
         		<tr class="parity0">
 
	          		<td>		          		
 
	          			${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=c.files_list.parent.path),class_="browser-dir")}
 
	          		</td>
 
	          		<td></td>
 
	          		<td></td>
 
	          		<td></td>
 
	          		<td></td>
 
	          		<td></td>
 
				</tr>	          		
 
          		%endif
 
		         	
 
		    %for cnt,node in enumerate(c.files_list,1):
 
				<tr class="parity${cnt%2}">
 
		             <td>
 
						${h.link_to(node.name,h.url('files_home',repo_name=c.repo_name,revision=c.cur_rev,f_path=node.path),class_=file_class(node))}
 
		             </td>
 
		             <td>
 
		             %if node.is_file():
 
		             	${h.format_byte_size(node.size,binary=True)}
 
		             %endif	
 
		             </td>
 
		             <td>
 
		              %if node.is_file():
 
		                  ${node.mimetype}
 
		              %endif
 
		             </td>
 
		             <td>
 
		             	%if node.is_file():
 
		             		${node.last_changeset.revision}
 
		             	%endif
 
		             </td>
 
		             <td>
 
		             	%if node.is_file():
 
		             		${h.age(node.last_changeset._ctx.date())} - ${node.last_changeset.date}
 
		             	%endif
 
		             </td>
 
		             <td>
 
		             	%if node.is_file():
 
		             		${node.last_changeset.author}
 
		             	%endif                    
 
		             </td>
 
				</tr>
 
			%endfor
 
		</table>
 
	</div>
 
</div>
 
\ No newline at end of file
0 comments (0 inline, 0 general)