Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testimonials page. #2

Open
wants to merge 1 commit into
base: template
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "cbioportal",
"version": "1.0.0",
"description": "The cBioPortal for Cancer Genomics provides visualization, analysis, and download of large-scale cancer genomics data sets. The cBioPortal is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3, as published by the Free Software Foundation.",
"main": "index.js",
"directories": {
"doc": "docs",
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run clean && export PORTAL_HOME=`pwd` && mvn -e -Ppublic -Dfinal.war.name=cbioportal -DskipTests -Ddb.user=cbio_user -Ddb.password=cbio_pass -Ddb.portal_db_name=public_test -Ddb.connection_string=jdbc:mysql://cbioportal-public.c1xhhbwn8izk.us-east-1.rds.amazonaws.com:3306/ -Ddb.host=cbioportal-public.c1xhhbwn8izk.us-east-1.rds.amazonaws.com clean install",
"start": "java -Ddbconnector=dbcp -jar portal/target/dependency/webapp-runner.jar --expand-war portal/target/cbioportal.war",
"clean": "rm -rf ${HOME}/.m2/repository/com/github/cbioportal/cbioportal-frontend/"
},

"repository": {
"type": "git",
"url": "git+https://github.com/Tamba32/cbioportal.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Tamba32/cbioportal/issues"
},
"homepage": "https://github.com/Tamba32/cbioportal#readme"
}
56 changes: 56 additions & 0 deletions portal/src/main/webapp/testimonials.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<%--
- Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
-
- This library is distributed in the hope that it will be useful, but WITHOUT
- ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
- FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
- is on an "as is" basis, and Memorial Sloan-Kettering Cancer Center has no
- obligations to provide maintenance, support, updates, enhancements or
- modifications. In no event shall Memorial Sloan-Kettering Cancer Center be
- liable to any party for direct, indirect, special, incidental or
- consequential damages, including lost profits, arising out of the use of this
- software and its documentation, even if Memorial Sloan-Kettering Cancer
- Center has been advised of the possibility of such damage.
--%>

<%--
- This file is part of cBioPortal.
-
- cBioPortal is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
--%>

<%
String siteTitle = GlobalProperties.getTitle();
%>

<%@ page import="org.mskcc.cbio.portal.servlet.QueryBuilder" %>
<%@ page import="org.mskcc.cbio.portal.util.GlobalProperties" %>

<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>

<t:template title="<%= siteTitle %>" defaultRightColumn="true" fixedWidth="true">

<jsp:attribute name="head_area">
<script>
window.loadReactApp({ defaultRoute: 'testimonials' });
</script>

</jsp:attribute>

<jsp:attribute name="body_area">
<div id="reactRoot"></div>
</jsp:attribute>


</t:template>