While using Flare 11, I created a GUI that runs Flare's command line builder to build our different projects as HTML5 outputs. It worked great. However, we've recently upgraded to Flare 2017r2, and the builder no longer works. It builds the outputs, but it ignores the new setting "Allow local stylesheets". Instead of adding header links to foundation.5.5.0.css, Docs.css, and top-nav-2016.css, it adds only Docs.css. When we open Flare and build from the targets directly, it works fine. However, given the large number of projects we have, this is a cumbersome process.
My code opens a GUI with a range of check boxes, allowing you to choose which projects to build as HTML5. On submit, it creates or overwrites a batch file, adds lines to that batch file, and then runs it.
I've attached the code as a .txt file. To run it, you'd need to change the extension to .hta. I'd appreciate any input as to how to get this working again.
Command Line Build Ignore Stylesheets
-
- Propeller Head
- Posts: 11
- Joined: Fri Jun 10, 2011 6:48 am
- Contact:
-
- Propeller Head
- Posts: 11
- Joined: Fri Jun 10, 2011 6:48 am
- Contact:
Re: Command Line Build Ignore Stylesheets
Well, it seems I'm not allowed to upload it, so here it is, copied and pasted.
Code: Select all
<head>
<title>Tech Docs Builder</title>
<HTA:APPLICATION
APPLICATIONNAME="Tech Docs Builder"
SINGLEINSTANCE="yes"
>
<style type="text/css">
body {
background-color: #7093b1;
font-family: "Century Gothic";
font-size: 15px;
}
h1 {
font-size: 20px;
}
h2 {
font-size: 18px;
}
.button, .button-large {
font-family: "Century Gothic";
font-size: 15px;
background-color: #f5f5eb;
border: 2px solid #b65963;
height: 30px;
}
.button-large {
background-color: #b65963;
font-weight: bold;
color: #f5f5eb;
}
.right
{
text-align:right;
padding-top:18px;
line-height: 15px;
padding-right:10px;
}
</style>
</head>
<script language="VBScript">
Dim objCurrDir
Sub Window_OnLoad
SetCurrDir()
End Sub
Sub SetCurrDir()
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set WshShell = CreateObject("WScript.Shell")
strHtmlLocnVal = document.location.href
strThisHTA = Replace(Right(strHtmlLocnVal, Len(strHtmlLocnVal) - 8), "/", "\")
strThisHTA = UnEscape(strThisHTA)
Set objThisFile = objFSO.GetFile(strThisHTA)
objParentDir = objThisFile.ParentFolder
Set objFolder = objFSO.GetFolder(objParentDir)
objCurrDir = objFolder.ShortPath
WshShell.CurrentDirectory = objCurrDir
End Sub
Sub Build
Dim objFSO, outFile, filePath
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set outFile = objFSO.CreateTextFile("Build.cmd", True)
filePath = objCurrDir
'Write the first command line
outFile.WriteLine "CD /D C:\Program Files (x86)\MadCap Software\MadCap Flare V11\Flare.app"
'Write each command line
If enms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Master\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Master\Master Bomgar Project.flprj"" -target Docs11.fltar"
End If
If enrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Support\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Support\Support.flprj"" -target Docs11.fltar"
End If
If enpa.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\PAM\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\PAM\PAM.flprj"" -target Docs11.fltar"
End If
If encn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Connect\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Connect\Connect.flprj"" -target Docs11.fltar"
End If
If envl.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Vault\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Vault\Vault.flprj"" -target Docs11.fltar"
End If
If enin.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Integrations\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Integrations\Integrations.flprj"" -target Docs11.fltar"
End If
If enar.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Archive\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Archive\Archive.flprj"" -target Docs11.fltar"
End If
If dems.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\DE\Master-DE\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\DE\Master-DE\Master-DE.flprj"" -target Docs11.fltar"
End If
If ders.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\DE\Remote-Support-DE\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\DE\Remote-Support-DE\Remote-Support-DE.flprj"" -target Docs11.fltar"
End If
If depa.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\DE\Privileged-Access-DE\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\DE\Privileged-Access-DE\Privileged-Access-DE.flprj"" -target Docs11.fltar"
End If
If decn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\DE\Connect-DE\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\DE\Connect-DE\Connect-DE.flprj"" -target Docs11.fltar"
End If
If esesms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\ES-ES\Master-ES-ES\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\ES-ES\Master-ES-ES\Master-ES-ES.flprj"" -target Docs11.fltar"
End If
If esesrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\ES-ES\Remote-Support-ES-ES\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\ES-ES\Remote-Support-ES-ES\Remote-Support-ES-ES.flprj"" -target Docs11.fltar"
End If
If esescn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\ES-ES\Connect-ES-ES\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\ES-ES\Connect-ES-ES\Connect-ES-ES.flprj"" -target Docs11.fltar"
End If
If eslams.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\ES-LA\Master-ES-LA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\ES-LA\Master-ES-LA\Master-ES-LA.flprj"" -target Docs11.fltar"
End If
If eslars.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\ES-LA\Remote-Support-ES-LA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\ES-LA\Remote-Support-ES-LA\Remote-Support-ES-LA.flprj"" -target Docs11.fltar"
End If
If eslacn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\ES-LA\Connect-ES-LA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\ES-LA\Connect-ES-LA\Connect-ES-LA.flprj"" -target Docs11.fltar"
End If
If frms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\FR\Master-FR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\FR\Master-FR\Master-FR.flprj"" -target Docs11.fltar"
End If
If frrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\FR\Remote-Support-FR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\FR\Remote-Support-FR\Remote-Support-FR.flprj"" -target Docs11.fltar"
End If
If frpa.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\FR\Privileged-Access-FR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\FR\Privileged-Access-FR\Privileged-Access-FR.flprj"" -target Docs11.fltar"
End If
If frcn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\FR\Connect-FR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\FR\Connect-FR\Connect-FR.flprj"" -target Docs11.fltar"
End If
If itms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\IT\Master-IT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\IT\Master-IT\Master-IT.flprj"" -target Docs11.fltar"
End If
If itrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\IT\Remote-Support-IT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\IT\Remote-Support-IT\Remote-Support-IT.flprj"" -target Docs11.fltar"
End If
If itpa.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\IT\Privileged-Access-IT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\IT\Privileged-Access-IT\Privileged-Access-IT.flprj"" -target Docs11.fltar"
End If
If itcn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\IT\Connect-IT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\IT\Connect-IT\Connect-IT.flprj"" -target Docs11.fltar"
End If
If jams.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\JA\Master-JA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\JA\Master-JA\Master-JA.flprj"" -target Docs11.fltar"
End If
If jars.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\JA\Remote-Support-JA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\JA\Remote-Support-JA\Remote-Support-JA.flprj"" -target Docs11.fltar"
End If
If japa.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\JA\Privileged-Access-JA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\JA\Privileged-Access-JA\Privileged-Access-JA.flprj"" -target Docs11.fltar"
End If
If jacn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\JA\Connect-JA\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\JA\Connect-JA\Connect-JA.flprj"" -target Docs11.fltar"
End If
If nlms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\NL\Master-NL\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\NL\Master-NL\Master-NL.flprj"" -target Docs11.fltar"
End If
If nlpa.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\NL\Privileged-Access-NL\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\NL\Privileged-Access-NL\Privileged-Access-NL.flprj"" -target Docs11.fltar"
End If
If ptbrms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\PT-BR\Master-PT-BR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\PT-BR\Master-PT-BR\Master-PT-BR.flprj"" -target Docs11.fltar"
End If
If ptbrrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\PT-BR\Remote-Support-PT-BR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\PT-BR\Remote-Support-PT-BR\Remote-Support-PT-BR.flprj"" -target Docs11.fltar"
End If
If ptbrcn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\PT-BR\Connect-PT-BR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\PT-BR\Connect-PT-BR\Connect-PT-BR.flprj"" -target Docs11.fltar"
End If
If ptptms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\PT-PT\Master-PT-PT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\PT-PT\Master-PT-PT\Master-PT-PT.flprj"" -target Docs11.fltar"
End If
If ptptrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\PT-PT\Remote-Support-PT-PT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\PT-PT\Remote-Support-PT-PT\Remote-Support-PT-PT.flprj"" -target Docs11.fltar"
End If
If ptptcn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\PT-PT\Connect-PT-PT\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\PT-PT\Connect-PT-PT\Connect-PT-PT.flprj"" -target Docs11.fltar"
End If
If trms.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\TR\Master-TR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\TR\Master-TR\Master-TR.flprj"" -target Docs11.fltar"
End If
If trrs.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\TR\Remote-Support-TR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\TR\Remote-Support-TR\Remote-Support-TR.flprj"" -target Docs11.fltar"
End If
If trcn.Checked Then
outFile.WriteLine "@RD /S /Q """+filePath+"\Translations\TR\Connect-TR\Output"""
outFile.WriteLine "madbuild -project """+filePath+"\Translations\TR\Connect-TR\Connect-TR.flprj"" -target Docs11.fltar"
End If
'Close write stream
outFile.Close
Dim shell
Set shell = CreateObject("WScript.Shell")
shell.Run "Build.cmd"
End Sub
Sub Toggle(groupId)
If groupId.style.display="none" Then
groupId.style.display="block"
Else
groupId.style.display="none"
End If
End Sub
Sub ToggleAll
Dim langs
langs = Array(en, de, eses, esla, fr, it, ja, nl, ptbr, ptpt, tr)
If en.style.display="none" Then
For Each lang In langs
lang.style.display="block"
Next
Else
For Each lang In langs
lang.style.display="none"
Next
End If
End Sub
Function CheckAll(arr)
Dim check
check = True
If arr(0).Checked = True Then
check = False
End If
For Each chk in arr
chk.Checked = check
Next
End Function
Sub SelectAll(langId)
Select Case langId
Case "en"
Dim enList
enList = Array(enms, enrs, enpa, encn, envl, enin, enar)
CheckAll(enList)
Case "de"
Dim deList
deList = Array(dems, ders, depa, decn)
CheckAll(deList)
Case "eses"
Dim esesList
esesList = Array(esesms, esesrs, esescn)
CheckAll(esesList)
Case "esla"
Dim eslaList
eslaList = Array(eslams, eslars, eslacn)
CheckAll(eslaList)
Case "fr"
Dim frList
frList = Array(frms, frrs, frpa, frcn)
CheckAll(frList)
Case "it"
Dim itList
itList = Array(itms, itrs, itpa, itcn)
CheckAll(itList)
Case "ja"
Dim jaList
jaList = Array(jams, jars, japa, jacn)
CheckAll(jaList)
Case "nl"
Dim nlList
nlList = Array(nlms, nlpa)
CheckAll(nlList)
Case "ptbr"
Dim ptbrList
ptbrList = Array(ptbrms, ptbrrs, ptbrcn)
CheckAll(ptbrList)
Case "ptpt"
Dim ptptList
ptptList = Array(ptptms, ptptrs, ptptcn)
CheckAll(ptptList)
Case "tr"
Dim trList
trList = Array(trms, trrs, trcn)
CheckAll(trList)
Case "master"
Dim masterList
masterList = Array(dems, enms, esesms, eslams, frms, itms, jams, nlms, ptbrms, ptptms, trms)
CheckAll(masterList)
Case "rs"
Dim rsList
rsList = Array(ders, enrs, esesrs, eslars, frrs, itrs, jars, ptbrrs, ptptrs, trrs)
CheckAll(rsList)
Case "pa"
Dim paList
paList = Array(depa, enpa, frpa, itpa, japa, nlpa)
CheckAll(paList)
Case "connect"
Dim connectList
connectList = Array(decn, encn, esescn, eslacn, frcn, itcn, jacn, ptbrcn, ptptcn, trcn)
CheckAll(connectList)
Case "all"
Dim allList
allList = Array(decn, dems, depa, ders, enar, encn, enin, enms, enpa, enrs, envl, esescn, esesms, esesrs, eslacn, eslams, eslars, frcn, frms, frpa, frrs, itcn, itms, itpa, itrs, jacn, jams, japa, jars, nlms, nlpa, ptbrcn, ptbrms, ptbrrs, ptptcn, ptptms, ptptrs, trcn, trms, trrs)
CheckAll(allList)
End Select
End Sub
</script>
<body>
<h1>Choose which files to build. <input type="button" value="Show/Hide All" class="button" onClick="ToggleAll" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('all')" /> <input type="button" value="Start Build" name="run_button" class="button-large" onClick="Build"></h1>
<p><input type="button" value="Check/Uncheck All Master" class="button" onClick="SelectAll('master')" /> <input type="button" value="Check/Uncheck All RS" class="button" onClick="SelectAll('rs')" /> <input type="button" value="Check/Uncheck All PA" class="button" onClick="SelectAll('pa')" /> <input type="button" value="Check/Uncheck All Connect" class="button" onClick="SelectAll('connect')" /></p>
<table>
<tr>
<td class="right">
<h2>English</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(en)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('en')" />
</td>
</tr>
<tr style="display:none" id="en">
<td> </td>
<td>
<p><input type="checkbox" name="enms" id="enms" /> <label for="enms">Master Site</label></p>
<p><input type="checkbox" name="enrs" id="enrs" /> <label for="enrs">Remote Support Site</label></p>
<p><input type="checkbox" name="enpa" id="enpa" /> <label for="enpa">Privileged Access Site</label></p>
<p><input type="checkbox" name="encn" id="encn" /> <label for="encn">Connect Site</label></p>
<p><input type="checkbox" name="envl" id="envl" /> <label for="envl">Vault Site</label></p>
<p><input type="checkbox" name="enin" id="enin" /> <label for="enin">Integrations Site</label></p>
<p><input type="checkbox" name="enar" id="enar" /> <label for="enar">Archive Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>German</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(de)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('de')" />
</td>
</tr>
<tr style="display:none" id="de">
<td> </td>
<td>
<p><input type="checkbox" name="dems" id="dems" /> <label for="dems">Master Site</label></p>
<p><input type="checkbox" name="ders" id="ders" /> <label for="ders">Remote Support Site</label></p>
<p><input type="checkbox" name="depa" id="depa" /> <label for="depa">Privileged Access Site</label></p>
<p><input type="checkbox" name="decn" id="decn" /> <label for="decn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Spanish (Spain)</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(eses)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('eses')" />
</td>
</tr>
<tr style="display:none" id="eses">
<td> </td>
<td>
<p><input type="checkbox" name="esesms" id="esesms" /> <label for="esesms">Master Site</label></p>
<p><input type="checkbox" name="esesrs" id="esesrs" /> <label for="esesrs">Remote Support Site</label></p>
<p><input type="checkbox" name="esescn" id="esescn" /> <label for="esescn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Spanish (International)</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(esla)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('esla')" />
</td>
</tr>
<tr style="display:none" id="esla">
<td> </td>
<td>
<p><input type="checkbox" name="eslams" id="eslams" /> <label for="eslams">Master Site</label></p>
<p><input type="checkbox" name="eslars" id="eslars" /> <label for="eslars">Remote Support Site</label></p>
<p><input type="checkbox" name="eslacn" id="eslacn" /> <label for="eslacn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>French</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(fr)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('fr')" />
</td>
</tr>
<tr style="display:none" id="fr">
<td> </td>
<td>
<p><input type="checkbox" name="frms" id="frms" /> <label for="frms">Master Site</label></p>
<p><input type="checkbox" name="frrs" id="frrs" /> <label for="frrs">Remote Support Site</label></p>
<p><input type="checkbox" name="frpa" id="frpa" /> <label for="frpa">Privileged Access Site</label></p>
<p><input type="checkbox" name="frcn" id="frcn" /> <label for="frcn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Italian</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(it)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('it')" />
</td>
</tr>
<tr style="display:none" id="it">
<td> </td>
<td>
<p><input type="checkbox" name="itms" id="itms" /> <label for="itms">Master Site</label></p>
<p><input type="checkbox" name="itrs" id="itrs" /> <label for="itrs">Remote Support Site</label></p>
<p><input type="checkbox" name="itpa" id="itpa" /> <label for="itpa">Privileged Access Site</label></p>
<p><input type="checkbox" name="itcn" id="itcn" /> <label for="itcn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Japanese</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(ja)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('ja')" />
</td>
</tr>
<tr style="display:none" id="ja">
<td> </td>
<td>
<p><input type="checkbox" name="jams" id="jams" /> <label for="jams">Master Site</label></p>
<p><input type="checkbox" name="jars" id="jars" /> <label for="jars">Remote Support Site</label></p>
<p><input type="checkbox" name="japa" id="japa" /> <label for="japa">Privileged Access Site</label></p>
<p><input type="checkbox" name="jacn" id="jacn" /> <label for="jacn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Dutch</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(nl)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('nl')" />
</td>
</tr>
<tr style="display:none" id="nl">
<td> </td>
<td>
<p><input type="checkbox" name="nlms" id="nlms" /> <label for="nlms">Master Site</label></p>
<p><input type="checkbox" name="nlpa" id="nlpa" /> <label for="nlpa">Privileged Access Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Portuguese (Brazil)</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(ptbr)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('ptbr')" />
</td>
</tr>
<tr style="display:none" id="ptbr">
<td> </td>
<td>
<p><input type="checkbox" name="ptbrms" id="ptbrms" /> <label for="ptbrms">Master Site</label></p>
<p><input type="checkbox" name="ptbrrs" id="ptbrrs" /> <label for="ptbrrs">Remote Support Site</label></p>
<p><input type="checkbox" name="ptbrcn" id="ptbrcn" /> <label for="ptbrcn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Portuguese (Portugal)</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(ptpt)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('ptpt')" />
</td>
</tr>
<tr style="display:none" id="ptpt">
<td> </td>
<td>
<p><input type="checkbox" name="ptptms" id="ptptms" /> <label for="ptptms">Master Site</label></p>
<p><input type="checkbox" name="ptptrs" id="ptptrs" /> <label for="ptptrs">Remote Support Site</label></p>
<p><input type="checkbox" name="ptptcn" id="ptptcn" /> <label for="ptptcn">Connect Site</label></p>
</td>
</tr>
<tr>
<td class="right">
<h2>Turkish</h2>
</td>
<td>
<input type="button" value="Show/Hide" class="button" onClick="Toggle(tr)" /> <input type="button" value="Check/Uncheck All" class="button" onClick="SelectAll('tr')" />
</td>
</tr>
<tr style="display:none" id="tr">
<td> </td>
<td>
<p><input type="checkbox" name="trms" id="trms" /> <label for="trms">Master Site</label></p>
<p><input type="checkbox" name="trrs" id="trrs" /> <label for="trrs">Remote Support Site</label></p>
<p><input type="checkbox" name="trcn" id="trcn" /> <label for="trcn">Connect Site</label></p>
</td>
</tr>
</table>
</body>
Re: Command Line Build Ignore Stylesheets
Just to back-track a bit here, what's the actual problem?
So when you build via the command line, the target setting for "Allow local stylesheets" is being ignored, and stylesheet links in the topic/master page are not being included in the output? If that's happening, then that's a bug.
Mind, the "Allow local stylesheets" setting didn't exist in v11. So presumably when you used v11 you mustn't have set a master stylesheet at the target/project level, as setting a master stylesheet in v11 would wipe out all other stylesheet links.
As a workaround, is there a different way to set up your stylesheets? For example, I use multiple stylesheets and have a master stylesheet set at the target level, but that master stylesheet just includes a load of @import commands that link to all the stylesheets I want to include. So that would work even if the "Allow local stylesheets" option is broken for command line.
As a side note, Flare already includes the Foundation CSS in the output (although it doesn't include many components), so I'm curious why you're adding that CSS.
Also, 2017r2 doesn't use Foundation 5.5.0, it now uses Foundation 6.2.3.
So when you build via the command line, the target setting for "Allow local stylesheets" is being ignored, and stylesheet links in the topic/master page are not being included in the output? If that's happening, then that's a bug.
Mind, the "Allow local stylesheets" setting didn't exist in v11. So presumably when you used v11 you mustn't have set a master stylesheet at the target/project level, as setting a master stylesheet in v11 would wipe out all other stylesheet links.
As a workaround, is there a different way to set up your stylesheets? For example, I use multiple stylesheets and have a master stylesheet set at the target level, but that master stylesheet just includes a load of @import commands that link to all the stylesheets I want to include. So that would work even if the "Allow local stylesheets" option is broken for command line.
As a side note, Flare already includes the Foundation CSS in the output (although it doesn't include many components), so I'm curious why you're adding that CSS.
Also, 2017r2 doesn't use Foundation 5.5.0, it now uses Foundation 6.2.3.