diff --git a/www/css/vertnet.css b/www/css/vertnet.css
index e764bc79..82580f84 100644
--- a/www/css/vertnet.css
+++ b/www/css/vertnet.css
@@ -9,7 +9,7 @@
position: relative;
min-height: 20px;
padding-left: 20px;
- margin-top: 7px;
+/* margin-top: 7px;*/
margin-bottom: 0px;
vertical-align: top
}
@@ -18,17 +18,31 @@
position: relative;
min-height: 1px;
margin-top: 10px;
- padding-right: -30px;
- padding-left: -25px;
+ padding-right: -15px;
+ padding-left: -10px;
float: left;
}
+.col-lg-2 {
+ padding-right: 5px;
+ padding-left: 5px
+}
+
.vn-col-md-2 {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
- /*width: 16.666666666666664%;*/
+ width: 15.75%;
+/* width: 16.666666666666664%;*/
+ float: left;
+}
+.vn-col-md-2-ckbx {
+ position: relative;
+ min-height: 1px;
+ padding-right: 15px;
+ padding-left: 15px;
+/* width: 16.666666666666664%;*/
float: left;
}
@@ -530,10 +544,9 @@ h7 small, .h7 small {
VNlegend {
display: block;
width: 100%;
- padding: 0;
+ padding-bottom: 5px;
margin-bottom: 5px;
font-size: 20px;
- /*line-height: inherit;*/
color: #333;
border: 0;
border-bottom: 1px solid #e5e5e5
@@ -544,15 +557,44 @@ VNlegend {
}
.infotipDisplay {
- text-align:left !important;
font-weight:lighter !important;
- width: 0;
- height: 0;
- margin-top: -50px;
+ /*width: auto !important;
+ height: auto !important;
+ margin-left: 0 !important;*/
border-top: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 0 dotted;
border-left: 4px solid transparent;
- content: ""
+ content: "";
+}
+
+.tooltip {
+ position: absolute;
+ z-index: 1030;
+ display: inline;
+ font-size: 12px;
+ line-height: 1.25;
+ opacity: 0;
+ filter: alpha(opacity=0);
+ visibility: visible
+}
+
+.tooltip-inner {
+ max-width: 300px;
+ padding: 5px 5px;
+ color: #fff;
+ text-align: left;
+ text-decoration: none;
+ background-color: #000;
+ border-radius: 4px
+}
+
+.btn-pub {
+ padding: 10px 16px;
+ font-size: 16px;
+ border-radius: 6px;
}
+table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
+ content: " \25B4\25BE"
+}
\ No newline at end of file
diff --git a/www/js/app/router.js b/www/js/app/router.js
index 6204f428..1bee7a71 100644
--- a/www/js/app/router.js
+++ b/www/js/app/router.js
@@ -204,7 +204,7 @@ define([
if (!this.publisherCache) {
map.init(_.bind(function() {
var sql = new cartodb.SQL({ user: 'vertnet' });
- var query = "SELECT orgname,icode,sum(count) AS records,count(title) AS resources,citation,contact,count,description,dwca,email,eml,emlrights,pubdate,title,url,license,migrator,lastindexed FROM resource GROUP BY orgname,icode,citation,contact,count,description,dwca,email,eml,emlrights,pubdate,title,url,license,migrator,lastindexed ORDER BY title";
+ var query = "SELECT orgname,icode,sum(count) AS records,count(title) AS resources,citation,contact,count,description,dwca,email,eml,emlrights,pubdate,title,url,license,migrator,lastindexed,gbifdatasetid,gbifpublisherid,source_url FROM resource GROUP BY orgname,icode,citation,contact,count,description,dwca,email,eml,emlrights,pubdate,title,url,license,migrator,lastindexed,gbifdatasetid,gbifpublisherid,source_url ORDER BY title";
sql.execute(query, {})
.done(_.bind(function(data) {
this.publisherCache = _.groupBy(data.rows, _.bind(function(row) {
diff --git a/www/js/app/views/detail.html b/www/js/app/views/detail.html
index 6b73a7c4..9a21cdbc 100644
--- a/www/js/app/views/detail.html
+++ b/www/js/app/views/detail.html
@@ -370,7 +370,7 @@
<% var occid = this.model.getOccIdentifier() %> <%= occid %> <%= this
<% if (this.model.get('emlrights')) { %>
<%= this.model.getRights() %>
<% } else { %>
- Please contact the data publisher for details concerning the use of these data.
+ Please contact the data publisher for details concerning the use of these data.
<% } %>
Citation
@@ -391,7 +391,7 @@ <% var occid = this.model.getOccIdentifier() %> <%= occid %> <%= this
<%= this.model.get('pubdate') %>
Source URL
- <%= this.model.get('url') %>
+ <%= this.model.get('source_url') %>
diff --git a/www/js/app/views/detailrow.html b/www/js/app/views/detailrow.html
index 60166aee..4a42983c 100644
--- a/www/js/app/views/detailrow.html
+++ b/www/js/app/views/detailrow.html
@@ -24,10 +24,13 @@
<% var occid = this.model.getOccIdentifier() %> <%= occid %>
<%= this.model.get('class') + ': ' + this.model.get('scientificname')%>
<% var loc = this.model.getLocation() %> <%= loc %>
-<% var year = this.model.getYear() %> <%= year %>
-<% if (this.model.isMappable()) { %>
+ <%= this.model.get('recordedby')%>
+<%= this.model.get('sex')%>
+
+<%= this.model.get('eventdate')%>
+<% if (this.model.isMappable()) { %>
<% } %>
-<% if (this.model.get('associatedmedia')) { %>
+ <% if (this.model.get('associatedmedia')) { %>
<% } %>
\ No newline at end of file
diff --git a/www/js/app/views/publisher.html b/www/js/app/views/publisher.html
index d8755fec..011830eb 100644
--- a/www/js/app/views/publisher.html
+++ b/www/js/app/views/publisher.html
@@ -32,23 +32,29 @@ Publisher <%= this.model.get('orgname')%>
-
+
Search this publisher
-
-
+
+ ×
+ Pro tip! Click the metadata icon to view details about a single resource or click the search icon to search a single resource in the portal.
+
+
+
Resource
- License
- Migrated
- Published
- Indexed
- Records
+ License
+ Migrated
+ Published
+ Indexed
+ Records
+ Metadata
+ Search
diff --git a/www/js/app/views/publisherrow.html b/www/js/app/views/publisherrow.html
index f91bfc9b..7a10c105 100644
--- a/www/js/app/views/publisherrow.html
+++ b/www/js/app/views/publisherrow.html
@@ -21,5 +21,5 @@
<%= this.model.get('orgname')%>
<%= this.model.get('icode')%>
<%= this.model.get('location')%>
-<%= this.model.records()%>
-<%= this.model.get('resources')%>
+<%= this.model.records()%>
+<%= this.model.get('resources')%>
diff --git a/www/js/app/views/publishers.html b/www/js/app/views/publishers.html
index 6c221385..f93d34a1 100644
--- a/www/js/app/views/publishers.html
+++ b/www/js/app/views/publishers.html
@@ -32,15 +32,16 @@ Publishers VertNet
×
Pro tip! Click on a table row to view the publisher detail page.
+
-
+
Publisher
Code
Location
- Records
- Resources
+ Records
+ Resources
diff --git a/www/js/app/views/resourcerow.html b/www/js/app/views/resourcerow.html
index 00d26ba5..e5d2a2df 100644
--- a/www/js/app/views/resourcerow.html
+++ b/www/js/app/views/resourcerow.html
@@ -19,8 +19,10 @@
sourcecode without minification.
-->
<%= this.model.get('title')%>
-<%= this.model.get('license')%>
-<%= this.model.get('migrator')%>
-<%= this.model.getDate()%>
-<%= this.model.get('lastindexed')%>
-<%= this.model.records()%>
+<%= this.model.get('license')%>
+<%= this.model.get('migrator')%>
+<%= this.model.getDate()%>
+<%= this.model.get('lastindexed')%>
+<%= this.model.records()%>
+
+
diff --git a/www/js/app/views/resourcerow.js b/www/js/app/views/resourcerow.js
index 46aecb80..a83d3ffc 100644
--- a/www/js/app/views/resourcerow.js
+++ b/www/js/app/views/resourcerow.js
@@ -51,12 +51,12 @@ define([
},
// Open the occurrence detail page.
- _clickHandler: function(e) {
- e.preventDefault();
- var sel = getSelection().toString();
- if (!sel) {
- window.open(this.model.get('url'), '_self');
- }
- }
+ //_clickHandler: function(e) {
+ //e.preventDefault();
+ //var sel = getSelection().toString();
+ //if (!sel) {
+ //window.open(this.model.get('source_url'), '_self');
+ //}
+ //}
});
});
diff --git a/www/js/app/views/search.html b/www/js/app/views/search.html
index c59bc650..6d172798 100644
--- a/www/js/app/views/search.html
+++ b/www/js/app/views/search.html
@@ -23,7 +23,7 @@
- Need Help?
+ Need Help? Institution Codes
×
Search is a little slow right now. Automatically retrying ...
@@ -34,54 +34,39 @@
Search VertNet