def getOptionsBoxPackageNameInfo(cls, prevChoices): core = HtmlCore() core.divBegin(divClass='infomessagesmall') core.append('Package name selected: ') core.emphasize(cls._getProtoToolPackageName(prevChoices)) core.divEnd() return '__rawstr__', str(core)
def _exampleText(text): from proto.HtmlCore import HtmlCore core = HtmlCore() core.styleInfoBegin(styleClass='debug', linesep=False) core.append(text.replace('\t', '\\t')) core.styleInfoEnd() return str(core)
def getOptionsBoxPackageNameInfo(cls, prevChoices): core = HtmlCore() core.divBegin(divClass='infomessagesmall') core.append('Package name selected: ') core.emphasize(cls._getProtoToolPackageName(prevChoices)) core.line('') core.line('') core.append('To import tool, use equivalent package name: ') core.emphasize(cls._getProtoToolSymlinkedPackageName(prevChoices)) core.divEnd() return '__rawstr__', str(core)