##// END OF EJS Templates
ui: make readme header nicer
marcink -
r4097:60c6e373 default
parent child Browse files
Show More
@@ -1,4 +1,13 b''
1 1 /** README styling **/
2
3 .readme-title {
4 border: 1px solid @grey6;
5 padding: 10px 5px;
6 font-weight: 600;
7 margin-top: 30px;
8 margin-bottom: -1px;
9 }
10
2 11 div.readme_box {
3 12 clear: both;
4 13 overflow: hidden;
@@ -64,12 +64,13 b''
64 64 %if c.readme_data:
65 65 <div id="readme" class="anchor">
66 66 <div class="box">
67 <div class="title" title="${h.tooltip(_('Readme file from commit %s:%s') % (c.rhodecode_db_repo.landing_rev[0], c.rhodecode_db_repo.landing_rev[1]))}">
68 <h3 class="breadcrumbs">
67 <div class="readme-title" title="${h.tooltip(_('Readme file from commit %s:%s') % (c.rhodecode_db_repo.landing_rev[0], c.rhodecode_db_repo.landing_rev[1]))}">
68 <div>
69 <i class="icon-file-text"></i>
69 70 <a href="${h.route_path('repo_files',repo_name=c.repo_name,commit_id=c.rhodecode_db_repo.landing_rev[1],f_path=c.readme_file)}">
70 71 ${c.readme_file}
71 72 </a>
72 </h3>
73 </div>
73 74 </div>
74 75 <div class="readme codeblock">
75 76 <div class="readme_box">
@@ -33,12 +33,14 b''
33 33 %if c.readme_data:
34 34 <div id="readme" class="anchor">
35 35 <div class="box">
36 <div class="title" title="${h.tooltip(_('Readme file from commit %s:%s') % (c.rhodecode_db_repo.landing_rev[0], c.rhodecode_db_repo.landing_rev[1]))}">
37 <h3 class="breadcrumbs">
36
37 <div class="readme-title" title="${h.tooltip(_('Readme file from commit %s:%s') % (c.rhodecode_db_repo.landing_rev[0], c.rhodecode_db_repo.landing_rev[1]))}">
38 <div>
39 <i class="icon-file-text"></i>
38 40 <a href="${h.route_path('repo_files',repo_name=c.repo_name,commit_id=c.rhodecode_db_repo.landing_rev[1],f_path=c.readme_file)}">
39 41 ${c.readme_file}
40 42 </a>
41 </h3>
43 </div>
42 44 </div>
43 45 <div class="readme codeblock">
44 46 <div class="readme_box">
General Comments 0
You need to be logged in to leave comments. Login now