aboutsummaryrefslogtreecommitdiff
path: root/src/views/tab.ecr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-21 16:40:43 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-21 16:40:43 -0400
commitb11313e2fe62932d1a3fa2de21a57bcfd00c2371 (patch)
treeb1d2a83852afbf8c76f9bc9c1615d8a25e6158da /src/views/tab.ecr
parent9a5034a115d5e05eedd2ce8f3727660c08a943b6 (diff)
downloadguff-b11313e2fe62932d1a3fa2de21a57bcfd00c2371.tar.bz2
guff-b11313e2fe62932d1a3fa2de21a57bcfd00c2371.zip
add admin tabs
Diffstat (limited to 'src/views/tab.ecr')
-rw-r--r--src/views/tab.ecr13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/views/tab.ecr b/src/views/tab.ecr
new file mode 100644
index 0000000..9858920
--- /dev/null
+++ b/src/views/tab.ecr
@@ -0,0 +1,13 @@
+<li role='presentation' class='<%= v(:css) %>'>
+ <a
+ id='<%= @id %>'
+ href='#<%= @target %>'
+ title='<%= v(:text) %>'
+ aria-controls='<%= @target %>'
+ role='tab'
+ data-toggle='tab'
+ >
+ <i class='fa <%= v(:icon) %>'></i>
+ <%= v(:name) %>
+ </a>
+</li>