aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guff/views/dialogs/admin/blog-edit.cr6
-rw-r--r--src/guff/views/dialogs/admin/page-edit.cr2
-rw-r--r--src/guff/views/dialogs/admin/project-edit.cr10
-rw-r--r--src/views/dialogs/admin/blog-edit.ecr2
-rw-r--r--src/views/dialogs/admin/page-edit.ecr2
-rw-r--r--src/views/dialogs/admin/project-edit.ecr134
6 files changed, 78 insertions, 78 deletions
diff --git a/src/guff/views/dialogs/admin/blog-edit.cr b/src/guff/views/dialogs/admin/blog-edit.cr
index ed5d11d..99953e2 100644
--- a/src/guff/views/dialogs/admin/blog-edit.cr
+++ b/src/guff/views/dialogs/admin/blog-edit.cr
@@ -10,19 +10,19 @@ class Guff::Views::Dialogs::Admin::BlogEdit < Guff::Views::Dialogs::Admin::PostE
}, {
:id => "category",
:css => "",
- :icon => "fa-list-ul",
+ :icon => "fa-share-alt",
:name => "Category",
:text => "View category tab.",
}, {
:id => "dates",
- :css => "",
+ :css => "hidden",
:icon => "fa-calendar-o",
:name => "Dates",
:text => "View dates tab.",
}, {
:id => "media",
:css => "",
- :icon => "fa-video-camera",
+ :icon => "fa-image",
:name => "Media",
:text => "View media tab.",
}]
diff --git a/src/guff/views/dialogs/admin/page-edit.cr b/src/guff/views/dialogs/admin/page-edit.cr
index 10ad2b8..59fe5b1 100644
--- a/src/guff/views/dialogs/admin/page-edit.cr
+++ b/src/guff/views/dialogs/admin/page-edit.cr
@@ -15,7 +15,7 @@ class Guff::Views::Dialogs::Admin::PageEdit < Guff::Views::Dialogs::Admin::PostE
:text => "View theme tab.",
}, {
:id => "dates",
- :css => "",
+ :css => "hidden",
:icon => "fa-calendar-o",
:name => "Dates",
:text => "View dates tab.",
diff --git a/src/guff/views/dialogs/admin/project-edit.cr b/src/guff/views/dialogs/admin/project-edit.cr
index 521fbbb..a518f9a 100644
--- a/src/guff/views/dialogs/admin/project-edit.cr
+++ b/src/guff/views/dialogs/admin/project-edit.cr
@@ -15,11 +15,17 @@ class Guff::Views::Dialogs::Admin::ProjectEdit < Guff::Views::Dialogs::Admin::Po
:text => "View repository tab.",
}, {
:id => "releases",
- :css => "hidden",
- :icon => "fa-code-fork",
+ :css => "",
+ :icon => "fa-code",
:name => "Releases",
:text => "View releases tab.",
}, {
+ :id => "update-log",
+ :css => "hidden",
+ :icon => "fa-list-ul",
+ :name => "Update Log",
+ :text => "View update log tab.",
+ }, {
:id => "dates",
:css => "hidden",
:icon => "fa-calendar-o",
diff --git a/src/views/dialogs/admin/blog-edit.ecr b/src/views/dialogs/admin/blog-edit.ecr
index 53c0073..4b0f885 100644
--- a/src/views/dialogs/admin/blog-edit.ecr
+++ b/src/views/dialogs/admin/blog-edit.ecr
@@ -25,6 +25,8 @@
%></ul><!-- nav -->
<div class='tab-content'>
+ <br/>
+
<div
id='blog-edit-pane-content'
class='tab-pane active'
diff --git a/src/views/dialogs/admin/page-edit.ecr b/src/views/dialogs/admin/page-edit.ecr
index da1d3c2..51819ba 100644
--- a/src/views/dialogs/admin/page-edit.ecr
+++ b/src/views/dialogs/admin/page-edit.ecr
@@ -39,6 +39,8 @@
%></ul><!-- nav -->
<div class='tab-content'>
+ <br/>
+
<div
id='page-edit-pane-content'
class='tab-pane active'
diff --git a/src/views/dialogs/admin/project-edit.ecr b/src/views/dialogs/admin/project-edit.ecr
index 1ca6e99..7f668f3 100644
--- a/src/views/dialogs/admin/project-edit.ecr
+++ b/src/views/dialogs/admin/project-edit.ecr
@@ -39,6 +39,8 @@
%></ul><!-- nav -->
<div class='tab-content'>
+ <br/>
+
<div
id='project-edit-pane-content'
class='tab-pane active'
@@ -186,78 +188,6 @@
</div><!-- row -->
<div class='row'>
- <div class='col-md-3'>
- <ul class='nav nav-pills nav-stacked' role='tablist'><%=
- repo_tabs
- %></ul><!-- nav -->
- </div><!-- col-md-3 -->
-
- <div class='col-md-9'>
- <div class='tab-content'>
- <div
- id='project-edit-repo-pane-releases'
- class='tab-pane active'
- role='tabpanel'
- >
- <div class='panel panel-default'>
- <div class='panel-heading hidden'>
- <b>
- Releases
- </b>
-
- <a
- href='#'
- id='project-edit-releases-reload'
- class='btn btn-default btn-xs pull-right'
- title='Reload list of releases.'
- >
- <i class='fa fa-fw fa-refresh'></i>
- </a>
- </div><!-- panel-heading -->
-
- <div
- id='project-edit-releases'
- class='list-group'
- style='height: 200px;'
- >
- </div><!-- list-group -->
- </div><!-- panel -->
- </div><!-- tab-pane -->
-
- <div
- id='project-edit-repo-pane-update-log'
- class='tab-pane'
- role='tabpanel'
- >
- <div class='panel panel-default'>
- <div class='panel-heading hidden'>
- <b>
- Update Log
- </b>
-
- <a
- href='#'
- id='project-edit-update-log-reload'
- class='btn btn-default btn-xs pull-right'
- title='Refresh update log.'
- >
- <i class='fa fa-fw fa-refresh'></i>
- </a>
- </div><!-- panel-heading -->
-
- <div
- id='project-edit-update-log'
- class='list-group'
- style='height: 200px;'
- >
- </div><!-- list-group -->
- </div><!-- panel -->
- </div><!-- tab-pane -->
- </div><!-- tab-content -->
- </div><!-- col-md-9 -->
- </div><!-- row -->
-
- <div class='row'>
<div class='col-md-6'>
<div class='form-group'>
<label for='project-edit-tag-prefix'>
@@ -315,6 +245,66 @@
</div><!-- tab-pane -->
<div
+ id='project-edit-pane-releases'
+ class='tab-pane'
+ role='tabpanel'
+ >
+ <div class='panel panel-default'>
+ <div class='panel-heading hidden'>
+ <b>
+ Releases
+ </b>
+
+ <a
+ href='#'
+ id='project-edit-releases-reload'
+ class='btn btn-default btn-xs pull-right'
+ title='Reload list of releases.'
+ >
+ <i class='fa fa-fw fa-refresh'></i>
+ </a>
+ </div><!-- panel-heading -->
+
+ <div
+ id='project-edit-releases'
+ class='list-group'
+ style='height: 50vh;'
+ >
+ </div><!-- list-group -->
+ </div><!-- panel -->
+ </div><!-- tab-pane -->
+
+ <div
+ id='project-edit-pane-update-log'
+ class='tab-pane'
+ role='tabpanel'
+ >
+ <div class='panel panel-default'>
+ <div class='panel-heading hidden'>
+ <b>
+ Update Log
+ </b>
+
+ <a
+ href='#'
+ id='project-edit-update-log-reload'
+ class='btn btn-default btn-xs pull-right'
+ title='Refresh update log.'
+ >
+ <i class='fa fa-fw fa-refresh'></i>
+ </a>
+ </div><!-- panel-heading -->
+
+ <div
+ id='project-edit-update-log'
+ class='list-group'
+ style='height: 50vh;'
+ >
+ </div><!-- list-group -->
+ </div><!-- panel -->
+ </div><!-- tab-pane -->
+
+ <div
id='project-edit-pane-dates'
class='tab-pane'
role='tabpanel'