1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560 |
- (function()
- {
- // Adds Bootstrap shapes
- Sidebar.prototype.addAtlassianPalette = function()
- {
- var s = 'html=1;shadow=0;dashed=0;shape=mxgraph.atlassian.';
- var s2 = 'html=1;shadow=0;dashed=0;fillColor=none;strokeColor=none;shape=mxgraph.bootstrap.rect;';
- var s3 = mxConstants.STYLE_STROKEWIDTH + '=1;shadow=0;dashed=0;align=center;html=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.mockup.";
- var gn = 'mxgraph.atlassian';
- var dt = 'atlassian ';
- var sb = this;
-
- var fns = [
- this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.webicons.atlassian;fillColor=#FFFFFF;gradientColor=#DFDEDE',
- 100, 100, '', 'Atlassian', null, null, this.getTagsForStencil(gn, 'atlassian', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.webicons.bitbucket;fillColor=#FFFFFF;gradientColor=#DFDEDE',
- 100, 100, '', 'Bitbucket', null, null, this.getTagsForStencil(gn, 'bitbucket', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.webicons.confluence;fillColor=#FFFFFF;gradientColor=#DFDEDE',
- 100, 100, '', 'Confluence', null, null, this.getTagsForStencil(gn, 'confluence', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.weblogos.atlassian;fillColor=#59AFE1;strokeColor=none',
- 60, 55, '', 'Atlassian', null, null, this.getTagsForStencil(gn, 'atlassian', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.weblogos.bitbucket;fillColor=#205081;strokeColor=none',
- 65, 75, '', 'Bitbucket', null, null, this.getTagsForStencil(gn, 'bitbucket', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;shape=mxgraph.weblogos.confluence;fillColor=#1F5081;strokeColor=none',
- 78, 67, '', 'Confluence', null, null, this.getTagsForStencil(gn, 'confluence', dt).join(' ')),
- this.createVertexTemplateEntry('shape=ellipse;fillColor=#6554C0;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=46;fontStyle=1;html=1',
- 96, 96, 'MM', 'Avatar (Large)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
- this.createVertexTemplateEntry('shape=ellipse;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=25;fontStyle=1;html=1',
- 48, 48, 'MM', 'Avatar (Main)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
- this.createVertexTemplateEntry('shape=ellipse;fillColor=#36B37E;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=17;fontStyle=1;html=1',
- 32, 32, 'MM', 'Avatar (Normal)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
- this.createVertexTemplateEntry('shape=ellipse;fillColor=#FFAB00;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1',
- 24, 24, 'MM', 'Avatar (Small)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
- this.createVertexTemplateEntry('shape=ellipse;fillColor=#FF5630;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1',
- 16, 16, 'M', 'Avatar (Tiny)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'avatar').join(' ')),
- this.addEntry(dt + 'avatar available', function()
- {
- 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');
- bg.vertex = true;
- var button1 = new mxCell('', new mxGeometry(1, 1, 10, 10), 'shape=ellipse;fillColor=#36B37E;strokeColor=#ffffff;strokeWidth=2;');
- button1.geometry.relative = true;
- button1.geometry.offset = new mxPoint(-10, -10);
- button1.vertex = true;
- bg.insert(button1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Avatar (Available)');
- }),
- this.addEntry(dt + 'avatar away', function()
- {
- 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');
- bg.vertex = true;
- var button1 = new mxCell('', new mxGeometry(1, 1, 10, 10), s + 'away;fillColor=#7A869A;strokeColor=#ffffff;strokeWidth=2;');
- button1.geometry.relative = true;
- button1.geometry.offset = new mxPoint(-10, -10);
- button1.vertex = true;
- bg.insert(button1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Avatar (Away)');
- }),
- this.addEntry(dt + 'avatar do not disturb unavailable', function()
- {
- 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');
- bg.vertex = true;
- var button1 = new mxCell('', new mxGeometry(1, 1, 10, 10), s + 'do_not_disturb;fillColor=#FF5630;strokeColor=#ffffff;strokeWidth=2;');
- button1.geometry.relative = true;
- button1.geometry.offset = new mxPoint(-10, -10);
- button1.vertex = true;
- bg.insert(button1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Avatar (Do not disturb)');
- }),
- this.createVertexTemplateEntry('rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=14;fontStyle=1;html=1',
- 40, 40, '</>', 'Container Avatar (Large)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'container avatar large').join(' ')),
- this.createVertexTemplateEntry('rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=1;html=1',
- 32, 32, '</>', 'Container Avatar (Medium)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'container avatar medium').join(' ')),
- this.createVertexTemplateEntry('rounded=1;arcSize=5;fillColor=#0065FF;strokeColor=none;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=10;fontStyle=1;html=1',
- 24, 24, '</>', 'Container Avatar (Small)', null, null, this.getTagsForStencil(gn, 'avatar', dt + 'container avatar small').join(' ')),
- this.createVertexTemplateEntry('shape=ellipse;fillColor=#0065FF;strokeColor=none;html=1',
- 10, 10, '', 'Dot Badge', null, null, this.getTagsForStencil(gn, '', dt + 'dot badge').join(' ')),
- this.createVertexTemplateEntry('rounded=1;fillColor=#0065FF;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=1;arcSize=50',
- 40, 25, '13', 'Bold Badge', null, null, this.getTagsForStencil(gn, '', dt + 'bold badge').join(' ')),
- this.createVertexTemplateEntry('rounded=1;fillColor=#E3FCEF;strokeColor=none;html=1;fontColor=#016745;align=center;verticalAlign=middle;whiteSpace=wrap;fontSize=18;fontStyle=0;arcSize=50',
- 40, 25, '+1', 'Subtle Badge', null, null, this.getTagsForStencil(gn, '', dt + 'subtle badge').join(' ')),
- this.addEntry(dt + 'banner', function()
- {
- var bg = new mxCell('', new mxGeometry(0, 0, 625, 50), 'rounded=0;fillColor=#FFAB00;strokeColor=none;html=1');
- bg.vertex = true;
- var icon1 = new mxCell('<b>More information?</b> See the <u>recovery process documentation</u>.',
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(0, -10);
- icon1.vertex = true;
- bg.insert(icon1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Banner');
- }),
- this.addEntry(dt + 'banner', function()
- {
- var bg = new mxCell('', new mxGeometry(0, 0, 625, 50), 'rounded=0;fillColor=#DE350A;strokeColor=none;html=1');
- bg.vertex = true;
- var icon1 = new mxCell('A database error has occurred. Please reload the page.',
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(0, -10);
- icon1.vertex = true;
- bg.insert(icon1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Banner');
- }),
- this.createVertexTemplateEntry('fillColor=none;strokeColor=none;html=1;fontColor=#596780;align=left;verticalAlign=middle;whiteSpace=wrap;fontSize=12;fontStyle=0',
- 360, 25, 'Atlassian / Atlassian Connect / atlassian-connect-js-extra', 'Breadcrumb', null, null, this.getTagsForStencil(gn, '', dt + 'breadcrumb').join(' ')),
- this.addEntry(dt + 'button primary', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'checkbox;fillColor=#008465;strokeColor=none;html=1');
- icon1.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1], 111, 33, 'Button (Primary)');
- }),
- this.addEntry(dt + 'button standard', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'checkbox;fillColor=#008465;strokeColor=none;html=1');
- icon1.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1], 140, 33, 'Button (Standard)');
- }),
- this.addEntry(dt + 'button link', function()
- {
- var bg = new mxCell('Visit documentation', new mxGeometry(25, 0, 125, 33), 'fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'checkbox;fillColor=#008465;strokeColor=none;html=1');
- icon1.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1], 150, 33, 'Button (Link)');
- }),
- this.addEntry(dt + 'button primary', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'close;fillColor=#BA3200;strokeColor=none;html=1');
- icon1.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1], 105, 33, 'Button (Primary)');
- }),
- this.addEntry(dt + 'button standard', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'close;fillColor=#BA3200;strokeColor=none;html=1');
- icon1.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1], 80, 33, 'Button (Standard)');
- }),
- this.addEntry(dt + 'button link', function()
- {
- var bg = new mxCell('Click here', new mxGeometry(25, 0, 75, 33), 'fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=left;fontSize=12');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0, 9, 14, 14), s + 'close;fillColor=#BA3200;strokeColor=none;html=1');
- icon1.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1], 100, 33, 'Button (Link)');
- }),
- this.createVertexTemplateEntry('rounded=1;fillColor=#0057D8;strokeColor=none;html=1;fontColor=#ffffff;align=center;verticalAlign=middle;fontStyle=0;fontSize=12',
- 86, 33, 'Primary', 'Button (Primary)', null, null, this.getTagsForStencil(gn, '', dt + 'button primary').join(' ')),
- this.createVertexTemplateEntry('rounded=1;fillColor=#F1F2F4;strokeColor=none;html=1;fontColor=#596780;align=center;verticalAlign=middle;fontStyle=0;fontSize=12',
- 86, 33, 'Standard', 'Button (Standard)', null, null, this.getTagsForStencil(gn, '', dt + 'button standard').join(' ')),
- this.createVertexTemplateEntry('fillColor=none;strokeColor=none;html=1;fontColor=#0057D8;align=center;verticalAlign=middle;fontStyle=0;fontSize=12',
- 86, 33, 'Link button', 'Button (Link)', null, null, this.getTagsForStencil(gn, '', dt + 'button link').join(' ')),
- this.addEntry(dt + 'dropdown button', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-20, -3);
- icon1.vertex = true;
- bg.insert(icon1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Button (dropdown)');
- }),
- this.addEntry(dt + 'button label only', function()
- {
- 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');
- bg.vertex = true;
- return sb.createVertexTemplateFromCells([bg], 80, 33, 'Button (label only)');
- }),
- this.addEntry(dt + 'button icon and label', function()
- {
- 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;');
- bg.vertex = true;
- var icon1 = new mxCell('',
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(10, -6);
- icon1.vertex = true;
- bg.insert(icon1);
- return sb.createVertexTemplateFromCells([bg], 120, 33, 'Button (icon and label)');
- }),
- this.addEntry(dt + 'button icon only', function()
- {
- 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;');
- bg.vertex = true;
- var icon1 = new mxCell('',
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(10, -6);
- icon1.vertex = true;
- bg.insert(icon1);
- return sb.createVertexTemplateFromCells([bg], 32, 33, 'Button (icon only)');
- }),
- this.addEntry(dt + 'button subtle', function()
- {
- 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;');
- bg.vertex = true;
- var icon1 = new mxCell('',
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(10, -6);
- icon1.vertex = true;
- bg.insert(icon1);
- return sb.createVertexTemplateFromCells([bg], 80, 33, 'Button (subtle)');
- }),
- this.addEntry(dt + 'button disabled', function()
- {
- 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');
- bg.vertex = true;
- return sb.createVertexTemplateFromCells([bg], 110, 33, 'Button (disabled)');
- }),
- this.addEntry(dt + 'split button', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-20, -3);
- icon1.vertex = true;
- bg.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(1, 0, 12, 33), 'shape=line;direction=south;strokeColor=#ffffff;html=1;strokeWidth=2');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-35, 0);
- icon2.vertex = true;
- bg.insert(icon2);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Button (split)');
- }),
- this.addEntry(dt + 'button grouped', function()
- {
- var bg = new mxCell('', new mxGeometry(0, 0, 320, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
- bg.vertex = true;
- 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;');
- button2.geometry.relative = true;
- button2.geometry.offset = new mxPoint(80, 0);
- button2.vertex = true;
- bg.insert(button2);
- 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;');
- button3.geometry.relative = true;
- button3.geometry.offset = new mxPoint(160, 0);
- button3.vertex = true;
- bg.insert(button3);
- 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;');
- button4.geometry.relative = true;
- button4.geometry.offset = new mxPoint(-80, 0);
- button4.vertex = true;
- bg.insert(button4);
- 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;');
- button1.geometry.relative = true;
- button1.vertex = true;
- bg.insert(button1);
- return sb.createVertexTemplateFromCells([bg], bg.geometry.width, bg.geometry.height, 'Button (grouped)');
- }),
- this.addEntry(dt + 'button compact', function()
- {
- 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');
- bg.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(107, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon1.vertex = true;
- var icon2 = new mxCell('', new mxGeometry(117, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon2.vertex = true;
- var icon3 = new mxCell('', new mxGeometry(127, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon3.vertex = true;
- return sb.createVertexTemplateFromCells([bg, icon1, icon2, icon3], 133, 33, 'Button (compact)');
- }),
- this.addEntry(dt + 'button grouped group', function()
- {
- 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');
- bg1.vertex = true;
- 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');
- bg2.vertex = true;
- 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');
- bg3.vertex = true;
-
- var bg4 = new mxCell('', new mxGeometry(215, 0, 240, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
- bg4.vertex = true;
- 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;');
- button2.geometry.relative = true;
- button2.geometry.offset = new mxPoint(60, 0);
- button2.vertex = true;
- bg4.insert(button2);
- 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;');
- button3.geometry.relative = true;
- button3.geometry.offset = new mxPoint(-90, 0);
- button3.vertex = true;
- bg4.insert(button3);
- 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;');
- button1.geometry.relative = true;
- button1.vertex = true;
- bg4.insert(button1);
- var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-20, -3);
- icon1.vertex = true;
- button3.insert(icon1);
- var bg5 = new mxCell('', new mxGeometry(500, 0, 56, 33), 'rounded=1;fillColor=#F1F2F4;align=center;strokeColor=none;html=1;fontColor=#596780;fontSize=12');
- bg5.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(15, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon1.vertex = true;
- bg5.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(25, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon2.vertex = true;
- bg5.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(35, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon3.vertex = true;
- bg5.insert(icon3);
- return sb.createVertexTemplateFromCells([bg1, bg2, bg3, bg4, bg5], 556, 33, 'Button (grouped)');
- }),
- this.addEntry(dt + 'button grouped group responsive', function()
- {
- var bg1 = new mxCell('', new mxGeometry(0, 0, 230, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
- bg1.vertex = true;
- 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;');
- button1.geometry.relative = true;
- button1.vertex = true;
- bg1.insert(button1);
- 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;');
- button2.geometry.relative = true;
- button2.geometry.offset = new mxPoint(60, 0);
- button2.vertex = true;
- bg1.insert(button2);
- 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;');
- button3.geometry.relative = true;
- button3.geometry.offset = new mxPoint(-80, 0);
- button3.vertex = true;
- bg1.insert(button3);
- var bg2 = new mxCell('', new mxGeometry(250, 0, 116, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
- bg2.vertex = true;
- 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;');
- button4.geometry.relative = true;
- button4.vertex = true;
- bg2.insert(button4);
- 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;');
- button5.geometry.relative = true;
- button5.geometry.offset = new mxPoint(-56, 0);
- button5.vertex = true;
- bg2.insert(button5);
- var icon1 = new mxCell('', new mxGeometry(15, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon1.vertex = true;
- button5.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(25, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon2.vertex = true;
- button5.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(35, 13, 6, 6), 'shape=ellipse;fillColor=#596780;strokeColor=none;html=1');
- icon3.vertex = true;
- button5.insert(icon3);
- var bg3 = new mxCell('', new mxGeometry(386, 0, 116, 33), s3 + 'rrect;rSize=10;fillColor=#F1F2F4;strokeColor=#ffffff;strokeWidth=2');
- bg3.vertex = true;
- 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;');
- button4.geometry.relative = true;
- button4.vertex = true;
- bg3.insert(button4);
- 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;');
- button5.geometry.relative = true;
- button5.geometry.offset = new mxPoint(-56, 0);
- button5.vertex = true;
- bg3.insert(button5);
- var icon1 = new mxCell('', new mxGeometry(15, 13, 6, 6), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon1.vertex = true;
- button5.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(25, 13, 6, 6), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon2.vertex = true;
- button5.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(35, 13, 6, 6), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon3.vertex = true;
- button5.insert(icon3);
- 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');
- bg4.vertex = true;
- return sb.createVertexTemplateFromCells([bg1, bg2, bg3, bg4], 551, 104, 'Button (grouped, responsive)');
- }),
- 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',
- 12, 12, 'Text', 'Checkbox (on)', null, null, this.getTagsForStencil(gn, '', dt + 'checkbox on').join(' ')),
- 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',
- 12, 12, 'Text', 'Checkbox (off)', null, null, this.getTagsForStencil(gn, '', dt + 'checkbox on').join(' ')),
- this.addEntry(dt + 'checkbox group', function()
- {
- var item1 = new mxCell('Selected coffees', new mxGeometry(0, 0, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- 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');
- item7.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6, item7], 150, 173, 'Checkbox group');
- }),
- this.addEntry(dt + 'dropdown button', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#596780;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-20, -3);
- icon1.vertex = true;
- item2.insert(icon1);
- return sb.createVertexTemplateFromCells([item1, item2], 100, 53, 'Button (dropdown)');
- }),
- this.addEntry(dt + 'dropdown button open', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-20, -3);
- icon1.vertex = true;
- item2.insert(icon1);
- var item3 = new mxCell('', new mxGeometry(0, 56, 110, 144), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item3.vertex = true;
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(0, 6);
- item4.vertex = true;
- item3.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(0, 39);
- item5.vertex = true;
- item3.insert(item5);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(0, 72);
- item6.vertex = true;
- item3.insert(item6);
- 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');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(0, 105);
- item7.vertex = true;
- item3.insert(item7);
- return sb.createVertexTemplateFromCells([item1, item2, item3], 110, 200, 'Button (dropdown, open)');
- }),
- this.addEntry(dt + 'dropdown avatar', function()
- {
- 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');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(0, 20, 150, 33), 'rounded=1;fillColor=#253858;strokeColor=none;html=1;');
- item2.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(1, 0.5, 12, 6), 'shape=triangle;direction=south;fillColor=#ffffff;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-20, -3);
- icon1.vertex = true;
- item2.insert(icon1);
- 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;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(10, -12);
- icon2.vertex = true;
- item2.insert(icon2);
- var item3 = new mxCell('', new mxGeometry(0, 56, 160, 111), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item3.vertex = true;
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(0, 6);
- item4.vertex = true;
- item3.insert(item4);
- 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;');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(10, -12);
- icon3.vertex = true;
- item4.insert(icon3);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(0, 39);
- item5.vertex = true;
- item3.insert(item5);
- 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;');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(10, -12);
- icon3.vertex = true;
- item5.insert(icon3);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(0, 72);
- item6.vertex = true;
- item3.insert(item6);
- 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;');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(10, -12);
- icon3.vertex = true;
- item6.insert(icon3);
- return sb.createVertexTemplateFromCells([item1, item2, item3], 160, 167, 'Button (avatar)');
- }),
- this.addEntry(dt + 'flag message', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 333, 90), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item1.vertex = true;
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(25, 25);
- icon1.vertex = true;
- item1.insert(icon1);
- var icon2 = new mxCell('View issue • 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;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(60, 50);
- icon2.vertex = true;
- item1.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(1, 0, 14, 14), s + 'x;strokeColor=#B3B3B3;strokeWidth=2');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(-39, 25);
- icon3.vertex = true;
- item1.insert(icon3);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Flag message');
- }),
- this.addEntry(dt + 'multiple flag message', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 333, 150), ' rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item1.vertex = true;
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(25, 25);
- icon1.vertex = true;
- item1.insert(icon1);
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(60, 50);
- icon2.vertex = true;
- item1.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(1, 0, 14, 14), s + 'x;strokeColor=#B3B3B3;strokeWidth=2');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(-39, 25);
- icon3.vertex = true;
- item1.insert(icon3);
- var icon4 = new mxCell('Link to more info • 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;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(60, 112);
- icon4.vertex = true;
- item1.insert(icon4);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Multiple flag message');
- }),
- this.addEntry(dt + 'flag message', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 333, 120), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item1.vertex = true;
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(25, 25);
- icon1.vertex = true;
- item1.insert(icon1);
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(60, 50);
- icon2.vertex = true;
- item1.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(1, 0, 14, 14), s + 'x;strokeColor=#B3B3B3;strokeWidth=2');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(-39, 25);
- icon3.vertex = true;
- item1.insert(icon3);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Flag message');
- }),
- this.addEntry(dt + 'inline dialog', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 292, 190), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item1.vertex = true;
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(25, 21);
- icon1.vertex = true;
- item1.insert(icon1);
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(25, 50);
- icon2.vertex = true;
- item1.insert(icon2);
- 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');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(30, 120);
- icon3.vertex = true;
- item1.insert(icon3);
- var icon4 = new mxCell('Don'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');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(25, 152);
- icon4.vertex = true;
- item1.insert(icon4);
- var item2 = new mxCell('', new mxGeometry(242, 195, 50, 33), 'rounded=1;fillColor=#42526E;strokeColor=none;shadow=0;html=1;arcSize=12');
- item2.vertex = true;
- var icon5 = new mxCell('', new mxGeometry(0.5, 0.5, 20, 20), 'shape=mxgraph.mscae.enterprise.settings;fillColor=#ffffff;strokeColor=none');
- icon5.geometry.relative = true;
- icon5.geometry.offset = new mxPoint(-10, -10);
- icon5.vertex = true;
- item2.insert(icon5);
- return sb.createVertexTemplateFromCells([item1, item2], 292, 228, 'Inline dialog');
- }),
- this.addEntry(dt + 'inline dialog', function()
- {
- 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');
- bg1.vertex = true;
- 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');
- bg2.vertex = true;
- 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;');
- bg3.vertex = true;
- var item1 = new mxCell('Add watchers', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left');
- item1.geometry.relative = true;
- item1.geometry.offset = new mxPoint(25, 25);
- item1.vertex = true;
- bg3.insert(item1);
- var item2 = new mxCell('', new mxGeometry(0, 0, 290, 35), 'rounded=1;arcSize=9;fillColor=none;strokeColor=#4C9AFF;html=1;strokeWidth=2');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(25, 50);
- item2.vertex = true;
- bg3.insert(item2);
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-30, -7.5);
- icon1.vertex = true;
- item2.insert(icon1);
- 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;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(25, 100);
- icon2.vertex = true;
- bg3.insert(icon2);
- 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;');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(25, 132);
- icon3.vertex = true;
- bg3.insert(icon3);
- 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;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(25, 164);
- icon4.vertex = true;
- bg3.insert(icon4);
- 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;');
- icon5.geometry.relative = true;
- icon5.geometry.offset = new mxPoint(25, 196);
- icon5.vertex = true;
- bg3.insert(icon5);
- 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;');
- icon6.geometry.relative = true;
- icon6.geometry.offset = new mxPoint(25, 228);
- icon6.vertex = true;
- bg3.insert(icon6);
- 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;');
- icon7.geometry.relative = true;
- icon7.geometry.offset = new mxPoint(25, 260);
- icon7.vertex = true;
- bg3.insert(icon7);
- 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;');
- icon8.geometry.relative = true;
- icon8.geometry.offset = new mxPoint(25, 292);
- icon8.vertex = true;
- bg3.insert(icon8);
- 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;');
- icon9.geometry.relative = true;
- icon9.geometry.offset = new mxPoint(25, 324);
- icon9.vertex = true;
- bg3.insert(icon9);
- 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;');
- icon10.geometry.relative = true;
- icon10.geometry.offset = new mxPoint(25, 356);
- icon10.vertex = true;
- bg3.insert(icon10);
- 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;');
- icon11.geometry.relative = true;
- icon11.geometry.offset = new mxPoint(25, 388);
- icon11.vertex = true;
- bg3.insert(icon11);
- return sb.createVertexTemplateFromCells([bg1, bg2, bg3], 340, 450, 'Inline dialog');
- }),
- this.addEntry(dt + 'inline edit', function()
- {
- var item1 = new mxCell('Sprint', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(0, 0, 240, 20), 'fillColor=none;strokeColor=none;html=1;fontSize=11;fontStyle=0;align=left');
- item3.vertex = true;
- var item4 = new mxCell('', new mxGeometry(300, 28, 29, 29), 'rounded=1;arcSize=12;fillColor=#F0F2F5;strokeColor=none;html=1');
- item4.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0.5, 0.5, 10, 8), s + 'check;strokeColor=#42526E;strokeWidth=2');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-5, -4);
- icon1.vertex = true;
- item4.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(340, 37, 10, 10), s + 'x;strokeColor=#42526E;strokeWidth=2');
- icon2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, icon2], 350, 55, 'Inline edit');
- }),
- this.addEntry(dt + 'inline edit', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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;');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(10, -7);
- icon1.vertex = true;
- item2.insert(icon1);
- 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;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-24, -3);
- icon2.vertex = true;
- item2.insert(icon2);
- var item3 = new mxCell('', new mxGeometry(0, 70, 130, 152), 'rounded=1;arcSize=3;fillColor=#ffffff;strokeColor=#DFE1E5;strokeWidth=1;shadow=1');
- item3.vertex = true;
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(0, 6);
- item4.vertex = true;
- item3.insert(item4);
- 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;');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(10, -7);
- icon3.vertex = true;
- item4.insert(icon3);
- 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;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(10, 0);
- icon4.vertex = true;
- item4.insert(icon4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(0, 39);
- item5.vertex = true;
- item3.insert(item5);
- var icon3 = new mxCell('', new mxGeometry(0, 0.5, 10, 10), 'shape=line;strokeColor=#FFAB00;strokeWidth=2');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(10, -5);
- icon3.vertex = true;
- item5.insert(icon3);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(0, 72);
- item6.vertex = true;
- item3.insert(item6);
- 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;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(10, -7);
- icon4.vertex = true;
- item6.insert(icon4);
- 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');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(0, 105);
- item7.vertex = true;
- item3.insert(item7);
- 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;');
- icon5.geometry.relative = true;
- icon5.geometry.offset = new mxPoint(10, -7);
- icon5.vertex = true;
- item7.insert(icon5);
- 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;');
- icon6.geometry.relative = true;
- icon6.geometry.offset = new mxPoint(10, 0);
- icon6.vertex = true;
- item7.insert(icon6);
- return sb.createVertexTemplateFromCells([item1, item2, item3], 130, 222, 'Inline edit');
- }),
- this.addEntry(dt + 'inline edit', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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;');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(10, -7);
- icon1.vertex = true;
- item2.insert(icon1);
- 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;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-24, -3);
- icon2.vertex = true;
- item2.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(190, 38, 10, 8), s + 'check;strokeColor=#42526E;strokeWidth=2');
- icon3.vertex = true;
- var icon4 = new mxCell('', new mxGeometry(220, 37, 10, 10), s + 'x;strokeColor=#42526E;strokeWidth=2');
- icon4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, icon3, icon4], 230, 60, 'Inline edit');
- }),
- this.addEntry(dt + 'inline message', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- var item5 = new mxCell('Bitbucket accounts', new mxGeometry(0, 135, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- 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');
- icon1.vertex = true;
- var item7 = new mxCell(
- '<b>Multiple accounts</b>\n\n' +
- 'We will automatically invite any new users to Bitbucket, depending on your account settings.\n\n' +
- '<font color="#0057d8">Update your setting</font> or <font color="#0057d8">read more</font>'
- , 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');
- item7.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6, icon1, item7], 150, 180, 'Inline message');
- }),
- this.addEntry(dt + 'inline message subtitle', function()
- {
- 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');
- icon1.vertex = true;
- 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;');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([icon1, item1, item2], 230, 63, 'Inline message with subtitle');
- }),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
- 70, 20, 'DEFAULT', 'Lozenge (state, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#DFE1E6;strokeColor=#DFE1E6;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
- 70, 20, 'DEFAULT', 'Lozenge (state, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#008364',
- 70, 20, 'SUCCESS', 'Lozenge (success, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#008364;strokeColor=#008364;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
- 70, 20, 'SUCCESS', 'Lozenge (success, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#BA3200',
- 70, 20, 'REMOVED', 'Lozenge (problem, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#BA3200;strokeColor=#BA3200;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
- 70, 20, 'REMOVED', 'Lozenge (problem, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#0057D8',
- 100, 20, 'IN PROGRESS', 'Lozenge (current, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#0057D8;strokeColor=#0057D8;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
- 100, 20, 'IN PROGRESS', 'Lozenge (current, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#6554C0',
- 50, 20, 'NEW', 'Lozenge (new, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#6554C0;strokeColor=#6554C0;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#ffffff',
- 50, 20, 'NEW', 'Lozenge (new, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFFFFF;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
- 60, 20, 'MOVED', 'Lozenge (moved, subtle)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;rounded=1;fillColor=#FFAB00;strokeColor=#FFAB00;fontSize=12;align=center;fontStyle=1;strokeWidth=2;fontColor=#42526E',
- 60, 20, 'MOVED', 'Lozenge (moved, bold)', null, null, this.getTagsForStencil(gn, 'lozenge', dt).join(' ')),
- this.addEntry(dt + 'inline message subtitle', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 120, 50, 'Lozenge (tooltip)');
- }),
- this.addEntry(dt + 'inline message subtitle', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 120, 50, 'Lozenge (tooltip)');
- }),
- this.addEntry(dt + 'modal dialog', function()
- {
- var item1 = new mxCell(
- '<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's dashboard. But instead of' +
- ' showing your speed and fuel level, it shows important information about your work - like your projects, your activities and your issues.</div>',
- 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;');
- item1.vertex = true;
- 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');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(200, 150);
- item2.vertex = true;
- item1.insert(item2);
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(260, 150);
- item3.vertex = true;
- item1.insert(item3);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog');
- }),
- this.addEntry(dt + 'detailed modal dialog', function()
- {
- var item1 = new mxCell(
- '<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's dashboard. But instead of' +
- ' showing your speed and fuel level, it shows important information about your work - like your projects, your activities and your issues.</div>',
- 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');
- item1.vertex = true;
- 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');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-130, -60);
- item2.vertex = true;
- item1.insert(item2);
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-70, -60);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(-170, 24);
- item4.vertex = true;
- item1.insert(item4);
- var item5 = new mxCell('', new mxGeometry(1, 0, 100, 33), 'dashed=0;html=1;rounded=1;fillColor=#F7F8F9;strokeColor=#E0E2E7;arcSize=7');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(-120, 16);
- item5.vertex = true;
- item1.insert(item5);
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-24, -6);
- icon1.vertex = true;
- item5.insert(icon1);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(20, -50);
- item6.vertex = true;
- item1.insert(item6);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (detailed)');
- }),
- this.addEntry(dt + 'small modal dialog', function()
- {
- var item1 = new mxCell('Add a branch permission',
- 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');
- item1.vertex = true;
- 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');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(20, 60);
- item2.vertex = true;
- item1.insert(item2);
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(20, 80);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(20, 113);
- item4.vertex = true;
- item1.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(20, 150);
- item5.vertex = true;
- item1.insert(item5);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(20, 170);
- item6.vertex = true;
- item1.insert(item6);
- 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');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(20, 203);
- item7.vertex = true;
- item1.insert(item7);
- 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');
- item8.geometry.relative = true;
- item8.geometry.offset = new mxPoint(20, 240);
- item8.vertex = true;
- item1.insert(item8);
- 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');
- item9.geometry.relative = true;
- item9.geometry.offset = new mxPoint(20, 270);
- item9.vertex = true;
- item1.insert(item9);
- 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');
- item10.geometry.relative = true;
- item10.geometry.offset = new mxPoint(20, 306);
- item10.vertex = true;
- item1.insert(item10);
- 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');
- item11.geometry.relative = true;
- item11.geometry.offset = new mxPoint(-140, -60);
- item11.vertex = true;
- item1.insert(item11);
- 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');
- item12.geometry.relative = true;
- item12.geometry.offset = new mxPoint(-70, -60);
- item12.vertex = true;
- item1.insert(item12);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (small)');
- }),
- this.addEntry(dt + 'medium modal dialog', function()
- {
- var item1 = new mxCell('',
- 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');
- item1.vertex = true;
- var item2 = new mxCell(
- '<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>',
- new mxGeometry(0, 0, 110, 360), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontStyle=1;strokeWidth=2;fontColor=000000;verticalAlign=top');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(20, 20);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(0, 0, 10, 330), 'shape=line;direction=south;strokeColor=#E0E1E6;strokeWidth=1');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(130, 60);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(170, 60);
- item4.vertex = true;
- item1.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(170, 90);
- item5.vertex = true;
- item1.insert(item5);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(170, 120);
- item6.vertex = true;
- item1.insert(item6);
- 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');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(170, 150);
- item7.vertex = true;
- item1.insert(item7);
- 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');
- item8.geometry.relative = true;
- item8.geometry.offset = new mxPoint(170, 180);
- item8.vertex = true;
- item1.insert(item8);
- 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');
- item9.geometry.relative = true;
- item9.geometry.offset = new mxPoint(170, 210);
- item9.vertex = true;
- item1.insert(item9);
- 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');
- item10.geometry.relative = true;
- item10.geometry.offset = new mxPoint(170, 240);
- item10.vertex = true;
- item1.insert(item10);
- 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');
- item11.geometry.relative = true;
- item11.geometry.offset = new mxPoint(220, 230);
- item11.vertex = true;
- item1.insert(item11);
- 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');
- item12.geometry.relative = true;
- item12.geometry.offset = new mxPoint(280, 236);
- item12.vertex = true;
- item1.insert(item12);
- 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');
- item13.geometry.relative = true;
- item13.geometry.offset = new mxPoint(170, 270);
- item13.vertex = true;
- item1.insert(item13);
- 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');
- item14.geometry.relative = true;
- item14.geometry.offset = new mxPoint(170, 300);
- item14.vertex = true;
- item1.insert(item14);
- 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');
- item15.geometry.relative = true;
- item15.geometry.offset = new mxPoint(170, 330);
- item15.vertex = true;
- item1.insert(item15);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (medium)');
- }),
- this.addEntry(dt + 'error modal dialog', function()
- {
- 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.",
- 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;');
- item1.vertex = true;
- 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');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-140, -60);
- item2.vertex = true;
- item1.insert(item2);
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-70, -60);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(20, 20);
- item4.vertex = true;
- item1.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(50, 13);
- item5.vertex = true;
- item1.insert(item5);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (error)');
- }),
- this.addEntry(dt + 'warning modal dialog', function()
- {
- var item1 = new mxCell("Moving a job between stages may break artifact dependencies. Select a stage and any resulting conflicts will be displayed here.",
- 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;');
- item1.vertex = true;
- 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');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-140, -60);
- item2.vertex = true;
- item1.insert(item2);
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-70, -60);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(20, 20);
- item4.vertex = true;
- item1.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(20, 85);
- item5.vertex = true;
- item1.insert(item5);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(20, 112);
- item6.vertex = true;
- item1.insert(item6);
- 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;');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-24, -3);
- icon1.vertex = true;
- item6.insert(icon1);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Modal dialog (error)');
- }),
- this.addEntry(dt + 'multi select', function()
- {
- 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;');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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;');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-24, -3);
- icon1.vertex = true;
- item2.insert(icon1);
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(5, -10);
- item3.vertex = true;
- item2.insert(item3);
- var icon2 = new mxCell('', new mxGeometry(1, 0.5, 7, 7), s + 'x;strokeColor=#58667F;strokeWidth=2');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-14, -3);
- icon2.vertex = true;
- item3.insert(icon2);
- var item4 = new mxCell(
- '<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>' +
- '<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' +
- '</div><div>Nevada</div></div>',
- 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;');
- item4.vertex = true;
- var item5 = new mxCell('', new mxGeometry(0, 0, 270, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(0, 41);
- item5.vertex = true;
- item4.insert(item5);
- return sb.createVertexTemplateFromCells([item1, item2, item4], 270, 390, 'Multi-select');
- }),
- this.addEntry(dt + 'multi select avatar', function()
- {
- 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;');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(5, -10);
- item3.vertex = true;
- item2.insert(item3);
- var icon2 = new mxCell('', new mxGeometry(1, 0.5, 7, 7), s + 'x;strokeColor=#58667F;strokeWidth=2');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-14, -3);
- icon2.vertex = true;
- item3.insert(icon2);
- 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;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(0, -10);
- icon4.vertex = true;
- item3.insert(icon4);
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(105, -10);
- item4.vertex = true;
- item2.insert(item4);
- var icon5 = new mxCell('', new mxGeometry(1, 0.5, 7, 7), s + 'x;strokeColor=#58667F;strokeWidth=2');
- icon5.geometry.relative = true;
- icon5.geometry.offset = new mxPoint(-14, -3);
- icon5.vertex = true;
- item4.insert(icon5);
- 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;');
- icon6.geometry.relative = true;
- icon6.geometry.offset = new mxPoint(0, -10);
- icon6.vertex = true;
- item4.insert(icon6);
- var item5 = new mxCell('', new mxGeometry(0, 60, 340, 260), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1');
- item5.vertex = true;
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(0, 10);
- item6.vertex = true;
- item5.insert(item6);
- var item7 = new mxCell('', new mxGeometry(0, 0, 340, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(0, 41);
- item7.vertex = true;
- item5.insert(item7);
- 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;');
- icon7.geometry.relative = true;
- icon7.geometry.offset = new mxPoint(20, 45);
- icon7.vertex = true;
- item5.insert(icon7);
- 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');
- item8.geometry.relative = true;
- item8.geometry.offset = new mxPoint(0, 85);
- item8.vertex = true;
- item5.insert(item8);
- 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;');
- icon8.geometry.relative = true;
- icon8.geometry.offset = new mxPoint(20, 118);
- icon8.vertex = true;
- item5.insert(icon8);
- 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;');
- icon9.geometry.relative = true;
- icon9.geometry.offset = new mxPoint(20, 151);
- icon9.vertex = true;
- item5.insert(icon9);
- 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;');
- icon10.geometry.relative = true;
- icon10.geometry.offset = new mxPoint(20, 184);
- icon10.vertex = true;
- item5.insert(icon10);
- 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;');
- icon11.geometry.relative = true;
- icon11.geometry.offset = new mxPoint(20, 217);
- icon11.vertex = true;
- item5.insert(icon11);
- return sb.createVertexTemplateFromCells([item1, item2, item5], 340, 320, 'Multi-select with avatars');
- }),
- this.addEntry(dt + 'error message', function()
- {
- 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;');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-28, -7);
- icon2.vertex = true;
- item2.insert(icon2);
- 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;');
- item5.vertex = true;
- var item6 = new mxCell('Retry', new mxGeometry(0, 0, 50, 33), 'align=center;strokeColor=none;fillColor=#F1F2F4;rounded=1;arcSize=9');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(150, 40);
- item6.vertex = true;
- item5.insert(item6);
- return sb.createVertexTemplateFromCells([item1, item2, item5], 340, 150, 'Error message');
- }),
- this.addEntry(dt + 'progress tracker', function()
- {
- var item1 = new mxCell('', new mxGeometry(20, 0, 300, 10), 'fillColor=#0065FF;strokeColor=none;shadow=0;rounded=1;arcSize=50');
- item1.vertex = true;
- 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;');
- item2.vertex = true;
- 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;');
- item3.vertex = true;
- 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;');
- item4.vertex = true;
- 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;');
- item5.vertex = true;
- var item6 = new mxCell('', new mxGeometry(425, 0, 10, 10), 'shape=ellipse;fillColor=#A5ADBA;strokeColor=none;shadow=0');
- item6.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6], 470, 30, 'Progress tracker');
- }),
- this.addEntry(dt + 'radio button group', function()
- {
- var item1 = new mxCell('Permissions', new mxGeometry(0, 0, 150, 20), 'fillColor=none;strokeColor=none;fontSize=11;fontStyle=1;align=left;fontColor=#596780');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6], 150, 173, 'Radio button group');
- }),
- this.addEntry(dt + 'single select', function()
- {
- 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;');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-28, -7);
- icon2.vertex = true;
- item2.insert(icon2);
- var item4 = new mxCell(
- '<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>' +
- '\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>' +
- '\n</div><div><b>Ver</b>tigo Logos 2 <font color="#596780">(Active sprint in Dalek)</font></div><div></div></div>',
- 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;');
- item4.vertex = true;
- var item5 = new mxCell('', new mxGeometry(0, 0, 340, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(0, 69);
- item5.vertex = true;
- item4.insert(item5);
- return sb.createVertexTemplateFromCells([item1, item2, item4], 340, 320, 'Single select');
- }),
- this.addEntry(dt + 'avatar single select', function()
- {
- 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;');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-30, -7.5);
- icon1.vertex = true;
- item2.insert(icon1);
- var item3 = new mxCell('', new mxGeometry(0, 60, 340, 410), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;arcSize=1');
- item3.vertex = true;
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(0, 10);
- item4.vertex = true;
- item3.insert(item4);
- var item5 = new mxCell('', new mxGeometry(0, 0, 340, 33), 'rounded=0;fillColor=#000000;strokeColor=none;html=1;opacity=10;resizeWidth=1');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(0, 41);
- item5.vertex = true;
- item3.insert(item5);
- 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;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(20, 45);
- icon2.vertex = true;
- item3.insert(icon2);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(0, 85);
- item6.vertex = true;
- item3.insert(item6);
- 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;');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(20, 118);
- icon3.vertex = true;
- item3.insert(icon3);
- 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;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(20, 151);
- icon4.vertex = true;
- item3.insert(icon4);
- 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;');
- icon5.geometry.relative = true;
- icon5.geometry.offset = new mxPoint(20, 184);
- icon5.vertex = true;
- item3.insert(icon5);
- 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;');
- icon6.geometry.relative = true;
- icon6.geometry.offset = new mxPoint(20, 217);
- icon6.vertex = true;
- item3.insert(icon6);
- 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;');
- icon7.geometry.relative = true;
- icon7.geometry.offset = new mxPoint(20, 250);
- icon7.vertex = true;
- item3.insert(icon7);
- 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;');
- icon8.geometry.relative = true;
- icon8.geometry.offset = new mxPoint(20, 283);
- icon8.vertex = true;
- item3.insert(icon8);
- 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;');
- icon9.geometry.relative = true;
- icon9.geometry.offset = new mxPoint(20, 316);
- icon9.vertex = true;
- item3.insert(icon9);
- 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;');
- icon10.geometry.relative = true;
- icon10.geometry.offset = new mxPoint(20, 349);
- icon10.vertex = true;
- item3.insert(icon10);
- 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;');
- icon11.geometry.relative = true;
- icon11.geometry.offset = new mxPoint(20, 382);
- icon11.vertex = true;
- item3.insert(icon11);
- return sb.createVertexTemplateFromCells([item1, item2, item3], 340, 470, 'Avatar single select');
- }),
- this.addEntry(dt + 'grouped single select', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-28, -7);
- icon2.vertex = true;
- item2.insert(icon2);
- 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;');
- item3.vertex = true;
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(20, 15);
- item4.vertex = true;
- item3.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(160, 15);
- item5.vertex = true;
- item3.insert(item5);
- var icon1 = new mxCell('<b>IR-83</b> Integration inject select issue from core board...', new mxGeometry(0, 0, 20, 20),
- 'shape=ellipse;fillColor=#00A8E5;strokeColor=none;fontSize=12;align=left;fontColor=#596780;fontStyle=0;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;html=1;spacingLeft=5');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(20, 45);
- icon1.vertex = true;
- item3.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(0.5, 0.5, 8, 10), s + 'location;fillColor=#ffffff;strokeColor=none;flipV=1;html=1;');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-4, -5);
- icon2.vertex = true;
- icon1.insert(icon2);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(20, 90);
- item6.vertex = true;
- item3.insert(item6);
- 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');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(160, 90);
- item7.vertex = true;
- item3.insert(item7);
- var icon3 = new mxCell('<b>IR-83</b> Integration inject select issue from core board...', new mxGeometry(0, 0, 20, 20),
- 'shape=ellipse;fillColor=#00A8E5;strokeColor=none;fontSize=12;align=left;fontColor=#596780;fontStyle=0;labelPosition=right;verticalLabelPosition=middle;verticalAlign=middle;html=1;spacingLeft=5');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(20, 120);
- icon3.vertex = true;
- item3.insert(icon3);
- var icon4 = new mxCell('', new mxGeometry(0.5, 0.5, 8, 10), s + 'location;fillColor=#ffffff;strokeColor=none;flipV=1;html=1;');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(-4, -5);
- icon4.vertex = true;
- icon3.insert(icon4);
- var item7 = new mxCell('', new mxGeometry(0, 0, 360, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(0, 150);
- item7.vertex = true;
- item3.insert(item7);
- 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');
- item8.geometry.relative = true;
- item8.geometry.offset = new mxPoint(20, 170);
- item8.vertex = true;
- item3.insert(item8);
- return sb.createVertexTemplateFromCells([item1, item2, item3], 360, 260, 'Single select (grouped)');
- }),
- this.addEntry(dt + 'single select', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-28, -7);
- icon2.vertex = true;
- item2.insert(icon2);
- 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;');
- item3.vertex = true;
- 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');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(20, 15);
- item4.vertex = true;
- item3.insert(item4);
- 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');
- item5.geometry.relative = true;
- item5.geometry.offset = new mxPoint(20, 40);
- item5.vertex = true;
- item3.insert(item5);
- 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');
- item6.geometry.relative = true;
- item6.geometry.offset = new mxPoint(20, 65);
- item6.vertex = true;
- item3.insert(item6);
- 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');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(20, 90);
- item7.vertex = true;
- item3.insert(item7);
- 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');
- item8.geometry.relative = true;
- item8.geometry.offset = new mxPoint(20, 115);
- item8.vertex = true;
- item3.insert(item8);
- 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');
- item9.geometry.relative = true;
- item9.geometry.offset = new mxPoint(20, 140);
- item9.vertex = true;
- item3.insert(item9);
- 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');
- item10.geometry.relative = true;
- item10.geometry.offset = new mxPoint(20, 165);
- item10.vertex = true;
- item3.insert(item10);
- 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');
- item11.geometry.relative = true;
- item11.geometry.offset = new mxPoint(20, 190);
- item11.vertex = true;
- item3.insert(item11);
- 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');
- item12.geometry.relative = true;
- item12.geometry.offset = new mxPoint(20, 215);
- item12.vertex = true;
- item3.insert(item12);
- 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');
- item13.geometry.relative = true;
- item13.geometry.offset = new mxPoint(20, 240);
- item13.vertex = true;
- item3.insert(item13);
- var item7 = new mxCell('', new mxGeometry(0, 1, 360, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item7.geometry.relative = true;
- item7.geometry.offset = new mxPoint(0, -50);
- item7.vertex = true;
- item3.insert(item7);
- 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');
- item8.geometry.relative = true;
- item8.geometry.offset = new mxPoint(20, -34);
- item8.vertex = true;
- item3.insert(item8);
- 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');
- item9.geometry.relative = true;
- item9.geometry.offset = new mxPoint(-130, -30);
- item9.vertex = true;
- item3.insert(item9);
- return sb.createVertexTemplateFromCells([item1, item2, item3], 360, 380, 'Single select');
- }),
- this.addEntry(dt + 'table', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(0, 20, 430, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item3.vertex = true;
- var item4 = new mxCell('</>', 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- var item6 = new mxCell('', new mxGeometry(320, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item6.vertex = true;
- var item7 = new mxCell('', new mxGeometry(300, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item7.vertex = true;
- 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');
- item8.vertex = true;
- var item9 = new mxCell('', new mxGeometry(400, 49, 10, 14), 'shape=mxgraph.office.security.lock_protected;fillColor=#5E6C84;strokeColor=none');
- item9.vertex = true;
- 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');
- item10.vertex = true;
- var item11 = new mxCell('', new mxGeometry(0.5, 0.5, 20, 18), 'shape=mxgraph.signs.science.nuclear_1;fillColor=#ffffff;strokeColor=none');
- item11.geometry.relative = true;
- item11.geometry.offset = new mxPoint(-10, -9);
- item11.vertex = true;
- item10.insert(item11);
- 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');
- item12.vertex = true;
- var item13 = new mxCell('', new mxGeometry(340, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item13.vertex = true;
- var item14 = new mxCell('', new mxGeometry(320, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item14.vertex = true;
- var item15 = new mxCell('', new mxGeometry(300, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item15.vertex = true;
- var item16 = new mxCell('', new mxGeometry(400, 94, 10, 14), 'shape=mxgraph.office.security.lock_protected;fillColor=#5E6C84;strokeColor=none');
- item16.vertex = true;
- 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');
- item17.vertex = true;
- 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');
- item18.vertex = true;
- var item19 = new mxCell('', new mxGeometry(340, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item19.vertex = true;
- var item20 = new mxCell('', new mxGeometry(320, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item20.vertex = true;
- var item21 = new mxCell('', new mxGeometry(300, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item21.vertex = true;
- var item22 = new mxCell('</>', 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');
- item22.vertex = true;
- 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');
- item23.vertex = true;
- var item24 = new mxCell('', new mxGeometry(320, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item24.vertex = true;
- var item25 = new mxCell('', new mxGeometry(300, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item25.vertex = true;
- 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');
- item26.vertex = true;
- var item27 = new mxCell('', new mxGeometry(400, 184, 10, 14), 'shape=mxgraph.office.security.lock_protected;fillColor=#5E6C84;strokeColor=none');
- item27.vertex = true;
- var item28 = new mxCell('', new mxGeometry(0, 220, 430, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item28.vertex = true;
- return sb.createVertexTemplateFromCells(
- [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');
- }),
- this.addEntry(dt + 'table', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- var item4 = new mxCell('', new mxGeometry(0, 20, 620, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item4.vertex = true;
- var item5 = new mxCell('', new mxGeometry(0, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item5.vertex = true;
- var item6 = new mxCell(
- '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>',
- new mxGeometry(37, 41, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
- item6.vertex = true;
- 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;');
- item7.vertex = true;
- 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');
- item8.vertex = true;
- 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');
- item9.vertex = true;
- var item10 = new mxCell('', new mxGeometry(515, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item10.vertex = true;
- var item11 = new mxCell('', new mxGeometry(495, 44, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item11.vertex = true;
- var item12 = new mxCell('•••', 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');
- item12.vertex = true;
- var item13 = new mxCell('', new mxGeometry(0, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item13.vertex = true;
- var item14 = new mxCell(
- '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>',
- new mxGeometry(37, 86, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
- item14.vertex = true;
- 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;');
- item15.vertex = true;
- 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');
- item16.vertex = true;
- 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');
- item17.vertex = true;
- var item18 = new mxCell('', new mxGeometry(535, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item18.vertex = true;
- var item19 = new mxCell('', new mxGeometry(515, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item19.vertex = true;
- var item20 = new mxCell('', new mxGeometry(495, 89, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item20.vertex = true;
- var item21 = new mxCell('•••', 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');
- item21.vertex = true;
- var item22 = new mxCell('', new mxGeometry(0, 134, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item22.vertex = true;
- var item23 = new mxCell(
- 'BSERVDEV-13151: Disable the 'latest' 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>',
- new mxGeometry(37, 131, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;fontStyle=1');
- item23.vertex = true;
- 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;');
- item24.vertex = true;
- 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');
- item25.vertex = true;
- var item26 = new mxCell('•••', 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');
- item26.vertex = true;
- var item27 = new mxCell('', new mxGeometry(0, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item27.vertex = true;
- var item28 = new mxCell(
- '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>',
- new mxGeometry(37, 176, 360, 30), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap;fontStyle=1');
- item28.vertex = true;
- 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;');
- item29.vertex = true;
- 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');
- item30.vertex = true;
- 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');
- item31.vertex = true;
- 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');
- item32.vertex = true;
- var item33 = new mxCell('', new mxGeometry(515, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item33.vertex = true;
- var item34 = new mxCell('', new mxGeometry(495, 179, 24, 24), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item34.vertex = true;
- var item35 = new mxCell('', new mxGeometry(512, 177, 9, 9), 'shape=ellipse;fillColor=#A5ADBA;strokeColor=#ffffff');
- item35.vertex = true;
- 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');
- item36.vertex = true;
- 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');
- item37.vertex = true;
- var item38 = new mxCell('', new mxGeometry(0, 228, 620, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item38.vertex = true;
- return sb.createVertexTemplateFromCells(
- [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, item30, item31, item32, item33, item34, item35, item36, item37, item38], 620, 230, 'Table');
- }),
- this.addEntry(dt + 'table', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- var item5 = new mxCell('', new mxGeometry(0, 20, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- 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;');
- item7.vertex = true;
- 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');
- item8.vertex = true;
- var item9 = new mxCell('209 B', new mxGeometry(280, 37, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
- item9.vertex = true;
- 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');
- item10.vertex = true;
- 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');
- item11.vertex = true;
- 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');
- item12.vertex = true;
- var item13 = new mxCell('197 B', new mxGeometry(280, 67, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
- item13.vertex = true;
- 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');
- item14.vertex = true;
- 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');
- item15.vertex = true;
- 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');
- item16.vertex = true;
- var item17 = new mxCell('209 B', new mxGeometry(280, 97, 50, 20), 'strokeColor=none;fillColor=none;fontSize=11;fontColor=#596780;align=right;html=1');
- item17.vertex = true;
- 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');
- item18.vertex = true;
- 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');
- item19.vertex = true;
- 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');
- item20.vertex = true;
- 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');
- item21.vertex = true;
- 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');
- item22.vertex = true;
- 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');
- item23.vertex = true;
- 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');
- item24.vertex = true;
- 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');
- item25.vertex = true;
- 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');
- item26.vertex = true;
- 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');
- item27.vertex = true;
- 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');
- item28.vertex = true;
- 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');
- item29.vertex = true;
- 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');
- item30.vertex = true;
- 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');
- item31.vertex = true;
- var item32 = new mxCell('', new mxGeometry(0, 217, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item32.vertex = true;
- return sb.createVertexTemplateFromCells(
- [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,
- item30, item31, item32],
- 630, 230, 'Table');
- }),
- this.addEntry(dt + 'table action', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- var item7 = new mxCell('', new mxGeometry(10, 20, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item7.vertex = true;
- var item8 = new mxCell('', new mxGeometry(0, 26, 640, 30), 'strokeColor=none;fillColor=#FAFBFC;html=1');
- item8.vertex = true;
- var item9 = new mxCell('staging', new mxGeometry(10, 31, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
- item9.vertex = true;
- var item10 = new mxCell('Main Branch', new mxGeometry(60, 31, 65, 20), 'strokeColor=none;fillColor=#EDEEEF;fontSize=11;fontColor=#596780;rounded=1;html=1');
- item10.vertex = true;
- 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');
- item11.vertex = true;
- var item12 = new mxCell('•••', 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');
- item12.vertex = true;
- var item13 = new mxCell('', new mxGeometry(595, 28, 40, 24), 'rounded=1;arcSize=23;fillColor=#42526E;strokeColor=none');
- item13.vertex = true;
- var icon1 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-10, -2);
- icon1.vertex = true;
- item13.insert(icon1);
- var icon2 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-2, -2);
- icon2.vertex = true;
- item13.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(6, -2);
- icon3.vertex = true;
- item13.insert(icon3);
- 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');
- item14.vertex = true;
- var item15 = new mxCell('', new mxGeometry(270, 66, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
- item15.vertex = true;
- var item16 = new mxCell('107', new mxGeometry(270, 73, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
- item16.vertex = true;
- var item17 = new mxCell('3', new mxGeometry(310, 73, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
- item17.vertex = true;
- 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');
- item18.vertex = true;
- var item19 = new mxCell('#10258', new mxGeometry(460, 61, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
- item19.vertex = true;
- 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');
- item20.vertex = true;
- var item21 = new mxCell('•••', 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');
- item21.vertex = true;
- 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');
- item22.vertex = true;
- var item23 = new mxCell('', new mxGeometry(270, 96, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
- item23.vertex = true;
- var item24 = new mxCell('103', new mxGeometry(270, 103, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
- item24.vertex = true;
- var item25 = new mxCell('2', new mxGeometry(310, 103, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
- item25.vertex = true;
- 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');
- item26.vertex = true;
- var item27 = new mxCell('#10232', new mxGeometry(460, 91, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
- item27.vertex = true;
- 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');
- item28.vertex = true;
- var item29 = new mxCell('•••', 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');
- item29.vertex = true;
- 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');
- item30.vertex = true;
- var item31 = new mxCell('', new mxGeometry(270, 126, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
- item31.vertex = true;
- var item32 = new mxCell('7', new mxGeometry(270, 133, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
- item32.vertex = true;
- var item33 = new mxCell('1', new mxGeometry(310, 133, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
- item33.vertex = true;
- 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');
- item34.vertex = true;
- var item35 = new mxCell('#10267', new mxGeometry(460, 121, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#596780;align=left;html=1');
- item35.vertex = true;
- 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');
- item36.vertex = true;
- var item37 = new mxCell('•••', 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');
- item37.vertex = true;
- 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');
- item38.vertex = true;
- var item39 = new mxCell('', new mxGeometry(270, 156, 80, 10), 'shape=mxgraph.mockup.misc.progressBar;fillColor=#3384FF;strokeColor=none;fillColor2=#F2F2F2;barPos=80;');
- item39.vertex = true;
- var item40 = new mxCell('2', new mxGeometry(270, 163, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=left;html=1');
- item40.vertex = true;
- var item41 = new mxCell('14', new mxGeometry(310, 163, 40, 20), 'strokeColor=none;fillColor=none;fontSize=10;fontColor=#596780;align=right;html=1');
- item41.vertex = true;
- 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');
- item42.vertex = true;
- var item43 = new mxCell('#10244', new mxGeometry(460, 151, 50, 20), 'strokeColor=none;fillColor=none;fontSize=12;fontColor=#0057D8;align=left;html=1');
- item43.vertex = true;
- 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');
- item44.vertex = true;
- 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');
- item45.vertex = true;
- var item46 = new mxCell('', new mxGeometry(10, 179, 630, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item46.vertex = true;
- var item47 = new mxCell('', new mxGeometry(530, 61, 110, 78), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item47.vertex = true;
- 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');
- item48.geometry.relative = true;
- item48.geometry.offset = new mxPoint(0, 6);
- item48.vertex = true;
- item47.insert(item48);
- 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');
- item49.geometry.relative = true;
- item49.geometry.offset = new mxPoint(0, 39);
- item49.vertex = true;
- item47.insert(item49);
- return sb.createVertexTemplateFromCells(
- [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,
- item30, item31, item32, item33, item34, item35, item36, item37, item38, item39, item40, item41, item42, item43, item44, item45, item46, item47],
- 630, 189, 'Table with action');
- }),
- this.addEntry(dt + 'table action', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- var item5 = new mxCell('', new mxGeometry(0, 20, 350, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#DFE1E5;resizeWidth=1');
- item5.vertex = true;
- var item6 = new mxCell('', new mxGeometry(0, 20, 40, 10), 'shape=line;strokeWidth=2;html=1;strokeColor=#3384FF;resizeWidth=1');
- item6.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6], 350, 30, 'Table with action');
- }),
- this.createVertexTemplateEntry('dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#596780;fontStyle=1;fontSize=11;shadow=0',
- 60, 20, 'Tag text', 'Tag', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
- this.createVertexTemplateEntry('dashed=0;html=1;fillColor=#F0F2F5;strokeColor=none;align=center;rounded=1;arcSize=10;fontColor=#3384FF;fontStyle=1;fontSize=11;shadow=0',
- 60, 20, 'Tag link', 'Tag link', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
- this.addEntry(dt + 'tag removable', function()
- {
- 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');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(1, 0.5, 6, 6), s + 'x;strokeColor=#596780;strokeWidth=2');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-11, -3);
- item2.vertex = true;
- item1.insert(item2);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Removable tag');
- }),
- this.addEntry(dt + 'tag removable link', function()
- {
- 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');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(1, 0.5, 6, 6), s + 'x;strokeColor=#596780;strokeWidth=2');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-11, -3);
- item2.vertex = true;
- item1.insert(item2);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Removable tag link');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field');
- }),
- this.addEntry(dt + 'password field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Password field');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Compact text field');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 65, 'Text field');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Compact text field');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 65, 'Text field');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Compact text field');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 65, 'Text field');
- }),
- this.addEntry(dt + 'text field help', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field with placeholder text');
- }),
- this.addEntry(dt + 'text field tooltip', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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),
- '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');
- item3.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3], 480, 80, 'Text field with tooltip');
- }),
- this.addEntry(dt + 'text field tooltip', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('i', new mxGeometry(1, 0.5, 18, 18), 'shape=ellipse;strokeColor=none;fillColor=#6554C0;fontColor=#ffffff;fontStyle=1;fontSize=12');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-34, -9);
- item3.vertex = true;
- item2.insert(item3);
- var item4 = new mxCell('Some issues are not available due to the <font color="#4c9aff">field configuration.</font>', new mxGeometry(300, 0, 200, 60),
- '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');
- item4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item4], 480, 80, 'Text field with tooltip');
- }),
- this.addEntry(dt + 'toggle subtle', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 30, 16), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(1, 0.5, 12, 12), 'shape=ellipse;strokeColor=none;fillColor=#ffffff');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-14, -6);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(0, 0.5, 6, 5), s + 'check;strokeColor=#ffffff');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(4, -3);
- item3.vertex = true;
- item1.insert(item3);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Subtle toggle');
- }),
- this.addEntry(dt + 'toggle bold', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 40, 20), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(1, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#ffffff');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-18, -8);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(0, 0.5, 10, 8), s + 'check;strokeColor=#ffffff;strokeWidth=2');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(6, -5);
- item3.vertex = true;
- item1.insert(item3);
- return sb.createVertexTemplateFromCells([item1], item1.geometry.width, item1.geometry.height, 'Bold toggle');
- }),
- this.addEntry(dt + 'toggle bold tooltip', function()
- {
- 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');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(0, 25, 40, 20), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#ffffff');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-18, -8);
- item3.vertex = true;
- item2.insert(item3);
- var item4 = new mxCell('', new mxGeometry(0, 0.5, 10, 8), s + 'check;strokeColor=#ffffff;strokeWidth=2');
- item4.geometry.relative = true;
- item4.geometry.offset = new mxPoint(6, -5);
- item4.vertex = true;
- item2.insert(item4);
- 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');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- 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');
- item7.vertex = true;
- 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');
- item8.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item5, item6, item7, item8], 280, 112, 'Bold toggle with tooltip');
- }),
- this.addEntry(dt + 'toggle bold disabled', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 40, 20), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(1, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#9AD9BE');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-18, -8);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(0, 0.5, 10, 8), s + 'check;strokeColor=#9AD9BE;strokeWidth=2');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(6, -5);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold toggle disabled');
- }),
- this.addEntry(dt + 'toggle bold disabled', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 40, 20), 'fillColor=#F1F2F4;strokeColor=none;rounded=1;arcSize=50');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(0, 0.5, 16, 16), 'shape=ellipse;strokeColor=none;fillColor=#C2C7D0');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(2, -8);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 6, 6), s + 'x;strokeColor=#C2C7D0;strokeWidth=2');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-12, -3);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold toggle disabled');
- }),
- this.addEntry(dt + 'toggle subtle disabled', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 2, 30, 16), 'fillColor=#36B37E;strokeColor=none;rounded=1;arcSize=50');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(1, 0.5, 12, 12), 'shape=ellipse;strokeColor=none;fillColor=#9AD9BE');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(-14, -6);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(0, 0.5, 6, 5), s + 'check;strokeColor=#9AD9BE');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(4, -3);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold subtle disabled');
- }),
- this.addEntry(dt + 'toggle subtle disabled', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 2, 30, 16), 'fillColor=#F1F2F4;strokeColor=none;rounded=1;arcSize=50');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(0, 0.5, 12, 12), 'shape=ellipse;strokeColor=none;fillColor=#C2C7D0');
- item2.geometry.relative = true;
- item2.geometry.offset = new mxPoint(2, -6);
- item2.vertex = true;
- item1.insert(item2);
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 5, 5), s + 'x;strokeColor=#C2C7D0');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-10, -3);
- item3.vertex = true;
- item1.insert(item3);
- 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');
- item4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item4], 280, 112, 'Bold subtle disabled');
- }),
- this.createVertexTemplateEntry('rounded=1;arcSize=10;fillColor=#172B4D;strokeColor=none;html=1;fontSize=11;align=center;fontColor=#ffffff;fontStyle=0;fontSize=11',
- 65, 20, 'Tooltip', 'Tooltip', null, null, this.getTagsForStencil(gn, 'tag', dt).join(' ')),
- this.addEntry(dt + 'comment', function()
- {
- var item1 = new mxCell('', new mxGeometry(0, 0, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- var item6 = new mxCell(
- 'You'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',
- new mxGeometry(40, 45, 430, 60), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;verticalAlign=top');
- item6.vertex = true;
- var item7 = new mxCell('Reply • Edit • Delete • Like', new mxGeometry(40, 105, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap');
- item7.vertex = true;
- return sb.createVertexTemplateFromCells(
- [item1, item2, item3, item4, item5, item6, item7], 470, 125, 'Comment');
- }),
- this.addEntry(dt + 'linear discussion', function()
- {
- var item1 = new mxCell(
- '<font color="#596780"><b>Martin Papy</b> 27, April 16 </font><div>\n<div>Hi Sam, I have ordered your new 24" monitor. When it arrives, I will notify you </div><div>and you can come and collect it from teh IT department.</div></div>',
- 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');
- item1.vertex = true;
- var item2 = new mxCell(
- '<font color="#596780"><b>Sam Lawrence</b> 27, April 16 </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>',
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 470, 125, 'Linear discussion');
- }),
- this.addEntry(dt + 'nested discussion', function()
- {
- var item1 = new mxCell(
- '<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>',
- 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');
- item1.vertex = true;
- var item2 = new mxCell(
- '<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' +
- '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>',
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 450, 160, 'Nested discussion');
- }),
- this.addEntry(dt + 'comment', function()
- {
- 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');
- item1.vertex = true;
- var item2 = new mxCell('', new mxGeometry(0, 20, 320, 10), 'shape=line;strokeColor=#596780;html=1');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(20, 40, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- 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');
- item6.vertex = true;
- var item7 = new mxCell(
- 'You've mentioned the reasons for changing the name. But what were the reasons for holding onto the old name so long?',
- new mxGeometry(60, 85, 260, 55), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#000000;whiteSpace=wrap;verticalAlign=top');
- item7.vertex = true;
- var item8 = new mxCell('Reply • Likes', new mxGeometry(60, 140, 240, 20), 'html=1;fillColor=none;strokeColor=none;fontSize=12;align=left;fontColor=#596780;whiteSpace=wrap');
- item8.vertex = true;
- var item9 = new mxCell('', new mxGeometry(20, 180, 32, 32), 'shape=mxgraph.ios7.icons.user;fillColor=#ffffff;strokeColor=#253858');
- item9.vertex = true;
- 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');
- item10.vertex = true;
- 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');
- icon1.geometry.relative = true;
- icon1.geometry.offset = new mxPoint(-28, -7);
- icon1.vertex = true;
- item10.insert(icon1);
- var item11 = new mxCell('', new mxGeometry(280, 28, 40, 24), 'rounded=1;arcSize=23;fillColor=#42526E;strokeColor=none');
- item11.vertex = true;
- var icon2 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon2.geometry.relative = true;
- icon2.geometry.offset = new mxPoint(-10, -2);
- icon2.vertex = true;
- item11.insert(icon2);
- var icon3 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon3.geometry.relative = true;
- icon3.geometry.offset = new mxPoint(-2, -2);
- icon3.vertex = true;
- item11.insert(icon3);
- var icon4 = new mxCell('', new mxGeometry(0.5, 0.5, 4, 4), 'shape=ellipse;fillColor=#ffffff;strokeColor=none;html=1');
- icon4.geometry.relative = true;
- icon4.geometry.offset = new mxPoint(6, -2);
- icon4.vertex = true;
- item11.insert(icon4);
- var item12 = new mxCell('', new mxGeometry(190, 61, 130, 78), 'rounded=1;fillColor=#ffffff;strokeColor=#DFE1E5;shadow=1;html=1;arcSize=4');
- item12.vertex = true;
- 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');
- item13.geometry.relative = true;
- item13.geometry.offset = new mxPoint(0, 6);
- item13.vertex = true;
- item12.insert(item13);
- 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');
- item14.geometry.relative = true;
- item14.geometry.offset = new mxPoint(0, 39);
- item14.vertex = true;
- item12.insert(item14);
- return sb.createVertexTemplateFromCells(
- [item1, item2, item3, item4, item5,item6, item7, item8, item9, item10, item11, item12], 320, 213, 'Comment');
- }),
- this.addEntry(dt + 'date picker', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 18, 18), 'shape=mxgraph.gmdl.calendar;fillColor=#5A6881;strokeColor=none');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-29, -9);
- item3.vertex = true;
- item2.insert(item3);
- return sb.createVertexTemplateFromCells([item1, item2], 150, 53, 'Date picker');
- }),
- this.addEntry(dt + 'date picker', function()
- {
- var z1 = 'strokeColor=none;fillColor=none;fontColor=#000000;fontSize=16';
- var z2 = 'strokeColor=none;fillColor=none;fontColor=#999999;fontSize=16';
- var z3 = 'strokeColor=none;fillColor=none;fontColor=#999999;fontSize=12;fontStyle=1';
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 18, 18), 'shape=mxgraph.gmdl.calendar;fillColor=#253858;strokeColor=none');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-29, -9);
- item3.vertex = true;
- item2.insert(item3);
- var bg = new mxCell('', new mxGeometry(0, 65, 320, 350), 'shape=mxgraph.mockup.forms.rrect;rSize=5;strokeColor=#DFE1E5;fillColor=#ffffff;shadow=1');
- bg.vertex = true;
- var text1 = new mxCell('November 2015', new mxGeometry(60, 16, 200, 40), 'strokeColor=none;fillColor=none;fontColor=#253858;fontSize=16;fontStyle=1');
- text1.vertex = true;
- bg.insert(text1);
- var button1 = new mxCell('<', new mxGeometry(16, 16, 50, 40), 'strokeColor=none;fillColor=none;fontColor=#253858;fontSize=19;fontStyle=1;');
- button1.vertex = true;
- bg.insert(button1);
- var button2 = new mxCell('>', new mxGeometry(254, 16, 50, 40), 'strokeColor=none;fillColor=none;fontColor=#253858;fontSize=19;fontStyle=1;');
- button2.vertex = true;
- bg.insert(button2);
- var text2 = new mxCell('SUN', new mxGeometry(20, 56, 40, 40), z3);
- text2.vertex = true;
- bg.insert(text2);
- var text3 = new mxCell('MON', new mxGeometry(60, 56, 40, 40), z3);
- text3.vertex = true;
- bg.insert(text3);
- var text4 = new mxCell('TUE', new mxGeometry(100, 56, 40, 40), z3);
- text4.vertex = true;
- bg.insert(text4);
- var text5 = new mxCell('WED', new mxGeometry(140, 56, 40, 40), z3);
- text5.vertex = true;
- bg.insert(text5);
- var text6 = new mxCell('THU', new mxGeometry(180, 56, 40, 40), z3);
- text6.vertex = true;
- bg.insert(text6);
- var text7 = new mxCell('FRI', new mxGeometry(220, 56, 40, 40), z3);
- text7.vertex = true;
- bg.insert(text7);
- var text8 = new mxCell('SAT', new mxGeometry(260, 56, 40, 40), z3);
- text8.vertex = true;
- bg.insert(text8);
- var button3 = new mxCell('31', new mxGeometry(20, 96, 40, 40), z2);
- button3.vertex = true;
- bg.insert(button3);
- var button4 = new mxCell('1', new mxGeometry(60, 96, 40, 40), z1);
- button4.vertex = true;
- bg.insert(button4);
- var button5 = new mxCell('2', new mxGeometry(100, 96, 40, 40), z1);
- button5.vertex = true;
- bg.insert(button5);
- var button6 = new mxCell('3', new mxGeometry(140, 96, 40, 40), z1);
- button6.vertex = true;
- bg.insert(button6);
- var button7 = new mxCell('4', new mxGeometry(180, 96, 40, 40), z1);
- button7.vertex = true;
- bg.insert(button7);
- var button8 = new mxCell('5', new mxGeometry(220, 96, 40, 40), z1);
- button8.vertex = true;
- bg.insert(button8);
- var button9 = new mxCell('6', new mxGeometry(260, 96, 40, 40), z1);
- button9.vertex = true;
- bg.insert(button9);
- var button10 = new mxCell('7', new mxGeometry(20, 136, 40, 40), z1);
- button10.vertex = true;
- bg.insert(button10);
- var button11 = new mxCell('8', new mxGeometry(60, 136, 40, 40), z1);
- button11.vertex = true;
- bg.insert(button11);
- var button12 = new mxCell('9', new mxGeometry(100, 136, 40, 40), z1);
- button12.vertex = true;
- bg.insert(button12);
- var button13 = new mxCell('10', new mxGeometry(140, 136, 40, 40), 'strokeColor=none;fillColor=none;fontColor=#0057D8;fontSize=16;fontStyle=4');
- button13.vertex = true;
- bg.insert(button13);
- var button14 = new mxCell('11', new mxGeometry(180, 136, 40, 40), 'strokeColor=none;fillColor=#ECEDF0;fontColor=#000000;fontSize=16;rounded=1;arcSize=10');
- button14.vertex = true;
- bg.insert(button14);
- var button15 = new mxCell('12', new mxGeometry(220, 136, 40, 40), z1);
- button15.vertex = true;
- bg.insert(button15);
- var button16 = new mxCell('13', new mxGeometry(260, 136, 40, 40), z1);
- button16.vertex = true;
- bg.insert(button16);
- var button17 = new mxCell('14', new mxGeometry(20, 176, 40, 40), z1);
- button17.vertex = true;
- bg.insert(button17);
- var button18 = new mxCell('15', new mxGeometry(60, 176, 40, 40), z1);
- button18.vertex = true;
- bg.insert(button18);
- var button19 = new mxCell('16', new mxGeometry(100, 176, 40, 40), z1);
- button19.vertex = true;
- bg.insert(button19);
- var button20 = new mxCell('17', new mxGeometry(140, 176, 40, 40), z1);
- button20.vertex = true;
- bg.insert(button20);
- var button21 = new mxCell('18', new mxGeometry(180, 176, 40, 40), z1);
- button21.vertex = true;
- bg.insert(button21);
- var button22 = new mxCell('19', new mxGeometry(220, 176, 40, 40), z1);
- button22.vertex = true;
- bg.insert(button22);
- var button23 = new mxCell('20', new mxGeometry(260, 176, 40, 40), z1);
- button23.vertex = true;
- bg.insert(button23);
- var button24 = new mxCell('21', new mxGeometry(20, 216, 40, 40), z1);
- button24.vertex = true;
- bg.insert(button24);
- var button25 = new mxCell('22', new mxGeometry(60, 216, 40, 40), z1);
- button25.vertex = true;
- bg.insert(button25);
- var button26 = new mxCell('23', new mxGeometry(100, 216, 40, 40), z2);
- button26.vertex = true;
- bg.insert(button26);
- var button27 = new mxCell('24', new mxGeometry(140, 216, 40, 40), z1);
- button27.vertex = true;
- bg.insert(button27);
- var button28 = new mxCell('25', new mxGeometry(180, 216, 40, 40), z1);
- button28.vertex = true;
- bg.insert(button28);
- var button29 = new mxCell('26', new mxGeometry(220, 216, 40, 40), z1);
- button29.vertex = true;
- bg.insert(button29);
- var button30 = new mxCell('27', new mxGeometry(260, 216, 40, 40), z1);
- button30.vertex = true;
- bg.insert(button30);
- var button31 = new mxCell('28', new mxGeometry(20, 256, 40, 40), z1);
- button31.vertex = true;
- bg.insert(button31);
- var button32 = new mxCell('29', new mxGeometry(60, 256, 40, 40), z1);
- button32.vertex = true;
- bg.insert(button32);
- var button33 = new mxCell('30', new mxGeometry(100, 256, 40, 40), z1);
- button33.vertex = true;
- bg.insert(button33);
- var button34 = new mxCell('1', new mxGeometry(140, 256, 40, 40), z2);
- button34.vertex = true;
- bg.insert(button34);
- var button35 = new mxCell('2', new mxGeometry(180, 256, 40, 40), z2);
- button35.vertex = true;
- bg.insert(button35);
- var button36 = new mxCell('3', new mxGeometry(220, 256, 40, 40), z2);
- button36.vertex = true;
- bg.insert(button36);
- var button37 = new mxCell('4', new mxGeometry(260, 256, 40, 40), z2);
- button37.vertex = true;
- bg.insert(button37);
- var button38 = new mxCell('5', new mxGeometry(20, 296, 40, 40), z2);
- button38.vertex = true;
- bg.insert(button38);
- var button39 = new mxCell('6', new mxGeometry(60, 296, 40, 40), z2);
- button39.vertex = true;
- bg.insert(button39);
- var button40 = new mxCell('7', new mxGeometry(100, 296, 40, 40), z2);
- button40.vertex = true;
- bg.insert(button40);
- var button41 = new mxCell('8', new mxGeometry(140, 296, 40, 40), z2);
- button41.vertex = true;
- bg.insert(button41);
- var button42 = new mxCell('9', new mxGeometry(180, 296, 40, 40), z2);
- button42.vertex = true;
- bg.insert(button42);
- var button43 = new mxCell('10', new mxGeometry(220, 296, 40, 40), z2);
- button43.vertex = true;
- bg.insert(button43);
- var button44 = new mxCell('11', new mxGeometry(260, 296, 40, 40), z2);
- button44.vertex = true;
- bg.insert(button44);
- return sb.createVertexTemplateFromCells([item1, item2, bg], 320, 415, 'Date picker');
- }),
- this.addEntry(dt + 'text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field');
- }),
- this.addEntry(dt + 'text field required', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Text field with required fields');
- }),
- this.addEntry(dt + 'disabled text field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Disabled text field');
- }),
- this.addEntry(dt + 'text field layout', function()
- {
- 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');
- item1.vertex = true;
- var item2 = new mxCell('Projects are where your repositories live. They are containers you can group similar repositories in for better code organisations.',
- new mxGeometry(0, 25, 370, 45), 'fillColor=none;align=left;strokeColor=none;fontColor=#000000;fontSize=12;html=1;whiteSpace=wrap;verticalAlign=top');
- item2.vertex = true;
- 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');
- item3.vertex = true;
- 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');
- item4.vertex = true;
- 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');
- item5.vertex = true;
- 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;');
- item6.vertex = true;
- 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');
- item7.vertex = true;
- 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');
- item8.vertex = true;
- 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');
- item9.vertex = true;
- 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');
- item10.vertex = true;
- 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');
- item11.vertex = true;
- 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');
- item12.vertex = true;
- 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');
- item13.vertex = true;
- 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');
- item14.vertex = true;
- 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');
- item15.vertex = true;
- 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');
- item16.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, item13, item14, item15, item16], 370, 543, 'Disabled text field');
- }),
- this.addEntry(dt + 'error message field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-30, -10);
- item3.vertex = true;
- item2.insert(item3);
- return sb.createVertexTemplateFromCells([item1, item2], 290, 58, 'Error message field');
- }),
- this.addEntry(dt + 'error message field', function()
- {
- 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');
- item1.vertex = true;
- 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');
- item2.vertex = true;
- var item3 = new mxCell('', new mxGeometry(1, 0.5, 20, 20), 'shape=mxgraph.azure.azure_alert;fillColor=#FFAB00;strokeColor=none;html=1');
- item3.geometry.relative = true;
- item3.geometry.offset = new mxPoint(-30, -10);
- item3.vertex = true;
- item2.insert(item3);
- 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');
- item4.vertex = true;
- return sb.createVertexTemplateFromCells([item1, item2, item4], 290, 58, 'Error message field');
- })
- ];
-
- this.addPalette('atlassian', 'Atlassian', false, mxUtils.bind(this, function(content)
- {
- for (var i = 0; i < fns.length; i++)
- {
- content.appendChild(fns[i](content));
- }
- }));
- };
-
- })();
|