... | ... |
@@ -2007,7 +2007,7 @@ button.close { |
2007 | 2007 |
background-color: #2f96b4; |
2008 | 2008 |
} |
2009 | 2009 |
|
2010 |
-.btn-success { |
|
2010 |
+.btn-green { |
|
2011 | 2011 |
color: #ffffff; |
2012 | 2012 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
2013 | 2013 |
background-color: #5bb75b; |
... | ... |
@@ -2019,18 +2019,18 @@ button.close { |
2019 | 2019 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); |
2020 | 2020 |
} |
2021 | 2021 |
|
2022 |
-.btn-success:hover, |
|
2023 |
-.btn-success:focus, |
|
2024 |
-.btn-success:active, |
|
2025 |
-.btn-success.active, |
|
2026 |
-.btn-success.disabled, |
|
2027 |
-.btn-success[disabled] { |
|
2022 |
+.btn-green:hover, |
|
2023 |
+.btn-green:focus, |
|
2024 |
+.btn-green:active, |
|
2025 |
+.btn-green.active, |
|
2026 |
+.btn-green.disabled, |
|
2027 |
+.btn-green[disabled] { |
|
2028 | 2028 |
color: #ffffff; |
2029 | 2029 |
background-color: #51a351; |
2030 | 2030 |
} |
2031 | 2031 |
|
2032 |
-.btn-success:active, |
|
2033 |
-.btn-success.active { |
|
2032 |
+.btn-green:active, |
|
2033 |
+.btn-green.active { |
|
2034 | 2034 |
background-color: #408140; |
2035 | 2035 |
} |
2036 | 2036 |
|
... | ... |
@@ -143,7 +143,7 @@ |
143 | 143 |
</div> |
144 | 144 |
<div> |
145 | 145 |
<div> |
146 |
- <button type="submit" class="btn btn-success" style="margin-top:20px">Create User</button> |
|
146 |
+ <button type="submit" class="btn btn-green" style="margin-top:20px">Create User</button> |
|
147 | 147 |
</div> |
148 | 148 |
</div> |
149 | 149 |
</div> |
... | ... |
@@ -134,7 +134,7 @@ |
134 | 134 |
</div> |
135 | 135 |
<div> |
136 | 136 |
<div> |
137 |
- <button type="submit" class="btn btn-success" style="margin-top:20px">Update User</button> |
|
137 |
+ <button type="submit" class="btn btn-green" style="margin-top:20px">Update User</button> |
|
138 | 138 |
</div> |
139 | 139 |
</div> |
140 | 140 |
</div> |
... | ... |
@@ -166,7 +166,7 @@ |
166 | 166 |
</div> |
167 | 167 |
</div> |
168 | 168 |
|
169 |
- <input type="submit" class="btn btn-success" value="Create repository"> |
|
169 |
+ <input type="submit" class="btn btn-green" value="Create repository"> |
|
170 | 170 |
</form> |
171 | 171 |
</div> |
172 | 172 |
%= include '/include/footer'; |
... | ... |
@@ -94,7 +94,7 @@ |
94 | 94 |
</div> |
95 | 95 |
</div> |
96 | 96 |
<div> |
97 |
- <button type="submit" class="btn btn-success" style="margin-top:20px">Create Admin User</button> |
|
97 |
+ <button type="submit" class="btn btn-green" style="margin-top:20px">Create Admin User</button> |
|
98 | 98 |
</div> |
99 | 99 |
</div> |
100 | 100 |
</form> |
... | ... |
@@ -129,7 +129,7 @@ |
129 | 129 |
</div> |
130 | 130 |
</div> |
131 | 131 |
<div style="margin-top:20px"> |
132 |
- <button type="submit" class="btn btn-success">Reset Password</button> |
|
132 |
+ <button type="submit" class="btn btn-green">Reset Password</button> |
|
133 | 133 |
</div> |
134 | 134 |
</div> |
135 | 135 |
</form> |
... | ... |
@@ -622,7 +622,7 @@ |
622 | 622 |
Styling with Markdown is supported |
623 | 623 |
</div> |
624 | 624 |
<div class="issue-add-comment-button"> |
625 |
- <input type="submit" value="Create pull request" class="btn btn-success"> |
|
625 |
+ <input type="submit" value="Create pull request" class="btn btn-green"> |
|
626 | 626 |
</div> |
627 | 627 |
</div> |
628 | 628 |
</div> |
... | ... |
@@ -61,7 +61,7 @@ |
61 | 61 |
</div> |
62 | 62 |
<div class="issue-add-comment-button"> |
63 | 63 |
<button class="issue-message-update-cancel btn" onclick="javascript:return false;" >Cancel</button> |
64 |
- <button class="issue-message-update-btn btn btn-success" onclick="javascript:return false">Update comment</button> |
|
64 |
+ <button class="issue-message-update-btn btn btn-green" onclick="javascript:return false">Update comment</button> |
|
65 | 65 |
</div> |
66 | 66 |
</div> |
67 | 67 |
</div> |
... | ... |
@@ -257,7 +257,7 @@ |
257 | 257 |
% } else { |
258 | 258 |
<input type="submit" value="Reopen issue" onclick="$(this).closest('form').find('[name=op]').val('reopen-issue'); $(this).closest('form').submit();" class="btn"> |
259 | 259 |
% } |
260 |
- <input type="submit" value="Comment" onclick="$(this).closest('form').find('[name=op]').val('add-comment'); $(this).closest('form').submit();" class="btn btn-success"> |
|
260 |
+ <input type="submit" value="Comment" onclick="$(this).closest('form').find('[name=op]').val('add-comment'); $(this).closest('form').submit();" class="btn btn-green"> |
|
261 | 261 |
</div> |
262 | 262 |
</div> |
263 | 263 |
</div> |
... | ... |
@@ -70,7 +70,7 @@ |
70 | 70 |
</div> |
71 | 71 |
<div class="issues-button-container-right"> |
72 | 72 |
% if ($api->logined) { |
73 |
- <a href="<%= url_for("/$user_id/$project_id/issues/new") %>" class="btn btn-success">New issue</a> |
|
73 |
+ <a href="<%= url_for("/$user_id/$project_id/issues/new") %>" class="btn btn-green">New issue</a> |
|
74 | 74 |
% } |
75 | 75 |
</div> |
76 | 76 |
</div> |
... | ... |
@@ -133,7 +133,7 @@ |
133 | 133 |
Styling with Markdown is supported |
134 | 134 |
</div> |
135 | 135 |
<div class="issue-add-comment-button"> |
136 |
- <input type="submit" value="Submit new issue" class="btn btn-success"> |
|
136 |
+ <input type="submit" value="Submit new issue" class="btn btn-green"> |
|
137 | 137 |
</div> |
138 | 138 |
</div> |
139 | 139 |
</div> |
... | ... |
@@ -193,7 +193,7 @@ |
193 | 193 |
%= include '/include/errors', errors => $errors; |
194 | 194 |
% if ($can_write_access) { |
195 | 195 |
<div class="labels-new-panel"> |
196 |
- <div class="labels-new-btn btn btn-success"> |
|
196 |
+ <div class="labels-new-btn btn btn-green"> |
|
197 | 197 |
New label |
198 | 198 |
</div> |
199 | 199 |
</div> |
... | ... |
@@ -213,7 +213,7 @@ |
213 | 213 |
<div class="labels-create-cancel-btn btn"> |
214 | 214 |
Cancel |
215 | 215 |
</div> |
216 |
- <input type="submit" value="Create label" class="labels-create-create-btn btn btn-success"> |
|
216 |
+ <input type="submit" value="Create label" class="labels-create-create-btn btn btn-green"> |
|
217 | 217 |
</div> |
218 | 218 |
</form> |
219 | 219 |
<ul class="labels"> |
... | ... |
@@ -251,7 +251,7 @@ |
251 | 251 |
<div class="labels-edit-cancel-btn btn"> |
252 | 252 |
Cancel |
253 | 253 |
</div> |
254 |
- <div class="labels-edit-save-btn btn btn-success"> |
|
254 |
+ <div class="labels-edit-save-btn btn btn-green"> |
|
255 | 255 |
Save changes |
256 | 256 |
</div> |
257 | 257 |
</div> |
... | ... |
@@ -469,7 +469,7 @@ |
469 | 469 |
<div class="pull-request-form-button"> |
470 | 470 |
<form action="<%= url_for %>" method="post"> |
471 | 471 |
<%= hidden_field op => 'merge' %> |
472 |
- <%= submit_button 'Merge pull request', class => "btn btn-success" %> |
|
472 |
+ <%= submit_button 'Merge pull request', class => "btn btn-green" %> |
|
473 | 473 |
<span style="margin-left:5px"> |
474 | 474 |
You can also view <a href="javascript:void(0)" onclick="$('#command-line-instructions').toggle()" >command line instructions</a>. |
475 | 475 |
</span> |
... | ... |
@@ -564,7 +564,7 @@ git push origin <%= $base_branch %> |
564 | 564 |
% } else { |
565 | 565 |
<input type="submit" value="Reopen pull request" onclick="$(this).closest('form').find('[name=op]').val('reopen-issue'); $(this).closest('form').submit();" class="btn"> |
566 | 566 |
% } |
567 |
- <input type="submit" value="Comment" onclick="$(this).closest('form').find('[name=op]').val('add-comment'); $(this).closest('form').submit();" class="btn btn-success"> |
|
567 |
+ <input type="submit" value="Comment" onclick="$(this).closest('form').find('[name=op]').val('add-comment'); $(this).closest('form').submit();" class="btn btn-green"> |
|
568 | 568 |
</div> |
569 | 569 |
</div> |
570 | 570 |
</div> |
... | ... |
@@ -50,9 +50,9 @@ |
50 | 50 |
% if ($api->logined) { |
51 | 51 |
<div class="pulls-button-container"> |
52 | 52 |
% if ($original_project) { |
53 |
- <a href="<%= url_for("/$original_project->{'user.id'}/$original_project->{id}/compare/$original_project->{default_branch}...$user_id:$default_branch") %>" class="btn btn-success">New pull request</a> |
|
53 |
+ <a href="<%= url_for("/$original_project->{'user.id'}/$original_project->{id}/compare/$original_project->{default_branch}...$user_id:$default_branch") %>" class="btn btn-green">New pull request</a> |
|
54 | 54 |
% } else { |
55 |
- <a href="<%= url_for("/$user_id/$project_id/compare") %>" class="btn btn-success">New pull request</a> |
|
55 |
+ <a href="<%= url_for("/$user_id/$project_id/compare") %>" class="btn btn-green">New pull request</a> |
|
56 | 56 |
% } |
57 | 57 |
</div> |
58 | 58 |
% } |
... | ... |
@@ -228,7 +228,7 @@ |
228 | 228 |
<div> |
229 | 229 |
<%= text_area 'key' %> |
230 | 230 |
</div> |
231 |
- <input type="submit" class="btn btn-success" value="Add key"> |
|
231 |
+ <input type="submit" class="btn btn-green" value="Add key"> |
|
232 | 232 |
</form> |
233 | 233 |
</div> |
234 | 234 |
</div> |