airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [2/9] airavata-django-portal git commit: AIRAVATA-2537 Styling project listing
Date Fri, 20 Oct 2017 21:08:40 GMT
AIRAVATA-2537 Styling project listing


Project: http://git-wip-us.apache.org/repos/asf/airavata-django-portal/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-django-portal/commit/1e5b6548
Tree: http://git-wip-us.apache.org/repos/asf/airavata-django-portal/tree/1e5b6548
Diff: http://git-wip-us.apache.org/repos/asf/airavata-django-portal/diff/1e5b6548

Branch: refs/heads/master
Commit: 1e5b6548eca153714eb64b8e9f92c16df683d812
Parents: ae163f5
Author: Marcus Christie <machrist@iu.edu>
Authored: Mon Oct 16 16:44:10 2017 -0400
Committer: Marcus Christie <machrist@iu.edu>
Committed: Mon Oct 16 16:47:53 2017 -0400

----------------------------------------------------------------------
 .../django_airavata_workspace/js/views/ProjectList.vue    |  2 +-
 .../js/views/ProjectListContainer.vue                     | 10 ++++++----
 .../django_airavata_workspace/projects_list.html          |  2 +-
 django_airavata/templates/base.html                       |  6 ++++--
 4 files changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/1e5b6548/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectList.vue
----------------------------------------------------------------------
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectList.vue
b/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectList.vue
index 4951cbb..b1f85fd 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectList.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectList.vue
@@ -1,5 +1,5 @@
 <template>
-    <table class="table">
+    <table class="table table-hover">
         <thead>
             <tr>
                 <th>Name</th>

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/1e5b6548/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectListContainer.vue
----------------------------------------------------------------------
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectListContainer.vue
b/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectListContainer.vue
index 5b87b6e..a3d89d5 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectListContainer.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/views/ProjectListContainer.vue
@@ -1,8 +1,10 @@
 <template>
-    <div>
-        <project-list v-bind:projects="projects"></project-list>
-        <pager v-bind:paginator="projectsPaginator"
-            v-on:next="nextProjects" v-on:previous="previousProjects"></pager>
+    <div class="card">
+        <div class="card-body">
+            <project-list v-bind:projects="projects"></project-list>
+            <pager v-bind:paginator="projectsPaginator"
+                v-on:next="nextProjects" v-on:previous="previousProjects"></pager>
+        </div>
     </div>
 </template>
 

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/1e5b6548/django_airavata/apps/workspace/templates/django_airavata_workspace/projects_list.html
----------------------------------------------------------------------
diff --git a/django_airavata/apps/workspace/templates/django_airavata_workspace/projects_list.html
b/django_airavata/apps/workspace/templates/django_airavata_workspace/projects_list.html
index e596c0c..ed72bf5 100644
--- a/django_airavata/apps/workspace/templates/django_airavata_workspace/projects_list.html
+++ b/django_airavata/apps/workspace/templates/django_airavata_workspace/projects_list.html
@@ -4,7 +4,7 @@
 
 {% block content %}
 
-<h4>Browse Projects</h4>
+<h1 class="h4 mb-4">Browse Projects</h1>
 
 <div id="project-list" data-projects-data="{{ projects_data }}"></div>
 

http://git-wip-us.apache.org/repos/asf/airavata-django-portal/blob/1e5b6548/django_airavata/templates/base.html
----------------------------------------------------------------------
diff --git a/django_airavata/templates/base.html b/django_airavata/templates/base.html
index 6a4823c..66e1541 100644
--- a/django_airavata/templates/base.html
+++ b/django_airavata/templates/base.html
@@ -52,8 +52,10 @@
         {% endblock %}
     </nav>
     <main class="main-content">
-        {% block content %}
-        {% endblock %}
+        <div class="container-fluid">
+            {% block content %}
+            {% endblock %}
+        </div>
     </main>
 </div>
 


Mime
View raw message