When we build an app with a menu, typically the navigation appears at the top of the page. However, we can customize the menu to appear on the left instead.
This is what a typical menu looks like:
With the navigation on the left, this is what the menu will look like:
Now. How do we do this? It is actually very simple. We create a new player based on the default player, and run the app with this new player.
Here is the player code (just copy-paste this as the code for the new player):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" class="manywho" style="height: 100%;"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <link rel="icon" href="https://assets.manywho.com/img/favicon.ico"> <title>Boomi Flow</title> <style> .mw-bs .wait-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; min-height: 500px; z-index: 1100; background-color: rgba(255, 255, 255, 0.5); } .mw-bs .wait-message { position: relative; text-align: center; margin-top: 1em; display: block; top: 40%; font-size: 2em; padding: 0 2em; } /* outer */ .mw-bs .wait-spinner { display: block; position: relative; left: 50%; width: 150px; height: 150px; margin: 200px 0 0 -75px; border-radius: 50%; border: 3px solid transparent; border-top-color: #268AAF; -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } /* middle */ .mw-bs .wait-spinner:before { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border-radius: 50%; border: 3px solid transparent; border-top-color: #31B2E2; -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } /* inner */ .mw-bs .wait-spinner:after { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border-radius: 50%; border: 3px solid transparent; border-top-color: #154E62; -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(0deg); /* IE 9 */ transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ } 100% { -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(360deg); /* IE 9 */ transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ } } @keyframes spin { 0% { -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(0deg); /* IE 9 */ transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ } 100% { -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(360deg); /* IE 9 */ transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ } } </style> </head> <body style="height: 100%;"> <div id="manywho"> <div id="loader" class="mw-bs" style="width: 100%; height: 100%;"> <div class="wait-container"> <div class="wait-spinner"></div> </div> </div> </div> <script src="https://assets.manywho.com/js/vendor/jquery-2.1.4.min.js"></script> <script> var manywho = { cdnUrl: 'https://assets.manywho.com', requires: ['core', 'bootstrap3'], initialize: function () { var queryParameters = manywho.utils.parseQueryString(window.location.search.substring(1)); manywho.settings.initialize({ adminTenantId: 'da497693-4d02-45db-bc08-8ea16d2ccbdf', playerUrl: [ location.protocol, '//', location.host, location.pathname ].join(''), joinUrl: [ location.protocol, '//', location.host, location.pathname ].join(''), richText: { url: 'https://cdn.tinymce.com/4/tinymce.min.js', fontSize: '12px', plugins: [ 'advlist autolink link lists link image charmap print hr anchor spellchecker', 'searchreplace visualblocks fullscreen wordcount code insertdatetime', 'media table directionality emoticons contextmenu paste textcolor' ], toolbar: 'undo redo | styleselect | fontsizeselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link mwimage ', fontsize_formats: '8pt 10pt 12pt 14pt 18pt 24pt 36pt' } }); var options = { authentication: { sessionId: queryParameters['session-token'], sessionUrl: queryParameters['session-url'] }, navigationElementId: queryParameters['navigation-element-id'], mode: queryParameters['mode'], reportingMode: queryParameters['reporting-mode'], replaceUrl: true, collaboration: { isEnabled: false }, inputs: null, annotations: null, navigation: { isFixed: true, isWizard: false }, callbacks: [], theme: 'cosmo' }; var tenantId = queryParameters['tenant-id']; if (!tenantId) { tenantId = window.location.pathname .split('/') .filter(function (path) { return path && path.length > 0; })[0]; } manywho.engine.initialize( tenantId, queryParameters['flow-id'], queryParameters['flow-version-id'], 'main', queryParameters['join'], queryParameters['authorization'], options, queryParameters['initialization'] ); } }; </script> <script src="https://assets.manywho.com/js/loader.min.js"></script> <style> /* Custom Styles (Dell Colors) */ .mw-bs .main-container-inner>.navbar { background:#007db8; border:0px; box-shadow: 0px 0px 10px #a5a5a5; } .mw-bs .main-scroller{ background: #dcdcdc; } .mw-bs .main-scroller .container { background: #fff; box-shadow: 0px 0px 15px #a5a5a5; } .mw-bs .navbar-brand{ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NDkxMSwgMjAxMy8xMC8yOS0xMTo0NzoxNiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpERjdGRkE0REZBNDgxMUU0QkFFQUFCMEEzREU0M0RCMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpERjdGRkE0RUZBNDgxMUU0QkFFQUFCMEEzREU0M0RCMSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkRGN0ZGQTRCRkE0ODExRTRCQUVBQUIwQTNERTQzREIxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkRGN0ZGQTRDRkE0ODExRTRCQUVBQUIwQTNERTQzREIxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+zh2YuQAAAdNJREFUeNrE1k1LAkEYB3BdLMigIOgQUV2kkujNQ4QZHYyo7hFBULeUvkARCuVB6NLNDnWJQLI+QARFYC/QqSC61TEhskQPRQfb/hN/YRhlZcm1gZ/rMzvzzDi7s6tN13WbAT/sQVovLmmemzDKYRcfJcoobEMP4zO4hVfGzTAIfsYPEISLokwlRg1zhjlYBqfBDJ1sk2OfsNpG7bDFhvuglVk+mcY+OnOUHCDEBhETiVUR5gipA3h4Iv6H5AVx5vLIF/kRWqHOVpnyASlwiRF9HDFQgdkXLDHnmAgSDMpd1F6wm7jo33Aggiyc8kQMTuAGNqQOO5zEPGNxTIKX8SxcwZTU51LkdmCdGriRbNwsouRhCNoZz8EurLO+hpuxE65hGLzQD8fsk4QRB4OMdIHuoY+7coF1R9DFgWthkvXPPL7zmJLyZMWHplz9PH9RNzRK9TPg5i9dhA7WD0Ab1DN2s68dvgqPClFWuW5qERtmRamLSve6KC9wrrRpgqD4IpYoB+MQhRC0iHG5hoec2RuswSbE2D7DmYrleYI7Lp/GnNO/RxO3qdPkXhAlYdVGCzCnz6pHxSfvMJflD7uqPa6r8sKx5JX5Ly99s39b/EY5fgQYAOhqGgHwQVyJAAAAAElFTkSuQmCC); background-position: left center; background-repeat: no-repeat; font-size: 16px; font-weight: 500; line-height: 50px; margin: 0 15px 0 15px !important; padding: 0px 0px 5px 34px !important; font-weight: bold; } .mw-bs .navbar-default .navbar-nav > li > a{ background: #0388c7; border-bottom: 1px solid #0077af; transition: all .2s ease-in-out; } .mw-bs .navbar-default .navbar-nav > li > a:focus, .mw-bs .navbar-default .navbar-nav > li > a:hover { color: #fff; background-color: #015f8c; } .mw-bs .navbar-default .navbar-nav > .active > a, .mw-bs .navbar-default .navbar-nav > .active > a:focus, .mw-bs .navbar-default .navbar-nav > .active > a:hover { color: #fff; background-color: #0b73a5; } .mw-bs .navbar-default .navbar-nav > .open > a, .mw-bs .navbar-default .navbar-nav > .open > a:focus, .mw-bs .navbar-default .navbar-nav > .open > a:hover { background-color: #015f8c; } /* Page Styles */ .mw-bs .main h3, .mw-bs .main .h3{ font-weight: bold; } .mw-bs .main h3:first-child, .mw-bs .main .h3:first-child{ margin-top:0px; border-bottom: 1px solid #e0e0e0; padding-bottom: 10px; margin-bottom: 10px; } .mw-bs .main h4, .mw-bs .main .h4{ font-weight: bold; } .mw-bs .main h4:first-child, .mw-bs .main .h4:first-child{ margin-top:0px; } /* Clear MW Margin Top Set in Core CSS */ .mw-bs .main:nth-of-type(1){ margin-top:0px; } .mw-bs .navbar-default .navbar-collapse, .mw-bs .navbar-default .navbar-form{ border:0; } /* Fix issue with padding on tablet and mobile */ @media (max-width:999px){ .mw-bs .main-scroller .container { padding:20px; } } @media (max-width:767px){ .mw-bs .dropdown-menu li{ padding:0px; border:0; } .mw-bs .navbar-default .navbar-nav .open .dropdown-menu > li > a { padding:10px 15px; border:0; } .mw-bs .navbar-default .navbar-toggle:focus, .mw-bs .navbar-default .navbar-toggle:hover { background-color: #015f8c; } .mw-bs .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .mw-bs .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, .mw-bs .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover { background-color: #0d79ad } .mw-bs .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .mw-bs .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover { background-color: #015f8c; } } /* Use Left Nav Styles when above 1000px width */ @media (min-width: 1000px){ .mw-bs .navbar-brand{ float:none; display:block; padding:0px; width:100%; } .mw-bs .navbar-header{ float:none; width:100%; } .mw-bs .navbar-collapse{ padding:0px; } .mw-bs .navbar-nav { float: none; margin: 0; } .mw-bs .navbar-nav > li { float: none; } .mw-bs .dropdown-menu { position: relative; top:inherit; left: inherit; z-index: inherit; float: none; min-width: auto; font-size: 15px; text-align: left; border:0; } .mw-bs .dropdown-menu li{ padding:0px; } .mw-bs .dropdown-menu li a{ padding:3px 15px; } .mw-bs .dropdown-menu > li > a:focus, .mw-bs .dropdown-menu > li > a:hover { color: #000; background-color: #d9edf7; } .mw-bs .dropdown-menu > .active > a, .mw-bs .dropdown-menu > .active > a:focus, .mw-bs .dropdown-menu > .active > a:hover { color: #000; background-color: #e6e6e6; } .mw-bs .open .caret { transform: rotateY(180deg); } .mw-bs .main-container-inner>.navbar { margin-bottom: 0!important; width: 200px; position: fixed; border-radius: 0; height: 100%; } .mw-bs .main-scroller{ margin-left:200px; } .mw-bs .main-scroller .container { width: auto; padding:25px; margin:25px !important; border-radius: 3px; } .mw-bs .navbar .container { width: auto !important; margin:0px; padding:0px; } .mw-bs .table > tbody > tr.info > td, .mw-bs .table > tbody > tr.info > th, .mw-bs .table > tbody > tr > td.info, .mw-bs .table > tbody > tr > th.info, .mw-bs .table > tfoot > tr.info > td, .mw-bs .table > tfoot > tr.info > th, .mw-bs .table > tfoot > tr > td.info, .mw-bs .table > tfoot > tr > th.info, .mw-bs .table > thead > tr.info > td, .mw-bs .table > thead > tr.info > th, .mw-bs .table > thead > tr > td.info, .mw-bs .table > thead > tr > th.info { background-color: #ecf9ff; } .mw-bs .table .danger, .mw-bs .table .info, .mw-bs .table .success, .mw-bs .table .warning, .mw-bs table .danger, .mw-bs table .info, .mw-bs table .success, .mw-bs table .warning { color: #0a0a0a; } } </style> </body> </html> |
Select this player when running the flow: