aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-07-26 16:11:54 +0200
committerGitHub <noreply@github.com>2016-07-26 16:11:54 +0200
commitfcba3fa1650b1afc794094e20764191ae8bca910 (patch)
tree3e6dfea548aa8a38212441d70746e3dcaf343dc1 /server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js
parent9ee9a01b05f97f024748173529689f6e6535e635 (diff)
downloadsonarqube-fcba3fa1650b1afc794094e20764191ae8bca910.tar.gz
sonarqube-fcba3fa1650b1afc794094e20764191ae8bca910.zip
SONAR-7918 Rewrite "Deletion" project page (#1116)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js')
-rw-r--r--server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js b/server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js
new file mode 100644
index 00000000000..67563891ade
--- /dev/null
+++ b/server/sonar-web/src/main/js/apps/project-admin/deletion/Deletion.js
@@ -0,0 +1,37 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2016 SonarSource SA
+ * mailto:contact AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+import React from 'react';
+import Header from './Header';
+import Form from './Form';
+
+export default class Deletion extends React.Component {
+ static propTypes = {
+ component: React.PropTypes.object.isRequired
+ };
+
+ render () {
+ return (
+ <div className="page page-limited">
+ <Header/>
+ <Form component={this.props.component}/>
+ </div>
+ );
+ }
+}