Sidebar-Atlassian.js 198 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560
  1. (function()
  2. {
  3. // Adds Bootstrap shapes
  4. Sidebar.prototype.addAtlassianPalette = function()
  5. {
  6. var s = 'html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.';
  7. var s2 = 'html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;shape=mxgraph.bootstrap.rect;';
  8. var s3 = mxConstants.STYLE_STROKEWIDTH + '=1;shadow=0;dashed=0;align=center;html=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.mockup.";
  9. var gn = 'mxgraph.atlassian';
  10. var dt = 'atlassian ';
  11. var sb = this;
  12. var fns = [
  13. this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.webicons.atlassian;fillColor=#FFFFFF;gradientColor=#DFDEDE',
  14. 100, 100, '', 'Atlassian', null, null, this.getTagsForStencil(gn, 'atlassian', dt).join(' ')),
  15. this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.webicons.bitbucket;fillColor=#FFFFFF;gradientColor=#DFDEDE',
  16. 100, 100, '', 'Bitbucket', null, null, this.getTagsForStencil(gn, 'bitbucket', dt).join(' ')),
  17. this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.webicons.confluence;fillColor=#FFFFFF;gradientColor=#DFDEDE',
  18. 100, 100, '', 'Confluence', null, null, this.getTagsForStencil(gn, 'confluence', dt).join(' ')),
  19. this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.weblogos.atlassian;fillColor=#59AFE1;strokeColor=none',
  20. 60, 55, '', 'Atlassian', null, null, this.getTagsForStencil(gn, 'atlassian', dt).join(' ')),
  21. this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.weblogos.bitbucket;fillColor=#205081;strokeColor=none',
  22. 65, 75, '', 'Bitbucket', null, null, this.getTagsForStencil(gn, 'bitbucket', dt).join(' ')),
  23. this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.weblogos.confluence;fillColor=#1F5081;strokeColor=none',
  24. 78, 67, '', 'Confluence', null, null, this.getTagsForStencil(gn, 'confluence', dt).join(' ')),
  25. this.createVertexTemplateEntry('shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=46;fontStyle=1;html=1',
  26. 96, 96, 'MM', 'Avatar (Large)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
  27. this.createVertexTemplateEntry('shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=25;fontStyle=1;html=1',
  28. 48, 48, 'MM', 'Avatar (Main)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
  29. this.createVertexTemplateEntry('shape=ellipse;fillColor=#36B37E;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1',
  30. 32, 32, 'MM', 'Avatar (Normal)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
  31. this.createVertexTemplateEntry('shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1',
  32. 24, 24, 'MM', 'Avatar (Small)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
  33. this.createVertexTemplateEntry('shape=ellipse;fillColor=#FF5630;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1',
  34. 16, 16, 'M', 'Avatar (Tiny)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
  35. this.addEntry(dt + 'avatar available', function()
  36. {
  37. var bg = new mxCell('MM', new mxGeometry(0, 0, 32, 32), 'shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1');
  38. bg.vertex = true;
  39. var button1 = new mxCell('', new mxGeometry(1, 1, 10, 10), 'shape=ellipse;fillColor=#36B37E;strokeColor=#ffffff;strokeWidth=2;');
  40. button1.geometry.relative = true;
  41. button1.geometry.offset = new mxPoint(-10, -10);
  42. button1.vertex = true;
  43. bg.insert(button1);
  44. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Avatar (Available)');
  45. }),
  46. this.addEntry(dt + 'avatar away', function()
  47. {
  48. var bg = new mxCell('MM', new mxGeometry(0, 0, 32, 32), 'shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1');
  49. bg.vertex = true;
  50. var button1 = new mxCell('', new mxGeometry(1, 1, 10, 10), s + 'away;fillColor=#7A869A;strokeColor=#ffffff;strokeWidth=2;');
  51. button1.geometry.relative = true;
  52. button1.geometry.offset = new mxPoint(-10, -10);
  53. button1.vertex = true;
  54. bg.insert(button1);
  55. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Avatar (Away)');
  56. }),
  57. this.addEntry(dt + 'avatar do not disturb unavailable', function()
  58. {
  59. var bg = new mxCell('MM', new mxGeometry(0, 0, 32, 32), 'shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1');
  60. bg.vertex = true;
  61. var button1 = new mxCell('', new mxGeometry(1, 1, 10, 10), s + 'do_not_disturb;fillColor=#FF5630;strokeColor=#ffffff;strokeWidth=2;');
  62. button1.geometry.relative = true;
  63. button1.geometry.offset = new mxPoint(-10, -10);
  64. button1.vertex = true;
  65. bg.insert(button1);
  66. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Avatar (Do not disturb)');
  67. }),
  68. this.createVertexTemplateEntry('rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=1;html=1',
  69. 40, 40, '</>', 'Container Avatar (Large)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'container avatar large').join(' ')),
  70. this.createVertexTemplateEntry('rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1',
  71. 32, 32, '</>', 'Container Avatar (Medium)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'container avatar medium').join(' ')),
  72. this.createVertexTemplateEntry('rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1',
  73. 24, 24, '</>', 'Container Avatar (Small)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'container avatar small').join(' ')),
  74. this.createVertexTemplateEntry('shape=ellipse;fillColor=#0065FF;strokeColor=none;html=1',
  75. 10, 10, '', 'Dot Badge', null, null, this.getTagsForStencil(gn, '', dt + 'dot badge').join(' ')),
  76. this.createVertexTemplateEntry('rounded=1;fillColor=#0065FF;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=1;arcSize=50',
  77. 40, 25, '13', 'Bold Badge', null, null, this.getTagsForStencil(gn, '', dt + 'bold badge').join(' ')),
  78. this.createVertexTemplateEntry('rounded=1;fillColor=#E3FCEF;strokeColor=none;html=1;fontColor=#016745;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=0;arcSize=50',
  79. 40, 25, '+1', 'Subtle Badge', null, null, this.getTagsForStencil(gn, '', dt + 'subtle badge').join(' ')),
  80. this.addEntry(dt + 'banner', function()
  81. {
  82. var bg = new mxCell('', new mxGeometry(0, 0, 625, 50), 'rounded=0;fillColor=#FFAB00;strokeColor=none;html=1');
  83. bg.vertex = true;
  84. var icon1 = new mxCell('<b>More information?</b> See the <u>recovery process documentation</u>.',
  85. new mxGeometry(0.15, 0.5, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#172B4C;strokeColor=none;fontColor=#172B4C;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  86. icon1.geometry.relative = true;
  87. icon1.geometry.offset = new mxPoint(0, -10);
  88. icon1.vertex = true;
  89. bg.insert(icon1);
  90. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Banner');
  91. }),
  92. this.addEntry(dt + 'banner', function()
  93. {
  94. var bg = new mxCell('', new mxGeometry(0, 0, 625, 50), 'rounded=0;fillColor=#DE350A;strokeColor=none;html=1');
  95. bg.vertex = true;
  96. var icon1 = new mxCell('A database error has occurred. Please reload the page.',
  97. new mxGeometry(0.15, 0.5, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#ffffff;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  98. icon1.geometry.relative = true;
  99. icon1.geometry.offset = new mxPoint(0, -10);
  100. icon1.vertex = true;
  101. bg.insert(icon1);
  102. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Banner');
  103. }),
  104. this.createVertexTemplateEntry('fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0',
  105. 360, 25, 'Atlassian / Atlassian Connect / atlassian-connect-js-extra', 'Breadcrumb', null, null, this.getTagsForStencil(gn, '', dt + 'breadcrumb').join(' ')),
  106. this.addEntry(dt + 'button primary', function()
  107. {
  108. var bg = new mxCell('Pay now', new mxGeometry(25, 0, 86, 33), 'rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12');
  109. bg.vertex = true;
  110. var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'checkbox;fillColor=#008465;strokeColor=none;html=1');
  111. icon1.vertex = true;
  112. return sb.createVertexTemplateFromCells([bg, icon1], 111, 33, 'Button (Primary)');
  113. }),
  114. this.addEntry(dt + 'button standard', function()
  115. {
  116. var bg = new mxCell('Create Group', new mxGeometry(25, 0, 115, 33), 'rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  117. bg.vertex = true;
  118. var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'checkbox;fillColor=#008465;strokeColor=none;html=1');
  119. icon1.vertex = true;
  120. return sb.createVertexTemplateFromCells([bg, icon1], 140, 33, 'Button (Standard)');
  121. }),
  122. this.addEntry(dt + 'button link', function()
  123. {
  124. var bg = new mxCell('Visit documentation', new mxGeometry(25, 0, 125, 33), 'fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12');
  125. bg.vertex = true;
  126. var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'checkbox;fillColor=#008465;strokeColor=none;html=1');
  127. icon1.vertex = true;
  128. return sb.createVertexTemplateFromCells([bg, icon1], 150, 33, 'Button (Link)');
  129. }),
  130. this.addEntry(dt + 'button primary', function()
  131. {
  132. var bg = new mxCell('Submit', new mxGeometry(25, 0, 80, 33), 'rounded=1;fillColor=#0057D8;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12');
  133. bg.vertex = true;
  134. var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'close;fillColor=#BA3200;strokeColor=none;html=1');
  135. icon1.vertex = true;
  136. return sb.createVertexTemplateFromCells([bg, icon1], 105, 33, 'Button (Primary)');
  137. }),
  138. this.addEntry(dt + 'button standard', function()
  139. {
  140. var bg = new mxCell('Done', new mxGeometry(25, 0, 55, 33), 'rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  141. bg.vertex = true;
  142. var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'close;fillColor=#BA3200;strokeColor=none;html=1');
  143. icon1.vertex = true;
  144. return sb.createVertexTemplateFromCells([bg, icon1], 80, 33, 'Button (Standard)');
  145. }),
  146. this.addEntry(dt + 'button link', function()
  147. {
  148. var bg = new mxCell('Click here', new mxGeometry(25, 0, 75, 33), 'fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12');
  149. bg.vertex = true;
  150. var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'close;fillColor=#BA3200;strokeColor=none;html=1');
  151. icon1.vertex = true;
  152. return sb.createVertexTemplateFromCells([bg, icon1], 100, 33, 'Button (Link)');
  153. }),
  154. this.createVertexTemplateEntry('rounded=1;fillColor=#0057D8;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=12',
  155. 86, 33, 'Primary', 'Button (Primary)', null, null, this.getTagsForStencil(gn, '', dt + 'button primary').join(' ')),
  156. this.createVertexTemplateEntry('rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=12',
  157. 86, 33, 'Standard', 'Button (Standard)', null, null, this.getTagsForStencil(gn, '', dt + 'button standard').join(' ')),
  158. this.createVertexTemplateEntry('fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=center;verticalAlign=middle;fontStyle=0;fontSize=12',
  159. 86, 33, 'Link button', 'Button (Link)', null, null, this.getTagsForStencil(gn, '', dt + 'button link').join(' ')),
  160. this.addEntry(dt + 'dropdown button', function()
  161. {
  162. var bg = new mxCell('Dropdown button', new mxGeometry(0, 0, 140, 33), 'rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=12;spacingLeft=10');
  163. bg.vertex = true;
  164. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
  165. icon1.geometry.relative = true;
  166. icon1.geometry.offset = new mxPoint(-20, -3);
  167. icon1.vertex = true;
  168. bg.insert(icon1);
  169. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Button (dropdown)');
  170. }),
  171. this.addEntry(dt + 'button label only', function()
  172. {
  173. var bg = new mxCell('Label only', new mxGeometry(0, 0, 80, 33), 'rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  174. bg.vertex = true;
  175. return sb.createVertexTemplateFromCells([bg], 80, 33, 'Button (label only)');
  176. }),
  177. this.addEntry(dt + 'button icon and label', function()
  178. {
  179. var bg = new mxCell('Icon and label', new mxGeometry(0, 0, 120, 33), 'rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;');
  180. bg.vertex = true;
  181. var icon1 = new mxCell('',
  182. new mxGeometry(0, 0.5, 12, 12), 'shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  183. icon1.geometry.relative = true;
  184. icon1.geometry.offset = new mxPoint(10, -6);
  185. icon1.vertex = true;
  186. bg.insert(icon1);
  187. return sb.createVertexTemplateFromCells([bg], 120, 33, 'Button (icon and label)');
  188. }),
  189. this.addEntry(dt + 'button icon only', function()
  190. {
  191. var bg = new mxCell('', new mxGeometry(0, 0, 32, 33), 'rounded=1;align=left;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;');
  192. bg.vertex = true;
  193. var icon1 = new mxCell('',
  194. new mxGeometry(0, 0.5, 12, 12), 'shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  195. icon1.geometry.relative = true;
  196. icon1.geometry.offset = new mxPoint(10, -6);
  197. icon1.vertex = true;
  198. bg.insert(icon1);
  199. return sb.createVertexTemplateFromCells([bg], 32, 33, 'Button (icon only)');
  200. }),
  201. this.addEntry(dt + 'button subtle', function()
  202. {
  203. var bg = new mxCell('Subtle', new mxGeometry(0, 0, 80, 33), 'rounded=1;align=left;fillColor=none;strokeColor=none;html=1;fontColor=#596780;fontSize=12;spacingLeft=26;');
  204. bg.vertex = true;
  205. var icon1 = new mxCell('',
  206. new mxGeometry(0, 0.5, 12, 12), 'shape=mxgraph.mscae.intune.subscription_portal;fillColor=#596780;strokeColor=none;fontColor=#ffffff;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  207. icon1.geometry.relative = true;
  208. icon1.geometry.offset = new mxPoint(10, -6);
  209. icon1.vertex = true;
  210. bg.insert(icon1);
  211. return sb.createVertexTemplateFromCells([bg], 80, 33, 'Button (subtle)');
  212. }),
  213. this.addEntry(dt + 'button disabled', function()
  214. {
  215. var bg = new mxCell('Disabled button', new mxGeometry(0, 0, 110, 33), 'rounded=1;align=center;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#A5ADBA;fontSize=12');
  216. bg.vertex = true;
  217. return sb.createVertexTemplateFromCells([bg], 110, 33, 'Button (disabled)');
  218. }),
  219. this.addEntry(dt + 'split button', function()
  220. {
  221. var bg = new mxCell('Split', new mxGeometry(0, 0, 80, 33), 'rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=12;spacingLeft=10');
  222. bg.vertex = true;
  223. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
  224. icon1.geometry.relative = true;
  225. icon1.geometry.offset = new mxPoint(-20, -3);
  226. icon1.vertex = true;
  227. bg.insert(icon1);
  228. var icon2 = new mxCell('', new mxGeometry(1, 0, 12, 33), 'shape=line;direction=south;strokeColor=#ffffff;html=1;strokeWidth=2');
  229. icon2.geometry.relative = true;
  230. icon2.geometry.offset = new mxPoint(-35, 0);
  231. icon2.vertex = true;
  232. bg.insert(icon2);
  233. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Button (split)');
  234. }),
  235. this.addEntry(dt + 'button grouped', function()
  236. {
  237. var bg = new mxCell('', new mxGeometry(0, 0, 320, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
  238. bg.vertex = true;
  239. var button2 = new mxCell('Button 2', new mxGeometry(0, 0, 80, 33), 'rounded=0;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  240. button2.geometry.relative = true;
  241. button2.geometry.offset = new mxPoint(80, 0);
  242. button2.vertex = true;
  243. bg.insert(button2);
  244. var button3 = new mxCell('Button 3', new mxGeometry(0, 0, 80, 33), 'rounded=0;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  245. button3.geometry.relative = true;
  246. button3.geometry.offset = new mxPoint(160, 0);
  247. button3.vertex = true;
  248. bg.insert(button3);
  249. var button4 = new mxCell('Button 4', new mxGeometry(1, 0, 80, 33), s3 + 'rightButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  250. button4.geometry.relative = true;
  251. button4.geometry.offset = new mxPoint(-80, 0);
  252. button4.vertex = true;
  253. bg.insert(button4);
  254. var button1 = new mxCell('Button 1', new mxGeometry(0, 0, 80, 33), s3 + 'leftButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  255. button1.geometry.relative = true;
  256. button1.vertex = true;
  257. bg.insert(button1);
  258. return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Button (grouped)');
  259. }),
  260. this.addEntry(dt + 'button compact', function()
  261. {
  262. var bg = new mxCell('Compact', new mxGeometry(0, 0, 86, 33), 'rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  263. bg.vertex = true;
  264. var icon1 = new mxCell('', new mxGeometry(107, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  265. icon1.vertex = true;
  266. var icon2 = new mxCell('', new mxGeometry(117, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  267. icon2.vertex = true;
  268. var icon3 = new mxCell('', new mxGeometry(127, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  269. icon3.vertex = true;
  270. return sb.createVertexTemplateFromCells([bg, icon1, icon2, icon3], 133, 33, 'Button (compact)');
  271. }),
  272. this.addEntry(dt + 'button grouped group', function()
  273. {
  274. var bg1 = new mxCell('Edit', new mxGeometry(0, 0, 50, 33), 'rounded=1;fillColor=#0065FF;align=center;strokeColor=none;html=1;fontColor=#ffffff;fontSize=12');
  275. bg1.vertex = true;
  276. var bg2 = new mxCell('Comment', new mxGeometry(55, 0, 80, 33), 'rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  277. bg2.vertex = true;
  278. var bg3 = new mxCell('Assign', new mxGeometry(140, 0, 70, 33), 'rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  279. bg3.vertex = true;
  280. var bg4 = new mxCell('', new mxGeometry(215, 0, 240, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
  281. bg4.vertex = true;
  282. var button2 = new mxCell('In Progress', new mxGeometry(0, 0, 90, 33), s3 + 'rrect;rSize=0;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  283. button2.geometry.relative = true;
  284. button2.geometry.offset = new mxPoint(60, 0);
  285. button2.vertex = true;
  286. bg4.insert(button2);
  287. var button3 = new mxCell('Workflow', new mxGeometry(1, 0, 90, 33), mxConstants.STYLE_STROKEWIDTH + '=1;shadow=0;dashed=0;align=left;html=1;' + mxConstants.STYLE_SHAPE + '=mxgraph.mockup.rightButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;spacingLeft=10;');
  288. button3.geometry.relative = true;
  289. button3.geometry.offset = new mxPoint(-90, 0);
  290. button3.vertex = true;
  291. bg4.insert(button3);
  292. var button1 = new mxCell('Later', new mxGeometry(0, 0, 60, 33), s3 + 'leftButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  293. button1.geometry.relative = true;
  294. button1.vertex = true;
  295. bg4.insert(button1);
  296. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
  297. icon1.geometry.relative = true;
  298. icon1.geometry.offset = new mxPoint(-20, -3);
  299. icon1.vertex = true;
  300. button3.insert(icon1);
  301. var bg5 = new mxCell('', new mxGeometry(500, 0, 56, 33), 'rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
  302. bg5.vertex = true;
  303. var icon1 = new mxCell('', new mxGeometry(15, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  304. icon1.vertex = true;
  305. bg5.insert(icon1);
  306. var icon2 = new mxCell('', new mxGeometry(25, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  307. icon2.vertex = true;
  308. bg5.insert(icon2);
  309. var icon3 = new mxCell('', new mxGeometry(35, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  310. icon3.vertex = true;
  311. bg5.insert(icon3);
  312. return sb.createVertexTemplateFromCells([bg1, bg2, bg3, bg4, bg5], 556, 33, 'Button (grouped)');
  313. }),
  314. this.addEntry(dt + 'button grouped group responsive', function()
  315. {
  316. var bg1 = new mxCell('', new mxGeometry(0, 0, 230, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
  317. bg1.vertex = true;
  318. var button1 = new mxCell('Assign', new mxGeometry(0, 0, 60, 33), s3 + 'leftButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  319. button1.geometry.relative = true;
  320. button1.vertex = true;
  321. bg1.insert(button1);
  322. var button2 = new mxCell('Assign to me', new mxGeometry(0, 0, 90, 33), 'rounded=0;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  323. button2.geometry.relative = true;
  324. button2.geometry.offset = new mxPoint(60, 0);
  325. button2.vertex = true;
  326. bg1.insert(button2);
  327. var button3 = new mxCell('Comment', new mxGeometry(1, 0, 80, 33), s3 + 'rightButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  328. button3.geometry.relative = true;
  329. button3.geometry.offset = new mxPoint(-80, 0);
  330. button3.vertex = true;
  331. bg1.insert(button3);
  332. var bg2 = new mxCell('', new mxGeometry(250, 0, 116, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
  333. bg2.vertex = true;
  334. var button4 = new mxCell('Assign', new mxGeometry(0, 0, 60, 33), s3 + 'leftButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  335. button4.geometry.relative = true;
  336. button4.vertex = true;
  337. bg2.insert(button4);
  338. var button5 = new mxCell('', new mxGeometry(1, 0, 56, 33), s3 + 'rightButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  339. button5.geometry.relative = true;
  340. button5.geometry.offset = new mxPoint(-56, 0);
  341. button5.vertex = true;
  342. bg2.insert(button5);
  343. var icon1 = new mxCell('', new mxGeometry(15, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  344. icon1.vertex = true;
  345. button5.insert(icon1);
  346. var icon2 = new mxCell('', new mxGeometry(25, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  347. icon2.vertex = true;
  348. button5.insert(icon2);
  349. var icon3 = new mxCell('', new mxGeometry(35, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
  350. icon3.vertex = true;
  351. button5.insert(icon3);
  352. var bg3 = new mxCell('', new mxGeometry(386, 0, 116, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
  353. bg3.vertex = true;
  354. var button4 = new mxCell('Assign', new mxGeometry(0, 0, 60, 33), s3 + 'leftButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=none;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  355. button4.geometry.relative = true;
  356. button4.vertex = true;
  357. bg3.insert(button4);
  358. var button5 = new mxCell('', new mxGeometry(1, 0, 56, 33), s3 + 'rightButton;rSize=10;fontSize=12;fontColor=#596780;fontStyle=0;fillColor=#42526E;strokeColor=#ffffff;strokeWidth=2;resizeHeight=1;');
  359. button5.geometry.relative = true;
  360. button5.geometry.offset = new mxPoint(-56, 0);
  361. button5.vertex = true;
  362. bg3.insert(button5);
  363. var icon1 = new mxCell('', new mxGeometry(15, 13, 6, 6), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  364. icon1.vertex = true;
  365. button5.insert(icon1);
  366. var icon2 = new mxCell('', new mxGeometry(25, 13, 6, 6), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  367. icon2.vertex = true;
  368. button5.insert(icon2);
  369. var icon3 = new mxCell('', new mxGeometry(35, 13, 6, 6), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  370. icon3.vertex = true;
  371. button5.insert(icon3);
  372. var bg4 = new mxCell('Edit issue\n\nComment', new mxGeometry(446, 38, 105, 66), s3 + 'rrect;rSize=10;fillColor=#42526E;strokeColor=#ffffff;strokeWidth=2;fontSize=12;fontColor=#ffffff;fontStyle=0');
  373. bg4.vertex = true;
  374. return sb.createVertexTemplateFromCells([bg1, bg2, bg3, bg4], 551, 104, 'Button (grouped, responsive)');
  375. }),
  376. this.createVertexTemplateEntry(s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10',
  377. 12, 12, 'Text', 'Checkbox (on)', null, null, this.getTagsForStencil(gn, '', dt + 'checkbox on').join(' ')),
  378. this.createVertexTemplateEntry('rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0',
  379. 12, 12, 'Text', 'Checkbox (off)', null, null, this.getTagsForStencil(gn, '', dt + 'checkbox on').join(' ')),
  380. this.addEntry(dt + 'checkbox group', function()
  381. {
  382. var item1 = new mxCell('Selected coffees', new mxGeometry(0, 0, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
  383. item1.vertex = true;
  384. var item2 = new mxCell('Espresso', new mxGeometry(10, 30, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  385. item2.vertex = true;
  386. var item3 = new mxCell('Cappuccino', new mxGeometry(10, 55, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  387. item3.vertex = true;
  388. var item4 = new mxCell('Flat white', new mxGeometry(10, 80, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  389. item4.vertex = true;
  390. var item5 = new mxCell('Long black', new mxGeometry(10, 105, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  391. item5.vertex = true;
  392. var item6 = new mxCell('Add', new mxGeometry(0, 140, 60, 33), 'rounded=1;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0');
  393. item6.vertex = true;
  394. var item7 = new mxCell('Cancel', new mxGeometry(70, 140, 60, 33), 'fillColor=none;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0');
  395. item7.vertex = true;
  396. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6, item7], 150, 173, 'Checkbox group');
  397. }),
  398. this.addEntry(dt + 'dropdown button', function()
  399. {
  400. var item1 = new mxCell('Status', new mxGeometry(0, 0, 100, 20), 'rounded=1;fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=11;spacingLeft=10;fontSize=11');
  401. item1.vertex = true;
  402. var item2 = new mxCell('Workflow', new mxGeometry(0, 20, 100, 33), 'rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=12;spacingLeft=10');
  403. item2.vertex = true;
  404. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
  405. icon1.geometry.relative = true;
  406. icon1.geometry.offset = new mxPoint(-20, -3);
  407. icon1.vertex = true;
  408. item2.insert(icon1);
  409. return sb.createVertexTemplateFromCells([item1, item2], 100, 53, 'Button (dropdown)');
  410. }),
  411. this.addEntry(dt + 'dropdown button open', function()
  412. {
  413. var item1 = new mxCell('Status', new mxGeometry(0, 0, 100, 20), 'rounded=1;fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=11;spacingLeft=10;fontSize=11');
  414. item1.vertex = true;
  415. var item2 = new mxCell('Workflow', new mxGeometry(0, 20, 100, 33), 'rounded=1;fillColor=#253858;strokeColor=none;html=1;fontColor=#ffffff;align=left;fontSize=12;spacingLeft=10');
  416. item2.vertex = true;
  417. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;html=1');
  418. icon1.geometry.relative = true;
  419. icon1.geometry.offset = new mxPoint(-20, -3);
  420. icon1.vertex = true;
  421. item2.insert(icon1);
  422. var item3 = new mxCell('', new mxGeometry(0, 56, 110, 144), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  423. item3.vertex = true;
  424. var item4 = new mxCell('Closed', new mxGeometry(0, 0, 110, 33), 'rounded=0;fillColor=#F4F5F7;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  425. item4.geometry.relative = true;
  426. item4.geometry.offset = new mxPoint(0, 6);
  427. item4.vertex = true;
  428. item3.insert(item4);
  429. var item5 = new mxCell('Reviewed', new mxGeometry(0, 0, 110, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  430. item5.geometry.relative = true;
  431. item5.geometry.offset = new mxPoint(0, 39);
  432. item5.vertex = true;
  433. item3.insert(item5);
  434. var item6 = new mxCell('Abandoned', new mxGeometry(0, 0, 110, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  435. item6.geometry.relative = true;
  436. item6.geometry.offset = new mxPoint(0, 72);
  437. item6.vertex = true;
  438. item3.insert(item6);
  439. var item7 = new mxCell('Workflow', new mxGeometry(0, 0, 110, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  440. item7.geometry.relative = true;
  441. item7.geometry.offset = new mxPoint(0, 105);
  442. item7.vertex = true;
  443. item3.insert(item7);
  444. return sb.createVertexTemplateFromCells([item1, item2, item3], 110, 200, 'Button (dropdown, open)');
  445. }),
  446. this.addEntry(dt + 'dropdown avatar', function()
  447. {
  448. var item1 = new mxCell('Choose a designer', new mxGeometry(0, 0, 120, 20), 'rounded=1;fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;fontSize=11;spacingLeft=10;fontSize=11');
  449. item1.vertex = true;
  450. var item2 = new mxCell('', new mxGeometry(0, 20, 150, 33), 'rounded=1;fillColor=#253858;strokeColor=none;html=1;');
  451. item2.vertex = true;
  452. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;html=1');
  453. icon1.geometry.relative = true;
  454. icon1.geometry.offset = new mxPoint(-20, -3);
  455. icon1.vertex = true;
  456. item2.insert(icon1);
  457. var icon2 = new mxCell('Paige Turner', new mxGeometry(0, 0.5, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#ffffff;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  458. icon2.geometry.relative = true;
  459. icon2.geometry.offset = new mxPoint(10, -12);
  460. icon2.vertex = true;
  461. item2.insert(icon2);
  462. var item3 = new mxCell('', new mxGeometry(0, 56, 160, 111), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  463. item3.vertex = true;
  464. var item4 = new mxCell('', new mxGeometry(0, 0, 160, 33), 'rounded=0;fillColor=#F4F5F7;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  465. item4.geometry.relative = true;
  466. item4.geometry.offset = new mxPoint(0, 6);
  467. item4.vertex = true;
  468. item3.insert(item4);
  469. var icon3 = new mxCell('Paige Turner', new mxGeometry(0, 0.5, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  470. icon3.geometry.relative = true;
  471. icon3.geometry.offset = new mxPoint(10, -12);
  472. icon3.vertex = true;
  473. item4.insert(icon3);
  474. var item5 = new mxCell('', new mxGeometry(0, 0, 160, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  475. item5.geometry.relative = true;
  476. item5.geometry.offset = new mxPoint(0, 39);
  477. item5.vertex = true;
  478. item3.insert(item5);
  479. var icon3 = new mxCell('Sam Samuels', new mxGeometry(0, 0.5, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  480. icon3.geometry.relative = true;
  481. icon3.geometry.offset = new mxPoint(10, -12);
  482. icon3.vertex = true;
  483. item5.insert(icon3);
  484. var item6 = new mxCell('', new mxGeometry(0, 0, 160, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  485. item6.geometry.relative = true;
  486. item6.geometry.offset = new mxPoint(0, 72);
  487. item6.vertex = true;
  488. item3.insert(item6);
  489. var icon3 = new mxCell('Casey Chambers', new mxGeometry(0, 0.5, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  490. icon3.geometry.relative = true;
  491. icon3.geometry.offset = new mxPoint(10, -12);
  492. icon3.vertex = true;
  493. item6.insert(icon3);
  494. return sb.createVertexTemplateFromCells([item1, item2, item3], 160, 167, 'Button (avatar)');
  495. }),
  496. this.addEntry(dt + 'flag message', function()
  497. {
  498. var item1 = new mxCell('', new mxGeometry(0, 0, 333, 90), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  499. item1.vertex = true;
  500. var icon1 = new mxCell('START-85 has been created', new mxGeometry(0, 0, 14, 14), s + 'checkbox;fillColor=#36B37E;strokeColor=none;html=1;fontSize=14;fontStyle=0;labelPosition=right;align=left;spacingLeft=20');
  501. icon1.geometry.relative = true;
  502. icon1.geometry.offset = new mxPoint(25, 25);
  503. icon1.vertex = true;
  504. item1.insert(icon1);
  505. var icon2 = new mxCell('View issue &#8226; Add to next sprint', new mxGeometry(0, 0, 260, 20), s + 'checkbox;fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=0;fontColor=#0049B0;align=left;');
  506. icon2.geometry.relative = true;
  507. icon2.geometry.offset = new mxPoint(60, 50);
  508. icon2.vertex = true;
  509. item1.insert(icon2);
  510. var icon3 = new mxCell('', new mxGeometry(1, 0, 14, 14), s + 'x;strokeColor=#B3B3B3;strokeWidth=2');
  511. icon3.geometry.relative = true;
  512. icon3.geometry.offset = new mxPoint(-39, 25);
  513. icon3.vertex = true;
  514. item1.insert(icon3);
  515. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Flag message');
  516. }),
  517. this.addEntry(dt + 'multiple flag message', function()
  518. {
  519. var item1 = new mxCell('', new mxGeometry(0, 0, 333, 150), ' rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  520. item1.vertex = true;
  521. var icon1 = new mxCell('Nifty concise title', new mxGeometry(0, 0, 14, 14), 'shape=mxgraph.azure.azure_alert;fillColor=#FF5630;strokeColor=none;html=1;fontSize=14;fontStyle=0;labelPosition=right;align=left;spacingLeft=20');
  522. icon1.geometry.relative = true;
  523. icon1.geometry.offset = new mxPoint(25, 25);
  524. icon1.vertex = true;
  525. item1.insert(icon1);
  526. var icon2 = new mxCell("It's best if the title is in sentence case and this description text is super informative and awesome.", new mxGeometry(0, 0, 230, 60), 'fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=0;fontColor=#000000;align=left;whiteSpace=wrap');
  527. icon2.geometry.relative = true;
  528. icon2.geometry.offset = new mxPoint(60, 50);
  529. icon2.vertex = true;
  530. item1.insert(icon2);
  531. var icon3 = new mxCell('', new mxGeometry(1, 0, 14, 14), s + 'x;strokeColor=#B3B3B3;strokeWidth=2');
  532. icon3.geometry.relative = true;
  533. icon3.geometry.offset = new mxPoint(-39, 25);
  534. icon3.vertex = true;
  535. item1.insert(icon3);
  536. var icon4 = new mxCell('Link to more info &#8226; Link to action', new mxGeometry(0, 0, 230, 20), s + 'checkbox;fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=0;fontColor=#0049B0;align=left;');
  537. icon4.geometry.relative = true;
  538. icon4.geometry.offset = new mxPoint(60, 112);
  539. icon4.vertex = true;
  540. item1.insert(icon4);
  541. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Multiple flag message');
  542. }),
  543. this.addEntry(dt + 'flag message', function()
  544. {
  545. var item1 = new mxCell('', new mxGeometry(0, 0, 333, 120), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  546. item1.vertex = true;
  547. var icon1 = new mxCell('You are now connected', new mxGeometry(0, 0, 14, 14), s + 'checkbox;fillColor=#36B37E;strokeColor=none;html=1;fontSize=14;fontStyle=0;labelPosition=right;align=left;spacingLeft=20');
  548. icon1.geometry.relative = true;
  549. icon1.geometry.offset = new mxPoint(25, 25);
  550. icon1.vertex = true;
  551. item1.insert(icon1);
  552. var icon2 = new mxCell('You have been added to the group "Find the Haiku on this site."', new mxGeometry(0, 0, 230, 60), 'fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=0;fontColor=#000000;align=left;whiteSpace=wrap');
  553. icon2.geometry.relative = true;
  554. icon2.geometry.offset = new mxPoint(60, 50);
  555. icon2.vertex = true;
  556. item1.insert(icon2);
  557. var icon3 = new mxCell('', new mxGeometry(1, 0, 14, 14), s + 'x;strokeColor=#B3B3B3;strokeWidth=2');
  558. icon3.geometry.relative = true;
  559. icon3.geometry.offset = new mxPoint(-39, 25);
  560. icon3.vertex = true;
  561. item1.insert(icon3);
  562. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Flag message');
  563. }),
  564. this.addEntry(dt + 'inline dialog', function()
  565. {
  566. var item1 = new mxCell('', new mxGeometry(0, 0, 292, 190), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  567. item1.vertex = true;
  568. var icon1 = new mxCell('Use the HipChat app', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=1;align=left');
  569. icon1.geometry.relative = true;
  570. icon1.geometry.offset = new mxPoint(25, 21);
  571. icon1.vertex = true;
  572. item1.insert(icon1);
  573. var icon2 = new mxCell('Would you rather open links in the HipChat application instead of your browser?', new mxGeometry(0, 0, 240, 60), 'fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=0;fontColor=#000000;align=left;whiteSpace=wrap');
  574. icon2.geometry.relative = true;
  575. icon2.geometry.offset = new mxPoint(25, 50);
  576. icon2.vertex = true;
  577. item1.insert(icon2);
  578. var icon3 = new mxCell('Open in the HipChat app?', new mxGeometry(0, 0, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  579. icon3.geometry.relative = true;
  580. icon3.geometry.offset = new mxPoint(30, 120);
  581. icon3.vertex = true;
  582. item1.insert(icon3);
  583. var icon4 = new mxCell('Don&apos;t have the app? <font color="#0057d8">Get it!</font>', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=14;fontStyle=0;fontColor=#000000;align=left;whiteSpace=wrap');
  584. icon4.geometry.relative = true;
  585. icon4.geometry.offset = new mxPoint(25, 152);
  586. icon4.vertex = true;
  587. item1.insert(icon4);
  588. var item2 = new mxCell('', new mxGeometry(242, 195, 50, 33), 'rounded=1;fillColor=#42526E;strokeColor=none;shadow=0;html=1;arcSize=12');
  589. item2.vertex = true;
  590. var icon5 = new mxCell('', new mxGeometry(0.5, 0.5, 20, 20), 'shape=mxgraph.mscae.enterprise.settings;fillColor=#ffffff;strokeColor=none');
  591. icon5.geometry.relative = true;
  592. icon5.geometry.offset = new mxPoint(-10, -10);
  593. icon5.vertex = true;
  594. item2.insert(icon5);
  595. return sb.createVertexTemplateFromCells([item1, item2], 292, 228, 'Inline dialog');
  596. }),
  597. this.addEntry(dt + 'inline dialog', function()
  598. {
  599. var bg1 = new mxCell('20', new mxGeometry(0, 0, 40, 20), 'rounded=1;fillColor=#DEE1E6;strokeColor=none;shadow=0;html=1;arcSize=50;fontSize=12;align=center;verticalAlign=middle');
  600. bg1.vertex = true;
  601. var bg2 = new mxCell('Start watching this issue', new mxGeometry(40, 0, 200, 20), 'rounded=1;fillColor=none;strokeColor=none;shadow=0;html=1;arcSize=50;fontSize=12;align=left;verticalAlign=middle;spacingLeft=10');
  602. bg2.vertex = true;
  603. var bg3 = new mxCell('', new mxGeometry(0, 30, 340, 420), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=1;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;');
  604. bg3.vertex = true;
  605. var item1 = new mxCell('Add watchers', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left');
  606. item1.geometry.relative = true;
  607. item1.geometry.offset = new mxPoint(25, 25);
  608. item1.vertex = true;
  609. bg3.insert(item1);
  610. var item2 = new mxCell('', new mxGeometry(0, 0, 290, 35), 'rounded=1;arcSize=9;fillColor=none;strokeColor=#4C9AFF;html=1;strokeWidth=2');
  611. item2.geometry.relative = true;
  612. item2.geometry.offset = new mxPoint(25, 50);
  613. item2.vertex = true;
  614. bg3.insert(item2);
  615. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 15, 15), 'shape=mxgraph.ios7.icons.looking_glass;fillColor=none;strokeColor=#243759;html=1;strokeWidth=2');
  616. icon1.geometry.relative = true;
  617. icon1.geometry.offset = new mxPoint(-30, -7.5);
  618. icon1.vertex = true;
  619. item2.insert(icon1);
  620. var icon2 = new mxCell('Paige Turner', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  621. icon2.geometry.relative = true;
  622. icon2.geometry.offset = new mxPoint(25, 100);
  623. icon2.vertex = true;
  624. bg3.insert(icon2);
  625. var icon3 = new mxCell('Sam Samuels', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  626. icon3.geometry.relative = true;
  627. icon3.geometry.offset = new mxPoint(25, 132);
  628. icon3.vertex = true;
  629. bg3.insert(icon3);
  630. var icon4 = new mxCell('Leana Stevens', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  631. icon4.geometry.relative = true;
  632. icon4.geometry.offset = new mxPoint(25, 164);
  633. icon4.vertex = true;
  634. bg3.insert(icon4);
  635. var icon5 = new mxCell('Casey Chambers', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  636. icon5.geometry.relative = true;
  637. icon5.geometry.offset = new mxPoint(25, 196);
  638. icon5.vertex = true;
  639. bg3.insert(icon5);
  640. var icon6 = new mxCell('Lisa Simpson', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  641. icon6.geometry.relative = true;
  642. icon6.geometry.offset = new mxPoint(25, 228);
  643. icon6.vertex = true;
  644. bg3.insert(icon6);
  645. var icon7 = new mxCell('Tammy McDonald', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  646. icon7.geometry.relative = true;
  647. icon7.geometry.offset = new mxPoint(25, 260);
  648. icon7.vertex = true;
  649. bg3.insert(icon7);
  650. var icon8 = new mxCell('Amy Turner', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  651. icon8.geometry.relative = true;
  652. icon8.geometry.offset = new mxPoint(25, 292);
  653. icon8.vertex = true;
  654. bg3.insert(icon8);
  655. var icon9 = new mxCell('Cristopher Bunnings', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  656. icon9.geometry.relative = true;
  657. icon9.geometry.offset = new mxPoint(25, 324);
  658. icon9.vertex = true;
  659. bg3.insert(icon9);
  660. var icon10 = new mxCell('Tyler Smith', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  661. icon10.geometry.relative = true;
  662. icon10.geometry.offset = new mxPoint(25, 356);
  663. icon10.vertex = true;
  664. bg3.insert(icon10);
  665. var icon11 = new mxCell('Cindy Hobbs', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;html=1;fontColor=#253858;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  666. icon11.geometry.relative = true;
  667. icon11.geometry.offset = new mxPoint(25, 388);
  668. icon11.vertex = true;
  669. bg3.insert(icon11);
  670. return sb.createVertexTemplateFromCells([bg1, bg2, bg3], 340, 450, 'Inline dialog');
  671. }),
  672. this.addEntry(dt + 'inline edit', function()
  673. {
  674. var item1 = new mxCell('Sprint', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left');
  675. item1.vertex = true;
  676. var item2 = new mxCell('Android - 8 - Publish comments', new mxGeometry(0, 25, 290, 35), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=5');
  677. item2.vertex = true;
  678. var item3 = new mxCell('', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left');
  679. item3.vertex = true;
  680. var item4 = new mxCell('', new mxGeometry(300, 28, 29, 29), 'rounded=1;arcSize=12;fillColor=#F0F2F5;strokeColor=none;html=1');
  681. item4.vertex = true;
  682. var icon1 = new mxCell('', new mxGeometry(0.5, 0.5, 10, 8), s + 'check;strokeColor=#42526E;strokeWidth=2');
  683. icon1.geometry.relative = true;
  684. icon1.geometry.offset = new mxPoint(-5, -4);
  685. icon1.vertex = true;
  686. item4.insert(icon1);
  687. var icon2 = new mxCell('', new mxGeometry(340, 37, 10, 10), s + 'x;strokeColor=#42526E;strokeWidth=2');
  688. icon2.vertex = true;
  689. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, icon2], 350, 55, 'Inline edit');
  690. }),
  691. this.addEntry(dt + 'inline edit', function()
  692. {
  693. var item1 = new mxCell('Priority', new mxGeometry(0, 0, 130, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780');
  694. item1.vertex = true;
  695. var item2 = new mxCell('High', new mxGeometry(0, 25, 130, 35), 'rounded=1;arcSize=9;fillColor=#253858;strokeColor=none;html=1;strokeWidth=2;spacingLeft=30;fontColor=#ffffff;align=left');
  696. item2.vertex = true;
  697. var icon1 = new mxCell('', new mxGeometry(0, 0.5, 10, 14), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#FF0000;direction=north;');
  698. icon1.geometry.relative = true;
  699. icon1.geometry.offset = new mxPoint(10, -7);
  700. icon1.vertex = true;
  701. item2.insert(icon1);
  702. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#FFFFFF;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=south;size=0.65;');
  703. icon2.geometry.relative = true;
  704. icon2.geometry.offset = new mxPoint(-24, -3);
  705. icon2.vertex = true;
  706. item2.insert(icon2);
  707. var item3 = new mxCell('', new mxGeometry(0, 70, 130, 152), 'rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1');
  708. item3.vertex = true;
  709. var item4 = new mxCell('Major', new mxGeometry(0, 0, 130, 33), 'align=left;spacingLeft=30;rounded=0;fillColor=#F4F5F7;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;fontColor=#253858;resizeWidth=1');
  710. item4.geometry.relative = true;
  711. item4.geometry.offset = new mxPoint(0, 6);
  712. item4.vertex = true;
  713. item3.insert(item4);
  714. var icon3 = new mxCell('', new mxGeometry(0, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#ff0000;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=north;size=0.65;');
  715. icon3.geometry.relative = true;
  716. icon3.geometry.offset = new mxPoint(10, -7);
  717. icon3.vertex = true;
  718. item4.insert(icon3);
  719. var icon4 = new mxCell('', new mxGeometry(0, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#ff0000;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=north;size=0.65;');
  720. icon4.geometry.relative = true;
  721. icon4.geometry.offset = new mxPoint(10, 0);
  722. icon4.vertex = true;
  723. item4.insert(icon4);
  724. var item5 = new mxCell('Medium', new mxGeometry(0, 0, 130, 33), 'spacingLeft=30;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;fontColor=#253858;resizeWidth=1');
  725. item5.geometry.relative = true;
  726. item5.geometry.offset = new mxPoint(0, 39);
  727. item5.vertex = true;
  728. item3.insert(item5);
  729. var icon3 = new mxCell('', new mxGeometry(0, 0.5, 10, 10), 'shape=line;strokeColor=#FFAB00;strokeWidth=2');
  730. icon3.geometry.relative = true;
  731. icon3.geometry.offset = new mxPoint(10, -5);
  732. icon3.vertex = true;
  733. item5.insert(icon3);
  734. var item6 = new mxCell('Low', new mxGeometry(0, 0, 130, 33), 'spacingLeft=30;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;fontColor=#253858;resizeWidth=1');
  735. item6.geometry.relative = true;
  736. item6.geometry.offset = new mxPoint(0, 72);
  737. item6.vertex = true;
  738. item3.insert(item6);
  739. var icon4 = new mxCell('', new mxGeometry(0, 0.5, 10, 14), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#2DB07C;direction=south;');
  740. icon4.geometry.relative = true;
  741. icon4.geometry.offset = new mxPoint(10, -7);
  742. icon4.vertex = true;
  743. item6.insert(icon4);
  744. var item7 = new mxCell('Minor', new mxGeometry(0, 0, 130, 33), 'align=left;spacingLeft=30;rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;fontColor=#253858;resizeWidth=1');
  745. item7.geometry.relative = true;
  746. item7.geometry.offset = new mxPoint(0, 105);
  747. item7.vertex = true;
  748. item3.insert(item7);
  749. var icon5 = new mxCell('', new mxGeometry(0, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#2DB07C;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=south;size=0.65;');
  750. icon5.geometry.relative = true;
  751. icon5.geometry.offset = new mxPoint(10, -7);
  752. icon5.vertex = true;
  753. item7.insert(icon5);
  754. var icon6 = new mxCell('', new mxGeometry(0, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#2DB07C;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=south;size=0.65;');
  755. icon6.geometry.relative = true;
  756. icon6.geometry.offset = new mxPoint(10, 0);
  757. icon6.vertex = true;
  758. item7.insert(icon6);
  759. return sb.createVertexTemplateFromCells([item1, item2, item3], 130, 222, 'Inline edit');
  760. }),
  761. this.addEntry(dt + 'inline edit', function()
  762. {
  763. var item1 = new mxCell('Priority', new mxGeometry(0, 0, 170, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780');
  764. item1.vertex = true;
  765. var item2 = new mxCell('Low', new mxGeometry(0, 25, 170, 35), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=30;fontColor=#000000;align=left');
  766. item2.vertex = true;
  767. var icon1 = new mxCell('', new mxGeometry(0, 0.5, 10, 14), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#2DB07C;direction=south;');
  768. icon1.geometry.relative = true;
  769. icon1.geometry.offset = new mxPoint(10, -7);
  770. icon1.vertex = true;
  771. item2.insert(icon1);
  772. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#42526E;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=south;size=0.65;');
  773. icon2.geometry.relative = true;
  774. icon2.geometry.offset = new mxPoint(-24, -3);
  775. icon2.vertex = true;
  776. item2.insert(icon2);
  777. var icon3 = new mxCell('', new mxGeometry(190, 38, 10, 8), s + 'check;strokeColor=#42526E;strokeWidth=2');
  778. icon3.vertex = true;
  779. var icon4 = new mxCell('', new mxGeometry(220, 37, 10, 10), s + 'x;strokeColor=#42526E;strokeWidth=2');
  780. icon4.vertex = true;
  781. return sb.createVertexTemplateFromCells([item1, item2, icon3, icon4], 230, 60, 'Inline edit');
  782. }),
  783. this.addEntry(dt + 'inline message', function()
  784. {
  785. var item1 = new mxCell('Access level applications', new mxGeometry(0, 30, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
  786. item1.vertex = true;
  787. var item2 = new mxCell('JIRA', new mxGeometry(10, 60, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  788. item2.vertex = true;
  789. var item3 = new mxCell('Confluence', new mxGeometry(10, 85, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  790. item3.vertex = true;
  791. var item4 = new mxCell('Bamboo', new mxGeometry(10, 110, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  792. item4.vertex = true;
  793. var item5 = new mxCell('Bitbucket accounts', new mxGeometry(0, 135, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
  794. item5.vertex = true;
  795. var item6 = new mxCell('New users will be sent a request to join.', new mxGeometry(0, 160, 220, 20), 'fillColor=none;strokeColor=none;fontSize=12;fontStyle=0;align=left;fontColor=#000000');
  796. item6.vertex = true;
  797. var icon1 = new mxCell('', new mxGeometry(230, 160, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#FF8B00;strokeColor=none;fontColor=#172B4C;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  798. icon1.vertex = true;
  799. var item7 = new mxCell(
  800. '<b>Multiple accounts</b>\n\n' +
  801. 'We will automatically invite any new users to Bitbucket, depending on your account settings.\n\n' +
  802. '<font color="#0057d8">Update your setting</font> or <font color="#0057d8">read more</font>'
  803. , new mxGeometry(220, 0, 240, 152), 'rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1;align=left;html=1;whiteSpace=wrap;spacingLeft=20;spacingRight=20;fontSize=12');
  804. item7.vertex = true;
  805. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6, icon1, item7], 150, 180, 'Inline message');
  806. }),
  807. this.addEntry(dt + 'inline message subtitle', function()
  808. {
  809. var icon1 = new mxCell('i', new mxGeometry(0, 0, 20, 20), 'shape=ellipse;fillColor=#403294;strokeColor=none;fontSize=14;fontStyle=1;align=center;fontColor=#ffffff');
  810. icon1.vertex = true;
  811. var item1 = new mxCell('<font color="#0057d8">Log in</font> to learn about Confluence', new mxGeometry(0, 30, 230, 33), 'rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1;align=left;html=1;whiteSpace=wrap;spacingLeft=20;spacingRight=20;fontSize=12;');
  812. item1.vertex = true;
  813. var item2 = new mxCell('Want more information?', new mxGeometry(30, 0, 200, 20), 'fillColor=none;strokeColor=none;align=left;html=1;whiteSpace=wrap;fontSize=11;fontColor=#596780');
  814. item2.vertex = true;
  815. return sb.createVertexTemplateFromCells([icon1, item1, item2], 230, 63, 'Inline message with subtitle');
  816. }),
  817. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
  818. 70, 20, 'DEFAULT', 'Lozenge (state, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  819. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#DFE1E6;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
  820. 70, 20, 'DEFAULT', 'Lozenge (state, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  821. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364',
  822. 70, 20, 'SUCCESS', 'Lozenge (success, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  823. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#008364;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
  824. 70, 20, 'SUCCESS', 'Lozenge (success, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  825. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#BA3200',
  826. 70, 20, 'REMOVED', 'Lozenge (problem, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  827. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#BA3200;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
  828. 70, 20, 'REMOVED', 'Lozenge (problem, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  829. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8',
  830. 100, 20, 'IN PROGRESS', 'Lozenge (current, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  831. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
  832. 100, 20, 'IN PROGRESS', 'Lozenge (current, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  833. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#6554C0',
  834. 50, 20, 'NEW', 'Lozenge (new, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  835. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#6554C0;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
  836. 50, 20, 'NEW', 'Lozenge (new, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  837. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
  838. 60, 20, 'MOVED', 'Lozenge (moved, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  839. this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFAB00;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
  840. 60, 20, 'MOVED', 'Lozenge (moved, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
  841. this.addEntry(dt + 'inline message subtitle', function()
  842. {
  843. var item1 = new mxCell('Yeah, progress!', new mxGeometry(0, 0, 120, 20), 'dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  844. item1.vertex = true;
  845. var item2 = new mxCell('IN PROGRESS', new mxGeometry(10, 30, 100, 20), 'dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8');
  846. item2.vertex = true;
  847. return sb.createVertexTemplateFromCells([item1, item2], 120, 50, 'Lozenge (tooltip)');
  848. }),
  849. this.addEntry(dt + 'inline message subtitle', function()
  850. {
  851. var item1 = new mxCell('SUCCESS', new mxGeometry(25, 0, 70, 20), 'dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364');
  852. item1.vertex = true;
  853. var item2 = new mxCell("Don't stop believin'", new mxGeometry(0, 30, 120, 20), 'dashed=0;html=1;rounded=1;fillColor=#172B4D;strokeColor=#172B4D;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  854. item2.vertex = true;
  855. return sb.createVertexTemplateFromCells([item1, item2], 120, 50, 'Lozenge (tooltip)');
  856. }),
  857. this.addEntry(dt + 'modal dialog', function()
  858. {
  859. var item1 = new mxCell(
  860. '<b><font style="font-size: 14px">Your dashboard</font></b><div></div><div>\nYour dashboard is the first thing you see when you log in. The JIRA Software dashboard is like your car&apos;s dashboard. But instead of' +
  861. ' showing your speed and fuel level, it shows important information about your work - like your projects, your activities and your issues.</div>',
  862. new mxGeometry(0, 0, 330, 210), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=20;verticalAlign=top;');
  863. item1.vertex = true;
  864. var item2 = new mxCell("Add", new mxGeometry(0, 0, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  865. item2.geometry.relative = true;
  866. item2.geometry.offset = new mxPoint(200, 150);
  867. item2.vertex = true;
  868. item1.insert(item2);
  869. var item3 = new mxCell("Cancel", new mxGeometry(0, 0, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#596780');
  870. item3.geometry.relative = true;
  871. item3.geometry.offset = new mxPoint(260, 150);
  872. item3.vertex = true;
  873. item1.insert(item3);
  874. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog');
  875. }),
  876. this.addEntry(dt + 'detailed modal dialog', function()
  877. {
  878. var item1 = new mxCell(
  879. '<b><font style="font-size: 14px">Your dashboard</font></b><div></div><div>\nYour dashboard is the first thing you see when you log in. The JIRA Software dashboard is like your car&apos;s dashboard. But instead of' +
  880. ' showing your speed and fuel level, it shows important information about your work - like your projects, your activities and your issues.</div>',
  881. new mxGeometry(0, 0, 330, 210), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=20;verticalAlign=top');
  882. item1.vertex = true;
  883. var item2 = new mxCell("Add", new mxGeometry(1, 1, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  884. item2.geometry.relative = true;
  885. item2.geometry.offset = new mxPoint(-130, -60);
  886. item2.vertex = true;
  887. item1.insert(item2);
  888. var item3 = new mxCell("Cancel", new mxGeometry(1, 1, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#596780');
  889. item3.geometry.relative = true;
  890. item3.geometry.offset = new mxPoint(-70, -60);
  891. item3.vertex = true;
  892. item1.insert(item3);
  893. var item4 = new mxCell("Link", new mxGeometry(1, 0, 50, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=12;align=center;fontStyle=0;fontColor=#0057D8');
  894. item4.geometry.relative = true;
  895. item4.geometry.offset = new mxPoint(-170, 24);
  896. item4.vertex = true;
  897. item1.insert(item4);
  898. var item5 = new mxCell('', new mxGeometry(1, 0, 100, 33), 'dashed=0;html=1;rounded=1;fillColor=#F7F8F9;strokeColor=#E0E2E7;arcSize=7');
  899. item5.geometry.relative = true;
  900. item5.geometry.offset = new mxPoint(-120, 16);
  901. item5.vertex = true;
  902. item1.insert(item5);
  903. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 12), 'shape=mxgraph.ios7.icons.looking_glass;fillColor=none;strokeColor=#243759;html=1;strokeWidth=2');
  904. icon1.geometry.relative = true;
  905. icon1.geometry.offset = new mxPoint(-24, -6);
  906. icon1.vertex = true;
  907. item5.insert(icon1);
  908. var item6 = new mxCell("Hint text", new mxGeometry(0, 1, 50, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontStyle=0;fontColor=#596780');
  909. item6.geometry.relative = true;
  910. item6.geometry.offset = new mxPoint(20, -50);
  911. item6.vertex = true;
  912. item1.insert(item6);
  913. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (detailed)');
  914. }),
  915. this.addEntry(dt + 'small modal dialog', function()
  916. {
  917. var item1 = new mxCell('Add a branch permission',
  918. new mxGeometry(0, 0, 410, 410), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=20;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=20;verticalAlign=top;fontStyle=1');
  919. item1.vertex = true;
  920. var item2 = new mxCell('Branch name', new mxGeometry(0, 0, 100, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontStyle=1;strokeWidth=2;fontColor=#596780');
  921. item2.geometry.relative = true;
  922. item2.geometry.offset = new mxPoint(20, 60);
  923. item2.vertex = true;
  924. item1.insert(item2);
  925. var item3 = new mxCell('eg. Orange', new mxGeometry(0, 0, 370, 33), 'dashed=0;html=1;rounded=1;fillColor=#F7F8F9;strokeColor=#E0E2E7;arcSize=7;align=left;spacingLeft=10;fontColor=#596780');
  926. item3.geometry.relative = true;
  927. item3.geometry.offset = new mxPoint(20, 80);
  928. item3.vertex = true;
  929. item1.insert(item3);
  930. var item4 = new mxCell('Select the branch you want to restrict access to', new mxGeometry(0, 0, 100, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontStyle=0;strokeWidth=2;fontColor=#596780');
  931. item4.geometry.relative = true;
  932. item4.geometry.offset = new mxPoint(20, 113);
  933. item4.vertex = true;
  934. item1.insert(item4);
  935. var item5 = new mxCell('Write access', new mxGeometry(0, 0, 100, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontStyle=1;strokeWidth=2;fontColor=#596780');
  936. item5.geometry.relative = true;
  937. item5.geometry.offset = new mxPoint(20, 150);
  938. item5.vertex = true;
  939. item1.insert(item5);
  940. var item6 = new mxCell("Type '@' and then their name", new mxGeometry(0, 0, 370, 33), 'dashed=0;html=1;rounded=1;fillColor=#F7F8F9;strokeColor=#E0E2E7;arcSize=7;align=left;spacingLeft=10;fontColor=#596780');
  941. item6.geometry.relative = true;
  942. item6.geometry.offset = new mxPoint(20, 170);
  943. item6.vertex = true;
  944. item1.insert(item6);
  945. var item7 = new mxCell('Select users who can write to this branch without approvals', new mxGeometry(0, 0, 100, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontStyle=0;strokeWidth=2;fontColor=#596780');
  946. item7.geometry.relative = true;
  947. item7.geometry.offset = new mxPoint(20, 203);
  948. item7.vertex = true;
  949. item1.insert(item7);
  950. var item8 = new mxCell('Other requests', new mxGeometry(0, 0, 100, 20), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontStyle=1;strokeWidth=2;fontColor=#596780');
  951. item8.geometry.relative = true;
  952. item8.geometry.offset = new mxPoint(20, 240);
  953. item8.vertex = true;
  954. item1.insert(item8);
  955. var item9 = new mxCell('Rewriting history', new mxGeometry(0, 0, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  956. item9.geometry.relative = true;
  957. item9.geometry.offset = new mxPoint(20, 270);
  958. item9.vertex = true;
  959. item1.insert(item9);
  960. var item10 = new mxCell('Branch deletion', new mxGeometry(0, 0, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  961. item10.geometry.relative = true;
  962. item10.geometry.offset = new mxPoint(20, 306);
  963. item10.vertex = true;
  964. item1.insert(item10);
  965. var item11 = new mxCell("Merge", new mxGeometry(1, 1, 60, 33), 'dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  966. item11.geometry.relative = true;
  967. item11.geometry.offset = new mxPoint(-140, -60);
  968. item11.vertex = true;
  969. item1.insert(item11);
  970. var item12 = new mxCell("Cancel", new mxGeometry(1, 1, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#596780');
  971. item12.geometry.relative = true;
  972. item12.geometry.offset = new mxPoint(-70, -60);
  973. item12.vertex = true;
  974. item1.insert(item12);
  975. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (small)');
  976. }),
  977. this.addEntry(dt + 'medium modal dialog', function()
  978. {
  979. var item1 = new mxCell('',
  980. new mxGeometry(0, 0, 616, 420), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=20;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=20;verticalAlign=top;fontStyle=1');
  981. item1.vertex = true;
  982. var item2 = new mxCell(
  983. '<font style="font-size: 17px">Settings</font><div>\n</div><div>General</div>\n<div></div><div><font color="#0057d8">Appearance</font></div>\n<div><font color="#0057d8"></font></div><div><font color="#0057d8">Notifications</font></div>',
  984. new mxGeometry(0, 0, 110, 360), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontStyle=1;strokeWidth=2;fontColor=000000;verticalAlign=top');
  985. item2.geometry.relative = true;
  986. item2.geometry.offset = new mxPoint(20, 20);
  987. item2.vertex = true;
  988. item1.insert(item2);
  989. var item3 = new mxCell('', new mxGeometry(0, 0, 10, 330), 'shape=line;direction=south;strokeColor=#E0E1E6;strokeWidth=1');
  990. item3.geometry.relative = true;
  991. item3.geometry.offset = new mxPoint(130, 60);
  992. item3.vertex = true;
  993. item1.insert(item3);
  994. var item4 = new mxCell('General', new mxGeometry(0, 0, 300, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontStyle=1;fontColor=000000');
  995. item4.geometry.relative = true;
  996. item4.geometry.offset = new mxPoint(170, 60);
  997. item4.vertex = true;
  998. item1.insert(item4);
  999. var item5 = new mxCell('Show joined/left room messages', new mxGeometry(0, 0, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1000. item5.geometry.relative = true;
  1001. item5.geometry.offset = new mxPoint(170, 90);
  1002. item5.vertex = true;
  1003. item1.insert(item5);
  1004. var item6 = new mxCell('Display time in 24-hour format', new mxGeometry(0, 0, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  1005. item6.geometry.relative = true;
  1006. item6.geometry.offset = new mxPoint(170, 120);
  1007. item6.vertex = true;
  1008. item1.insert(item6);
  1009. var item7 = new mxCell('Hide inline previews by default', new mxGeometry(0, 0, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  1010. item7.geometry.relative = true;
  1011. item7.geometry.offset = new mxPoint(170, 150);
  1012. item7.vertex = true;
  1013. item1.insert(item7);
  1014. var item8 = new mxCell('Hide gifs by default', new mxGeometry(0, 0, 12, 12), s + 'checkbox_2;fillColor=#0057D8;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  1015. item8.geometry.relative = true;
  1016. item8.geometry.offset = new mxPoint(170, 180);
  1017. item8.vertex = true;
  1018. item1.insert(item8);
  1019. var item9 = new mxCell('Turned text emoticons into images', new mxGeometry(0, 0, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1020. item9.geometry.relative = true;
  1021. item9.geometry.offset = new mxPoint(170, 210);
  1022. item9.vertex = true;
  1023. item1.insert(item9);
  1024. var item10 = new mxCell('Idle', new mxGeometry(0, 0, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1025. item10.geometry.relative = true;
  1026. item10.geometry.offset = new mxPoint(170, 240);
  1027. item10.vertex = true;
  1028. item1.insert(item10);
  1029. var item11 = new mxCell('15', new mxGeometry(0, 0, 55, 33), 'dashed=0;html=1;rounded=1;fillColor=#F7F8F9;strokeColor=#E0E2E7;arcSize=7;align=left;spacingLeft=5;fontColor=#596780');
  1030. item11.geometry.relative = true;
  1031. item11.geometry.offset = new mxPoint(220, 230);
  1032. item11.vertex = true;
  1033. item1.insert(item11);
  1034. var item12 = new mxCell('minutes', new mxGeometry(0, 0, 100, 20), 'fillColor=none;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;html=1');
  1035. item12.geometry.relative = true;
  1036. item12.geometry.offset = new mxPoint(280, 236);
  1037. item12.vertex = true;
  1038. item1.insert(item12);
  1039. var item13 = new mxCell('Log additional chat data', new mxGeometry(0, 0, 12, 12), 'fillColor=none;strokeColor=none;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1');
  1040. item13.geometry.relative = true;
  1041. item13.geometry.offset = new mxPoint(170, 270);
  1042. item13.vertex = true;
  1043. item1.insert(item13);
  1044. var item14 = new mxCell('Enable spell check', new mxGeometry(0, 0, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1045. item14.geometry.relative = true;
  1046. item14.geometry.offset = new mxPoint(170, 300);
  1047. item14.vertex = true;
  1048. item1.insert(item14);
  1049. var item15 = new mxCell('Correct spelling automatically', new mxGeometry(0, 0, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1050. item15.geometry.relative = true;
  1051. item15.geometry.offset = new mxPoint(170, 330);
  1052. item15.vertex = true;
  1053. item1.insert(item15);
  1054. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (medium)');
  1055. }),
  1056. this.addEntry(dt + 'error modal dialog', function()
  1057. {
  1058. var item1 = new mxCell("You are about to delete the job 'Newtown'. If you proceed with this action Bamboo will permanently delete all configuration settings, logs and results for this job.",
  1059. new mxGeometry(0, 0, 470, 190), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=20;verticalAlign=top;spacingTop=30;');
  1060. item1.vertex = true;
  1061. var item2 = new mxCell("Delete", new mxGeometry(1, 1, 60, 33), 'dashed=0;html=1;rounded=1;fillColor=#DE350A;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  1062. item2.geometry.relative = true;
  1063. item2.geometry.offset = new mxPoint(-140, -60);
  1064. item2.vertex = true;
  1065. item1.insert(item2);
  1066. var item3 = new mxCell("Cancel", new mxGeometry(1, 1, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#596780');
  1067. item3.geometry.relative = true;
  1068. item3.geometry.offset = new mxPoint(-70, -60);
  1069. item3.vertex = true;
  1070. item1.insert(item3);
  1071. var item4 = new mxCell("!", new mxGeometry(0, 0, 20, 20), 'shape=rhombus;rounded=1;strokeColor=none;fillColor=#DE350A;fontColor=#ffffff;fontSize=12;shadow=0;align=center;arcSize=3');
  1072. item4.geometry.relative = true;
  1073. item4.geometry.offset = new mxPoint(20, 20);
  1074. item4.vertex = true;
  1075. item1.insert(item4);
  1076. var item5 = new mxCell("Delete repository", new mxGeometry(0, 0, 290, 33), 'dashed=0;html=1;fillColor=none;strokeColor=none;fontSize=18;align=left;fontStyle=1;fontColor=#000000');
  1077. item5.geometry.relative = true;
  1078. item5.geometry.offset = new mxPoint(50, 13);
  1079. item5.vertex = true;
  1080. item1.insert(item5);
  1081. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (error)');
  1082. }),
  1083. this.addEntry(dt + 'warning modal dialog', function()
  1084. {
  1085. var item1 = new mxCell("Moving a job between stages may break artifact dependencies. Select a stage and any resulting conflicts will be displayed here.",
  1086. new mxGeometry(0, 0, 470, 220), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=20;verticalAlign=top;spacingTop=30;');
  1087. item1.vertex = true;
  1088. var item2 = new mxCell("Move", new mxGeometry(1, 1, 60, 33), 'dashed=0;html=1;rounded=1;fillColor=#FFAB00;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#ffffff');
  1089. item2.geometry.relative = true;
  1090. item2.geometry.offset = new mxPoint(-140, -60);
  1091. item2.vertex = true;
  1092. item1.insert(item2);
  1093. var item3 = new mxCell("Cancel", new mxGeometry(1, 1, 50, 33), 'dashed=0;html=1;rounded=1;fillColor=none;strokeColor=none;fontSize=12;align=center;fontStyle=0;strokeWidth=2;fontColor=#596780');
  1094. item3.geometry.relative = true;
  1095. item3.geometry.offset = new mxPoint(-70, -60);
  1096. item3.vertex = true;
  1097. item1.insert(item3);
  1098. var item4 = new mxCell("Move job", new mxGeometry(0, 0, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;fontColor=#172B4C;fontSize=18;fontStyle=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;html=1;spacingLeft=5');
  1099. item4.geometry.relative = true;
  1100. item4.geometry.offset = new mxPoint(20, 20);
  1101. item4.vertex = true;
  1102. item1.insert(item4);
  1103. var item5 = new mxCell("Select stage", new mxGeometry(0, 0, 290, 33), 'dashed=0;html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontStyle=1;fontColor=#596780');
  1104. item5.geometry.relative = true;
  1105. item5.geometry.offset = new mxPoint(20, 85);
  1106. item5.vertex = true;
  1107. item1.insert(item5);
  1108. var item6 = new mxCell('Progress and research', new mxGeometry(0, 0, 200, 33), 'rounded=1;arcSize=9;fillColor=#ECEDF1;strokeColor=none;html=1;strokeWidth=2;spacingLeft=10;fontColor=#000000;align=left');
  1109. item6.geometry.relative = true;
  1110. item6.geometry.offset = new mxPoint(20, 112);
  1111. item6.vertex = true;
  1112. item1.insert(item6);
  1113. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#0A1E43;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=south;size=0.65;');
  1114. icon1.geometry.relative = true;
  1115. icon1.geometry.offset = new mxPoint(-24, -3);
  1116. icon1.vertex = true;
  1117. item6.insert(icon1);
  1118. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (error)');
  1119. }),
  1120. this.addEntry(dt + 'multi select', function()
  1121. {
  1122. var item1 = new mxCell("Selecting time zones", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1123. item1.vertex = true;
  1124. var item2 = new mxCell('', new mxGeometry(0, 25, 270, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=30;fontColor=#000000;align=left');
  1125. item2.vertex = true;
  1126. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 10, 7), 'shape=step;whiteSpace=wrap;html=1;rounded=0;strokeColor=none;strokeWidth=2;fillColor=#0A1E43;gradientColor=none;fontFamily=Verdana;fontSize=14;fontColor=#000000;align=left;direction=south;size=0.65;');
  1127. icon1.geometry.relative = true;
  1128. icon1.geometry.offset = new mxPoint(-24, -3);
  1129. icon1.vertex = true;
  1130. item2.insert(icon1);
  1131. var item3 = new mxCell('Alaska', new mxGeometry(0, 0.5, 70, 20), 'rounded=1;arcSize=9;fillColor=#ECEDF1;strokeColor=none;html=1;strokeWidth=2;spacingLeft=4;fontColor=#000000;align=left;fontSize=11');
  1132. item3.geometry.relative = true;
  1133. item3.geometry.offset = new mxPoint(5, -10);
  1134. item3.vertex = true;
  1135. item2.insert(item3);
  1136. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 7, 7), s + 'x;strokeColor=#58667F;strokeWidth=2');
  1137. icon2.geometry.relative = true;
  1138. icon2.geometry.offset = new mxPoint(-14, -3);
  1139. icon2.vertex = true;
  1140. item3.insert(icon2);
  1141. var item4 = new mxCell(
  1142. '<b><font color="#596780">PACIFIC TIME ZONE</font></b><div>\n<div>California</div>\n<div>Nevada</div>\n<div>Oregon</div>\n<div></div><div>Washington</div>\n\n<div></div><div><b>' +
  1143. '<font color="#596780">MOUNTAIN TIME ZONE</font></b></div><div>\n</div><div>Arizona</div><div>\n</div><div>Colorado</div><div>\n</div><div>Idaho</div><div>\n</div><div>Montana</div><div>\n\n</div><div>Nebraska</div><div>\n' +
  1144. '</div><div>Nevada</div></div>',
  1145. new mxGeometry(0, 60, 270, 390), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=2;verticalAlign=top;fontStyle=0;spacingLeft=20;spacingTop=15;');
  1146. item4.vertex = true;
  1147. var item5 = new mxCell('', new mxGeometry(0, 0, 270, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
  1148. item5.geometry.relative = true;
  1149. item5.geometry.offset = new mxPoint(0, 41);
  1150. item5.vertex = true;
  1151. item4.insert(item5);
  1152. return sb.createVertexTemplateFromCells([item1, item2, item4], 270, 390, 'Multi-select');
  1153. }),
  1154. this.addEntry(dt + 'multi select avatar', function()
  1155. {
  1156. var item1 = new mxCell("Assignee", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1157. item1.vertex = true;
  1158. var item2 = new mxCell('', new mxGeometry(0, 25, 340, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=30;fontColor=#000000;align=left');
  1159. item2.vertex = true;
  1160. var item3 = new mxCell('Maryanne', new mxGeometry(0, 0.5, 95, 20), 'rounded=1;arcSize=50;fillColor=#ECEDF1;strokeColor=none;html=1;strokeWidth=2;spacingLeft=23;fontColor=#000000;align=left;fontSize=11');
  1161. item3.geometry.relative = true;
  1162. item3.geometry.offset = new mxPoint(5, -10);
  1163. item3.vertex = true;
  1164. item2.insert(item3);
  1165. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 7, 7), s + 'x;strokeColor=#58667F;strokeWidth=2');
  1166. icon2.geometry.relative = true;
  1167. icon2.geometry.offset = new mxPoint(-14, -3);
  1168. icon2.vertex = true;
  1169. item3.insert(icon2);
  1170. var icon4 = new mxCell('', new mxGeometry(0, 0.5, 20, 20), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;fontColor=#ffffff;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1171. icon4.geometry.relative = true;
  1172. icon4.geometry.offset = new mxPoint(0, -10);
  1173. icon4.vertex = true;
  1174. item3.insert(icon4);
  1175. var item4 = new mxCell('Lisa Hill', new mxGeometry(0, 0.5, 95, 20), 'rounded=1;arcSize=50;fillColor=#ECEDF1;strokeColor=none;html=1;strokeWidth=2;spacingLeft=23;fontColor=#000000;align=left;fontSize=11');
  1176. item4.geometry.relative = true;
  1177. item4.geometry.offset = new mxPoint(105, -10);
  1178. item4.vertex = true;
  1179. item2.insert(item4);
  1180. var icon5 = new mxCell('', new mxGeometry(1, 0.5, 7, 7), s + 'x;strokeColor=#58667F;strokeWidth=2');
  1181. icon5.geometry.relative = true;
  1182. icon5.geometry.offset = new mxPoint(-14, -3);
  1183. icon5.vertex = true;
  1184. item4.insert(icon5);
  1185. var icon6 = new mxCell('', new mxGeometry(0, 0.5, 20, 20), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;fontColor=#ffffff;align=left;fontSize=12;spacingLeft=10;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1186. icon6.geometry.relative = true;
  1187. icon6.geometry.offset = new mxPoint(0, -10);
  1188. icon6.vertex = true;
  1189. item4.insert(icon6);
  1190. var item5 = new mxCell('', new mxGeometry(0, 60, 340, 260), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1');
  1191. item5.vertex = true;
  1192. var item6 = new mxCell('SUGGESTIONS', new mxGeometry(0, 0, 270, 33), 'fillColor=none;strokeColor=none;html=1;resizeWidth=1;align=left;spacingLeft=20;fontSize=11;fontStyle=1;fontColor=#596780');
  1193. item6.geometry.relative = true;
  1194. item6.geometry.offset = new mxPoint(0, 10);
  1195. item6.vertex = true;
  1196. item5.insert(item6);
  1197. var item7 = new mxCell('', new mxGeometry(0, 0, 340, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
  1198. item7.geometry.relative = true;
  1199. item7.geometry.offset = new mxPoint(0, 41);
  1200. item7.vertex = true;
  1201. item5.insert(item7);
  1202. var icon7 = new mxCell('Justin Case <font color="#596780">jscase@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1203. icon7.geometry.relative = true;
  1204. icon7.geometry.offset = new mxPoint(20, 45);
  1205. icon7.vertex = true;
  1206. item5.insert(icon7);
  1207. var item8 = new mxCell('ALL USERS', new mxGeometry(0, 0, 270, 33), 'fillColor=none;strokeColor=none;html=1;resizeWidth=1;align=left;spacingLeft=20;fontSize=11;fontStyle=1;fontColor=#596780');
  1208. item8.geometry.relative = true;
  1209. item8.geometry.offset = new mxPoint(0, 85);
  1210. item8.vertex = true;
  1211. item5.insert(item8);
  1212. var icon8 = new mxCell('Sam Samuels <font color="#596780">ssamuels@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1213. icon8.geometry.relative = true;
  1214. icon8.geometry.offset = new mxPoint(20, 118);
  1215. icon8.vertex = true;
  1216. item5.insert(icon8);
  1217. var icon9 = new mxCell('Leana Stevens <font color="#596780">lstevens@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1218. icon9.geometry.relative = true;
  1219. icon9.geometry.offset = new mxPoint(20, 151);
  1220. icon9.vertex = true;
  1221. item5.insert(icon9);
  1222. var icon10 = new mxCell('Casey Chambers <font color="#596780">cchambers@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1223. icon10.geometry.relative = true;
  1224. icon10.geometry.offset = new mxPoint(20, 184);
  1225. icon10.vertex = true;
  1226. item5.insert(icon10);
  1227. var icon11 = new mxCell('Paige Turner <font color="#596780">pturner@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1228. icon11.geometry.relative = true;
  1229. icon11.geometry.offset = new mxPoint(20, 217);
  1230. icon11.vertex = true;
  1231. item5.insert(icon11);
  1232. return sb.createVertexTemplateFromCells([item1, item2, item5], 340, 320, 'Multi-select with avatars');
  1233. }),
  1234. this.addEntry(dt + 'error message', function()
  1235. {
  1236. var item1 = new mxCell("Issue", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1237. item1.vertex = true;
  1238. var item2 = new mxCell('IR-83', new mxGeometry(0, 25, 340, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=5;fontColor=#000000;align=left');
  1239. item2.vertex = true;
  1240. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 14, 14), 'html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#97A0AF;strokeColor=none');
  1241. icon2.geometry.relative = true;
  1242. icon2.geometry.offset = new mxPoint(-28, -7);
  1243. icon2.vertex = true;
  1244. item2.insert(icon2);
  1245. var item5 = new mxCell('The server did not respond', new mxGeometry(0, 60, 340, 90), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1;fontSize=12;fontColor=#596780;align=center;html=1;verticalAlign=top;spacingTop=5;');
  1246. item5.vertex = true;
  1247. var item6 = new mxCell('Retry', new mxGeometry(0, 0, 50, 33), 'align=center;strokeColor=none;fillColor=#F1F2F4;rounded=1;arcSize=9');
  1248. item6.geometry.relative = true;
  1249. item6.geometry.offset = new mxPoint(150, 40);
  1250. item6.vertex = true;
  1251. item5.insert(item6);
  1252. return sb.createVertexTemplateFromCells([item1, item2, item5], 340, 150, 'Error message');
  1253. }),
  1254. this.addEntry(dt + 'progress tracker', function()
  1255. {
  1256. var item1 = new mxCell('', new mxGeometry(20, 0, 300, 10), 'fillColor=#0065FF;strokeColor=none;shadow=0;rounded=1;arcSize=50');
  1257. item1.vertex = true;
  1258. var item2 = new mxCell("Welcome", new mxGeometry(0, 10, 60, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1259. item2.vertex = true;
  1260. var item3 = new mxCell("Create a space", new mxGeometry(120, 10, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#000000;whiteSpace=wrap;');
  1261. item3.vertex = true;
  1262. var item4 = new mxCell("Upload photo", new mxGeometry(280, 10, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#0065FF;whiteSpace=wrap;');
  1263. item4.vertex = true;
  1264. var item5 = new mxCell("Your details", new mxGeometry(400, 10, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1265. item5.vertex = true;
  1266. var item6 = new mxCell('', new mxGeometry(425, 0, 10, 10), 'shape=ellipse;fillColor=#A5ADBA;strokeColor=none;shadow=0');
  1267. item6.vertex = true;
  1268. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6], 470, 30, 'Progress tracker');
  1269. }),
  1270. this.addEntry(dt + 'radio button group', function()
  1271. {
  1272. var item1 = new mxCell('Permissions', new mxGeometry(0, 0, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
  1273. item1.vertex = true;
  1274. var item2 = new mxCell('Read only', new mxGeometry(10, 30, 12, 12), 'shape=ellipse;rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1275. item2.vertex = true;
  1276. var item3 = new mxCell('Write', new mxGeometry(11, 56, 10, 10), 'shape=ellipse;fillColor=#ffffff;strokeColor=#0057D8;strokeWidth=4;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  1277. item3.vertex = true;
  1278. var item4 = new mxCell('Restricted', new mxGeometry(10, 80, 12, 12), 'shape=ellipse;rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1279. item4.vertex = true;
  1280. var item5 = new mxCell('Add', new mxGeometry(0, 115, 60, 33), 'rounded=1;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0');
  1281. item5.vertex = true;
  1282. var item6 = new mxCell('Cancel', new mxGeometry(70, 115, 60, 33), 'fillColor=none;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0');
  1283. item6.vertex = true;
  1284. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6], 150, 173, 'Radio button group');
  1285. }),
  1286. this.addEntry(dt + 'single select', function()
  1287. {
  1288. var item1 = new mxCell("Sprint", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1289. item1.vertex = true;
  1290. var item2 = new mxCell('ver', new mxGeometry(0, 25, 340, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=5;fontColor=#000000;align=left');
  1291. item2.vertex = true;
  1292. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 14, 14), 'html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#97A0AF;strokeColor=none');
  1293. icon2.geometry.relative = true;
  1294. icon2.geometry.offset = new mxPoint(-28, -7);
  1295. icon2.vertex = true;
  1296. item2.insert(icon2);
  1297. var item4 = new mxCell(
  1298. '<b><font color="#596780">SUGGESTIONS</font></b><div>\n<div><b>Ver</b>tigo Jim <font color="#596780">(Future sprint)</font></div>\n<div><b>Ver</b>tigo Logos 1 <font color="#596780">(Active sprint)</font></div><div>\n\n</div><div><b><font color="#596780">ALL SPRINTS</font></b></div><div>' +
  1299. '\n</div><div>Fusion <b>Ver</b>tigo S20 <font color="#596780">(Active sprint in Fusion)</font></div><div>\n</div><div><b>Ver</b>tigo CI Sprint 4 <font color="#596780">(Active sprint in Ninja verti...</font></div><div>\n</div><div><b>Ver</b>tigo JIM SA <font color="#596780">(Active sprint in Dalek)</font></div><div>' +
  1300. '\n</div><div><b>Ver</b>tigo Logos 2 <font color="#596780">(Active sprint in Dalek)</font></div><div></div></div>',
  1301. new mxGeometry(0, 60, 340, 260), 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;spacing=2;verticalAlign=top;fontStyle=0;spacingLeft=20;spacingTop=15;');
  1302. item4.vertex = true;
  1303. var item5 = new mxCell('', new mxGeometry(0, 0, 340, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
  1304. item5.geometry.relative = true;
  1305. item5.geometry.offset = new mxPoint(0, 69);
  1306. item5.vertex = true;
  1307. item4.insert(item5);
  1308. return sb.createVertexTemplateFromCells([item1, item2, item4], 340, 320, 'Single select');
  1309. }),
  1310. this.addEntry(dt + 'avatar single select', function()
  1311. {
  1312. var item1 = new mxCell("Assignee", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;');
  1313. item1.vertex = true;
  1314. var item2 = new mxCell('', new mxGeometry(0, 25, 340, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=30;fontColor=#000000;align=left');
  1315. item2.vertex = true;
  1316. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 15, 15), 'shape=mxgraph.ios7.icons.looking_glass;fillColor=none;strokeColor=#243759;html=1;strokeWidth=2');
  1317. icon1.geometry.relative = true;
  1318. icon1.geometry.offset = new mxPoint(-30, -7.5);
  1319. icon1.vertex = true;
  1320. item2.insert(icon1);
  1321. var item3 = new mxCell('', new mxGeometry(0, 60, 340, 410), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1');
  1322. item3.vertex = true;
  1323. var item4 = new mxCell('SUGGESTIONS', new mxGeometry(0, 0, 270, 33), 'fillColor=none;strokeColor=none;html=1;resizeWidth=1;align=left;spacingLeft=20;fontSize=11;fontStyle=1;fontColor=#596780');
  1324. item4.geometry.relative = true;
  1325. item4.geometry.offset = new mxPoint(0, 10);
  1326. item4.vertex = true;
  1327. item3.insert(item4);
  1328. var item5 = new mxCell('', new mxGeometry(0, 0, 340, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
  1329. item5.geometry.relative = true;
  1330. item5.geometry.offset = new mxPoint(0, 41);
  1331. item5.vertex = true;
  1332. item3.insert(item5);
  1333. var icon2 = new mxCell('Marianne Nguyen <font color="#596780">mnguyen@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1334. icon2.geometry.relative = true;
  1335. icon2.geometry.offset = new mxPoint(20, 45);
  1336. icon2.vertex = true;
  1337. item3.insert(icon2);
  1338. var item6 = new mxCell('ALL USERS', new mxGeometry(0, 0, 270, 33), 'fillColor=none;strokeColor=none;html=1;resizeWidth=1;align=left;spacingLeft=20;fontSize=11;fontStyle=1;fontColor=#596780');
  1339. item6.geometry.relative = true;
  1340. item6.geometry.offset = new mxPoint(0, 85);
  1341. item6.vertex = true;
  1342. item3.insert(item6);
  1343. var icon3 = new mxCell('Sam Samuels <font color="#596780">ssamuels@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1344. icon3.geometry.relative = true;
  1345. icon3.geometry.offset = new mxPoint(20, 118);
  1346. icon3.vertex = true;
  1347. item3.insert(icon3);
  1348. var icon4 = new mxCell('Leana Stevens <font color="#596780">lstevens@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1349. icon4.geometry.relative = true;
  1350. icon4.geometry.offset = new mxPoint(20, 151);
  1351. icon4.vertex = true;
  1352. item3.insert(icon4);
  1353. var icon5 = new mxCell('Casey Chambers <font color="#596780">cchambers@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1354. icon5.geometry.relative = true;
  1355. icon5.geometry.offset = new mxPoint(20, 184);
  1356. icon5.vertex = true;
  1357. item3.insert(icon5);
  1358. var icon6 = new mxCell('Paige Turner <font color="#596780">pturner@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1359. icon6.geometry.relative = true;
  1360. icon6.geometry.offset = new mxPoint(20, 217);
  1361. icon6.vertex = true;
  1362. item3.insert(icon6);
  1363. var icon7 = new mxCell('Marianne Nguyen <font color="#596780">mnguyen@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1364. icon7.geometry.relative = true;
  1365. icon7.geometry.offset = new mxPoint(20, 250);
  1366. icon7.vertex = true;
  1367. item3.insert(icon7);
  1368. var icon8 = new mxCell('Casey Chambers <font color="#596780">cchambers@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1369. icon8.geometry.relative = true;
  1370. icon8.geometry.offset = new mxPoint(20, 283);
  1371. icon8.vertex = true;
  1372. item3.insert(icon8);
  1373. var icon9 = new mxCell('Sebastian Philip Cloud <font color="#596780">spcloud@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1374. icon9.geometry.relative = true;
  1375. icon9.geometry.offset = new mxPoint(20, 316);
  1376. icon9.vertex = true;
  1377. item3.insert(icon9);
  1378. var icon10 = new mxCell('Leana Stevens <font color="#596780">lstevens@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1379. icon10.geometry.relative = true;
  1380. icon10.geometry.offset = new mxPoint(20, 349);
  1381. icon10.vertex = true;
  1382. item3.insert(icon10);
  1383. var icon11 = new mxCell('Justin Case <font color="#596780">jcase@atlassian.com</font>', new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=none;strokeColor=#253858;html=1;;align=left;fontSize=12;spacingLeft=5;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;');
  1384. icon11.geometry.relative = true;
  1385. icon11.geometry.offset = new mxPoint(20, 382);
  1386. icon11.vertex = true;
  1387. item3.insert(icon11);
  1388. return sb.createVertexTemplateFromCells([item1, item2, item3], 340, 470, 'Avatar single select');
  1389. }),
  1390. this.addEntry(dt + 'grouped single select', function()
  1391. {
  1392. var item1 = new mxCell("Issue", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1393. item1.vertex = true;
  1394. var item2 = new mxCell('IR-83', new mxGeometry(0, 25, 360, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=5;fontColor=#000000;align=left');
  1395. item2.vertex = true;
  1396. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 14, 14), 'html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#97A0AF;strokeColor=none');
  1397. icon2.geometry.relative = true;
  1398. icon2.geometry.offset = new mxPoint(-28, -7);
  1399. icon2.vertex = true;
  1400. item2.insert(icon2);
  1401. var item3 = new mxCell('', new mxGeometry(0, 60, 360, 200), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1;fontSize=12;fontColor=#596780;align=center;html=1;verticalAlign=top;spacingTop=5;');
  1402. item3.vertex = true;
  1403. var item4 = new mxCell('HISTORY SEARCH', new mxGeometry(0, 0, 140, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=1');
  1404. item4.geometry.relative = true;
  1405. item4.geometry.offset = new mxPoint(20, 15);
  1406. item4.vertex = true;
  1407. item3.insert(item4);
  1408. var item5 = new mxCell('(Showing 1 of 1 matching issues)', new mxGeometry(0, 0, 200, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1409. item5.geometry.relative = true;
  1410. item5.geometry.offset = new mxPoint(160, 15);
  1411. item5.vertex = true;
  1412. item3.insert(item5);
  1413. var icon1 = new mxCell('<b>IR-83</b> Integration inject select issue from core board...', new mxGeometry(0, 0, 20, 20),
  1414. 'shape=ellipse;fillColor=#00A8E5;strokeColor=none;fontSize=12;align=left;fontColor=#596780;fontStyle=0;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;html=1;spacingLeft=5');
  1415. icon1.geometry.relative = true;
  1416. icon1.geometry.offset = new mxPoint(20, 45);
  1417. icon1.vertex = true;
  1418. item3.insert(icon1);
  1419. var icon2 = new mxCell('', new mxGeometry(0.5, 0.5, 8, 10), s + 'location;fillColor=#ffffff;strokeColor=none;flipV=1;html=1;');
  1420. icon2.geometry.relative = true;
  1421. icon2.geometry.offset = new mxPoint(-4, -5);
  1422. icon2.vertex = true;
  1423. icon1.insert(icon2);
  1424. var item6 = new mxCell('CURRENT SEARCH', new mxGeometry(0, 0, 140, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=1');
  1425. item6.geometry.relative = true;
  1426. item6.geometry.offset = new mxPoint(20, 90);
  1427. item6.vertex = true;
  1428. item3.insert(item6);
  1429. var item7 = new mxCell('(Showing 1 of 1 matching issues)', new mxGeometry(0, 0, 200, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1430. item7.geometry.relative = true;
  1431. item7.geometry.offset = new mxPoint(160, 90);
  1432. item7.vertex = true;
  1433. item3.insert(item7);
  1434. var icon3 = new mxCell('<b>IR-83</b> Integration inject select issue from core board...', new mxGeometry(0, 0, 20, 20),
  1435. 'shape=ellipse;fillColor=#00A8E5;strokeColor=none;fontSize=12;align=left;fontColor=#596780;fontStyle=0;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;html=1;spacingLeft=5');
  1436. icon3.geometry.relative = true;
  1437. icon3.geometry.offset = new mxPoint(20, 120);
  1438. icon3.vertex = true;
  1439. item3.insert(icon3);
  1440. var icon4 = new mxCell('', new mxGeometry(0.5, 0.5, 8, 10), s + 'location;fillColor=#ffffff;strokeColor=none;flipV=1;html=1;');
  1441. icon4.geometry.relative = true;
  1442. icon4.geometry.offset = new mxPoint(-4, -5);
  1443. icon4.vertex = true;
  1444. icon3.insert(icon4);
  1445. var item7 = new mxCell('', new mxGeometry(0, 0, 360, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5');
  1446. item7.geometry.relative = true;
  1447. item7.geometry.offset = new mxPoint(0, 150);
  1448. item7.vertex = true;
  1449. item3.insert(item7);
  1450. var item8 = new mxCell('<b><font color="#000000">IR-83</font></b> (Enter issue key)', new mxGeometry(0, 0, 140, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1451. item8.geometry.relative = true;
  1452. item8.geometry.offset = new mxPoint(20, 170);
  1453. item8.vertex = true;
  1454. item3.insert(item8);
  1455. return sb.createVertexTemplateFromCells([item1, item2, item3], 360, 260, 'Single select (grouped)');
  1456. }),
  1457. this.addEntry(dt + 'single select', function()
  1458. {
  1459. var item1 = new mxCell("Epic link", new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1460. item1.vertex = true;
  1461. var item2 = new mxCell('Vertiga: Misc', new mxGeometry(0, 25, 360, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;strokeColor=#4C9AFF;html=1;strokeWidth=2;spacingLeft=5;fontColor=#000000;align=left');
  1462. item2.vertex = true;
  1463. var icon2 = new mxCell('', new mxGeometry(1, 0.5, 14, 14), 'html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.close;fillColor=#97A0AF;strokeColor=none');
  1464. icon2.geometry.relative = true;
  1465. icon2.geometry.offset = new mxPoint(-28, -7);
  1466. icon2.vertex = true;
  1467. item2.insert(icon2);
  1468. var item3 = new mxCell('', new mxGeometry(0, 60, 360, 320), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1;fontSize=12;fontColor=#596780;align=center;html=1;verticalAlign=top;spacingTop=5;');
  1469. item3.vertex = true;
  1470. var item4 = new mxCell('SUGGESTIONS', new mxGeometry(0, 0, 140, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=1');
  1471. item4.geometry.relative = true;
  1472. item4.geometry.offset = new mxPoint(20, 15);
  1473. item4.vertex = true;
  1474. item3.insert(item4);
  1475. var item5 = new mxCell('1-click invite phase 1 (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1476. item5.geometry.relative = true;
  1477. item5.geometry.offset = new mxPoint(20, 40);
  1478. item5.vertex = true;
  1479. item3.insert(item5);
  1480. var item6 = new mxCell('ADV - Editable detail review (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1481. item6.geometry.relative = true;
  1482. item6.geometry.offset = new mxPoint(20, 65);
  1483. item6.vertex = true;
  1484. item3.insert(item6);
  1485. var item7 = new mxCell('Bugfix and warranty (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1486. item7.geometry.relative = true;
  1487. item7.geometry.offset = new mxPoint(20, 90);
  1488. item7.vertex = true;
  1489. item3.insert(item7);
  1490. var item8 = new mxCell('Build test release (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1491. item8.geometry.relative = true;
  1492. item8.geometry.offset = new mxPoint(20, 115);
  1493. item8.vertex = true;
  1494. item3.insert(item8);
  1495. var item9 = new mxCell('Burnup chart (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1496. item9.geometry.relative = true;
  1497. item9.geometry.offset = new mxPoint(20, 140);
  1498. item9.vertex = true;
  1499. item3.insert(item9);
  1500. var item10 = new mxCell('Design debt (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1501. item10.geometry.relative = true;
  1502. item10.geometry.offset = new mxPoint(20, 165);
  1503. item10.vertex = true;
  1504. item3.insert(item10);
  1505. var item11 = new mxCell('Engineering health (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1506. item11.geometry.relative = true;
  1507. item11.geometry.offset = new mxPoint(20, 190);
  1508. item11.vertex = true;
  1509. item3.insert(item11);
  1510. var item12 = new mxCell('Feature flag service (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1511. item12.geometry.relative = true;
  1512. item12.geometry.offset = new mxPoint(20, 215);
  1513. item12.vertex = true;
  1514. item3.insert(item12);
  1515. var item13 = new mxCell('Indy ranking (SW-3033)', new mxGeometry(0, 0, 330, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1516. item13.geometry.relative = true;
  1517. item13.geometry.offset = new mxPoint(20, 240);
  1518. item13.vertex = true;
  1519. item3.insert(item13);
  1520. var item7 = new mxCell('', new mxGeometry(0, 1, 360, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1521. item7.geometry.relative = true;
  1522. item7.geometry.offset = new mxPoint(0, -50);
  1523. item7.vertex = true;
  1524. item3.insert(item7);
  1525. var item8 = new mxCell('Showing 30 of 3049 matching epics', new mxGeometry(0, 1, 210, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=0');
  1526. item8.geometry.relative = true;
  1527. item8.geometry.offset = new mxPoint(20, -34);
  1528. item8.vertex = true;
  1529. item3.insert(item8);
  1530. var item9 = new mxCell('Show done epics', new mxGeometry(1, 1, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  1531. item9.geometry.relative = true;
  1532. item9.geometry.offset = new mxPoint(-130, -30);
  1533. item9.vertex = true;
  1534. item3.insert(item9);
  1535. return sb.createVertexTemplateFromCells([item1, item2, item3], 360, 380, 'Single select');
  1536. }),
  1537. this.addEntry(dt + 'table', function()
  1538. {
  1539. var item1 = new mxCell('Repository', new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1540. item1.vertex = true;
  1541. var item2 = new mxCell('Collaborators', new mxGeometry(300, 0, 100, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1542. item2.vertex = true;
  1543. var item3 = new mxCell('', new mxGeometry(0, 20, 430, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1544. item3.vertex = true;
  1545. var item4 = new mxCell('&lt;/&gt;', new mxGeometry(0, 40, 32, 32), 'rounded=1;arcSize=5;fillColor=#59ADDF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1546. item4.vertex = true;
  1547. var item5 = new mxCell('3rd_library', new mxGeometry(37, 46, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1548. item5.vertex = true;
  1549. var item6 = new mxCell('', new mxGeometry(320, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1550. item6.vertex = true;
  1551. var item7 = new mxCell('', new mxGeometry(300, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1552. item7.vertex = true;
  1553. var item8 = new mxCell('+6', new mxGeometry(350, 46, 20, 20), 'rounded=1;arcSize=5;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1554. item8.vertex = true;
  1555. var item9 = new mxCell('', new mxGeometry(400, 49, 10, 14), 'shape=mxgraph.office.security.lock_protected;fillColor=#5E6C84;strokeColor=none');
  1556. item9.vertex = true;
  1557. var item10 = new mxCell('', new mxGeometry(0, 85, 32, 32), 'rounded=1;arcSize=5;fillColor=#EA4232;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1558. item10.vertex = true;
  1559. var item11 = new mxCell('', new mxGeometry(0.5, 0.5, 20, 18), 'shape=mxgraph.signs.science.nuclear_1;fillColor=#ffffff;strokeColor=none');
  1560. item11.geometry.relative = true;
  1561. item11.geometry.offset = new mxPoint(-10, -9);
  1562. item11.vertex = true;
  1563. item10.insert(item11);
  1564. var item12 = new mxCell('a11y-dashboard', new mxGeometry(37, 91, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1565. item12.vertex = true;
  1566. var item13 = new mxCell('', new mxGeometry(340, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1567. item13.vertex = true;
  1568. var item14 = new mxCell('', new mxGeometry(320, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1569. item14.vertex = true;
  1570. var item15 = new mxCell('', new mxGeometry(300, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1571. item15.vertex = true;
  1572. var item16 = new mxCell('', new mxGeometry(400, 94, 10, 14), 'shape=mxgraph.office.security.lock_protected;fillColor=#5E6C84;strokeColor=none');
  1573. item16.vertex = true;
  1574. var item17 = new mxCell('JS', new mxGeometry(0, 130, 32, 32), 'rounded=1;arcSize=5;fillColor=#F1DD3F;strokeColor=none;fontColor=#000000;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1575. item17.vertex = true;
  1576. var item18 = new mxCell('aac-sac', new mxGeometry(37, 136, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1577. item18.vertex = true;
  1578. var item19 = new mxCell('', new mxGeometry(340, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1579. item19.vertex = true;
  1580. var item20 = new mxCell('', new mxGeometry(320, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1581. item20.vertex = true;
  1582. var item21 = new mxCell('', new mxGeometry(300, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1583. item21.vertex = true;
  1584. var item22 = new mxCell('&lt;/&gt;', new mxGeometry(0, 175, 32, 32), 'rounded=1;arcSize=5;fillColor=#59ADDF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1585. item22.vertex = true;
  1586. var item23 = new mxCell('3rd_library', new mxGeometry(37, 181, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1587. item23.vertex = true;
  1588. var item24 = new mxCell('', new mxGeometry(320, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1589. item24.vertex = true;
  1590. var item25 = new mxCell('', new mxGeometry(300, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1591. item25.vertex = true;
  1592. var item26 = new mxCell('+6', new mxGeometry(350, 181, 20, 20), 'rounded=1;arcSize=5;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1593. item26.vertex = true;
  1594. var item27 = new mxCell('', new mxGeometry(400, 184, 10, 14), 'shape=mxgraph.office.security.lock_protected;fillColor=#5E6C84;strokeColor=none');
  1595. item27.vertex = true;
  1596. var item28 = new mxCell('', new mxGeometry(0, 220, 430, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1597. item28.vertex = true;
  1598. return sb.createVertexTemplateFromCells(
  1599. [item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item12, item13, item14, item15, item16, item17, item18, item19, item20, item21, item22, item23, item24, item25, item26, item27, item28], 400, 230, 'Table');
  1600. }),
  1601. this.addEntry(dt + 'table', function()
  1602. {
  1603. var item1 = new mxCell('Pull requests', new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1604. item1.vertex = true;
  1605. var item2 = new mxCell('Reviewers', new mxGeometry(490, 0, 100, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1606. item2.vertex = true;
  1607. var item3 = new mxCell('Builds', new mxGeometry(590, 0, 30, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1608. item3.vertex = true;
  1609. var item4 = new mxCell('', new mxGeometry(0, 20, 620, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1610. item4.vertex = true;
  1611. var item5 = new mxCell('', new mxGeometry(0, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1612. item5.vertex = true;
  1613. var item6 = new mxCell(
  1614. 'BSERV-7610: Only fire resizes events if element...\n<span style="font-weight: normal"><font color="#596780" style="font-size: 11px">Marcin Szczepanski - #8095, last updated 1 minutes ago in Repo ABC</font></span>',
  1615. new mxGeometry(37, 41, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1616. item6.vertex = true;
  1617. var item7 = new mxCell('', new mxGeometry(330, 44, 16, 10), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;');
  1618. item7.vertex = true;
  1619. var item8 = new mxCell('staging', new mxGeometry(355, 39, 50, 20), 'rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1620. item8.vertex = true;
  1621. var item9 = new mxCell('+6', new mxGeometry(535, 44, 24, 24), 'shape=ellipse;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1622. item9.vertex = true;
  1623. var item10 = new mxCell('', new mxGeometry(515, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1624. item10.vertex = true;
  1625. var item11 = new mxCell('', new mxGeometry(495, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1626. item11.vertex = true;
  1627. var item12 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(600, 48, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1628. item12.vertex = true;
  1629. var item13 = new mxCell('', new mxGeometry(0, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1630. item13.vertex = true;
  1631. var item14 = new mxCell(
  1632. 'Feature/BSERVDEV-13108 import...\n<span style="font-weight: normal"><font color="#596780" style="font-size: 11px">Lucy Bain - #8092, last updated 15 minutes ago in Bitbucket repository</font></span>',
  1633. new mxGeometry(37, 86, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1634. item14.vertex = true;
  1635. var item15 = new mxCell('', new mxGeometry(245, 89, 16, 10), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;');
  1636. item15.vertex = true;
  1637. var item16 = new mxCell('feature/BSERVDEV-12...', new mxGeometry(270, 84, 145, 20), 'shape=rect;rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1638. item16.vertex = true;
  1639. var item17 = new mxCell('9', new mxGeometry(440, 93, 16, 15), 'shape=mxgraph.basic.oval_callout;fillColor=#596780;strokeColor=none;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1;labelPosition=right;verticalLabelPosition=middle');
  1640. item17.vertex = true;
  1641. var item18 = new mxCell('', new mxGeometry(535, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1642. item18.vertex = true;
  1643. var item19 = new mxCell('', new mxGeometry(515, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1644. item19.vertex = true;
  1645. var item20 = new mxCell('', new mxGeometry(495, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1646. item20.vertex = true;
  1647. var item21 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(600, 93, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;flipH=1;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1648. item21.vertex = true;
  1649. var item22 = new mxCell('', new mxGeometry(0, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1650. item22.vertex = true;
  1651. var item23 = new mxCell(
  1652. 'BSERVDEV-13151: Disable the &apos;latest&apos; event filtering\n<span style="font-weight: normal"><font color="#596780" style="font-size: 11px">Felix Haenel - #8068, last updated 34 minutes ago in Repository</font></span>',
  1653. new mxGeometry(37, 131, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
  1654. item23.vertex = true;
  1655. var item24 = new mxCell('', new mxGeometry(342, 134, 16, 10), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;');
  1656. item24.vertex = true;
  1657. var item25 = new mxCell('staging', new mxGeometry(365, 129, 50, 20), 'rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1658. item25.vertex = true;
  1659. var item26 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(600, 138, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;flipH=1;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1660. item26.vertex = true;
  1661. var item27 = new mxCell('', new mxGeometry(0, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1662. item27.vertex = true;
  1663. var item28 = new mxCell(
  1664. 'Feature/BSERVDEV-13193: commit lvl review...\n<span style="font-weight: normal"><font style="font-size: 11px">John Van Der Loo - #8093; last updated 29 Oct 2014 in Repository</span>',
  1665. new mxGeometry(37, 176, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=1');
  1666. item28.vertex = true;
  1667. var item29 = new mxCell('', new mxGeometry(330, 179, 16, 10), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;');
  1668. item29.vertex = true;
  1669. var item30 = new mxCell('staging', new mxGeometry(355, 174, 50, 20), 'rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#A5ADBA;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1');
  1670. item30.vertex = true;
  1671. var item31 = new mxCell('2', new mxGeometry(440, 183, 16, 15), 'shape=mxgraph.basic.oval_callout;fillColor=#A5ADBA;strokeColor=none;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1;labelPosition=right;verticalLabelPosition=middle');
  1672. item31.vertex = true;
  1673. var item32 = new mxCell('+2', new mxGeometry(535, 179, 24, 24), 'shape=ellipse;fillColor=#F0F2F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1674. item32.vertex = true;
  1675. var item33 = new mxCell('', new mxGeometry(515, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1676. item33.vertex = true;
  1677. var item34 = new mxCell('', new mxGeometry(495, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  1678. item34.vertex = true;
  1679. var item35 = new mxCell('', new mxGeometry(512, 177, 9, 9), 'shape=ellipse;fillColor=#A5ADBA;strokeColor=#ffffff');
  1680. item35.vertex = true;
  1681. var item36 = new mxCell('', new mxGeometry(600, 183, 16, 16), s + 'checkbox;fillColor=#A5ADBA;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1682. item36.vertex = true;
  1683. var item37 = new mxCell('This PR has been merged', new mxGeometry(50, 210, 160, 20), 'rounded=1;arcSize=5;fillColor=#172B4D;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0;html=1');
  1684. item37.vertex = true;
  1685. var item38 = new mxCell('', new mxGeometry(0, 228, 620, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1686. item38.vertex = true;
  1687. return sb.createVertexTemplateFromCells(
  1688. [item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, item13, item14, item15, item16, item17, item18, item19, item20, item21, item22, item23, item24, item25, item26, item27, item28,
  1689. item29, item30, item31, item32, item33, item34, item35, item36, item37, item38], 620, 230, 'Table');
  1690. }),
  1691. this.addEntry(dt + 'table', function()
  1692. {
  1693. var item1 = new mxCell('Name', new mxGeometry(0, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1694. item1.vertex = true;
  1695. var item2 = new mxCell('Size', new mxGeometry(300, 0, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1696. item2.vertex = true;
  1697. var item3 = new mxCell('Last commit', new mxGeometry(360, 0, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1698. item3.vertex = true;
  1699. var item4 = new mxCell('Commit description', new mxGeometry(460, 0, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1700. item4.vertex = true;
  1701. var item5 = new mxCell('', new mxGeometry(0, 20, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1702. item5.vertex = true;
  1703. var item6 = new mxCell('h8m0n62f', new mxGeometry(0, 39, 18, 16), 'shape=mxgraph.office.concepts.folders;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5');
  1704. item6.vertex = true;
  1705. var item7 = new mxCell('', new mxGeometry(80, 42, 16, 10), 'shape=mxgraph.arrows2.sharpArrow2;dy1=0.82;dx1=4.02;dx2=5.92;dy3=0.26;dx3=7.37;notch=0;strokeColor=none;fillColor=#C1C7D0;direction=east;');
  1706. item7.vertex = true;
  1707. var item8 = new mxCell('./h8m0n62f [10b2fa24d299]', new mxGeometry(100, 37, 160, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=0');
  1708. item8.vertex = true;
  1709. var item9 = new mxCell('209 B', new mxGeometry(280, 37, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
  1710. item9.vertex = true;
  1711. var item10 = new mxCell('20 Jan 2016', new mxGeometry(360, 37, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1712. item10.vertex = true;
  1713. var item11 = new mxCell('initial commit', new mxGeometry(460, 37, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1714. item11.vertex = true;
  1715. var item12 = new mxCell('settings', new mxGeometry(0, 69, 18, 16), 'shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5');
  1716. item12.vertex = true;
  1717. var item13 = new mxCell('197 B', new mxGeometry(280, 67, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
  1718. item13.vertex = true;
  1719. var item14 = new mxCell('08 Feb 2011', new mxGeometry(360, 67, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1720. item14.vertex = true;
  1721. var item15 = new mxCell('initial commit', new mxGeometry(460, 67, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1722. item15.vertex = true;
  1723. var item16 = new mxCell('templates', new mxGeometry(0, 99, 18, 16), 'shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5');
  1724. item16.vertex = true;
  1725. var item17 = new mxCell('209 B', new mxGeometry(280, 97, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
  1726. item17.vertex = true;
  1727. var item18 = new mxCell('20 Jan 2016', new mxGeometry(360, 97, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1728. item18.vertex = true;
  1729. var item19 = new mxCell('initial commit', new mxGeometry(460, 97, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1730. item19.vertex = true;
  1731. var item20 = new mxCell('tests', new mxGeometry(0, 129, 18, 16), 'shape=mxgraph.office.concepts.folder;fillColor=#344563;strokeColor=none;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5');
  1732. item20.vertex = true;
  1733. var item21 = new mxCell('30.4 KB', new mxGeometry(280, 127, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
  1734. item21.vertex = true;
  1735. var item22 = new mxCell('16 Jun 2016', new mxGeometry(360, 127, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1736. item22.vertex = true;
  1737. var item23 = new mxCell('initial commit', new mxGeometry(460, 127, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1738. item23.vertex = true;
  1739. var item24 = new mxCell('debug.py', new mxGeometry(3, 159, 12, 16), 'shape=note;fillColor=#ffffff;strokeColor=#344563;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5;size=5');
  1740. item24.vertex = true;
  1741. var item25 = new mxCell('2.0 KB', new mxGeometry(280, 157, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
  1742. item25.vertex = true;
  1743. var item26 = new mxCell('03 July 2016', new mxGeometry(360, 157, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1744. item26.vertex = true;
  1745. var item27 = new mxCell("Remove Atlassian's npm mirror...", new mxGeometry(460, 157, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1746. item27.vertex = true;
  1747. var item28 = new mxCell('package.json', new mxGeometry(3, 189, 12, 16), 'shape=note;fillColor=#ffffff;strokeColor=#344563;fontColor=#344563;fontSize=11;fontStyle=0;labelPosition=right;align=left;html=1;spacingLeft=5;size=5');
  1748. item28.vertex = true;
  1749. var item29 = new mxCell('2.0 KB', new mxGeometry(280, 187, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
  1750. item29.vertex = true;
  1751. var item30 = new mxCell('25 July 2016', new mxGeometry(360, 187, 70, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1752. item30.vertex = true;
  1753. var item31 = new mxCell('<font color="#0057d8">BBCDEV-2045</font> optimize flow perf', new mxGeometry(460, 187, 170, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1754. item31.vertex = true;
  1755. var item32 = new mxCell('', new mxGeometry(0, 217, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1756. item32.vertex = true;
  1757. return sb.createVertexTemplateFromCells(
  1758. [item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, item13, item14, item15, item16, item17, item18, item19, item20, item21, item22, item23, item24, item25, item26, item27, item28, item29,
  1759. item30, item31, item32],
  1760. 630, 230, 'Table');
  1761. }),
  1762. this.addEntry(dt + 'table action', function()
  1763. {
  1764. var item1 = new mxCell('Branch', new mxGeometry(10, 0, 150, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1765. item1.vertex = true;
  1766. var item2 = new mxCell('Behind', new mxGeometry(270, 0, 40, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1767. item2.vertex = true;
  1768. var item3 = new mxCell('Ahead', new mxGeometry(310, 0, 40, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=right;fontColor=#596780;whiteSpace=wrap');
  1769. item3.vertex = true;
  1770. var item4 = new mxCell('Updated', new mxGeometry(370, 0, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;whiteSpace=wrap');
  1771. item4.vertex = true;
  1772. var item5 = new mxCell('Pull request', new mxGeometry(460, 0, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1773. item5.vertex = true;
  1774. var item6 = new mxCell('Builds', new mxGeometry(550, 0, 40, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=center;fontColor=#596780;whiteSpace=wrap');
  1775. item6.vertex = true;
  1776. var item7 = new mxCell('', new mxGeometry(10, 20, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1777. item7.vertex = true;
  1778. var item8 = new mxCell('', new mxGeometry(0, 26, 640, 30), 'strokeColor=none;fillColor=#FAFBFC;html=1');
  1779. item8.vertex = true;
  1780. var item9 = new mxCell('staging', new mxGeometry(10, 31, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1781. item9.vertex = true;
  1782. var item10 = new mxCell('Main Branch', new mxGeometry(60, 31, 65, 20), 'strokeColor=none;fillColor=#EDEEEF;fontSize=11;fontColor=#596780;rounded=1;html=1');
  1783. item10.vertex = true;
  1784. var item11 = new mxCell('28 minutes ago', new mxGeometry(370, 31, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1785. item11.vertex = true;
  1786. var item12 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(565, 33, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1787. item12.vertex = true;
  1788. var item13 = new mxCell('', new mxGeometry(595, 28, 40, 24), 'rounded=1;arcSize=23;fillColor=#42526E;strokeColor=none');
  1789. item13.vertex = true;
  1790. var icon1 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  1791. icon1.geometry.relative = true;
  1792. icon1.geometry.offset = new mxPoint(-10, -2);
  1793. icon1.vertex = true;
  1794. item13.insert(icon1);
  1795. var icon2 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  1796. icon2.geometry.relative = true;
  1797. icon2.geometry.offset = new mxPoint(-2, -2);
  1798. icon2.vertex = true;
  1799. item13.insert(icon2);
  1800. var icon3 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  1801. icon3.geometry.relative = true;
  1802. icon3.geometry.offset = new mxPoint(6, -2);
  1803. icon3.vertex = true;
  1804. item13.insert(icon3);
  1805. var item14 = new mxCell('abhin/repo/api/allow_repo_updates', new mxGeometry(10, 61, 240, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1806. item14.vertex = true;
  1807. var item15 = new mxCell('', new mxGeometry(270, 66, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
  1808. item15.vertex = true;
  1809. var item16 = new mxCell('107', new mxGeometry(270, 73, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
  1810. item16.vertex = true;
  1811. var item17 = new mxCell('3', new mxGeometry(310, 73, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
  1812. item17.vertex = true;
  1813. var item18 = new mxCell('5 minutes ago', new mxGeometry(370, 61, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1814. item18.vertex = true;
  1815. var item19 = new mxCell('#10258', new mxGeometry(460, 61, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1816. item19.vertex = true;
  1817. var item20 = new mxCell('OPEN', new mxGeometry(510, 61, 40, 20), 'strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1');
  1818. item20.vertex = true;
  1819. var item21 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(565, 63, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1820. item21.vertex = true;
  1821. var item22 = new mxCell('zdavis/BBCDEV-1577', new mxGeometry(10, 91, 240, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1822. item22.vertex = true;
  1823. var item23 = new mxCell('', new mxGeometry(270, 96, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
  1824. item23.vertex = true;
  1825. var item24 = new mxCell('103', new mxGeometry(270, 103, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
  1826. item24.vertex = true;
  1827. var item25 = new mxCell('2', new mxGeometry(310, 103, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
  1828. item25.vertex = true;
  1829. var item26 = new mxCell('5 minutes ago', new mxGeometry(370, 91, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1830. item26.vertex = true;
  1831. var item27 = new mxCell('#10232', new mxGeometry(460, 91, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1832. item27.vertex = true;
  1833. var item28 = new mxCell('OPEN', new mxGeometry(510, 91, 40, 20), 'strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1');
  1834. item28.vertex = true;
  1835. var item29 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(565, 93, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1836. item29.vertex = true;
  1837. var item30 = new mxCell('tkells/BBCDEV-1631-fix-require-account=access', new mxGeometry(10, 121, 240, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1838. item30.vertex = true;
  1839. var item31 = new mxCell('', new mxGeometry(270, 126, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
  1840. item31.vertex = true;
  1841. var item32 = new mxCell('7', new mxGeometry(270, 133, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
  1842. item32.vertex = true;
  1843. var item33 = new mxCell('1', new mxGeometry(310, 133, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
  1844. item33.vertex = true;
  1845. var item34 = new mxCell('25 minutes ago', new mxGeometry(370, 121, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1846. item34.vertex = true;
  1847. var item35 = new mxCell('#10267', new mxGeometry(460, 121, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1848. item35.vertex = true;
  1849. var item36 = new mxCell('OPEN', new mxGeometry(510, 121, 40, 20), 'strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1');
  1850. item36.vertex = true;
  1851. var item37 = new mxCell('&#8226;&#8226;&#8226;', new mxGeometry(565, 123, 16, 16), 'shape=ellipse;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1852. item37.vertex = true;
  1853. var item38 = new mxCell('jmooring/BBDEV-1603', new mxGeometry(10, 151, 240, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1854. item38.vertex = true;
  1855. var item39 = new mxCell('', new mxGeometry(270, 156, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
  1856. item39.vertex = true;
  1857. var item40 = new mxCell('2', new mxGeometry(270, 163, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
  1858. item40.vertex = true;
  1859. var item41 = new mxCell('14', new mxGeometry(310, 163, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
  1860. item41.vertex = true;
  1861. var item42 = new mxCell('29 minutes ago', new mxGeometry(370, 151, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
  1862. item42.vertex = true;
  1863. var item43 = new mxCell('#10244', new mxGeometry(460, 151, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#0057D8;align=left;html=1');
  1864. item43.vertex = true;
  1865. var item44 = new mxCell('OPEN', new mxGeometry(510, 151, 40, 20), 'strokeColor=none;fillColor=#CCE0FF;fontSize=11;fontColor=#3384FF;rounded=1;html=1;align=center;fontStyle=1');
  1866. item44.vertex = true;
  1867. var item45 = new mxCell('', new mxGeometry(565, 153, 16, 16), s +'checkbox;fillColor=#008465;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=0;html=1');
  1868. item45.vertex = true;
  1869. var item46 = new mxCell('', new mxGeometry(10, 179, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1870. item46.vertex = true;
  1871. var item47 = new mxCell('', new mxGeometry(530, 61, 110, 78), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  1872. item47.vertex = true;
  1873. var item48 = new mxCell('View source', new mxGeometry(0, 0, 110, 33), 'rounded=0;fillColor=#F4F5F7;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  1874. item48.geometry.relative = true;
  1875. item48.geometry.offset = new mxPoint(0, 6);
  1876. item48.vertex = true;
  1877. item47.insert(item48);
  1878. var item49 = new mxCell('Delete branch', new mxGeometry(0, 0, 110, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  1879. item49.geometry.relative = true;
  1880. item49.geometry.offset = new mxPoint(0, 39);
  1881. item49.vertex = true;
  1882. item47.insert(item49);
  1883. return sb.createVertexTemplateFromCells(
  1884. [item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, item13, item14, item15, item16, item17, item18, item19, item20, item21, item22, item23, item24, item25, item26, item27, item28, item29,
  1885. item30, item31, item32, item33, item34, item35, item36, item37, item38, item39, item40, item41, item42, item43, item44, item45, item46, item47],
  1886. 630, 189, 'Table with action');
  1887. }),
  1888. this.addEntry(dt + 'table action', function()
  1889. {
  1890. var item1 = new mxCell('Details', new mxGeometry(0, 0, 50, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#3384FF;fontStyle=1;whiteSpace=wrap');
  1891. item1.vertex = true;
  1892. var item2 = new mxCell('Diff', new mxGeometry(70, 0, 40, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;fontStyle=1;whiteSpace=wrap');
  1893. item2.vertex = true;
  1894. var item3 = new mxCell('Commits', new mxGeometry(130, 0, 60, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;fontStyle=1;whiteSpace=wrap');
  1895. item3.vertex = true;
  1896. var item4 = new mxCell('Challenges', new mxGeometry(200, 0, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=11;align=left;fontColor=#596780;fontStyle=1;whiteSpace=wrap');
  1897. item4.vertex = true;
  1898. var item5 = new mxCell('', new mxGeometry(0, 20, 350, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
  1899. item5.vertex = true;
  1900. var item6 = new mxCell('', new mxGeometry(0, 20, 40, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#3384FF;resizeWidth=1');
  1901. item6.vertex = true;
  1902. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6], 350, 30, 'Table with action');
  1903. }),
  1904. this.createVertexTemplateEntry('dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0',
  1905. 60, 20, 'Tag text', 'Tag', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
  1906. this.createVertexTemplateEntry('dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0',
  1907. 60, 20, 'Tag link', 'Tag link', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
  1908. this.addEntry(dt + 'tag removable', function()
  1909. {
  1910. var item1 = new mxCell('Removable tag', new mxGeometry(0, 0, 100, 20), 'dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3');
  1911. item1.vertex = true;
  1912. var item2 = new mxCell('', new mxGeometry(1, 0.5, 6, 6), s + 'x;strokeColor=#596780;strokeWidth=2');
  1913. item2.geometry.relative = true;
  1914. item2.geometry.offset = new mxPoint(-11, -3);
  1915. item2.vertex = true;
  1916. item1.insert(item2);
  1917. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Removable tag');
  1918. }),
  1919. this.addEntry(dt + 'tag removable link', function()
  1920. {
  1921. var item1 = new mxCell('Removable tag link', new mxGeometry(0, 0, 130, 20), 'dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=left;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0;spacingLeft=3');
  1922. item1.vertex = true;
  1923. var item2 = new mxCell('', new mxGeometry(1, 0.5, 6, 6), s + 'x;strokeColor=#596780;strokeWidth=2');
  1924. item2.geometry.relative = true;
  1925. item2.geometry.offset = new mxPoint(-11, -3);
  1926. item2.vertex = true;
  1927. item1.insert(item2);
  1928. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Removable tag link');
  1929. }),
  1930. this.addEntry(dt + 'text field', function()
  1931. {
  1932. var item1 = new mxCell('Name<sup><font color="#ff0000">*</font></sup>', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1933. item1.vertex = true;
  1934. var item2 = new mxCell('Messina Cake', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  1935. item2.vertex = true;
  1936. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field');
  1937. }),
  1938. this.addEntry(dt + 'password field', function()
  1939. {
  1940. var item1 = new mxCell('Password<sup><font color="#ff0000">*</font></sup>', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1941. item1.vertex = true;
  1942. var item2 = new mxCell('&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;&#8226;', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  1943. item2.vertex = true;
  1944. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Password field');
  1945. }),
  1946. this.addEntry(dt + 'text field', function()
  1947. {
  1948. var item1 = new mxCell('Project name', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1949. item1.vertex = true;
  1950. var item2 = new mxCell('Watermelon Squad', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  1951. item2.vertex = true;
  1952. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Compact text field');
  1953. }),
  1954. this.addEntry(dt + 'text field', function()
  1955. {
  1956. var item1 = new mxCell('Project name', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1957. item1.vertex = true;
  1958. var item2 = new mxCell('Watermelon Squad', new mxGeometry(0, 25, 290, 40), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  1959. item2.vertex = true;
  1960. return sb.createVertexTemplateFromCells([item1, item2], 290, 65, 'Text field');
  1961. }),
  1962. this.addEntry(dt + 'text field', function()
  1963. {
  1964. var item1 = new mxCell('Location', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1965. item1.vertex = true;
  1966. var item2 = new mxCell('', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  1967. item2.vertex = true;
  1968. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Compact text field');
  1969. }),
  1970. this.addEntry(dt + 'text field', function()
  1971. {
  1972. var item1 = new mxCell('Location', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1973. item1.vertex = true;
  1974. var item2 = new mxCell('', new mxGeometry(0, 25, 290, 40), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  1975. item2.vertex = true;
  1976. return sb.createVertexTemplateFromCells([item1, item2], 290, 65, 'Text field');
  1977. }),
  1978. this.addEntry(dt + 'text field', function()
  1979. {
  1980. var item1 = new mxCell('Details', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1981. item1.vertex = true;
  1982. var item2 = new mxCell('eg. ATP, VOSS etc', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  1983. item2.vertex = true;
  1984. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Compact text field');
  1985. }),
  1986. this.addEntry(dt + 'text field', function()
  1987. {
  1988. var item1 = new mxCell('Details', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1989. item1.vertex = true;
  1990. var item2 = new mxCell('eg. ATP, VOSS etc', new mxGeometry(0, 25, 290, 40), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  1991. item2.vertex = true;
  1992. return sb.createVertexTemplateFromCells([item1, item2], 290, 65, 'Text field');
  1993. }),
  1994. this.addEntry(dt + 'text field help', function()
  1995. {
  1996. var item1 = new mxCell('Form label', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  1997. item1.vertex = true;
  1998. var item2 = new mxCell('Banana bread', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  1999. item2.vertex = true;
  2000. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field with placeholder text');
  2001. }),
  2002. this.addEntry(dt + 'text field tooltip', function()
  2003. {
  2004. var item1 = new mxCell('Selected help', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2005. item1.vertex = true;
  2006. var item2 = new mxCell('', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  2007. item2.vertex = true;
  2008. var item3 = new mxCell('<b>Not great</b><div>The best password is hard to guess. Try again.</div>', new mxGeometry(300, 0, 180, 80),
  2009. 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;verticalAlign=top;spacingLeft=15;spacingRight=15;spacingTop=10');
  2010. item3.vertex = true;
  2011. return sb.createVertexTemplateFromCells([item1, item2, item3], 480, 80, 'Text field with tooltip');
  2012. }),
  2013. this.addEntry(dt + 'text field tooltip', function()
  2014. {
  2015. var item1 = new mxCell('Hover Icon Help', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2016. item1.vertex = true;
  2017. var item2 = new mxCell('Sally Hanson', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  2018. item2.vertex = true;
  2019. var item3 = new mxCell('i', new mxGeometry(1, 0.5, 18, 18), 'shape=ellipse;strokeColor=none;fillColor=#6554C0;fontColor=#ffffff;fontStyle=1;fontSize=12');
  2020. item3.geometry.relative = true;
  2021. item3.geometry.offset = new mxPoint(-34, -9);
  2022. item3.vertex = true;
  2023. item2.insert(item3);
  2024. var item4 = new mxCell('Some issues are not available due to the <font color="#4c9aff">field configuration.</font>', new mxGeometry(300, 0, 200, 60),
  2025. 'html=1;rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;fontSize=12;align=left;fontColor=#000000;shadow=1;arcSize=1;whiteSpace=wrap;verticalAlign=top;spacingLeft=15;spacingRight=15;spacingTop=10');
  2026. item4.vertex = true;
  2027. return sb.createVertexTemplateFromCells([item1, item2, item4], 480, 80, 'Text field with tooltip');
  2028. }),
  2029. this.addEntry(dt + 'toggle subtle', function()
  2030. {
  2031. var item1 = new mxCell('', new mxGeometry(0, 0, 30, 16), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
  2032. item1.vertex = true;
  2033. var item2 = new mxCell('', new mxGeometry(1, 0.5, 12, 12), 'shape=ellipse;strokeColor=none;fillColor=#ffffff');
  2034. item2.geometry.relative = true;
  2035. item2.geometry.offset = new mxPoint(-14, -6);
  2036. item2.vertex = true;
  2037. item1.insert(item2);
  2038. var item3 = new mxCell('', new mxGeometry(0, 0.5, 6, 5), s + 'check;strokeColor=#ffffff');
  2039. item3.geometry.relative = true;
  2040. item3.geometry.offset = new mxPoint(4, -3);
  2041. item3.vertex = true;
  2042. item1.insert(item3);
  2043. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Subtle toggle');
  2044. }),
  2045. this.addEntry(dt + 'toggle bold', function()
  2046. {
  2047. var item1 = new mxCell('', new mxGeometry(0, 0, 40, 20), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
  2048. item1.vertex = true;
  2049. var item2 = new mxCell('', new mxGeometry(1, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#ffffff');
  2050. item2.geometry.relative = true;
  2051. item2.geometry.offset = new mxPoint(-18, -8);
  2052. item2.vertex = true;
  2053. item1.insert(item2);
  2054. var item3 = new mxCell('', new mxGeometry(0, 0.5, 10, 8), s + 'check;strokeColor=#ffffff;strokeWidth=2');
  2055. item3.geometry.relative = true;
  2056. item3.geometry.offset = new mxPoint(6, -5);
  2057. item3.vertex = true;
  2058. item1.insert(item3);
  2059. return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Bold toggle');
  2060. }),
  2061. this.addEntry(dt + 'toggle bold tooltip', function()
  2062. {
  2063. var item1 = new mxCell('Allow pull requests', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2064. item1.vertex = true;
  2065. var item2 = new mxCell('', new mxGeometry(0, 25, 40, 20), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
  2066. item2.vertex = true;
  2067. var item3 = new mxCell('', new mxGeometry(1, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#ffffff');
  2068. item3.geometry.relative = true;
  2069. item3.geometry.offset = new mxPoint(-18, -8);
  2070. item3.vertex = true;
  2071. item2.insert(item3);
  2072. var item4 = new mxCell('', new mxGeometry(0, 0.5, 10, 8), s + 'check;strokeColor=#ffffff;strokeWidth=2');
  2073. item4.geometry.relative = true;
  2074. item4.geometry.offset = new mxPoint(6, -5);
  2075. item4.vertex = true;
  2076. item2.insert(item4);
  2077. var item5 = new mxCell('Disable pull requests', new mxGeometry(45, 25, 115, 20), 'rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11');
  2078. item5.vertex = true;
  2079. var item6 = new mxCell('Allow other users to merge this branch via pull request', new mxGeometry(0, 50, 280, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;align=left;fontColor=#596780;fontStyle=0;fontSize=11');
  2080. item6.vertex = true;
  2081. var item7 = new mxCell('Rewriting history', new mxGeometry(5, 75, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  2082. item7.vertex = true;
  2083. var item8 = new mxCell('Branch deletion', new mxGeometry(5, 100, 12, 12), 'rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  2084. item8.vertex = true;
  2085. return sb.createVertexTemplateFromCells([item1, item2, item5, item6, item7, item8], 280, 112, 'Bold toggle with tooltip');
  2086. }),
  2087. this.addEntry(dt + 'toggle bold disabled', function()
  2088. {
  2089. var item1 = new mxCell('', new mxGeometry(0, 0, 40, 20), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
  2090. item1.vertex = true;
  2091. var item2 = new mxCell('', new mxGeometry(1, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#9AD9BE');
  2092. item2.geometry.relative = true;
  2093. item2.geometry.offset = new mxPoint(-18, -8);
  2094. item2.vertex = true;
  2095. item1.insert(item2);
  2096. var item3 = new mxCell('', new mxGeometry(0, 0.5, 10, 8), s + 'check;strokeColor=#9AD9BE;strokeWidth=2');
  2097. item3.geometry.relative = true;
  2098. item3.geometry.offset = new mxPoint(6, -5);
  2099. item3.vertex = true;
  2100. item1.insert(item3);
  2101. var item4 = new mxCell('Subscribed', new mxGeometry(45, 0, 75, 20), 'rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11');
  2102. item4.vertex = true;
  2103. return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold toggle disabled');
  2104. }),
  2105. this.addEntry(dt + 'toggle bold disabled', function()
  2106. {
  2107. var item1 = new mxCell('', new mxGeometry(0, 0, 40, 20), 'fillColor=#F1F2F4;strokeColor=none;rounded=1;arcSize=50');
  2108. item1.vertex = true;
  2109. var item2 = new mxCell('', new mxGeometry(0, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#C2C7D0');
  2110. item2.geometry.relative = true;
  2111. item2.geometry.offset = new mxPoint(2, -8);
  2112. item2.vertex = true;
  2113. item1.insert(item2);
  2114. var item3 = new mxCell('', new mxGeometry(1, 0.5, 6, 6), s + 'x;strokeColor=#C2C7D0;strokeWidth=2');
  2115. item3.geometry.relative = true;
  2116. item3.geometry.offset = new mxPoint(-12, -3);
  2117. item3.vertex = true;
  2118. item1.insert(item3);
  2119. var item4 = new mxCell('Cancelled', new mxGeometry(45, 0, 65, 20), 'rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11');
  2120. item4.vertex = true;
  2121. return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold toggle disabled');
  2122. }),
  2123. this.addEntry(dt + 'toggle subtle disabled', function()
  2124. {
  2125. var item1 = new mxCell('', new mxGeometry(0, 2, 30, 16), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
  2126. item1.vertex = true;
  2127. var item2 = new mxCell('', new mxGeometry(1, 0.5, 12, 12), 'shape=ellipse;strokeColor=none;fillColor=#9AD9BE');
  2128. item2.geometry.relative = true;
  2129. item2.geometry.offset = new mxPoint(-14, -6);
  2130. item2.vertex = true;
  2131. item1.insert(item2);
  2132. var item3 = new mxCell('', new mxGeometry(0, 0.5, 6, 5), s + 'check;strokeColor=#9AD9BE');
  2133. item3.geometry.relative = true;
  2134. item3.geometry.offset = new mxPoint(4, -3);
  2135. item3.vertex = true;
  2136. item1.insert(item3);
  2137. var item4 = new mxCell('Subscribed', new mxGeometry(35, 0, 75, 20), 'rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11');
  2138. item4.vertex = true;
  2139. return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold subtle disabled');
  2140. }),
  2141. this.addEntry(dt + 'toggle subtle disabled', function()
  2142. {
  2143. var item1 = new mxCell('', new mxGeometry(0, 2, 30, 16), 'fillColor=#F1F2F4;strokeColor=none;rounded=1;arcSize=50');
  2144. item1.vertex = true;
  2145. var item2 = new mxCell('', new mxGeometry(0, 0.5, 12, 12), 'shape=ellipse;strokeColor=none;fillColor=#C2C7D0');
  2146. item2.geometry.relative = true;
  2147. item2.geometry.offset = new mxPoint(2, -6);
  2148. item2.vertex = true;
  2149. item1.insert(item2);
  2150. var item3 = new mxCell('', new mxGeometry(1, 0.5, 5, 5), s + 'x;strokeColor=#C2C7D0');
  2151. item3.geometry.relative = true;
  2152. item3.geometry.offset = new mxPoint(-10, -3);
  2153. item3.vertex = true;
  2154. item1.insert(item3);
  2155. var item4 = new mxCell('Cancelled', new mxGeometry(45, 0, 65, 20), 'rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11');
  2156. item4.vertex = true;
  2157. return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold subtle disabled');
  2158. }),
  2159. this.createVertexTemplateEntry('rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11',
  2160. 65, 20, 'Tooltip', 'Tooltip', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
  2161. this.addEntry(dt + 'comment', function()
  2162. {
  2163. var item1 = new mxCell('', new mxGeometry(0, 0, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  2164. item1.vertex = true;
  2165. var item2 = new mxCell('Jim Bunnings', new mxGeometry(40, 0, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap');
  2166. item2.vertex = true;
  2167. var item3 = new mxCell('AUTHOR', new mxGeometry(125, 0, 55, 20), 'rounded=1;arcSize=5;fillColor=#F2F3F5;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1');
  2168. item3.vertex = true;
  2169. var item4 = new mxCell('30, August 2016', new mxGeometry(190, 0, 110, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap');
  2170. item4.vertex = true;
  2171. var item5 = new mxCell('Thanks for the write-up.', new mxGeometry(40, 20, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap');
  2172. item5.vertex = true;
  2173. var item6 = new mxCell(
  2174. 'You&apos;ve mentioned the reasons for changing the name. But what were the reasons for holding onto the old name so long? I remember <font color="#4c9aff" style="background-color: rgb(244 , 245 , 247)">@Jesse Byler</font> suggesting the name change back in January in: Re: Y U NO use Confluence',
  2175. new mxGeometry(40, 45, 430, 60), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;verticalAlign=top');
  2176. item6.vertex = true;
  2177. var item7 = new mxCell('Reply &#8226; Edit &#8226; Delete &#8226; Like', new mxGeometry(40, 105, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap');
  2178. item7.vertex = true;
  2179. return sb.createVertexTemplateFromCells(
  2180. [item1, item2, item3, item4, item5, item6, item7], 470, 125, 'Comment');
  2181. }),
  2182. this.addEntry(dt + 'linear discussion', function()
  2183. {
  2184. var item1 = new mxCell(
  2185. '<font color="#596780"><b>Martin Papy</b> 27, April 16&nbsp;</font><div>\n<div>Hi Sam, I have ordered your new 24" monitor. When it arrives, I will notify you&nbsp;</div><div>and you can come and collect it from teh IT department.</div></div>',
  2186. new mxGeometry(0, 0, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;fontSize=12;align=left;fontColor=#000000;labelPosition=right;html=1;verticalAlign=top;spacingTop=-10;spacingLeft=5');
  2187. item1.vertex = true;
  2188. var item2 = new mxCell(
  2189. '<font color="#596780"><b>Sam Lawrence</b> 27, April 16&nbsp;</font><div>\n<div>Are we still proviging 24" monitors? I thought we only provided laptops now...;</div><div>can you confirm. <font color="#4c9aff" style="background-color: rgb(244 , 245 , 247)">@Martin</font> ?</div></div>',
  2190. new mxGeometry(0, 75, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;fontSize=12;align=left;fontColor=#000000;labelPosition=right;html=1;verticalAlign=top;spacingTop=-10;spacingLeft=5');
  2191. item2.vertex = true;
  2192. return sb.createVertexTemplateFromCells([item1, item2], 470, 125, 'Linear discussion');
  2193. }),
  2194. this.addEntry(dt + 'nested discussion', function()
  2195. {
  2196. var item1 = new mxCell(
  2197. '<p style="line-height: 40%"><font color="#596780"><b>Raj Shah</b> 12, November 2016</font></p><p style="line-height: 40%"><div><font color="#4c9aff" style="background-color: rgb(244 , 245 , 247)">@Matthew Wu</font>, can we re-run this once create/edit is out the door?</div></p><p style="line-height: 40%"><div></div><div><font color="#596780">Reply • Edit • Delete • Like</font></div></p>',
  2198. new mxGeometry(0, 0, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;fontSize=12;align=left;fontColor=#000000;labelPosition=right;html=1;verticalAlign=top;spacingTop=-10;spacingLeft=5');
  2199. item1.vertex = true;
  2200. var item2 = new mxCell(
  2201. '<p style="line-height: 40%"><font color="#596780"><b>Matthew Wu</b> </font><font style="font-size: 10px"><b style="background-color: rgb(244 , 245 , 247)">AUTHOR</b></font><font color="#596780"> 13, November 2016</font></p><p></p><div>Sure we can do that. We have a summary report every month. This is\n' +
  2202. 'the last one: Mobile Feedback Scorecard - October 2016</div><p></p><p></p><div></div><div><font color="#596780">Reply • Edit • Delete • Like</font></div><p></p>',
  2203. new mxGeometry(40, 75, 16, 16), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858;fontSize=12;align=left;fontColor=#000000;labelPosition=right;html=1;verticalAlign=top;spacingTop=-10;spacingLeft=5');
  2204. item2.vertex = true;
  2205. return sb.createVertexTemplateFromCells([item1, item2], 450, 160, 'Nested discussion');
  2206. }),
  2207. this.addEntry(dt + 'comment', function()
  2208. {
  2209. var item1 = new mxCell('Comment', new mxGeometry(0, 0, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=15;align=left;fontColor=#000000;whiteSpace=wrap');
  2210. item1.vertex = true;
  2211. var item2 = new mxCell('', new mxGeometry(0, 20, 320, 10), 'shape=line;strokeColor=#596780;html=1');
  2212. item2.vertex = true;
  2213. var item3 = new mxCell('', new mxGeometry(20, 40, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  2214. item3.vertex = true;
  2215. var item4 = new mxCell('Jim Bunnings', new mxGeometry(60, 40, 90, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap');
  2216. item4.vertex = true;
  2217. var item5 = new mxCell('30, August 2016', new mxGeometry(150, 40, 110, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap');
  2218. item5.vertex = true;
  2219. var item6 = new mxCell('Thanks for the write-up.', new mxGeometry(60, 60, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap');
  2220. item6.vertex = true;
  2221. var item7 = new mxCell(
  2222. 'You&apos;ve mentioned the reasons for changing the name. But what were the reasons for holding onto the old name so long?',
  2223. new mxGeometry(60, 85, 260, 55), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;verticalAlign=top');
  2224. item7.vertex = true;
  2225. var item8 = new mxCell('Reply &#8226; Likes', new mxGeometry(60, 140, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap');
  2226. item8.vertex = true;
  2227. var item9 = new mxCell('', new mxGeometry(20, 180, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
  2228. item9.vertex = true;
  2229. var item10 = new mxCell('Type something', new mxGeometry(60, 180, 260, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  2230. item10.vertex = true;
  2231. var icon1 = new mxCell('', new mxGeometry(1, 0.5, 14, 14), 'html=1;shadow=0;dashed=0;shape=mxgraph.basic.cross2;dx=0;strokeColor=#42526E;fillColor=#42526E');
  2232. icon1.geometry.relative = true;
  2233. icon1.geometry.offset = new mxPoint(-28, -7);
  2234. icon1.vertex = true;
  2235. item10.insert(icon1);
  2236. var item11 = new mxCell('', new mxGeometry(280, 28, 40, 24), 'rounded=1;arcSize=23;fillColor=#42526E;strokeColor=none');
  2237. item11.vertex = true;
  2238. var icon2 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  2239. icon2.geometry.relative = true;
  2240. icon2.geometry.offset = new mxPoint(-10, -2);
  2241. icon2.vertex = true;
  2242. item11.insert(icon2);
  2243. var icon3 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  2244. icon3.geometry.relative = true;
  2245. icon3.geometry.offset = new mxPoint(-2, -2);
  2246. icon3.vertex = true;
  2247. item11.insert(icon3);
  2248. var icon4 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
  2249. icon4.geometry.relative = true;
  2250. icon4.geometry.offset = new mxPoint(6, -2);
  2251. icon4.vertex = true;
  2252. item11.insert(icon4);
  2253. var item12 = new mxCell('', new mxGeometry(190, 61, 130, 78), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
  2254. item12.vertex = true;
  2255. var item13 = new mxCell('Edit', new mxGeometry(0, 0, 130, 33), 'rounded=0;fillColor=#F4F5F7;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  2256. item13.geometry.relative = true;
  2257. item13.geometry.offset = new mxPoint(0, 6);
  2258. item13.vertex = true;
  2259. item12.insert(item13);
  2260. var item14 = new mxCell('Delete', new mxGeometry(0, 0, 130, 33), 'rounded=0;fillColor=none;strokeColor=none;shadow=0;html=1;align=left;fontSize=12;spacingLeft=10;fontColor=#253858;resizeWidth=1');
  2261. item14.geometry.relative = true;
  2262. item14.geometry.offset = new mxPoint(0, 39);
  2263. item14.vertex = true;
  2264. item12.insert(item14);
  2265. return sb.createVertexTemplateFromCells(
  2266. [item1, item2, item3, item4, item5,item6, item7, item8, item9, item10, item11, item12], 320, 213, 'Comment');
  2267. }),
  2268. this.addEntry(dt + 'date picker', function()
  2269. {
  2270. var item1 = new mxCell('Due date', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2271. item1.vertex = true;
  2272. var item2 = new mxCell('Your name', new mxGeometry(0, 25, 150, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  2273. item2.vertex = true;
  2274. var item3 = new mxCell('', new mxGeometry(1, 0.5, 18, 18), 'shape=mxgraph.gmdl.calendar;fillColor=#5A6881;strokeColor=none');
  2275. item3.geometry.relative = true;
  2276. item3.geometry.offset = new mxPoint(-29, -9);
  2277. item3.vertex = true;
  2278. item2.insert(item3);
  2279. return sb.createVertexTemplateFromCells([item1, item2], 150, 53, 'Date picker');
  2280. }),
  2281. this.addEntry(dt + 'date picker', function()
  2282. {
  2283. var z1 = 'strokeColor=none;fillColor=none;fontColor=#000000;fontSize=16';
  2284. var z2 = 'strokeColor=none;fillColor=none;fontColor=#999999;fontSize=16';
  2285. var z3 = 'strokeColor=none;fillColor=none;fontColor=#999999;fontSize=12;fontStyle=1';
  2286. var item1 = new mxCell('Due date', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2287. item1.vertex = true;
  2288. var item2 = new mxCell('Today', new mxGeometry(0, 25, 150, 33), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#0057D8;html=1;strokeWidth=2;fontColor=#253858;fontSize=12');
  2289. item2.vertex = true;
  2290. var item3 = new mxCell('', new mxGeometry(1, 0.5, 18, 18), 'shape=mxgraph.gmdl.calendar;fillColor=#253858;strokeColor=none');
  2291. item3.geometry.relative = true;
  2292. item3.geometry.offset = new mxPoint(-29, -9);
  2293. item3.vertex = true;
  2294. item2.insert(item3);
  2295. var bg = new mxCell('', new mxGeometry(0, 65, 320, 350), 'shape=mxgraph.mockup.forms.rrect;rSize=5;strokeColor=#DFE1E5;fillColor=#ffffff;shadow=1');
  2296. bg.vertex = true;
  2297. var text1 = new mxCell('November 2015', new mxGeometry(60, 16, 200, 40), 'strokeColor=none;fillColor=none;fontColor=#253858;fontSize=16;fontStyle=1');
  2298. text1.vertex = true;
  2299. bg.insert(text1);
  2300. var button1 = new mxCell('<', new mxGeometry(16, 16, 50, 40), 'strokeColor=none;fillColor=none;fontColor=#253858;fontSize=19;fontStyle=1;');
  2301. button1.vertex = true;
  2302. bg.insert(button1);
  2303. var button2 = new mxCell('>', new mxGeometry(254, 16, 50, 40), 'strokeColor=none;fillColor=none;fontColor=#253858;fontSize=19;fontStyle=1;');
  2304. button2.vertex = true;
  2305. bg.insert(button2);
  2306. var text2 = new mxCell('SUN', new mxGeometry(20, 56, 40, 40), z3);
  2307. text2.vertex = true;
  2308. bg.insert(text2);
  2309. var text3 = new mxCell('MON', new mxGeometry(60, 56, 40, 40), z3);
  2310. text3.vertex = true;
  2311. bg.insert(text3);
  2312. var text4 = new mxCell('TUE', new mxGeometry(100, 56, 40, 40), z3);
  2313. text4.vertex = true;
  2314. bg.insert(text4);
  2315. var text5 = new mxCell('WED', new mxGeometry(140, 56, 40, 40), z3);
  2316. text5.vertex = true;
  2317. bg.insert(text5);
  2318. var text6 = new mxCell('THU', new mxGeometry(180, 56, 40, 40), z3);
  2319. text6.vertex = true;
  2320. bg.insert(text6);
  2321. var text7 = new mxCell('FRI', new mxGeometry(220, 56, 40, 40), z3);
  2322. text7.vertex = true;
  2323. bg.insert(text7);
  2324. var text8 = new mxCell('SAT', new mxGeometry(260, 56, 40, 40), z3);
  2325. text8.vertex = true;
  2326. bg.insert(text8);
  2327. var button3 = new mxCell('31', new mxGeometry(20, 96, 40, 40), z2);
  2328. button3.vertex = true;
  2329. bg.insert(button3);
  2330. var button4 = new mxCell('1', new mxGeometry(60, 96, 40, 40), z1);
  2331. button4.vertex = true;
  2332. bg.insert(button4);
  2333. var button5 = new mxCell('2', new mxGeometry(100, 96, 40, 40), z1);
  2334. button5.vertex = true;
  2335. bg.insert(button5);
  2336. var button6 = new mxCell('3', new mxGeometry(140, 96, 40, 40), z1);
  2337. button6.vertex = true;
  2338. bg.insert(button6);
  2339. var button7 = new mxCell('4', new mxGeometry(180, 96, 40, 40), z1);
  2340. button7.vertex = true;
  2341. bg.insert(button7);
  2342. var button8 = new mxCell('5', new mxGeometry(220, 96, 40, 40), z1);
  2343. button8.vertex = true;
  2344. bg.insert(button8);
  2345. var button9 = new mxCell('6', new mxGeometry(260, 96, 40, 40), z1);
  2346. button9.vertex = true;
  2347. bg.insert(button9);
  2348. var button10 = new mxCell('7', new mxGeometry(20, 136, 40, 40), z1);
  2349. button10.vertex = true;
  2350. bg.insert(button10);
  2351. var button11 = new mxCell('8', new mxGeometry(60, 136, 40, 40), z1);
  2352. button11.vertex = true;
  2353. bg.insert(button11);
  2354. var button12 = new mxCell('9', new mxGeometry(100, 136, 40, 40), z1);
  2355. button12.vertex = true;
  2356. bg.insert(button12);
  2357. var button13 = new mxCell('10', new mxGeometry(140, 136, 40, 40), 'strokeColor=none;fillColor=none;fontColor=#0057D8;fontSize=16;fontStyle=4');
  2358. button13.vertex = true;
  2359. bg.insert(button13);
  2360. var button14 = new mxCell('11', new mxGeometry(180, 136, 40, 40), 'strokeColor=none;fillColor=#ECEDF0;fontColor=#000000;fontSize=16;rounded=1;arcSize=10');
  2361. button14.vertex = true;
  2362. bg.insert(button14);
  2363. var button15 = new mxCell('12', new mxGeometry(220, 136, 40, 40), z1);
  2364. button15.vertex = true;
  2365. bg.insert(button15);
  2366. var button16 = new mxCell('13', new mxGeometry(260, 136, 40, 40), z1);
  2367. button16.vertex = true;
  2368. bg.insert(button16);
  2369. var button17 = new mxCell('14', new mxGeometry(20, 176, 40, 40), z1);
  2370. button17.vertex = true;
  2371. bg.insert(button17);
  2372. var button18 = new mxCell('15', new mxGeometry(60, 176, 40, 40), z1);
  2373. button18.vertex = true;
  2374. bg.insert(button18);
  2375. var button19 = new mxCell('16', new mxGeometry(100, 176, 40, 40), z1);
  2376. button19.vertex = true;
  2377. bg.insert(button19);
  2378. var button20 = new mxCell('17', new mxGeometry(140, 176, 40, 40), z1);
  2379. button20.vertex = true;
  2380. bg.insert(button20);
  2381. var button21 = new mxCell('18', new mxGeometry(180, 176, 40, 40), z1);
  2382. button21.vertex = true;
  2383. bg.insert(button21);
  2384. var button22 = new mxCell('19', new mxGeometry(220, 176, 40, 40), z1);
  2385. button22.vertex = true;
  2386. bg.insert(button22);
  2387. var button23 = new mxCell('20', new mxGeometry(260, 176, 40, 40), z1);
  2388. button23.vertex = true;
  2389. bg.insert(button23);
  2390. var button24 = new mxCell('21', new mxGeometry(20, 216, 40, 40), z1);
  2391. button24.vertex = true;
  2392. bg.insert(button24);
  2393. var button25 = new mxCell('22', new mxGeometry(60, 216, 40, 40), z1);
  2394. button25.vertex = true;
  2395. bg.insert(button25);
  2396. var button26 = new mxCell('23', new mxGeometry(100, 216, 40, 40), z2);
  2397. button26.vertex = true;
  2398. bg.insert(button26);
  2399. var button27 = new mxCell('24', new mxGeometry(140, 216, 40, 40), z1);
  2400. button27.vertex = true;
  2401. bg.insert(button27);
  2402. var button28 = new mxCell('25', new mxGeometry(180, 216, 40, 40), z1);
  2403. button28.vertex = true;
  2404. bg.insert(button28);
  2405. var button29 = new mxCell('26', new mxGeometry(220, 216, 40, 40), z1);
  2406. button29.vertex = true;
  2407. bg.insert(button29);
  2408. var button30 = new mxCell('27', new mxGeometry(260, 216, 40, 40), z1);
  2409. button30.vertex = true;
  2410. bg.insert(button30);
  2411. var button31 = new mxCell('28', new mxGeometry(20, 256, 40, 40), z1);
  2412. button31.vertex = true;
  2413. bg.insert(button31);
  2414. var button32 = new mxCell('29', new mxGeometry(60, 256, 40, 40), z1);
  2415. button32.vertex = true;
  2416. bg.insert(button32);
  2417. var button33 = new mxCell('30', new mxGeometry(100, 256, 40, 40), z1);
  2418. button33.vertex = true;
  2419. bg.insert(button33);
  2420. var button34 = new mxCell('1', new mxGeometry(140, 256, 40, 40), z2);
  2421. button34.vertex = true;
  2422. bg.insert(button34);
  2423. var button35 = new mxCell('2', new mxGeometry(180, 256, 40, 40), z2);
  2424. button35.vertex = true;
  2425. bg.insert(button35);
  2426. var button36 = new mxCell('3', new mxGeometry(220, 256, 40, 40), z2);
  2427. button36.vertex = true;
  2428. bg.insert(button36);
  2429. var button37 = new mxCell('4', new mxGeometry(260, 256, 40, 40), z2);
  2430. button37.vertex = true;
  2431. bg.insert(button37);
  2432. var button38 = new mxCell('5', new mxGeometry(20, 296, 40, 40), z2);
  2433. button38.vertex = true;
  2434. bg.insert(button38);
  2435. var button39 = new mxCell('6', new mxGeometry(60, 296, 40, 40), z2);
  2436. button39.vertex = true;
  2437. bg.insert(button39);
  2438. var button40 = new mxCell('7', new mxGeometry(100, 296, 40, 40), z2);
  2439. button40.vertex = true;
  2440. bg.insert(button40);
  2441. var button41 = new mxCell('8', new mxGeometry(140, 296, 40, 40), z2);
  2442. button41.vertex = true;
  2443. bg.insert(button41);
  2444. var button42 = new mxCell('9', new mxGeometry(180, 296, 40, 40), z2);
  2445. button42.vertex = true;
  2446. bg.insert(button42);
  2447. var button43 = new mxCell('10', new mxGeometry(220, 296, 40, 40), z2);
  2448. button43.vertex = true;
  2449. bg.insert(button43);
  2450. var button44 = new mxCell('11', new mxGeometry(260, 296, 40, 40), z2);
  2451. button44.vertex = true;
  2452. bg.insert(button44);
  2453. return sb.createVertexTemplateFromCells([item1, item2, bg], 320, 415, 'Date picker');
  2454. }),
  2455. this.addEntry(dt + 'text field', function()
  2456. {
  2457. var item1 = new mxCell('Your name', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2458. item1.vertex = true;
  2459. var item2 = new mxCell('Sally Lu', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  2460. item2.vertex = true;
  2461. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field');
  2462. }),
  2463. this.addEntry(dt + 'text field required', function()
  2464. {
  2465. var item1 = new mxCell('Requirements<sup><font color="#ff0000">*</font></sup>', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2466. item1.vertex = true;
  2467. var item2 = new mxCell('Design, eating, drinking', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  2468. item2.vertex = true;
  2469. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field with required fields');
  2470. }),
  2471. this.addEntry(dt + 'disabled text field', function()
  2472. {
  2473. var item1 = new mxCell('Guests', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#B3BAC5;fontStyle=1;fontSize=11');
  2474. item1.vertex = true;
  2475. var item2 = new mxCell('Kris Wesley', new mxGeometry(0, 25, 290, 33), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#B3BAC5;fontSize=12');
  2476. item2.vertex = true;
  2477. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Disabled text field');
  2478. }),
  2479. this.addEntry(dt + 'text field layout', function()
  2480. {
  2481. var item1 = new mxCell('Create a project', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#172B4C;fontStyle=1;fontSize=18');
  2482. item1.vertex = true;
  2483. var item2 = new mxCell('Projects are where your repositories live. They are containers you can group similar repositories in for better code organisations.',
  2484. new mxGeometry(0, 25, 370, 45), 'fillColor=none;align=left;strokeColor=none;fontColor=#000000;fontSize=12;html=1;whiteSpace=wrap;verticalAlign=top');
  2485. item2.vertex = true;
  2486. var item3 = new mxCell('Project name<sup><font color="#ff0000">*</font></sup>', new mxGeometry(0, 70, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2487. item3.vertex = true;
  2488. var item4 = new mxCell('Waremelon', new mxGeometry(0, 95, 290, 40), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  2489. item4.vertex = true;
  2490. var item5 = new mxCell('Key<sup><font color="#ff0000">*</font></sup>', new mxGeometry(0, 145, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2491. item5.vertex = true;
  2492. var item6 = new mxCell('BETA', new mxGeometry(250, 145, 40, 20), 'fillColor=#CCE0FF;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#4C9AFF;fontStyle=1;fontSize=11;rounded=1;');
  2493. item6.vertex = true;
  2494. var item7 = new mxCell('Stash', new mxGeometry(0, 170, 290, 40), 'rounded=1;arcSize=9;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12');
  2495. item7.vertex = true;
  2496. var item8 = new mxCell('Description', new mxGeometry(0, 220, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2497. item8.vertex = true;
  2498. var item9 = new mxCell('What is important for people to know?', new mxGeometry(0, 245, 360, 115), 'rounded=1;arcSize=4;fillColor=#F7F8F9;align=left;spacingLeft=5;strokeColor=#DEE1E6;html=1;strokeWidth=2;fontColor=#596780;fontSize=12;verticalAlign=top');
  2499. item9.vertex = true;
  2500. var item10 = new mxCell('Project permissions', new mxGeometry(0, 380, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#172B4C;fontStyle=1;fontSize=14');
  2501. item10.vertex = true;
  2502. var item11 = new mxCell('User access', new mxGeometry(0, 400, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#172B4C;fontStyle=0;fontSize=12');
  2503. item11.vertex = true;
  2504. var item12 = new mxCell('Read and write', new mxGeometry(11, 430, 10, 10), 'shape=ellipse;fillColor=#ffffff;strokeColor=#0057D8;strokeWidth=4;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10');
  2505. item12.vertex = true;
  2506. var item13 = new mxCell('Read only', new mxGeometry(10, 450, 12, 12), 'shape=ellipse;rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  2507. item13.vertex = true;
  2508. var item14 = new mxCell('None', new mxGeometry(10, 470, 12, 12), 'shape=ellipse;rounded=1;fillColor=#F0F2F5;strokeColor=#D8DCE3;fontColor=#000000;align=left;verticalAlign=middle;fontStyle=0;fontSize=12;labelPosition=right;verticalLabelPosition=middle;spacingLeft=10;html=1;shadow=0;dashed=0');
  2509. item14.vertex = true;
  2510. var item15 = new mxCell('Publish', new mxGeometry(0, 510, 60, 33), 'rounded=1;fillColor=#0057D8;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0');
  2511. item15.vertex = true;
  2512. var item16 = new mxCell('Cancel', new mxGeometry(70, 510, 60, 33), 'fillColor=none;strokeColor=none;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=14;html=1;shadow=0;dashed=0');
  2513. item16.vertex = true;
  2514. return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, item13, item14, item15, item16], 370, 543, 'Disabled text field');
  2515. }),
  2516. this.addEntry(dt + 'error message field', function()
  2517. {
  2518. var item1 = new mxCell('Email', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2519. item1.vertex = true;
  2520. var item2 = new mxCell('shrugg#atlassian.com', new mxGeometry(0, 25, 300, 40), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#FFAB00;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  2521. item2.vertex = true;
  2522. var item3 = new mxCell('', new mxGeometry(1, 0.5, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1');
  2523. item3.geometry.relative = true;
  2524. item3.geometry.offset = new mxPoint(-30, -10);
  2525. item3.vertex = true;
  2526. item2.insert(item3);
  2527. return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Error message field');
  2528. }),
  2529. this.addEntry(dt + 'error message field', function()
  2530. {
  2531. var item1 = new mxCell('Email', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left;fontColor=#596780;fontStyle=1;fontSize=11');
  2532. item1.vertex = true;
  2533. var item2 = new mxCell('shrugg#atlassian.com', new mxGeometry(0, 25, 300, 40), 'rounded=1;arcSize=9;fillColor=#ffffff;align=left;spacingLeft=5;strokeColor=#4C9AFF;html=1;strokeWidth=2;fontColor=#000000;fontSize=12');
  2534. item2.vertex = true;
  2535. var item3 = new mxCell('', new mxGeometry(1, 0.5, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1');
  2536. item3.geometry.relative = true;
  2537. item3.geometry.offset = new mxPoint(-30, -10);
  2538. item3.vertex = true;
  2539. item2.insert(item3);
  2540. var item4 = new mxCell('Please enter a valid address.', new mxGeometry(310, 22, 200, 46), 'rounded=1;arcSize=9;fillColor=#ffffff;align=center;strokeColor=#DFE1E5;html=1;strokeWidth=1;fontColor=#000000;fontSize=12;shadow=1');
  2541. item4.vertex = true;
  2542. return sb.createVertexTemplateFromCells([item1, item2, item4], 290, 58, 'Error message field');
  2543. })
  2544. ];
  2545. this.addPalette('atlassian', 'Atlassian', false, mxUtils.bind(this, function(content)
  2546. {
  2547. for (var i = 0; i < fns.length; i++)
  2548. {
  2549. content.appendChild(fns[i](content));
  2550. }
  2551. }));
  2552. };
  2553. })();