Merge branch 'interface' of github.com:martini/zammad into interface

Conflicts:
	app/assets/javascripts/app/views/layout_ref/content.jst.eco
This commit is contained in:
Martin Edenhofer 2014-09-30 13:49:20 +02:00
commit f76fd3a953
14 changed files with 364 additions and 222 deletions

View file

@ -157,5 +157,6 @@
<path d="M71.5,81 C102.70409,81 128,55.7040899 128,24.5 C128,-6.70408991 102.70409,-32 71.5,-32 C40.2959101,-32 15,-6.70408991 15,24.5 C15,55.7040899 40.2959101,81 71.5,81 Z" id="Oval-1-copy" stroke="#EEEEEE" opacity="0.33" sketch:type="MSShapeGroup" mask="url(#mask-2)"></path> <path d="M71.5,81 C102.70409,81 128,55.7040899 128,24.5 C128,-6.70408991 102.70409,-32 71.5,-32 C40.2959101,-32 15,-6.70408991 15,24.5 C15,55.7040899 40.2959101,81 71.5,81 Z" id="Oval-1-copy" stroke="#EEEEEE" opacity="0.33" sketch:type="MSShapeGroup" mask="url(#mask-2)"></path>
<path d="M73,96 C113.316789,96 146,63.3167887 146,23 C146,-17.3167887 113.316789,-50 73,-50 C32.6832113,-50 0,-17.3167887 0,23 C0,63.3167887 32.6832113,96 73,96 Z" id="Oval-1-copy-2" stroke="#EEEEEE" opacity="0.21" sketch:type="MSShapeGroup" mask="url(#mask-2)"></path> <path d="M73,96 C113.316789,96 146,63.3167887 146,23 C146,-17.3167887 113.316789,-50 73,-50 C32.6832113,-50 0,-17.3167887 0,23 C0,63.3167887 32.6832113,96 73,96 Z" id="Oval-1-copy-2" stroke="#EEEEEE" opacity="0.21" sketch:type="MSShapeGroup" mask="url(#mask-2)"></path>
</g> </g>
<path d="M171.06066,275.954195 L171.202702,275.812154 L171.302365,275.637743 C171.414487,275.441529 171.551135,275.139765 171.678636,274.741324 C172.498746,272.17848 171.915105,269.18732 169.06066,266.332875 C166.243699,263.515914 163.118112,263.085348 160.328491,264.097711 C159.823841,264.280849 159.443803,264.472287 159.205002,264.621537 L159.050513,264.718093 L158.923629,264.848822 L142.423629,281.848822 L142.347668,281.933258 C142.158935,282.159738 141.914201,282.515622 141.675224,282.984613 C140.849092,284.605898 140.703461,286.396954 141.752299,288.09123 C142.076339,288.614679 142.505633,289.100791 143.039723,289.545867 C145.292783,291.423417 147.404521,291.890769 149.098516,291.442358 C149.341124,291.378139 149.532621,291.304275 149.67082,291.235176 L149.888539,291.126317 L150.06066,290.954195 L164.06066,276.954195 L164.5,276.514855 L164.5,275.893535 C164.5,275.259579 164.359026,274.413735 163.919766,273.535214 C163.698156,273.091994 163.414366,272.686581 163.06066,272.332875 C162.478935,271.75115 161.737193,271.469799 160.928583,271.427241 C160.327068,271.395582 159.731987,271.494762 159.15132,271.674969 C158.852797,271.767614 158.615784,271.863127 158.45787,271.937928 L158.229833,272.045946 L158.049687,272.222628 L147.649687,282.422628 L149.750313,284.564442 L160.150313,274.364442 L159.74213,274.649142 C159.780517,274.630958 159.889613,274.586994 160.040517,274.540162 C160.310615,274.456338 160.572677,274.412661 160.770907,274.423094 C160.889274,274.429324 160.929866,274.444721 160.93934,274.454195 C161.054384,274.569239 161.256262,274.58804 161.33934,274.754195 C161.532892,275.141299 161.499999,274.983741 161.499999,275.193535 L161.499999,275.393535 L147.93934,288.832875 L148.32918,288.551894 C148.086278,288.606979 147.74747,288.618798 147.311607,288.522337 C146.619626,288.369193 145.834748,287.96993 144.960277,287.241203 C144.667836,286.997503 144.452815,286.754023 144.303094,286.512166 C143.893415,285.850376 143.952546,285.123142 144.348213,284.346646 C144.475447,284.096949 144.596925,283.9203 144.652332,283.853812 L144.576371,283.938248 L161.076371,266.938248 L160.794998,267.165532 C160.864839,267.121882 161.059218,267.023967 161.351894,266.917754 C163.122972,266.275024 165.021733,266.536588 166.93934,268.454195 C168.959895,270.47475 169.313754,272.288278 168.821364,273.826996 C168.761365,274.014492 168.710513,274.12679 168.697635,274.149327 L168.93934,273.832875 L153.93934,288.832875 L156.06066,290.954195 L171.06066,275.954195 Z" id="paper-clip" fill="#D9D9D9" sketch:type="MSShapeGroup"></path>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 106 KiB

View file

@ -19,7 +19,7 @@ class Index extends App.ControllerContent
'Groups are ...' 'Groups are ...'
], ],
buttons: [ buttons: [
{ name: 'New Group', 'data-type': 'new', class: 'primary' }, { name: 'New Group', 'data-type': 'new', class: 'btn--success' },
], ],
}, },
) )

View file

@ -19,7 +19,7 @@ class Index extends App.ControllerContent
'Organizations are for any person in the system. Agents (Owners, Resposbiles, ...) and Customers.' 'Organizations are for any person in the system. Agents (Owners, Resposbiles, ...) and Customers.'
], ],
buttons: [ buttons: [
{ name: 'New Organization', 'data-type': 'new', class: 'primary' }, { name: 'New Organization', 'data-type': 'new', class: 'btn--success' },
], ],
}, },
) )

View file

@ -19,7 +19,7 @@ class Index extends App.ControllerContent
'Overview are ...' 'Overview are ...'
], ],
buttons: [ buttons: [
{ name: 'New Overview', 'data-type': 'new', class: 'primary' }, { name: 'New Overview', 'data-type': 'new', class: 'btn--success' },
], ],
}, },
) )

View file

@ -19,7 +19,7 @@ class Index extends App.ControllerContent
# 'SLA are ...' # 'SLA are ...'
], ],
buttons: [ buttons: [
{ name: 'New SLA', 'data-type': 'new', class: 'primary' }, { name: 'New SLA', 'data-type': 'new', class: 'btn--success' },
], ],
}, },
) )

View file

@ -19,7 +19,7 @@ class Index extends App.ControllerContent
'TextModules are ...' 'TextModules are ...'
], ],
buttons: [ buttons: [
{ name: 'New TextModule', 'data-type': 'new', class: 'primary' }, { name: 'New TextModule', 'data-type': 'new', class: 'btn--success' },
], ],
}, },
) )

View file

@ -1,17 +1,14 @@
<div class="flex scrollable"> <div class="page-header-title">
<div class="horizontal"> <div class="horizontal">
<div class="page-header-title"> <h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
<h1><%- @T( @head ) %> <small><%- @T( 'Management' ) %></small></h1>
</div>
<div class="page-header-meta"> <div class="page-header-meta">
<% if @buttons: %> <% if @buttons: %>
<% for button in @buttons: %> <% for button in @buttons: %>
<a data-type="<%= button['data-type'] %>" class="btn btn-default <%= button['class'] %>"><%- @T( button.name ) %></a> <a data-type="<%= button['data-type'] %>" class="btn <%= button['class'] %>"><%- @T( button.name ) %></a>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
</div> </div>
<div class="table-overview"></div>
</div> </div>
<div class="table-overview"></div>

View file

@ -42,6 +42,121 @@
<hr> <hr>
<h2>Ticket Article</h2>
<div class="ticket-article">
<div class="ticket-article-item bubble-grid customer phone" data-id="1" id="article-1">
<div class="article-meta-clip top">
<div class="article-content-meta top hide">
<div class="article-meta top">
<div class="horizontal article-meta-row" title="From: Zammad Feedback <feedback@zammad.org>">
<div class="article-meta-key u-textTruncate">From</div>
<div class="article-meta-value flex u-textTruncate">Zammad Feedback &lt;feedback@zammad.org&gt;</div>
</div>
</div>
</div>
</div>
<div class="article-content zIndex-1 horizontal reverse">
<span class="avatar unique user-popover " data-id="2" style="background-position: -96.5079185759074px -112.28590086669901px;" data-placement="left" data-original-title="" title="">NB</span>
<div class="flex bubble-gap internal-border">
<div class="text-bubble"><div class="bubble-arrow"></div>Welcome!
Thank you for installing Zammad.
You will find updates and patches at <a href="http://zammad.org/" title="http://zammad.org/" target="_blank">http://zammad.org/</a>. Online
documentation is available at <a href="http://guides.zammad.org/" title="http://guides.zammad.org/" target="_blank">http://guides.zammad.org/</a>. You can also
use our forums at <a href="http://forums.zammad.org/" title="http://forums.zammad.org/" target="_blank">http://forums.zammad.org/</a>
Regards,
<a href="#" class="show_toogle">See more</a><div class="hide preview">
The <a href="http://Zammad.org" title="http://Zammad.org" target="_blank">Zammad.org</a> Project</div></div>
</div>
</div>
<div class="article-meta-clip bottom">
<div class="article-content-meta bottom hide">
<div class="article-meta bottom">
<div class="horizontal article-meta-row">
<div class="article-meta-key">Kanal</div>
<div class="article-meta-value">
<span class="white phone channel icon"></span>
phone
</div>
</div>
</div>
<div class="article-actions horizontal stretch">
<a href="" data-type="internal" class="article-action u-clickable">
<span class="internal action icon"></span>set to internal
</a>
<a href="#" data-type="reply" class="article-action u-clickable">
<span class="reply action icon"></span>reply
</a>
<a href="#ticket/create/1/1" data-type="split" class="article-action u-clickable">
<span class="split action icon"></span>split
</a>
</div>
</div>
</div>
<small class="task-subline zIndex-1"><time class="humanTimeFromNow" data-time="2014-07-11T10:10:32.000Z" data-tooltip="2014-07-11 12:10">2014-07-11</time></small>
</div>
<div class="ticket-article-item bubble-grid agent note" data-id="23" id="article-23">
<div class="article-meta-clip top">
<div class="article-content-meta top hide">
<div class="article-meta top">
<div class="horizontal article-meta-row" title="From: Felix Niklas">
<div class="article-meta-key u-textTruncate">From</div>
<div class="article-meta-value flex u-textTruncate">Felix Niklas</div>
</div>
</div>
</div>
</div>
<div class="article-content zIndex-1 horizontal">
<span class="avatar user-popover " data-id="3" style="background-image: url(api/v1/users/image/bb100af55234cf61fb6f207636f095f8)" data-placement="right" data-original-title="" title=""></span>
<div class="flex bubble-gap internal-border">
<div class="text-bubble"><div class="bubble-arrow"></div>Lieber HP,
anbei findest du die Midi Noten für Maria Maria "I Like it Loud".
Wünsche dir einen guten Auftritt in Hamburg.
Alles gute,
Oliver
<div class="attachments">
<div class="paperclip icon"></div>
<h3>2 <%- @T('Attached Files') %></h3>
<div class="attachment horizontal">
<div class="attachment-name u-highlight">midinotes_view.jpg</div>
<div class="attachment-size">35.5kb</div>
</div>
<div class="attachment horizontal">
<div class="attachment-name u-highlight">lyrics_I_Like_it_Loud.txt</div>
<div class="attachment-size">17.1kb</div>
</div>
</div></div>
</div>
</div>
<div class="article-meta-clip bottom">
<div class="article-content-meta bottom hide">
<div class="article-meta bottom">
<div class="horizontal article-meta-row">
<div class="article-meta-key">Kanal</div>
<div class="article-meta-value">
<span class="white note channel icon"></span>
note
</div>
</div>
</div>
<div class="article-actions horizontal stretch">
<a href="" data-type="internal" class="article-action u-clickable">
<span class="internal action icon"></span>set to internal
</a>
</div>
</div>
</div>
<small class="task-subline zIndex-1"><time class="humanTimeFromNow" data-time="2014-08-05T13:34:01.000Z" data-tooltip="2014-08-05 15:34">2014-08-05</time></small>
</div>
</div>
<hr>
<h2>Article Reply #1</h2> <h2>Article Reply #1</h2>
<div class="ticket-edit"> <div class="ticket-edit">
@ -185,10 +300,7 @@
Albrecht &amp; Bertschler GmbH Albrecht &amp; Bertschler GmbH
<span class="recipientList-detail">- 4 Personen</span> <span class="recipientList-detail">- 4 Personen</span>
</div> </div>
<div class="white right arrow icon"></div> <div class="white right arrow icon"></div> <li class="recipientList-entry u-clickable horizontal center js-organisation" data-organisation-id="BENCHMARKhumanresources">
<li class="recipientList-entry u-clickable horizontal center js-organisation" data-organisation-id="BENCHMARKhumanresources">
<div class="recipientList-iconSpacer centered"> <div class="recipientList-iconSpacer centered">
<div class="white organisation icon"></div> <div class="white organisation icon"></div>
</div> </div>
@ -271,10 +383,7 @@
<div class="recipientList-name flex u-textTruncat"> <div class="recipientList-name flex u-textTruncat">
<%- @T('Create new Customer') %> <%- @T('Create new Customer') %>
</div> </div>
</ul> </ul> <ul class="recipientList-organisationMembers hide" id="AlbrechtBertschlerGmbG">
<ul class="recipientList-organisationMembers hide" id="AlbrechtBertschlerGmbG">
<li class="recipientList-controls u-clickable js-back"> <li class="recipientList-controls u-clickable js-back">
<div class="recipientList-backClickArea centered"> <div class="recipientList-backClickArea centered">
<div class="recipientList-backButton"> <div class="recipientList-backButton">
@ -318,11 +427,7 @@
Katharina Nussman Katharina Nussman
<span class="recipientList-detail">- Albrecht &amp; Bertschler GmbG</span> <span class="recipientList-detail">- Albrecht &amp; Bertschler GmbG</span>
</div> </div>
</ul> </ul> <ul class="recipientList-organisationMembers hide" id="BENCHMARKhumanresources">
<ul class="recipientList-organisationMembers hide" id="BENCHMARKhumanresources">
<li class="recipientList-controls u-clickable js-back"> <li class="recipientList-controls u-clickable js-back">
<div class="recipientList-backClickArea centered"> <div class="recipientList-backClickArea centered">
<div class="recipientList-backButton"> <div class="recipientList-backButton">
@ -389,9 +494,8 @@ Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit no
<li>item 4</li> <li>item 4</li>
</ul> </ul>
<hr> <hr>
<h2>Ordered list</h2> <h2>Ordered list</h2>
<ol> <ol>

View file

@ -1,29 +1,21 @@
<div class="flex scrollable"> <div class="page-header-title">
<div> <h1><%- @T('Maintenance Message') %><small></small></h1>
<div class="page-header-title">
<h1><%- @T('Maintenance Message') %><small></small></h1>
</div>
<form id="maintenanceForm">
<fieldset>
<div class="form-group">
<label for="title"><%- @T('Title') %></label>
<div class="controls">
<input type="text" name="head" class="form-control" placeholder="<%- @Ti('some title') %>" required>
</div>
</div>
<div class="form-group">
<label for="message"><%- @T('Message') %></label>
<div class="controls">
<textarea name="message" class="form-control" rows="8" placeholder="<%- @Ti('what details') %>" required></textarea>
</div>
</div>
<div class="form-group">
<label for="message"><%- @T('Reload application') %></label>
<div class="controls">
<input name="reload" type="checkbox" value="1">
</div>
</div>
</fieldset>
<button type="submit" class="btn btn--primary submit"><%- @T('Send to clients') %></button>
</form>
</div> </div>
<form id="maintenanceForm">
<div class="form-group">
<label for="maintenance-title"><%- @T('Title') %></label>
<div class="controls">
<input type="text" id="maintenance-title" name="head" class="form-control" required>
</div>
</div>
<div class="form-group">
<label for="maintenance-message"><%- @T('Message') %></label>
<div class="controls">
<textarea id="maintenance-message" name="message" class="form-control" rows="8"required></textarea>
</div>
</div>
<div class="form-group">
<label><input name="reload" type="checkbox" value="1"> <%- @T('Reload application') %></label>
</div>
<button type="submit" class="btn btn--primary submit"><%- @T('Send to clients') %></button>
</form>

View file

@ -1,43 +1,39 @@
<div class="flex scrollable"> <div class="page-header-title">
<div> <h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
<div class="page-header-title"> </div>
<h1><%- @T( 'Package' ) %> <small><%- @T( 'Management' ) %></small></h1>
</div>
<!-- <!--
<ul class="nav nav-tabs nav-stacked"> <ul class="nav nav-tabs nav-stacked">
<li class=""><a data-type="" ><%- @T( 'Installed' ) %></a></li> <li class=""><a data-type="" ><%- @T( 'Installed' ) %></a></li>
<li class=""><a data-type="" ><%- @T( 'Store' ) %></a></li> <li class=""><a data-type="" ><%- @T( 'Store' ) %></a></li>
</ul> </ul>
--> -->
<p> <p>
<form action="<%= App.Config.get('api_path') %>/packages" method="post" enctype="multipart/form-data"> <form action="<%= App.Config.get('api_path') %>/packages" method="post" enctype="multipart/form-data" class="horizontal center">
<input type="file" name="file_upload"/> <input type="file" name="file_upload"/>
<button class="btn btn--primary" type="submit"><%- @T('Install Package') %></button> <button class="align-right btn btn--primary" type="submit"><%- @T('Install Package') %></button>
</form> </form>
</p> </p>
<table class="table table-striped table-hover"> <table class="table table-striped table-hover">
<thead> <thead>
<tr> <tr>
<th><%- @T('Name') %></th> <th><%- @T('Name') %></th>
<th><%- @T('Version') %></th> <th><%- @T('Version') %></th>
<th><%- @T('Vendor') %></th> <th><%- @T('Vendor') %></th>
<th><%- @T('State') %></th> <th><%- @T('State') %></th>
<th><%- @T('Action') %></th> <th><%- @T('Action') %></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<% for item in @packages: %> <% for item in @packages: %>
<tr data-id="<%= item.id %>"> <tr data-id="<%= item.id %>">
<td><%= item.name %></td> <td><%= item.name %></td>
<td><%= item.version %></td> <td><%= item.version %></td>
<td><a href="<%- item.url %>" target="_blank"><%= item.vendor %></a></td> <td><a href="<%- item.url %>" target="_blank"><%= item.vendor %></a></td>
<td><%- @T(item.state) %></td> <td><%- @T(item.state) %></td>
<td><% for action in item.action: %><a href="#" class="action" data-type="<%= action %>"><%- @T(action) %></a><br/><% end %></td> <td><% for action in item.action: %><a href="#" class="action" data-type="<%= action %>"><%- @T(action) %></a><br/><% end %></td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
</div>

View file

@ -1,98 +1,91 @@
<div class="flex scrollable"> <div class="page-header-title">
<div class="horizontal"> <h1>Scheduler <small>Management</small></h1>
<div class="page-header-title"> </div>
<h1>Scheduler <small>Management</small></h1>
</div>
</div>
<ul class="nav nav-tabs nav-stacked"> <ul class="nav nav-tabs nav-stacked">
<li><a href="#">Jobs</a></li> <li><a href="#">Jobs</a></li>
</ul> </ul>
<div class="table-overview"> <div class="table-overview">
<div class="tabbable"> <div class="tabbable">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a href="#channel-inbound" data-toggle="tab">Times</a></li> <li class="active"><a href="#channel-inbound" data-toggle="tab">Times</a></li>
<li><a href="#channel-outbound" data-toggle="tab">Properties</a></li> <li><a href="#channel-outbound" data-toggle="tab">Properties</a></li>
<li><a href="#channel-filter" data-toggle="tab">Message</a></li> <li><a href="#channel-filter" data-toggle="tab">Message</a></li>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<div class="tab-pane active" id="channel-inbound"> <div class="tab-pane active" id="channel-inbound">
<table class="table table-striped">
<table class="table table-striped"> <tr>
<tr> <th>Host</th>
<th>Host</th> <th>User</th>
<th>User</th> <th>Type</th>
<th>Type</th> <th>Active</th>
<th>Active</th> <th>Delete</th>
<th>Delete</th> </tr>
</tr> <tr>
<tr> <td>lalal.example.com</td>
<td>lalal.example.com</td> <td>wpt234rwr</td>
<td>wpt234rwr</td> <td>IMAP</td>
<td>IMAP</td> <td>true</td>
<td>true</td> <td>x</td>
<td>x</td> </tr>
</tr> <tr>
<tr> <td>l31alal.example.com</td>
<td>l31alal.example.com</td> <td>wpt23dd4rwr</td>
<td>wpt23dd4rwr</td> <td>POP3</td>
<td>POP3</td> <td>true</td>
<td>true</td> <td>x</td>
<td>x</td> </tr>
</tr> </table>
</table> </div>
<div class="tab-pane" id="channel-outbound">
</div> <table class="table table-striped">
<div class="tab-pane" id="channel-outbound"> <tr>
<table class="table table-striped"> <th>Host</th>
<tr> <th>User</th>
<th>Host</th> <th>Type</th>
<th>User</th> <th>Active</th>
<th>Type</th> <th>Delete</th>
<th>Active</th> </tr>
<th>Delete</th> <tr>
</tr> <td>lalal.example.com</td>
<tr> <td>wpt234rwr</td>
<td>lalal.example.com</td> <td>SMTP</td>
<td>wpt234rwr</td> <td>true</td>
<td>SMTP</td> <td>x</td>
<td>true</td> </tr>
<td>x</td> <tr>
</tr> <td>l31alal.example.com</td>
<tr> <td>wpt23dd4rwr</td>
<td>l31alal.example.com</td> <td>Sendmail</td>
<td>wpt23dd4rwr</td> <td>true</td>
<td>Sendmail</td> <td>x</td>
<td>true</td> </tr>
<td>x</td> </table>
</tr> </div>
</table> <div class="tab-pane" id="channel-filter">
</div> <table class="table table-striped">
<div class="tab-pane" id="channel-filter"> <tr>
<table class="table table-striped"> <th>Name</th>
<tr> <th>Active</th>
<th>Name</th> <th>Last Run</th>
<th>Active</th> <th>Delete</th>
<th>Last Run</th> </tr>
<th>Delete</th> <tr>
</tr> <td>lalal.example.com</td>
<tr> <td>true</td>
<td>lalal.example.com</td> <td>true</td>
<td>true</td> <td>x</td>
<td>true</td> </tr>
<td>x</td> <tr>
</tr> <td>wpt23dd4rwr</td>
<tr> <td>true</td>
<td>wpt23dd4rwr</td> <td>true</td>
<td>true</td> <td>x</td>
<td>true</td> </tr>
<td>x</td> </table>
</tr>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,30 +1,27 @@
<div class="flex scrollable"> <div class="page-header-title">
<div> <h1><%- @T('Sessions') %><small></small></h1>
<div class="page-header-title">
<h1><%- @T('Sessions') %><small></small></h1>
</div>
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="span4"><%- @T('User') %></th>
<th class="span3"><%- @T('Browser') %></th>
<th class="span3"><%- @T('Location') %></th>
<th class="span1"><%- @T('Age') %></th>
<th class="span1"><%- @T('Update') %></th>
<th class="span1"></th>
</tr>
</thead>
<tbody>
<% for session in @sessions: %>
<tr>
<td><% if session.data.user: %><%= session.data.user.displayName() %><% end %></td>
<td><% if session.data.user_agent: %><%= session.data.user_agent %><% end %></td>
<td><% if session.data.geo: %><%= session.data.geo.country_code %> <%= session.data.geo.city %><% end %></td>
<td><span class="humanTimeFromNow" data-time="<%- session.created_at %>">?</span></td>
<td><span class="humanTimeFromNow" data-time="<%- session.updated_at %>">?</span></td>
<td><a href="#" data-session-id="<%- session.id %>" data-type="delete" class="glyphicon glyphicon-trash" title="<%- @T('Delete') %>"></a></td>
</tr>
<% end %>
</tbody>
</table>
</div> </div>
<table class="table table-striped table-hover">
<thead>
<tr>
<th class="span4"><%- @T('User') %></th>
<th class="span3"><%- @T('Browser') %></th>
<th class="span3"><%- @T('Location') %></th>
<th class="span1"><%- @T('Age') %></th>
<th class="span1"><%- @T('Update') %></th>
<th class="span1"></th>
</tr>
</thead>
<tbody>
<% for session in @sessions: %>
<tr>
<td><% if session.data.user: %><%= session.data.user.displayName() %><% end %></td>
<td><% if session.data.user_agent: %><%= session.data.user_agent %><% end %></td>
<td><% if session.data.geo: %><%= session.data.geo.country_code %> <%= session.data.geo.city %><% end %></td>
<td><span class="humanTimeFromNow" data-time="<%- session.created_at %>">?</span></td>
<td><span class="humanTimeFromNow" data-time="<%- session.updated_at %>">?</span></td>
<td><a href="#" data-session-id="<%- session.id %>" data-type="delete" class="glyphicon glyphicon-trash" title="<%- @T('Delete') %>"></a></td>
</tr>
<% end %>
</tbody>
</table>

View file

@ -1,7 +1,8 @@
<form class="" id="<%= @setting.name %>"> <form class="settings-entry" id="<%= @setting.name %>">
<h2><%- @T( @setting.title ) %></h2> <h2><%- @T( @setting.title ) %></h2>
<p><%- @T( @setting.description ) %></p> <p><%- @T( @setting.description ) %></p>
<div class="form-item"></div> <div class="horizontal end">
<button type="submit" class="btn"><%- @T( 'Submit' ) %></button> <div class="form-item flex"></div>
<button type="submit" class="btn btn--primary"><%- @T( 'Submit' ) %></button>
</div>
</form> </form>
<hr/>

View file

@ -9,6 +9,11 @@ ol,
ul { ul {
} }
p {
color: hsl(198,19%,72%);
margin-bottom: 14px;
}
a.create { a.create {
color: hsl(145,51%,45%); color: hsl(145,51%,45%);
text-decoration: underline; text-decoration: underline;
@ -547,6 +552,14 @@ textarea,
margin-left: 10px; margin-left: 10px;
} }
.help-block {
margin: 0;
}
.help-block:not(:empty) {
margin: 5px 0 10px;
}
.help-block { .help-block {
color: #bcbcbc; color: #bcbcbc;
} }
@ -1114,6 +1127,12 @@ ol.tabs li {
background-position: -141px -216px; background-position: -141px -216px;
} }
.paperclip.icon {
width: 31px;
height: 29px;
background-position: -141px -263px;
}
.stat-all-tickets.icon { .stat-all-tickets.icon {
width: 48px; width: 48px;
height: 83px; height: 83px;
@ -2565,6 +2584,27 @@ footer {
box-shadow: none; box-shadow: none;
} }
.ticket-article-item .attachments:not(:empty) {
white-space: normal;
margin: 0 -20px;
padding: 26px 20px 7px 72px;
position: relative;
}
.ticket-article-item .attachments h3 {
color: hsl(60,1%,34%);
letter-spacing: 0;
font-weight: bold;
padding: 0 7px;
margin: 0 0 4px;
}
.attachments .paperclip {
position: absolute;
left: 33px;
top: 27px;
}
.ticket-article-item .task-subline { .ticket-article-item .task-subline {
margin-top: 12px; margin-top: 12px;
} }
@ -2839,7 +2879,7 @@ footer {
.attachment { .attachment {
font-size: 13px; font-size: 13px;
padding: 3px 10px 3px 7px; padding: 1px 10px 1px 7px;
cursor: default; cursor: default;
} }
@ -3590,6 +3630,27 @@ footer {
border-color: hsl(0,0%,90%); border-color: hsl(0,0%,90%);
} }
.main .nav-tabs:first-child {
margin: 28px 0 50px;
}
.settings-entry {
margin-bottom: 42px;
max-width: 700px;
}
.form-item .form-group {
margin-bottom: 0;
}
.form-item .form-group + .form-group {
margin-top: 15px;
}
.form-item + .btn {
margin-left: 15px;
}
/* /*
---------------- ----------------