dojo.require("utilities.App"); dojo.require("templateConfig.commonConfig"); var i18n; dojo.ready(function(){ ...
Anytime you see "dojo.something", it generally means that is non-AMD.
In the index file is the following code:dojo.require("utilities.App"); dojo.require("templateConfig.commonConfig"); var i18n; dojo.ready(function(){ ...
This indicates a non-AMD style application.
I am speaking with you, as an employee of ESRI, attempting to help 😃
http://www.esri.com/careers/students/summer-internships/intern-profiles/intern-profile-web-design-de...
You said you had the Basic Viewer in AMD style and I wanted to see your code, because the viewer you linked is in legacy style, so buttons are added in a different way (it matters).
Going back to the topic of this post, could you please give me some samples of source code to add this type of buttons, panels, etc: