Author: bricks
Date: 2017-02-16 10:35:10 +0100 (Thu, 16 Feb 2017)
New Revision: 27678

Added:
   trunk/gsa/src/html/classic/ng/src/web/icons/cloneicon.js
Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/classic/ng/CMakeLists.txt
Log:
* src/html/classic/ng/CMakeLists.txt,
src/html/classic/ng/src/web/icons/cloneicon.js: Add new CloneIcon component.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2017-02-16 09:35:09 UTC (rev 27677)
+++ trunk/gsa/ChangeLog 2017-02-16 09:35:10 UTC (rev 27678)
@@ -1,5 +1,10 @@
 2017-02-16 Bj�rn Ricks <bjoern.ri...@greenbone.net>
 
+       * src/html/classic/ng/CMakeLists.txt,
+       src/html/classic/ng/src/web/icons/cloneicon.js: Add new CloneIcon 
component.
+
+2017-02-16 Bj�rn Ricks <bjoern.ri...@greenbone.net>
+
        * src/html/classic/ng/src/web/targets/dialogcontainer.js: Allow to save 
a
        target in TargetDialogContainer.
 

Modified: trunk/gsa/src/html/classic/ng/CMakeLists.txt
===================================================================
--- trunk/gsa/src/html/classic/ng/CMakeLists.txt        2017-02-16 09:35:09 UTC 
(rev 27677)
+++ trunk/gsa/src/html/classic/ng/CMakeLists.txt        2017-02-16 09:35:10 UTC 
(rev 27678)
@@ -172,6 +172,7 @@
      ${NG_SRC_DIR}/src/web/hosts/hostspage.js
      ${NG_SRC_DIR}/src/web/hosts/row.js
      ${NG_SRC_DIR}/src/web/hosts/table.js
+     ${NG_SRC_DIR}/src/web/icons/cloneicon.js
      ${NG_SRC_DIR}/src/web/icons/cpeicon.js
      ${NG_SRC_DIR}/src/web/icons/deleteicon.js
      ${NG_SRC_DIR}/src/web/icons/editicon.js

Added: trunk/gsa/src/html/classic/ng/src/web/icons/cloneicon.js
===================================================================
--- trunk/gsa/src/html/classic/ng/src/web/icons/cloneicon.js                    
        (rev 0)
+++ trunk/gsa/src/html/classic/ng/src/web/icons/cloneicon.js    2017-02-16 
09:35:10 UTC (rev 27678)
@@ -0,0 +1,38 @@
+/* Greenbone Security Assistant
+ *
+ * Authors:
+ * Björn Ricks <bjoern.ri...@greenbone.net>
+ *
+ * Copyright:
+ * Copyright (C) 2017 Greenbone Networks GmbH
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+import React from 'react';
+
+import Icon from './icon.js';
+
+export const CloneIcon = ({active = true, ...props}) => {
+  return <Icon {...props} img={active ? 'clone.svg' : 'clone_inactive.svg'}/>;
+};
+
+CloneIcon.propTypes = {
+  active: React.PropTypes.bool,
+};
+
+export default CloneIcon;
+
+// vim: set ts=2 sw=2 tw=80:

_______________________________________________
Openvas-commits mailing list
Openvas-commits@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits

Reply via email to