ui: make readme header nicer
marcink -
r4097:60c6e373 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -1,4 +1,13
1 /** README styling **/
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 div.readme_box {
11 div.readme_box {
3 clear: both;
12 clear: both;
4 overflow: hidden;
13 overflow: hidden;
@@ -64,12 +64,13
64 %if c.readme_data:
64 %if c.readme_data:
65 <div id="readme" class="anchor">
65 <div id="readme" class="anchor">
66 <div class="box">
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]))}">
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 <h3 class="breadcrumbs">
68 <div>
69 <i class="icon-file-text"></i>
69 <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 <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 ${c.readme_file}
71 ${c.readme_file}
71 </a>
72 </a>
72 </h3>
73 </div>
73 </div>
74 </div>
74 <div class="readme codeblock">
75 <div class="readme codeblock">
75 <div class="readme_box">
76 <div class="readme_box">
@@ -33,12 +33,14
33 %if c.readme_data:
33 %if c.readme_data:
34 <div id="readme" class="anchor">
34 <div id="readme" class="anchor">
35 <div class="box">
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]))}">
36
37 <h3 class="breadcrumbs">
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 <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)}">
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 ${c.readme_file}
41 ${c.readme_file}
40 </a>
42 </a>
41 </h3>
43 </div>
42 </div>
44 </div>
43 <div class="readme codeblock">
45 <div class="readme codeblock">
44 <div class="readme_box">
46 <div class="readme_box">
Comments 0
You need to be logged in to leave comments. Login now