diff --git a/app/assets/javascripts/app/controllers/layout_ref.js.coffee b/app/assets/javascripts/app/controllers/layout_ref.js.coffee
index 960b89ae6..66a434ae8 100644
--- a/app/assets/javascripts/app/controllers/layout_ref.js.coffee
+++ b/app/assets/javascripts/app/controllers/layout_ref.js.coffee
@@ -943,7 +943,7 @@ App.Config.set( 'layout_ref/highlight', highlightRef, 'Routes' )
class cluesRef extends App.ControllerContent
-
+
clues: [
{
container: '.search-holder'
@@ -1271,5 +1271,16 @@ class adminPlaceholderRef extends App.ControllerContent
App.Config.set( 'layout_ref/admin_placeholder', adminPlaceholderRef, 'Routes' )
+class userListRef extends App.ControllerContent
+
+ constructor: ->
+ super
+ @render()
+
+ render: ->
+ @html App.view('layout_ref/user_list')()
+
+App.Config.set( 'layout_ref/user_list', userListRef, 'Routes' )
+
App.Config.set( 'LayoutRef', { prio: 1700, parent: '#current_user', name: 'Layout Reference', translate: true, target: '#layout_ref', role: [ 'Admin' ] }, 'NavBarRight' )
\ No newline at end of file
diff --git a/app/assets/javascripts/app/views/layout_ref/index.jst.eco b/app/assets/javascripts/app/views/layout_ref/index.jst.eco
index 3a3b842c0..deb9e42c9 100644
--- a/app/assets/javascripts/app/views/layout_ref/index.jst.eco
+++ b/app/assets/javascripts/app/views/layout_ref/index.jst.eco
@@ -4,6 +4,7 @@
+ - User List
- Admin Placeholder (Inline Tutorials)
- First Steps (Clues)
- Highlight
diff --git a/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco b/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco
new file mode 100644
index 000000000..4008197d7
--- /dev/null
+++ b/app/assets/javascripts/app/views/layout_ref/user_list.jst.eco
@@ -0,0 +1,207 @@
+
+
+
+
+
+
+
+
+
+
+
+ Roles:
+
+
+
+
+ Admin
+
+
+
+ Agent
+
+
+
+ Customer
+
+
+
+
+
+
+
+
+ Login |
+
+ Firstname |
+
+ Lastname |
+
+ Switch to |
+
+
+
+
+
+ mail@felixniklas.de |
+
+ Felix |
+
+ Niklas |
+
+
+ Aus Benutzeransicht anzeigen
+ |
+
+
+
+ hans@huber.com |
+
+ Hans |
+
+ Huber2 |
+
+
+ Aus Benutzeransicht anzeigen
+ |
+
+
+
+ nicole.braun@zammad.org |
+
+ Nicole |
+
+ Braun |
+
+
+ Aus Benutzeransicht anzeigen
+ |
+
+
+
+ roberto@blanko.org |
+
+ Roberto |
+
+ Blanko |
+
+
+ Aus Benutzeransicht anzeigen
+ |
+
+
+
+
+
\ No newline at end of file
diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss
index 36ee56004..fcad3a552 100644
--- a/app/assets/stylesheets/zammad.css.scss
+++ b/app/assets/stylesheets/zammad.css.scss
@@ -279,6 +279,18 @@ span[data-tooltip]:hover:before {
padding-left: 12px;
padding-right: 12px;
}
+
+ &.btn--table {
+ padding: 4px 9px;
+ font-weight: 300;
+ border: none;
+ margin: 6px 6px 0;
+
+ .icon {
+ vertical-align: middle;
+ margin-right: 5px;
+ }
+ }
&.is-disabled {
pointer-events: none;
@@ -455,7 +467,6 @@ span[data-tooltip]:hover:before {
}
table {
- table-layout: fixed;
}
.table {
@@ -484,7 +495,7 @@ table {
}
.table > tbody > tr > td {
- padding: 10px 9px 9px;
+ padding: 9px;
border: none;
box-shadow: 0 1px rgba(0,0,0,.02);
}