1
- From 32316c8cb8308bb21a37f98287f8ea277e26aa98 Mon Sep 17 00:00:00 2001
1
+ From 384ec135ad9ecf254e293a0ccc9711b49882904f Mon Sep 17 00:00:00 2001
2
2
From: David Shorthouse <davidpshorthouse@gmail.com>
3
3
Date: Thu, 19 Nov 2015 09:52:25 -0500
4
4
Subject: [PATCH] Complete theming to match existing Canadensys theme
5
5
6
6
---
7
+ WEB-INF/pages/admin/organisations.ftl | 2 +-
8
+ WEB-INF/pages/admin/users.ftl | 2 +-
7
9
WEB-INF/pages/inc/footer.ftl | 43 ++--
8
10
WEB-INF/pages/inc/header.ftl | 11 +-
9
11
WEB-INF/pages/inc/header_setup.ftl | 4 +-
@@ -19,14 +21,40 @@ Subject: [PATCH] Complete theming to match existing Canadensys theme
19
21
images/dataTables/sort_asc_red.png | Bin 0 -> 266 bytes
20
22
images/dataTables/sort_desc_red.png | Bin 0 -> 273 bytes
21
23
js/custom.js | 18 ++
22
- styles/custom.css | 291 ++++++++++++++++++++++--
24
+ styles/custom.css | 297 ++++++++++++++++++++++--
23
25
styles/main.css | 13 --
24
- 17 files changed, 438 insertions(+), 255 deletions(-)
26
+ 19 files changed, 446 insertions(+), 257 deletions(-)
25
27
create mode 100644 images/dataTables/forward_enabled_hover_red.png
26
28
create mode 100644 images/dataTables/sort_asc_red.png
27
29
create mode 100644 images/dataTables/sort_desc_red.png
28
30
create mode 100644 js/custom.js
29
31
32
+ diff --git a/WEB-INF/pages/admin/organisations.ftl b/WEB-INF/pages/admin/organisations.ftl
33
+ index 5e89c77..333cc57 100644
34
+ --- a/WEB-INF/pages/admin/organisations.ftl
35
+ +++ b/WEB-INF/pages/admin/organisations.ftl
36
+ @@ -28,7 +28,7 @@ $(document).ready(function(){
37
+
38
+ <h1 class="rtableTitle"><@s.text name="admin.home.editOrganisations"/></h1>
39
+
40
+ - <@organisationsTable numOrganisationsShown=20 sEmptyTable="dataTables.sEmptyTable.organisations" columnToSortOn=0 sortOrder="asc" />
41
+ + <@organisationsTable numOrganisationsShown=999 sEmptyTable="dataTables.sEmptyTable.organisations" columnToSortOn=0 sortOrder="asc" />
42
+ <div id="tableContainer"></div>
43
+
44
+ <div class="grid_24">
45
+ diff --git a/WEB-INF/pages/admin/users.ftl b/WEB-INF/pages/admin/users.ftl
46
+ index 9947ede..81c74e6 100644
47
+ --- a/WEB-INF/pages/admin/users.ftl
48
+ +++ b/WEB-INF/pages/admin/users.ftl
49
+ @@ -19,7 +19,7 @@ $(document).ready(function(){
50
+
51
+ <h1 class="rtableTitle"><@s.text name="admin.home.manageUsers"/></h1>
52
+
53
+ - <@usersTable numUsersShown=20 sEmptyTable="dataTables.sEmptyTable.users" columnToSortOn=0 sortOrder="asc" />
54
+ + <@usersTable numUsersShown=999 sEmptyTable="dataTables.sEmptyTable.users" columnToSortOn=0 sortOrder="asc" />
55
+ <div id="tableContainer"></div>
56
+
57
+ <div class="grid_24">
30
58
diff --git a/WEB-INF/pages/inc/footer.ftl b/WEB-INF/pages/inc/footer.ftl
31
59
index ea1ce94..13e1bb2 100644
32
60
--- a/WEB-INF/pages/inc/footer.ftl
@@ -394,15 +422,15 @@ index ed96e1a..3ed1757 100644
394
422
'${v.recordsPublished}',
395
423
<#if v.changeSummary?has_content>"${v.changeSummary?replace("\'", "\\'")?replace("\"", '\\"')} <#if managerRights><a href='${baseURL}/manage/history.do?r=${resource.shortname}&v=${v.version}'><@s.text name='button.edit'/></a></#if>"<#else>"<@s.text name="publishing.changeSummary.default"/> <#if managerRights><a href='${baseURL}/manage/history.do?r=${resource.shortname}&v=${v.version}'><@s.text name='button.edit'/></a></#if>"</#if>,
396
424
diff --git a/WEB-INF/pages/manage/home.ftl b/WEB-INF/pages/manage/home.ftl
397
- index f40b06d..4bd5062 100644
425
+ index f40b06d..48704e4 100644
398
426
--- a/WEB-INF/pages/manage/home.ftl
399
427
+++ b/WEB-INF/pages/manage/home.ftl
400
428
@@ -12,7 +12,7 @@
401
429
initHelp();
402
430
});
403
431
</script>
404
432
- <@resourcesTable shownPublicly=false numResourcesShown=10 sEmptyTable="manage.home.resources.none" columnToSortOn=6 sortOrder="desc"/>
405
- + <@resourcesTable shownPublicly=false numResourcesShown=500 sEmptyTable="manage.home.resources.none" columnToSortOn=6 sortOrder="desc"/>
433
+ + <@resourcesTable shownPublicly=false numResourcesShown=999 sEmptyTable="manage.home.resources.none" columnToSortOn=6 sortOrder="desc"/>
406
434
407
435
<h1 class="rtableTitle"><@s.text name="manage.home.title"/></h1>
408
436
<div id="tableContainer"></div>
@@ -434,15 +462,15 @@ index d8e1051..b93b2bd 100644
434
462
showReport=false;
435
463
$("#toggleReport").text("<@s.text name='basic.show'/>");
436
464
diff --git a/WEB-INF/pages/portal/home.ftl b/WEB-INF/pages/portal/home.ftl
437
- index bc07934..40538f1 100644
465
+ index bc07934..c3f725d 100644
438
466
--- a/WEB-INF/pages/portal/home.ftl
439
467
+++ b/WEB-INF/pages/portal/home.ftl
440
468
@@ -5,14 +5,17 @@
441
469
<#include "/WEB-INF/pages/macros/resourcesTable.ftl"/>
442
470
<script type="text/javascript" language="javascript" src="${baseURL}/js/jquery/jquery-1.11.1.min.js"></script>
443
471
<script type="text/javascript" language="javascript" src="${baseURL}/js/jquery/jquery.dataTables.js"></script>
444
472
- <@resourcesTable shownPublicly=true numResourcesShown=20 sEmptyTable="dataTables.sEmptyTable.resources" columnToSortOn=1 sortOrder="asc" />
445
- + <@resourcesTable shownPublicly=true numResourcesShown=500 sEmptyTable="dataTables.sEmptyTable.resources" columnToSortOn=1 sortOrder="asc" />
473
+ + <@resourcesTable shownPublicly=true numResourcesShown=999 sEmptyTable="dataTables.sEmptyTable.resources" columnToSortOn=1 sortOrder="asc" />
446
474
<h1 class="rtableTitle"><@s.text name="portal.home.title"/></h1>
447
475
+
448
476
+ <p><#if localeLanguage=='fr'>Suivez <a href="http://www.canadensys.net/data-publication-guide?lang=fr">notre guide en 7 étapes</a> pour publier votre propre jeu de données sur ce dépôt.<#else>Follow <a href="http://www.canadensys.net/data-publication-guide">our 7-step guide</a> to publish your own dataset on this repository.</#if></p>
@@ -688,10 +716,10 @@ index 0000000..1a6ff39
688
716
+ }
689
717
\ No newline at end of file
690
718
diff --git a/styles/custom.css b/styles/custom.css
691
- index 355407d..7407d51 100644
719
+ index 355407d..cb5acb0 100644
692
720
--- a/styles/custom.css
693
721
+++ b/styles/custom.css
694
- @@ -5,32 +5,285 @@
722
+ @@ -5,32 +5,291 @@
695
723
they can create their own modernizr.js with the desired supported elements. They only have to replace the 'default'
696
724
file with their own.
697
725
*/
@@ -905,9 +933,7 @@ index 355407d..7407d51 100644
905
933
+ }
906
934
+ .sorting_desc{
907
935
+ background:url("../images/dataTables/sort_desc_red.png") no-repeat scroll right center transparent;
908
- }
909
- - .green{
910
- - color: #008959;
936
+ + }
911
937
+ tr.even td.sorting_1{background-color:transparent;}
912
938
+ #rtable_info{display:none;}
913
939
+ .paginate_disabled_previous, .paginate_disabled_next{cursor:default;}
@@ -918,23 +944,21 @@ index 355407d..7407d51 100644
918
944
+ .container_24 .push_18{position:absolute;right:0px;left:auto;min-width:275px;}
919
945
+ form.half{
920
946
+ width:50%;
921
- }
922
- - #region-menu nav ul li.current {
923
- - background-color: #008959;
947
+ + }
924
948
+ .topForm label {
925
949
+ display: block;
926
950
+ font-size: 12px;
927
951
+ line-height:1.5em;
928
952
+ margin-top:10px;
929
953
}
930
- - #region-content h1 {
954
+ - .green {
931
955
- color: #008959;
932
956
+ .topForm input {
933
957
+ margin:0 0 0 0.5em;
934
958
+ width:90%;
935
959
}
936
- - div.groupmenu ul li a {
937
- - color: #008959;
960
+ - #region-menu nav ul li.current {
961
+ - background- color: #008959;
938
962
+ .topForm p {margin:0px 20px 20px;}
939
963
+ .topForm div.right {margin-top:0px; text-align:left;}
940
964
+ .topForm button{display:block;}
@@ -946,20 +970,20 @@ index 355407d..7407d51 100644
946
970
+ margin-left: 0;
947
971
+ margin-right: 20px;
948
972
}
949
- - table#rtable thead {
950
- - background- color: #dbf0e8 ;
973
+ - #region-content h1 {
974
+ - color: #008959 ;
951
975
+ .checkbox div {display:inline;}
952
976
+ .checkbox input {width:5%;}
953
977
+ #config div.checkbox{
954
978
+ padding-top:0px;
955
979
}
956
- - .dataTables_filter {
957
- - background- color: #dbf0e8 ;
980
+ - div.groupmenu ul li a {
981
+ - color: #008959 ;
958
982
+ #location>label{
959
983
+ display:block;
960
984
}
961
- - tr.even td.sorting_1 {
962
- - background-color: #E6F5EB ;
985
+ - table#rtable thead {
986
+ - background-color: #dbf0e8 ;
963
987
+ div.item{margin-bottom:10px;}
964
988
+ div.roles{width:250px;margin-top:15px;}
965
989
+ div.roles label{font-weight:bold;display:inline;}
@@ -973,10 +997,20 @@ index 355407d..7407d51 100644
973
997
+ color: #666;
974
998
+ background: #dbf0e8;
975
999
}
1000
+ - .dataTables_filter {
1001
+ - background-color: #dbf0e8;
1002
+ +
1003
+ + td.separator{
1004
+ + border-right:0px;
1005
+ }
1006
+ - tr.even td.sorting_1 {
1007
+ - background-color: #E6F5EB;
1008
+ + #resourcedoi{
1009
+ + display:none;
1010
+ }
976
1011
- .actionMessage{
977
1012
- color: #008959;
978
1013
- background-color: #dbf0e8;
979
- +
980
1014
+ #zone-footer-wrapper{display:none;height:0px;}
981
1015
+ #section-footer{height:90px;}
982
1016
+ #footer_content{text-align:left;}
0 commit comments