Merge pull request #154 from grogy/visual-style

fixed visual style (spaces, aligment, etc.)
This commit is contained in:
Dan Cryer 2013-09-27 07:19:04 -07:00
commit a39944a97c
5 changed files with 17 additions and 9 deletions

View file

@ -53,7 +53,7 @@
<th style="width: 100px"></th>
</tr>
</thead>
<tbody>
<tbody id="project-overview">
<?php print $summary; ?>
</tbody>
</table>
@ -67,7 +67,7 @@
<th>Commit</th>
<th>Branch</th>
<th>Status</th>
<th style="width: 100px"></th>
<th style="width: 90px"></th>
</tr>
</thead>
<tbody id="latest-builds">

View file

@ -10,9 +10,9 @@
<textarea style="width: 90%; height: 150px;"><?php print $key ?></textarea>
<?php elseif($type == 'add'): ?>
<p>Fill in the form to the right to add your new project.</p>
<p style="margin-bottom:0;">Fill in the form to the right to add your new project.</p>
<?php else: ?>
<p>Edit your project details using the form to the right.</p>
<p style="margin-bottom:0;">Edit your project details using the form to the right.</p>
<?php endif; ?>
</div>
</div>

View file

@ -22,7 +22,7 @@
<th style="width: 100px"></th>
</tr>
</thead>
<tbody>
<tbody id="users">
<?php foreach($users['items'] as $user): ?>
<?php
switch($user->getIsAdmin())

View file

@ -6,9 +6,9 @@
<div class="col-lg-4">
<div class="well" style="">
<?php if($type == 'add'): ?>
<p>Fill in the form to the right to add a new user.</p>
<p style="margin-bottom:0;">Fill in the form to the right to add a new user.</p>
<?php else: ?>
<p>Edit user details using the form to the right.</p>
<p style="margin-bottom:0;">Edit user details using the form to the right.</p>
<?php endif; ?>
</div>
</div>

View file

@ -14,7 +14,13 @@ body
padding: 10px;
}
td .label { margin-right: 5px; }
td .label {
margin-right: 5px;
line-height: 2;
}
#project-overview td .label {
margin-right: 0;
}
.success-message {
background-color: #4F8A10;
@ -24,7 +30,9 @@ td .label { margin-right: 5px; }
background-color: #FF4747;
}
#latest-builds td {
#latest-builds td,
#project-overview td,
#users td {
vertical-align: middle;
}