Author: jleroux
Date: Sat Dec 2 07:10:11 2017 New Revision: 1816931 URL: http://svn.apache.org/viewvc?rev=1816931&view=rev Log: Updates README.md.html Adds external-link.js used in Visual Themes Gallery to create _blank links for all links of the page (external only would not work because links to demos are on the same domain it seems). See https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html for more Added: ofbiz/tools/wiki-files/external-link.js (with props) Modified: ofbiz/tools/wiki-files/themes/README.md.html Added: ofbiz/tools/wiki-files/external-link.js URL: http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/external-link.js?rev=1816931&view=auto ============================================================================== --- ofbiz/tools/wiki-files/external-link.js (added) +++ ofbiz/tools/wiki-files/external-link.js Sat Dec 2 07:10:11 2017 @@ -0,0 +1,5 @@ +<script> +jQuery(document).ready(function() { + jQuery(".wiki-content a").attr("target", "_blank"); +}); +</script> \ No newline at end of file Propchange: ofbiz/tools/wiki-files/external-link.js ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/tools/wiki-files/external-link.js ------------------------------------------------------------------------------ svn:keywords = Date Rev Author URL Id Propchange: ofbiz/tools/wiki-files/external-link.js ------------------------------------------------------------------------------ svn:mime-type = text/plain Modified: ofbiz/tools/wiki-files/themes/README.md.html URL: http://svn.apache.org/viewvc/ofbiz/tools/wiki-files/themes/README.md.html?rev=1816931&r1=1816930&r2=1816931&view=diff ============================================================================== --- ofbiz/tools/wiki-files/themes/README.md.html (original) +++ ofbiz/tools/wiki-files/themes/README.md.html Sat Dec 2 07:10:11 2017 @@ -225,7 +225,7 @@ under the License. <p>All this logic is still present in the common-theme template to keep backward compatibility, but the VisualThemeRessource is now useless and properties have been migrated to the Theme definition in the part <strong>theme-properties</strong> ### Example with BlueLight The blue light theme has been these properties in VisualThemeRessource :</p> <div class="sourceCode"><pre class="sourceCode xml"><code class="sourceCode xml"> <span class="kw"><VisualTheme</span><span class="ot"> visualThemeId=</span><span class="st">"BLUELIGHT"</span><span class="ot"> visualThemeSetId=</span><span class="st">"BACKOFFICE"</span><span class="ot"> description=</span><span class="st">"BlueLight Theme: breadcrumbs, drop-down menus and rounded corners"</span><span class="kw">/></span> <span class="kw"><VisualThemeResource</span><span class="ot"> visualThemeId=</span><span class="st">"BLUELIGHT"</span><span class="ot"> resourceTypeEnumId=</span><span class="st">"VT_NAME"</span><span class="ot"> resourceValue=</span><span class="st">"BLUELIGHT"</span><span class="ot"> sequenceId=</span><span class="st">"01"</span><span class="kw">/></span> - <span class="kw"><VisualThemeResource</span><span class="ot"> visualThemeId=</span><span class="st">"BLUELIGHT"</span><span class="ot"> resourceTypeEnumId=</span><span class="st">"VT_HDR_IMAGE_URL"</span><span class="ot"> resourceValue=</span><span class="st">"/images/ofbiz_logo.gif"</span><span class="ot"> sequenceId=</span><span class="st">"01"</span><span class="kw">/></span> + <span class="kw"><VisualThemeResource</span><span class="ot"> visualThemeId=</span><span class="st">"BLUELIGHT"</span><span class="ot"> resourceTypeEnumId=</span><span class="st">"VT_HDR_IMAGE_URL"</span><span class="ot"> resourceValue=</span><span class="st">"/images/ofbiz_logo.png"</span><span class="ot"> sequenceId=</span><span class="st">"01"</span><span class="kw">/></span> <span class="kw"><VisualThemeResource</span><span class="ot"> visualThemeId=</span><span class="st">"BLUELIGHT"</span><span class="ot"> resourceTypeEnumId=</span><span class="st">"VT_SHORTCUT_ICON"</span><span class="ot"> resourceValue=</span><span class="st">"/images/ofbiz.ico"</span><span class="ot"> sequenceId=</span><span class="st">"01"</span><span class="kw">/></span> <span class="kw"><VisualThemeResource</span><span class="ot"> visualThemeId=</span><span class="st">"BLUELIGHT"</span><span class="ot"> resourceTypeEnumId=</span><span class="st">"VT_SCREENSHOT"</span><span class="ot"> resourceValue=</span><span class="st">"/bluelight/screenshot.jpg"</span><span class="ot"> sequenceId=</span><span class="st">"01"</span><span class="kw">/></span> |
Free forum by Nabble | Edit this page |