##// END OF EJS Templates
css fixes for new summary page
marcink -
r1721:05dbebed beta
parent child Browse files
Show More
@@ -993,6 +993,14 b' div.options a {'
993 width: 155px;
993 width: 155px;
994 position: absolute;
994 position: absolute;
995 margin: 0;
995 margin: 0;
996 padding: 5px 0 0 0px;
997 }
998
999 #content div.box div.form div.fields div.field div.label-summary {
1000 left: 30px;
1001 width: 155px;
1002 position: absolute;
1003 margin: 0;
996 padding: 0px 0 0 0px;
1004 padding: 0px 0 0 0px;
997 }
1005 }
998
1006
@@ -1026,11 +1034,19 b' div.options a {'
1026 color: #393939;
1034 color: #393939;
1027 font-weight: 700;
1035 font-weight: 700;
1028 }
1036 }
1029
1037 #content div.box div.form div.fields div.field div.label label,div.label-summary label
1038 {
1039 color: #393939;
1040 font-weight: 700;
1041 }
1030 #content div.box div.form div.fields div.field div.input {
1042 #content div.box div.form div.fields div.field div.input {
1031 margin: 0 0 0 200px;
1043 margin: 0 0 0 200px;
1032 }
1044 }
1033
1045
1046 #content div.box div.form div.fields div.field div.input.summary {
1047 margin: 0 0 0 150px;
1048 }
1049
1034 #content div.box div.form div.fields div.field div.file {
1050 #content div.box div.form div.fields div.field div.file {
1035 margin: 0 0 0 200px;
1051 margin: 0 0 0 200px;
1036 }
1052 }
@@ -31,10 +31,10 b''
31 <div id="summary" class="fields">
31 <div id="summary" class="fields">
32
32
33 <div class="field">
33 <div class="field">
34 <div class="label">
34 <div class="label-summary">
35 <label>${_('Name')}:</label>
35 <label>${_('Name')}:</label>
36 </div>
36 </div>
37 <div class="input">
37 <div class="input summary">
38 <div style="float:right;padding-top:5px">
38 <div style="float:right;padding-top:5px">
39 %if c.rhodecode_user.username != 'default':
39 %if c.rhodecode_user.username != 'default':
40 ${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='rss_icon')}
40 ${h.link_to(_('RSS'),h.url('rss_feed_home',repo_name=c.dbrepo.repo_name,api_key=c.rhodecode_user.api_key),class_='rss_icon')}
@@ -93,17 +93,17 b''
93 </div>
93 </div>
94
94
95 <div class="field">
95 <div class="field">
96 <div class="label">
96 <div class="label-summary">
97 <label>${_('Description')}:</label>
97 <label>${_('Description')}:</label>
98 </div>
98 </div>
99 <div class="input desc">${h.urlify_text(c.dbrepo.description)}</div>
99 <div class="input summary desc">${h.urlify_text(c.dbrepo.description)}</div>
100 </div>
100 </div>
101
101
102 <div class="field">
102 <div class="field">
103 <div class="label">
103 <div class="label-summary">
104 <label>${_('Contact')}:</label>
104 <label>${_('Contact')}:</label>
105 </div>
105 </div>
106 <div class="input">
106 <div class="input summary">
107 <div class="gravatar">
107 <div class="gravatar">
108 <img alt="gravatar" src="${h.gravatar_url(c.dbrepo.user.email)}"/>
108 <img alt="gravatar" src="${h.gravatar_url(c.dbrepo.user.email)}"/>
109 </div>
109 </div>
@@ -114,10 +114,10 b''
114 </div>
114 </div>
115
115
116 <div class="field">
116 <div class="field">
117 <div class="label">
117 <div class="label-summary">
118 <label>${_('Last change')}:</label>
118 <label>${_('Last change')}:</label>
119 </div>
119 </div>
120 <div class="input">
120 <div class="input summary">
121 <b>${'r%s:%s' % (h.get_changeset_safe(c.rhodecode_repo,'tip').revision,
121 <b>${'r%s:%s' % (h.get_changeset_safe(c.rhodecode_repo,'tip').revision,
122 h.get_changeset_safe(c.rhodecode_repo,'tip').short_id)}</b> -
122 h.get_changeset_safe(c.rhodecode_repo,'tip').short_id)}</b> -
123 <span class="tooltip" title="${c.rhodecode_repo.last_change}">
123 <span class="tooltip" title="${c.rhodecode_repo.last_change}">
@@ -127,19 +127,19 b''
127 </div>
127 </div>
128
128
129 <div class="field">
129 <div class="field">
130 <div class="label">
130 <div class="label-summary">
131 <label>${_('Clone url')}:</label>
131 <label>${_('Clone url')}:</label>
132 </div>
132 </div>
133 <div class="input">
133 <div class="input summary">
134 <input type="text" id="clone_url" readonly="readonly" value="${c.rhodecode_repo.alias} clone ${c.clone_repo_url}" size="65"/>
134 <input type="text" id="clone_url" readonly="readonly" value="${c.rhodecode_repo.alias} clone ${c.clone_repo_url}" size="65"/>
135 </div>
135 </div>
136 </div>
136 </div>
137
137
138 <div class="field">
138 <div class="field">
139 <div class="label">
139 <div class="label-summary">
140 <label>${_('Trending source files')}:</label>
140 <label>${_('Trending source files')}:</label>
141 </div>
141 </div>
142 <div class="input">
142 <div class="input summary">
143 %if c.show_stats:
143 %if c.show_stats:
144 <div id="lang_stats"></div>
144 <div id="lang_stats"></div>
145 %else:
145 %else:
@@ -151,10 +151,10 b''
151 </div>
151 </div>
152
152
153 <div class="field">
153 <div class="field">
154 <div class="label">
154 <div class="label-summary">
155 <label>${_('Download')}:</label>
155 <label>${_('Download')}:</label>
156 </div>
156 </div>
157 <div class="input">
157 <div class="input summary">
158 %if len(c.rhodecode_repo.revisions) == 0:
158 %if len(c.rhodecode_repo.revisions) == 0:
159 ${_('There are no downloads yet')}
159 ${_('There are no downloads yet')}
160 %elif c.enable_downloads is False:
160 %elif c.enable_downloads is False:
General Comments 0
You need to be logged in to leave comments. Login now