Atozed Forums

Full Version: Bootstrap Setup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Howdy All!

So I decided to start trying to setup my first page... can't get anything to render properly other than what Loren helped me with.

Any how, I decided to just cut/paste components from the demo to my page and compile/run. The components are being  rendered without any of the Bootstrap CSS.

I copied the iwbs folder + all the .css files in the demo's wwwroot directory to my app's wwwroot directory but apparently there is another step to initialize the system.

Any idea on what I am missing or doing wrong?

Thanks,

Shane
Can you post headers that are being emitted on the pages that are not being rendered with Bootstrap?
(10-07-2018, 09:01 AM)LorenSzendre Wrote: [ -> ]Can you post headers that are being emitted on  the pages that are not being rendered with Bootstrap?

Good morning Loren!

I am going to spend a little more time on this this morning as I was watching the game last night and trying to work.

I might as well not been working  Big Grin Big Grin!

All the best,

Shane

(10-07-2018, 02:09 PM)ShaneStump Wrote: [ -> ]
(10-07-2018, 09:01 AM)LorenSzendre Wrote: [ -> ]Can you post headers that are being emitted on  the pages that are not being rendered with Bootstrap?

Good morning Loren!

I am going to spend a little more time on this this morning as I was watching the game last night and trying to work.

I might as well not been working  Big Grin Big Grin!

All the best,

Shane
Loren,

The headers are below but I think my problem is that I am trying to add the Bootstrap page to my existing application that also uses CGDevTools (obvious by the reference to the ui-themes/black-tie).

Here are the headers from the page:


<title></title>
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="IntraWeb v15.0.13 Serial 201835084">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/webshim/1.15.10/dev/shims/styles/shim.css"><link rel="stylesheet" type="text/css" href="/ui-themes/black-tie/jquery-ui.css">



<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script type="text/javascript" src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/kattunga/IWBootstrapFramework/v2.0beta2/demo/bin/wwwroot/iwbs/iwbs.css">
<script type="text/javascript" src="https://cdn.rawgit.com/kattunga/IWBootstrapFramework/v2.0beta2/demo/bin/wwwroot/iwbs/iwbs.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/webshim/1.15.10/dev/polyfiller.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/kattunga/Bootstrap-Dynamic-Tabs/v1.1/bootstrap-dynamic-tabs.css">
<script type="text/javascript" src="https://cdn.rawgit.com/kattunga/Bootstrap-Dynamic-Tabs/v1.1/bootstrap-dynamic-tabs.js"></script>
<script>var IWBSAppBaseUrl = "/";</script>
<link href="/$/css/IWNotify.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var GURLBase="/3mBj4zLD20UBPAG3njYEGW/$/", GAppID="3mBj4zLD20UBPAG3njYEGW", GTrackID=2;
</script>
<script type="text/javascript" src="/$/js/IWBackIntercept__ED34D1C9B.js"></script>
<script type="text/javascript" src="/$/js/IWBase__ED34D1C9B.js"></script>
<script type="text/javascript" src="/$/js/IWGecko__ED34D1C9B.js"></script>
<script type="text/javascript">
IWAjaxErrorMode = 0;
if (typeof IWBackIntercept === "object") {
  IWBackIntercept.Init(false,false, "", "/$/");
}
function Body_OnBlur(){GSubmitting = false;}
function FormDefaultSubmit()
{return false;}
function IWTop(){return window;}
function Validate() {
  return true;
}

function InitIWCLObjects() {
  var f = IW.initIWCL, p = IWCLForm;
  f(IWCLForm,"IWBSNAVBAR1",false);
  f(IWBSNAVBAR1IWCL,"IWBSNAVBARHEADER1",false);
  f(IWBSNAVBARHEADER1IWCL,"IWBSBUTTON48",false);
  f(IWBSNAVBARHEADER1IWCL,"IWBSBUTTON49",false);
  f(IWBSNAVBAR1IWCL,"IWBSNAVBARCOLLAPSE1",false);
  f(IWBSNAVBARCOLLAPSE1IWCL,"IWBSLIST2",false);
  f(IWBSLIST2IWCL,"IWBSBUTTON46",false);
  f(IWBSLIST2IWCL,"IWBSDROPDOWN2",false);
  f(IWBSLIST2IWCL,"IWBSBUTTON61",false);
}

function Initialize() {
GActivateLock = true;
InitRects(2344, 966);
InitIWCLObjects();
AttachBeforeUnload();
IW.Utils.fixIEMargins();
ReleaseLock();

}
</script>

I am going to try a complete empty program.

One more question:

How does one get the app to use the local wwwroot/iwbs path instead of the remote paths?

All the best,

Shane