Changeset - 6d0474c7e645
[Not reviewed]
default
0 6 0
Marcin Kuzminski - 15 years ago 2010-10-11 00:52:13
marcin@python-works.com
more templates updates
6 files changed with 17 insertions and 38 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/diff.css
Show inline comments
 
div.diffblock {
 
    overflow: auto;
 
    padding: 0px;
 
    border: 1px solid #ccc;
 
    background: #f8f8f8;
 
    font-size: 100%;
 
    line-height: 100%;
 
    /* new */
 
    line-height: 125%;
 
}
 
div.diffblock .code-header{
 
	border-bottom: 1px solid #CCCCCC;
 
	background: #EEEEEE;
 
	color:blue;
 
	padding:10px 0 10px 0;
 
}
 
div.diffblock .code-header div{
 
	margin-left:25px;
 
	font-weight: bold;
 
}
 
div.diffblock .code-body{
 
	background: #FFFFFF;
 
}
 
div.diffblock pre.raw{
 
	background: #FFFFFF;
 
	color:#000000;
 
}
 

	
 
table.code-difftable{
 
	border-collapse: collapse;
 
	width: 99%;
 
}
 
table.code-difftable td:target *{
 
	background:  repeat scroll 0 0 #FFFFBE !important;
 
	text-decoration: underline;
 
}
 

	
 
table.code-difftable td {
 
    padding: 0 !important; 
 
    background: none !important; 
 
    border:0 !important;    
 
}
 

	
 

	
 
.code-difftable .context{
 
	background:none repeat scroll 0 0 #DDE7EF;
 
}
 
.code-difftable .add{
 
	background:none repeat scroll 0 0 #DDFFDD;
 
}
 
.code-difftable .add ins{
 
	background:none repeat scroll 0 0 #AAFFAA;
 
	text-decoration:none;
 
}
 

	
 
.code-difftable .del{
 
	background:none repeat scroll 0 0 #FFDDDD;
 
}
 
.code-difftable .del del{
 
	background:none repeat scroll 0 0 #FFAAAA;
 
	text-decoration:none;
 
}
rhodecode/public/css/pygments.css
Show inline comments
 
div.codeblock {
 
    overflow: auto;
 
    padding: 0px;
 
    border: 1px solid #ccc;
 
    background: #f8f8f8;
 
    font-size: 100%;
 
    line-height: 100%;
 
    /* new */
 
    line-height: 125%;
 
}
 
div.codeblock .code-header{
 
	border-bottom: 1px solid #CCCCCC;
 
	background: #EEEEEE;
 
	color:blue;
 
	padding:10px 0 10px 0;
 
}
 
div.codeblock .code-header .revision{
 
	margin-left:25px;
 
	font-weight: bold;
 
}
 
div.codeblock .code-header .commit{
 
	margin-left:25px;
 
	font-weight: normal;
 
}
 

	
 
div.codeblock .code-body table{
 
    width: 0 !important;    
 
}
 
div.code-body {
 
	background-color: #FFFFFF;
 
}
 
div.code-body pre .match{
 
	background-color: #FAFFA6;
 
}
 
div.code-body pre .break{
 
	background-color: #DDE7EF;
 
	width: 100%;
 
	color: #747474;
 
	display: block;
 
	
 
}
 
div.annotatediv{
 
	margin-left:2px;
 
	margin-right:4px;
 
}
 
.code-highlight {
 
    padding: 0px;
 
    margin-top: 5px;
 
    margin-bottom: 5px;
 
    border-left: 2px solid #ccc;
 
}
 
.code-highlight pre, .linenodiv pre { 
 
	padding: 5px;
 
    margin: 0;
 
}
 
.linenos a { text-decoration: none; }
 

	
 
.code { display: block; }
 
.code-highlight .hll { background-color: #ffffcc }
 
.code-highlight .c { color: #408080; font-style: italic } /* Comment */
 
.code-highlight .err { border: 1px solid #FF0000 } /* Error */
 
.code-highlight .k { color: #008000; font-weight: bold } /* Keyword */
rhodecode/public/css/style.css
Show inline comments
 
@@ -14,120 +14,122 @@ body {
 
}
 
 
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;
 
	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: #0066CC;
 
	color: #003367;
 
	text-decoration: none;
 
	cursor: pointer;
 
	font-weight: bold;
 
}
 
 
a:hover {
 
	color: #000000;
 
	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;
 
}
 
 
h3 {
 
	font-size: 18px;
 
}
 
 
h4 {
 
	font-size: 16px;
 
}
 
 
h5 {
 
	font-size: 14px;
 
}
 
 
h6 {
 
	font-size: 11px;
 
}
 
 
/*
 
	lists
 
*/
 
ul.circle {
 
	list-style-type: circle;
 
}
 
 
ul.disc {
 
	list-style-type: disc;
 
}
 
 
ul.square {
 
	list-style-type: square;
 
@@ -413,97 +415,97 @@ div.options a:hover {
 
	border: none;
 
}
 
 
#header #header-inner #quick li a:hover span.icon {
 
	background: url("../../resources/images/quick_l_selected.png") no-repeat
 
		top left;
 
	border-left: none;
 
	border-right: 1px solid #464646;
 
}
 
 
#header #header-inner #quick ul {
 
	top: 29px;
 
	right: 0;
 
	margin: 0;
 
	padding: 0;
 
	width: 200px;
 
	display: none;
 
	position: absolute;
 
	background: #FFFFFF;
 
	border: 1px solid #666;
 
	border-top: 1px solid #003367;
 
	z-index: 100;
 
}
 
 
#header #header-inner #quick ul.repo_switcher {
 
	max-height: 275px;
 
	overflow-x: hidden;
 
	overflow-y: auto;
 
	white-space: nowrap;
 
}
 
 
#header #header-inner #quick li ul li {
 
	border-bottom: 1px solid #dddddd;
 
}
 
 
#header #header-inner #quick li ul li.last {
 
	border: none;
 
}
 
 
#header #header-inner #quick li ul li a {
 
	margin: 0;
 
	padding: 7px 9px 7px 9px;
 
	height: 1%;
 
	width: 182px;
 
	height: auto;
 
	display: block;
 
	float: left;
 
	background: #FFFFFF;
 
	color: #0066CC;
 
	color: #003367;
 
	font-weight: normal;
 
}
 
 
#header #header-inner #quick li ul li a.childs {
 
	margin: 0;
 
	padding: 7px 9px 7px 24px;
 
	width: 167px;
 
	background: #FFFFFF url("../../resources/images/plus.png") no-repeat 8px
 
		9px;
 
}
 
 
#header #header-inner #quick li ul li a:hover {
 
	color: #000000;
 
	background: #FFFFFF;
 
}
 
 
#header #header-inner #quick li ul li a.childs:hover {
 
	background: #FFFFFF url("../../resources/images/minus.png") no-repeat
 
		8px 9px;
 
}
 
 
#header #header-inner #quick ul ul {
 
	top: auto;
 
}
 
 
#header #header-inner #quick li ul ul {
 
	right: 200px;
 
	max-height: 275px;
 
	overflow: auto;
 
	overflow-x: hidden;
 
	white-space: nowrap;
 
}
 
 
#header #header-inner #quick li:hover ul ul,#header #header-inner #quick li:hover ul ul ul,#header #header-inner #quick li:hover ul ul ul ul
 
	{
 
	display: none;
 
}
 
 
#header #header-inner #quick li:hover ul,#header #header-inner #quick li li:hover ul,#header #header-inner #quick li li li:hover ul,#header #header-inner #quick li li li li:hover ul
 
	{
 
	display: block;
 
}
 
 
/*ICONS*/
 
#header #header-inner #quick li ul li a.journal,#header #header-inner #quick li ul li a.journal:hover
 
	{
 
	background: url("../images/icons/book.png") no-repeat scroll 4px 9px
 
		#FFFFFF;
 
@@ -847,136 +849,137 @@ div.options a:hover {
 
	left: 4px;
 
}
 
 
#content #left #date-picker .ui-datepicker .ui-datepicker-next-hover {
 
	top: 5px;
 
	right: 4px;
 
}
 
 
/*
 
	content / right
 
*/
 
#content #right {
 
	margin: 0 60px 10px 290px;
 
}
 
 
/*
 
	content / right / box
 
*/
 
#content div.box {
 
	margin: 0 0 10px 0;
 
	padding: 0 0 10px 0;
 
	clear: both;
 
	overflow: hidden;
 
	background: #ffffff;
 
}
 
 
#content div.box-left {
 
	margin: 0 0 10px;
 
	width: 49%;
 
	clear: none;
 
	float: left;
 
}
 
 
#content div.box-right {
 
	margin: 0 0 10px;
 
	width: 49%;
 
	clear: none;
 
	float: right;
 
}
 
 
/*
 
	content / right / box / title
 
*/
 
#content div.box div.title {
 
	margin: 0 0 20px 0;
 
	padding: 0;
 
	clear: both;
 
	overflow: hidden;
 
	background: #336699 url("../images/title.png") repeat-x;
 
	background: #336699 url("../images/header_inner.png") repeat-x;
 
}
 
 
#content div.box div.title h5 {
 
	margin: 0;
 
	padding: 11px 0 11px 10px;
 
	float: left;
 
	border: none;
 
	color: #ffffff;
 
	text-transform: uppercase;
 
}
 
 
#content div.box div.title ul.links {
 
	margin: 0;
 
	padding: 0;
 
	float: right;
 
}
 
 
#content div.box div.title ul.links li {
 
	margin: 0;
 
	padding: 0;
 
	list-style: none;
 
	float: left;
 
}
 
 
#content div.box div.title ul.links li a {
 
	margin: 0;
 
	padding: 13px 16px 12px 16px;
 
	height: 1%;
 
	display: block;
 
	float: left;
 
	background: url("../images/title_link.png") no-repeat top left;
 
	border-left: 1px solid #316293;
 
	color: #ffffff;
 
	font-size: 11px;
 
	font-weight: bold;
 
	text-decoration: none;
 
}
 
 
#content div.box div.title ul.links li a:hover {
 
    background: url("../../images/title_tab_selected.png") no-repeat bottom
 
        center;
 
	color: #bfe3ff;
 
}
 
 
#content div.box div.title ul.links li.ui-tabs-selected a {
 
	background: url("../../../resources/images/title_tab_selected.png")
 
		no-repeat bottom center;
 
	color: #bfe3ff;
 
}
 
 
/*
 
	content / right / box / headings
 
*/
 
#content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6
 
	{
 
	margin: 10px 20px 10px 20px;
 
	padding: 0 0 15px 0;
 
	clear: both;
 
	overflow: hidden;
 
	border-bottom: 1px solid #DDDDDD;
 
}
 
 
/*
 
	content / right / box / paragraphs
 
*/
 
#content div.box p {
 
	margin: 0 24px 10px 24px;
 
	padding: 0;
 
	color: #5f5f5f;
 
	font-size: 12px;
 
	line-height: 150%;
 
}
 
 
#content div.box blockquote {
 
	margin: 0 34px 0 34px;
 
	padding: 0 0 0 14px;
 
	border-left: 4px solid #DDDDDD;
 
	color: #5f5f5f;
 
	font-size: 11px;
 
	line-height: 150%;
 
}
 
 
#content div.box blockquote p {
 
	margin: 10px 0 10px 0;
 
	padding: 0;
 
}
 
 
/*
 
	content / right / box / lists
 
@@ -1015,97 +1018,99 @@ div.options a:hover {
 
 
#content div.box ol.lower-alpha,#content div.box ol.upper-alpha {
 
	margin: 10px 24px 10px 44px;
 
}
 
 
#content div.box ol.decimal {
 
	margin: 10px 24px 10px 44px;
 
}
 
 
#content div.box ul.disc,#content div.box ul.circle {
 
	margin: 10px 24px 10px 38px;
 
}
 
 
#content div.box ul.square {
 
	margin: 10px 24px 10px 40px;
 
}
 
 
/*
 
	content / right / box / images
 
*/
 
#content div.box img.left {
 
	margin: 10px 10px 10px 0;
 
	border: none;
 
	float: left;
 
}
 
 
#content div.box img.right {
 
	margin: 10px 0 10px 10px;
 
	border: none;
 
	float: right;
 
}
 
 
/*
 
	content / right / box / messages
 
*/
 
#content div.box div.messages {
 
	margin: 0 20px 0 20px;
 
	padding: 0;
 
	clear: both;
 
	overflow: hidden;
 
}
 
 
#content div.box div.message {
 
	margin: 0 0 0px 0;
 
	padding: 10px 0 10px 0;
 
	clear: both;
 
	overflow: hidden;
 
}
 
 
#content div.box div.message a{
 
    font-weight: normal !important;
 
}
 
#content div.box div.message div.image {
 
	margin: 9px 0 0 5px;
 
	padding: 6px;
 
	float: left;
 
}
 
 
#content div.box div.message div.image img {
 
	margin: 0;
 
	vertical-align: middle;
 
}
 
 
#content div.box div.message div.text {
 
	margin: 0;
 
	padding: 9px 6px 9px 6px;
 
	float: left;
 
}
 
 
#content div.box div.message div.dismiss {
 
	margin: 0;
 
	padding: 0;
 
	float: right;
 
}
 
 
#content div.box div.message div.dismiss a {
 
	margin: 15px 14px 0 0;
 
	padding: 0;
 
	height: 16px;
 
	width: 16px;
 
	display: block;
 
	background: url("../images/icons/cross.png") no-repeat;
 
}
 
 
#content div.box div.message div.text h1,#content div.box div.message div.text h2,#content div.box div.message div.text h3,#content div.box div.message div.text h4,#content div.box div.message div.text h5,#content div.box div.message div.text h6
 
	{
 
	margin: 0;
 
	padding: 0px;
 
	border: none;
 
}
 
 
#content div.box div.message div.text span {
 
	margin: 0;
 
	padding: 5px 0 0 0;
 
	height: 1%;
 
	display: block;
 
}
 
 
#content div.box div.message-error {
 
	height: 1%;
 
@@ -2979,158 +2984,158 @@ table.code-browser thead th {
 
 
table.code-browser tbody tr {
 
	
 
}
 
 
table.code-browser tbody td {
 
	padding-left: 10px;
 
	height: 20px;
 
}
 
 
table.code-browser .browser-file {
 
	background: url("/images/icons/document_16.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	text-align: left;
 
}
 
 
table.code-browser .browser-dir {
 
	background: url("/images/icons/folder_16.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	text-align: left;
 
}
 
 
/*
 
    SEARCH
 
*/
 
.box .search {
 
	clear: both;
 
	margin: 0;
 
	overflow: hidden;
 
	padding: 0 20px 10px;
 
}
 
 
.box .search div.search_path {
 
	background: none repeat scroll 0 0 #EEEEEE;
 
	border: 1px solid #CCCCCC;
 
	color: blue;
 
	padding: 10px 0;
 
	margin-bottom: 10px;
 
}
 
 
.box .search div.search_path div.link {
 
	font-weight: bold;
 
	margin-left: 25px;
 
}
 
 
.box .search div.search_path div.link a {
 
	color: #0066CC;
 
	color: #003367;
 
	cursor: pointer;
 
	text-decoration: none;
 
}
 
 
/*
 
	ADMIN - SETTINGS
 
*/
 
#path_unlock {
 
	color: red;
 
	font-size: 1.2em;
 
	padding-left: 4px;
 
}
 
 
/*
 
    INFOBOX
 
*/
 
.info_box * {
 
	background: url("../../images/pager.png") repeat-x scroll 0 0 #EBEBEB;
 
	border-color: #DEDEDE #C4C4C4 #C4C4C4 #CFCFCF;
 
	border-style: solid;
 
	border-width: 1px;
 
	color: #4A4A4A;
 
	display: block;
 
	font-weight: bold;
 
	height: 1%;
 
	padding: 4px 6px;
 
	display: inline;
 
}
 
 
.info_box span {
 
	margin-left: 3px;
 
	margin-right: 3px;
 
}
 
 
.info_box input#at_rev {
 
	padding: 5px 3px 3px 2px;
 
	text-align: center;
 
}
 
 
.info_box input#view {
 
	padding: 4px 3px 2px 2px;
 
	text-align: center;
 
}
 
 
/*
 
    YUI TOOLTIP
 
*/
 
.yui-overlay,.yui-panel-container {
 
	visibility: hidden;
 
	position: absolute;
 
	z-index: 2;
 
}
 
 
.yui-tt {
 
	visibility: hidden;
 
	position: absolute;
 
	color: #666666;
 
	background-color: #FFFFFF;
 
	font-family: arial, helvetica, verdana, sans-serif;
 
	padding: 8px;
 
	border: 2px solid #556CB5;
 
	border: 2px solid #003367;
 
	font: 100% sans-serif;
 
	width: auto;
 
	opacity: 1.0;
 
}
 
 
.yui-tt-shadow {
 
	display: none;
 
}
 
 
/*
 
    YUI AUTOCOMPLETE 
 
*/
 
.ac {
 
	vertical-align: top;
 
}
 
 
.ac .match {
 
	font-weight: bold;
 
}
 
 
.ac .yui-ac {
 
	position: relative;
 
	font-family: arial;
 
	font-size: 100%;
 
}
 
 
.ac .perm_ac {
 
	width: 15em;
 
}
 
 
/* styles for input field */
 
.ac .yui-ac-input {
 
	width: 100%;
 
}
 
 
/* styles for results container */
 
.ac .yui-ac-container {
 
	position: absolute;
 
	top: 1.6em;
 
	width: 100%;
 
}
 
 
/* styles for header/body/footer wrapper within container */
 
.ac .yui-ac-content {
 
	position: absolute;
 
	width: 100%;
 
	border: 1px solid #808080;
 
	background: #fff;
 
@@ -3185,104 +3190,102 @@ table.code-browser .browser-dir {
 
	padding-left: 20px;
 
	padding-top: 1px;
 
	text-align: left;
 
}
 
 
.edit_icon {
 
	background: url("/images/icons/folder_edit.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	padding-top: 1px;
 
	text-align: left;
 
}
 
 
.delete_icon {
 
	background: url("/images/icons/delete.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	padding-top: 1px;
 
	text-align: left;
 
}
 
 
.rss_icon {
 
	background: url("/images/icons/rss_16.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	padding-top: 1px;
 
	text-align: left;
 
}
 
 
.atom_icon {
 
	background: url("/images/icons/atom.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	padding-top: 1px;
 
	text-align: left;
 
}
 
 
.archive_icon {
 
	background: url("/images/icons/compress.png") no-repeat scroll 3px;
 
	height: 16px;
 
	padding-left: 20px;
 
	text-align: left;
 
	padding-top: 1px;
 
}
 
 
.action_button {
 
	border: 0px;
 
	display: block;
 
	color: #0066CC;
 
}
 
 
.action_button:hover {
 
	border: 0px;
 
	text-decoration: underline;
 
	cursor: pointer;
 
	color: #0066CC;
 
}
 
 
/*
 
    REPO SWITCHER
 
*/
 
#switch_repos {
 
	position: absolute;
 
	height: 25px;
 
	z-index: 1;
 
}
 
 
#switch_repos select {
 
	min-width: 150px;
 
	max-height: 250px;
 
	z-index: 1;
 
}
 
 
/*
 
    BREADCRUMBS
 
*/
 
.breadcrumbs {
 
	border: medium none;
 
	color: #FFFFFF;
 
	float: left;
 
	margin: 0;
 
	padding: 11px 0 11px 10px;
 
	text-transform: uppercase;
 
	font-weight: bold;
 
	font-size: 14px;
 
}
 
 
.breadcrumbs a {
 
	color: #FFFFFF;
 
}
 
 
/*
 
    FLASH MSG
 
*/
 
.flash_msg ul {
 
	margin: 0;
 
	padding: 0px 0px 10px 0px;
 
}
 
 
.error_msg {
 
	background-color: #FFCFCF;
 
	background-image: url("../../images/icons/error_msg.png");
 
	border: 1px solid #FF9595;
 
	color: #CC3300;
 
@@ -3396,103 +3399,96 @@ 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
 
*/
 
#header #header-inner {
 
	background: #b0b0b0 url("../../images/header_inner.png") repeat-x;
 
}
 
 
/*
 
    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;
 
}
 
 
#header #header-inner #quick li a:hover span.icon {
 
	background: url("../../images/quick_l_selected.png") no-repeat top left;
 
}
 
 
/*
 
    header corners
 
*/
 
#header #header-inner div.corner {
 
	background: url("../../images/header_inner_corners.png") no-repeat;
 
}
 
 
#header #header-inner div.tl {
 
	top: 0;
 
	left: 0;
 
	background-position: 0 0;
 
}
 
 
#header #header-inner div.tr {
 
	top: 0;
 
	right: 0;
 
	background-position: -6px 0;
 
}
 
 
@@ -3501,113 +3497,97 @@ div.gravatar {
 
*/
 
#content #left #menu h6.selected {
 
	background: #00376e url("../../images/menu_selected.png") repeat-x;
 
}
 
 
#content #left #menu h6.selected a {
 
	background: url("../../images/menu_l_selected.png") no-repeat top left;
 
}
 
 
#content #left #menu h6.selected span {
 
	background: url("../../images/menu_r_selected.png") no-repeat top right;
 
}
 
 
#content #left #menu ul {
 
	background: #376ea6;
 
}
 
 
#content #left #menu li {
 
	border-top: 1px solid #4377ab;
 
	border-bottom: 1px solid #326395;
 
}
 
 
#content #left #menu li a {
 
	background: url("../../images/menu_arrow.png") no-repeat 0 9px;
 
}
 
 
#content #left #menu li a:hover {
 
	color: #b9dcff;
 
}
 
 
#content #left #menu li.collapsible {
 
	background: url("../../images/menu_border.png") no-repeat top left;
 
}
 
 
#content #left #menu li.collapsible a.minus {
 
	border-bottom: 1px solid #326395;
 
}
 
 
#content #left #menu li ul {
 
	border-left: 18px solid #326395;
 
}
 
 
#content #left #menu li ul li {
 
	background: url("../../images/menu_arrow.png") no-repeat 10px 9px;
 
	border-top: 1px solid #4377ab;
 
	border-bottom: 1px solid #326395;
 
}
 
 
/*
 
    content / right / box / title
 
*/
 
#content div.box div.title {
 
	background: #336699 url("../../images/title.png") repeat-x;
 
}
 
 
#content div.box div.title ul.links li a {
 
	background: url("../../images/title_link.png") no-repeat top left;
 
	border-left: 1px solid #316293;
 
}
 
 
#content div.box div.title ul.links li a:hover {
 
	background: url("../../images/title_tab_selected.png") no-repeat bottom
 
		center;
 
	color: #bfe3ff;
 
}
 
 
 
#content div.box div.title ul.links li.ui-tabs-selected a {
 
	background: url("../../images/title_tab_selected.png") no-repeat bottom
 
		center;
 
	color: #bfe3ff;
 
}
 
 
/*
 
    content / right / box / search
 
*/
 
#content div.box div.title div.search {
 
	background: url("../../images/title_link.png") no-repeat top left;
 
	border-left: 1px solid #316293;
 
}
 
 
#content div.box div.title div.search div.input input {
 
	border: 1px solid #316293;
 
}
 
 
#content div.box div.title div.search div.button input.ui-state-default
 
	{
 
	background: #4e85bb url("../../images/button_highlight.png") repeat-x;
 
	border: 1px solid #316293;
 
	border-left: none;
 
	color: #FFFFFF;
 
}
 
 
#content div.box div.title div.search div.button input.ui-state-hover {
 
	background: #46a0c1 url("../../images/button_highlight_selected.png")
 
		repeat-x;
 
	border: 1px solid #316293;
 
	border-left: none;
 
	color: #FFFFFF;
 
}
 
 
/*
 
    content / right / forms / button
 
*/
 
#content div.box div.form div.fields div.field div.highlight .ui-state-default
 
	{
 
	background: #4e85bb url("../../images/button_highlight.png") repeat-x;
 
	border-top: 1px solid #5c91a4;
 
	border-left: 1px solid #2a6f89;
 
	border-right: 1px solid #2b7089;
 
	border-bottom: 1px solid #1a6480;
 
	color: #ffffff;
 
}
 
rhodecode/public/images/title_tab_selected.png
Show inline comments
 
binary diff not shown
Show images
rhodecode/templates/index.html
Show inline comments
 
## -*- coding: utf-8 -*-
 
<%inherit file="base/base.html"/>
 
<%def name="title()">
 
    ${c.rhodecode_name}
 
</%def>
 
<%def name="breadcrumbs()">
 
	${c.rhodecode_name}
 
</%def>
 
<%def name="page_nav()">
 
	${self.menu('home')}
 
</%def>
 
<%def name="main()">
 
	<%def name="get_sort(name)">
 
		<%name_slug = name.lower().replace(' ','_') %>
 
		
 
		%if name_slug == c.sort_slug:
 
		  %if c.sort_by.startswith('-'):
 
		    <a href="?sort=${name_slug}">${name}&uarr;</a>
 
		  %else:
 
		    <a href="?sort=-${name_slug}">${name}&darr;</a>
 
		  %endif:
 
		%else:
 
		    <a href="?sort=${name_slug}">${name}</a>
 
		%endif
 
	</%def>
 
	
 
    <div class="box">
 
	    <!-- box / title -->
 
	    <div class="title">
 
	        <h5>${_('Dashboard')}</h5>
 
	        %if h.HasPermissionAny('hg.admin','hg.create.repository')():
 
	        <ul class="links">
 
	          <li>
 
	            <span>${h.link_to(_('ADD NEW REPOSITORY'),h.url('admin_settings_create_repository'),class_="add_icon")}</span>
 
	            <span>${h.link_to(_('ADD NEW REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
 
	          </li>          
 
	        </ul>  	        
 
	        %endif
 
	    </div>
 
	    <!-- end box / title -->
 
        <div class="table">
 
                    <table>
 
            <thead>
 
	            <tr>
 
			        <th class="left">${get_sort(_('Name'))}</th>
 
			        <th class="left">${get_sort(_('Description'))}</th>
 
			        <th class="left">${get_sort(_('Last change'))}</th>
 
			        <th class="left">${get_sort(_('Tip'))}</th>
 
			        <th class="left">${get_sort(_('Contact'))}</th>
 
			        <th class="left">${_('RSS')}</th>
 
			        <th class="left">${_('Atom')}</th>
 
	            </tr>
 
            </thead>
 
                        <tbody>
 
					    %for cnt,repo in enumerate(c.repos_list):
 
					        %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'):
 
					        <tr class="parity${cnt%2}">
 
					            <td>
 
					             %if repo['repo'].dbrepo.private:
 
					                <img class="icon" alt="${_('private')}" src="/images/icons/lock.png"/>
 
					             %else:
 
					                <img class="icon" alt="${_('public')}" src="/images/icons/lock_open.png"/>
 
					             %endif  
 
					            ${h.link_to(repo['name'],
 
					                h.url('summary_home',repo_name=repo['name']))}
 
					            %if repo['repo'].dbrepo.fork:
 
					            	<a href="${h.url('summary_home',repo_name=repo['repo'].dbrepo.fork.repo_name)}">
 
					            	<img class="icon" alt="${_('public')}"
 
					            	title="${_('Fork of')} ${repo['repo'].dbrepo.fork.repo_name}" 
 
					            	src="/images/icons/arrow_divide.png"/></a>
 
					            %endif
 
					            </td>
 
					            <td title="${repo['description']}">${h.truncate(repo['description'],60)}</td>
 
					            <td>${h.age(repo['last_change'])}</td>
 
					            <td>
 
					            	%if repo['rev']>=0:
 
					            	${h.link_to('r%s:%s' % (repo['rev'],repo['tip']),
 
					                h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
 
					                class_="tooltip",
 
					                tooltip_title=h.tooltip(repo['last_msg']))}
 
					            	%else:
 
					            		${_('No changesets yet')}
 
					            	%endif    
rhodecode/templates/settings/repo_settings.html
Show inline comments
 
## -*- coding: utf-8 -*-
 
<%inherit file="/base/base.html"/>
 

	
 
<%def name="title()">
 
    ${_('Repository settings')}
 
</%def>
 

	
 
<%def name="breadcrumbs_links()">
 
    ${h.link_to(c.repo_info.repo_name,h.url('summary_home',repo_name=c.repo_info.repo_name))} 
 
    &raquo; 
 
    ${_('Settings')} 
 
</%def>
 
    
 
</%def>
 
<%def name="page_nav()">
 
    ${self.menu('settings')}
 
</%def>
 
<%def name="main()">
 
<div class="box">
 
    <!-- box / title -->
 
    <div class="title">
 
        ${self.breadcrumbs()}      
 
    </div>
 
    ${h.form(url('repo_settings_update', repo_name=c.repo_info.repo_name),method='put')}
 
    <div class="form">
 
        <!-- fields -->
 
        <div class="fields">
 
            <div class="field">
 
                <div class="label">
 
                    <label for="repo_name">${_('Name')}:</label>
 
                </div>
 
                <div class="input input-medium">
 
                    ${h.text('repo_name',class_="small")}
 
                </div>
 
             </div>
 
             
 
            <div class="field">
 
                <div class="label label-textarea">
 
                    <label for="description">${_('Description')}:</label>
 
                </div>
 
                <div class="textarea text-area editor">
 
                    ${h.textarea('description',cols=23,rows=5)}
 
                </div>
 
            </div>
 
            
 
            <div class="field">
 
                <div class="label label-checkbox">
 
                    <label for="private">${_('Private')}:</label>
 
                </div>
 
                <div class="checkboxes">
 
                    ${h.checkbox('private',value="True")}
 
                </div>
 
            </div>
 
             
 
             <div class="field">
 
                <div class="label">
 
                    <label for="">${_('Permissions')}:</label>
 
                </div>
 
                <div class="input">
 
                    <table id="permissions_manage">
 
                        <tr>
 
                            <td>${_('none')}</td>
 
@@ -211,51 +211,52 @@
 
                if(lnameMatchIndex > -1) {
 
                    displaylname = highlightMatch(lname, query, lnameMatchIndex);
 
                }
 
                else {
 
                    displaylname = lname;
 
                }
 
        
 
                if(nnameMatchIndex > -1) {
 
                    displaynname = "(" + highlightMatch(nname, query, nnameMatchIndex) + ")";
 
                }
 
                else {
 
                    displaynname = nname ? "(" + nname + ")" : "";
 
                }
 
        
 
                return displayfname + " " + displaylname + " " + displaynname;
 
                
 
            };
 
            oAC_perms.formatResult = custom_formatter; 
 
            oAC_owner.formatResult = custom_formatter;
 
                            
 
            // Helper function for the formatter
 
            var highlightMatch = function(full, snippet, matchindex) {
 
                return full.substring(0, matchindex) + 
 
                        "<span class='match'>" + 
 
                        full.substr(matchindex, snippet.length) + 
 
                        "</span>" +
 
                        full.substring(matchindex + snippet.length);
 
            };
 
        
 
            var myHandler = function(sType, aArgs) {
 
                var myAC = aArgs[0]; // reference back to the AC instance
 
                var elLI = aArgs[1]; // reference to the selected LI element
 
                var oData = aArgs[2]; // object literal of selected item's result data
 
                myAC.getInputEl().value = oData.nname;
 
            };
 

	
 
            oAC_perms.itemSelectEvent.subscribe(myHandler);
 
            //oAC_owner.itemSelectEvent.subscribe(myHandler);
 
            
 
            return {
 
                oDS: oDS,
 
                oAC_perms: oAC_perms,
 
                oAC_owner: oAC_owner, 
 
            };
 
        }();
 
            
 
        </script>      
 
</div>
 
</div>
 
</%def> 
 
       
 
   
0 comments (0 inline, 0 general)