add .well style to ticket zoom answer

to set it off visually from the article-list
This commit is contained in:
Felix Niklas 2012-04-22 17:33:02 +02:00
parent a721ff9976
commit 135843ed85
3 changed files with 22 additions and 8 deletions

View file

@ -110,7 +110,7 @@ class Index extends App.Controller
@configure_attributes_ticket = [ @configure_attributes_ticket = [
{ name: 'ticket_state_id', display: 'State', tag: 'select', multiple: false, null: true, relation: 'TicketState', default: 'new', class: 'span2', item_class: 'keepleft' }, { name: 'ticket_state_id', display: 'State', tag: 'select', multiple: false, null: true, relation: 'TicketState', default: 'new', class: 'span2', item_class: 'keepleft' },
{ name: 'ticket_priority_id', display: 'Priority', tag: 'select', multiple: false, null: true, relation: 'TicketPriority', default: '2 normal', class: 'span2', item_class: 'keepleft' }, { name: 'ticket_priority_id', display: 'Priority', tag: 'select', multiple: false, null: true, relation: 'TicketPriority', default: '2 normal', class: 'span1', item_class: 'keepleft' },
{ name: 'group_id', display: 'Group', tag: 'select', multiple: false, null: true, relation: 'Group', class: 'span2', item_class: 'keepleft' }, { name: 'group_id', display: 'Group', tag: 'select', multiple: false, null: true, relation: 'Group', class: 'span2', item_class: 'keepleft' },
{ name: 'owner_id', display: 'Owner', tag: 'select', multiple: false, null: true, relation: 'User', filter: @edit_form, nulloption: true, class: 'span2', item_class: 'keepleft' }, { name: 'owner_id', display: 'Owner', tag: 'select', multiple: false, null: true, relation: 'User', filter: @edit_form, nulloption: true, class: 'span2', item_class: 'keepleft' },
] ]

View file

@ -2,16 +2,16 @@
<h1><%= @ticket.title %> <small><%= @ticket.number %></small></h1> <h1><%= @ticket.title %> <small><%= @ticket.number %></small></h1>
</div> </div>
<div class="row"> <div class="row ticket-answer">
<div class="span9"> <div class="span9">
<div class="row"> <div class="row well">
<div class="span1 media-grid"> <div class="avatar span1 media-grid">
<img class="thumbnail user-data" data-id="<%= window.Session['id'] %>"" src="<%- window.Session['image'] %>" alt=""> <img class="thumbnail user-data" data-id="<%= window.Session['id'] %>"" src="<%- window.Session['image'] %>" alt="">
</div> </div>
<div class="span8"> <div class="span8">
<div class="row "> <div class="row">
<form class="form-stacked keepleft update-box"> <form class="form-stacked keepleft update-box">
@ -21,7 +21,7 @@
<div class="keepleft" id="file-uploader"></div> <div class="keepleft" id="file-uploader"></div>
&nbsp; &nbsp;
<input type="submit" class="btn primary submit" value="submit"> <input type="submit" class="btn btn-primary submit" value="submit">
</form> </form>
</div> </div>

View file

@ -74,15 +74,29 @@ footer {
} }
.keepleft { .keepleft {
float:left; float: left;
}
.keepright {
float: right;
} }
.update-box { .update-box {
margin-left: 10px; margin-left: 10px;
} }
.article { .ticket-answer .well {
margin-left: 0;
margin-right: 20px;
}
.ticket-answer .avatar {
margin-left: 0;
}
.ticket-answer .span8 { width: 560px; }
.article {
margin-left: 0;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
margin-top: 5px; margin-top: 5px;