You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2015/07/16 18:09:30 UTC

[2/2] incubator-ignite git commit: IGNITE-843: Minor refactoring to mixin.

IGNITE-843: Minor refactoring to mixin.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/95f826f2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/95f826f2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/95f826f2

Branch: refs/heads/ignite-843
Commit: 95f826f2f642ae4ef5c0ab49ec18e2e70ec96f81
Parents: 9cc79ae
Author: AKuznetsov <ak...@gridgain.com>
Authored: Thu Jul 16 23:09:23 2015 +0700
Committer: AKuznetsov <ak...@gridgain.com>
Committed: Thu Jul 16 23:09:23 2015 +0700

----------------------------------------------------------------------
 .../nodejs/views/configuration/summary.jade                 | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/95f826f2/modules/web-control-center/nodejs/views/configuration/summary.jade
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/views/configuration/summary.jade b/modules/web-control-center/nodejs/views/configuration/summary.jade
index 93f27a8..848e710 100644
--- a/modules/web-control-center/nodejs/views/configuration/summary.jade
+++ b/modules/web-control-center/nodejs/views/configuration/summary.jade
@@ -32,6 +32,9 @@ append css
 
 include ../includes/controls
 
+mixin hard-link(ref, txt)
+    a(style='color:#ec1c24' href=ref target="_blank") #{txt}
+
 block content
     .docs-header
         h1 Configurations summary
@@ -89,13 +92,13 @@ block content
                                         #javaServer
                                     div(ng-show="cfgLangServer == 'docker'")
                                         p
-                                            a(style='color:#ec1c24' href='https://docs.docker.com/reference/builder' target="_blank") Docker
+                                            +hard-link('https://docs.docker.com/reference/builder', 'Docker')
                                             | &nbsp;file is a text file with instructions to create Docker image.<br/>
                                             | To build image you have to store following Docker file with your Ignite XML configuration to the same directory.<br>
                                             | Also you could use predefined&nbsp;
-                                            a(style='color:#ec1c24' href='https://ignite.incubator.apache.org/download.html#docker' target="_blank") Apache Ignite docker image
+                                            +hard-link('https://ignite.incubator.apache.org/download.html#docker', 'Apache Ignite docker image')
                                             | . For more information about using Ignite with Docker please read&nbsp;
-                                            a(style='color:#ec1c24' href='http://apacheignite.readme.io/docs/docker-deployment' target="_blank") documentation
+                                            +hard-link('http://apacheignite.readme.io/docs/docker-deployment', 'documentation')
                                             |.
                                         .col-sm-2
                                             label(for='os') Operation System: