diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/admin-page.ecr | 11 | ||||
-rw-r--r-- | src/views/tab.ecr | 13 |
2 files changed, 21 insertions, 3 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index 287e35f..5e2ac2b 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -44,9 +44,14 @@ </div><!-- navbar --> <div class='container'> - <p> - TODO - </p> + <div class='col-md-12'> + <ul class='nav nav-tabs nav-justified' role='tablist'><%= + tabs + %></ul><!-- nav --> + + <div class='tab-content'> + </div><!-- tab-content --> + </div><!-- col-md-12 --> </div><!-- container --> </body> 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> |