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

View file

@ -77,12 +77,26 @@ footer {
float: left;
}
.keepright {
float: right;
}
.update-box {
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-bottom: 4px;
margin-top: 5px;