Skip to content
Permalink
Browse files

Updated Yeoman webapp scaffold and associated build files and markup.

  • Loading branch information...
hiimalexjgarcia committed Feb 25, 2019
1 parent d058526 commit 711b6d189153f6c9863d0086cb54c3116ef49c4d
Showing with 11,511 additions and 11,751 deletions.
  1. +1 −1 .babelrc
  2. +0 −3 .bowerrc
  3. +1 −1 .editorconfig
  4. +9 −5 .gitignore
  5. +57 −63 app/index.html
  6. +14 −4 app/scripts/main.js
  7. +2,267 −0 app/scripts/modernizr.js
  8. +1 −4 app/styles/main.scss
  9. +0 −24 bower.json
  10. +135 −127 gulpfile.js
  11. +27 −0 modernizr.json
  12. +0 −11,490 package-lock.json
  13. +52 −24 package.json
  14. +5 −5 test/index.html
  15. +8,942 −0 yarn.lock
@@ -1,5 +1,5 @@
{
"presets": [
"es2015"
"@babel/preset-env"
]
}

This file was deleted.

Oops, something went wrong.
@@ -20,6 +20,6 @@ insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

[{package,bower}.json]
[package.json]
indent_style = space
indent_size = 2
@@ -1,7 +1,11 @@
# dependencies
node_modules
dist
.tmp
bower_components
test/bower_components
.vscode
.vs

# compiled output
/dist
/.tmp

# System Files
.DS_Store
Thumbs.db
@@ -1,53 +1,46 @@
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>u4u-module-f2f</title>
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- Place favicon.ico in the root directory -->
<!-- build:css styles/vendor.css -->
<link rel="stylesheet" href="/node_modules/jquery-contextmenu/dist/jquery.contextMenu.css" />
<!-- endbuild -->
<!-- build:css styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->

<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>U2U Semantic Screen</title>
<!-- build:css styles/vendor.css -->
<!-- bower:css -->
<link rel="stylesheet" href="/bower_components/jQuery-contextMenu/dist/jquery.contextMenu.css" />
<!-- endbower -->
<!-- endbuild -->
<!-- build:css styles/main.css -->
<link rel="stylesheet" href="styles/main.css">
<!-- endbuild -->
<!-- build:js scripts/vendor/modernizr.js -->
<script src="/bower_components/modernizr/modernizr.js"></script>
<!-- endbuild -->
<!-- build:js scripts/vendor/modernizr.js -->
<script src="scripts/modernizr.js"></script>
<!-- endbuild -->
</head>

<body>

<div class="container">
<div class="row">
<div class="col-md-12">
<div class="col-12">
<h1 class="text-center">U2U Semantic Screen</h1>
</div>
</div>
<div class="row">
<div class="col-md-4 collapse" id="collapseExample">
<div class="row">
<h3>Navigation</h3>
</div>
<div class="row">
<div class="well" id="semui-view-navigation">
<p>Node hierarchy goes here...</p>
</div>
<div class="col-4 collapse" id="collapseExample">
<h3>Navigation</h3>
<div class="well" id="semui-view-navigation">
<p>Node hierarchy goes here...</p>
</div>
</div>
<div class="col-md-12" id="UINavPane">
<div class="row">
<div class="col-12" id="UINavPane">
<h3 class="text-center">
UI
<button id="showNavButton" class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Show Navigation
Show Navigation
</button>
</h3>
</div>
<div class="row">
<div id="semui-view-regions">
<div id="semui-view-region-focus">
<span class="focus">Focus node goes here...</span>
@@ -61,7 +54,6 @@ <h3 class="text-center">
<div id="semui-view-region-thoughts"></div>
<div id="semui-view-region-facts"></div>
</div>
</div>
</div>
</div>
</div>
@@ -77,9 +69,6 @@ <h3 class="text-center">
</script>

<script>
window.__INITIAL_STATE__ = {
"data": [
{
@@ -199,37 +188,42 @@ <h3 class="text-center">
};
</script>

<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>

<!-- build:js scripts/vendor.js -->
<!-- bower:js -->
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src="/bower_components/jQuery-contextMenu/dist/jquery.contextMenu.js"></script>
<script src="/bower_components/pluralize/pluralize.js"></script>
<script src="/bower_components/mustache.js/mustache.js"></script>
<!-- endbower -->
<!-- endbuild -->
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X');ga('send','pageview');
</script>

<!-- build:js scripts/plugins.js -->
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/affix.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/alert.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/dropdown.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/tooltip.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/modal.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/transition.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/button.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/popover.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/carousel.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/scrollspy.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/collapse.js"></script>
<script src="/bower_components/bootstrap-sass/assets/javascripts/bootstrap/tab.js"></script>
<!-- endbuild -->
<!-- build:js scripts/vendor.js -->
<script type="text/javascript" src="/node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="/node_modules/pluralize/pluralize.js"></script>
<script type="text/javascript" src="/node_modules/mustache/mustache.js"></script>
<!-- endbuild -->

<script>if (window.module) module = window.module;</script>
<!-- build:js scripts/plugins.js -->
<script type="text/javascript" src="/node_modules/jquery-contextmenu/dist/jquery.contextMenu.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/index.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/util.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/toast.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/alert.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/dropdown.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/tooltip.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/modal.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/button.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/popover.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/carousel.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/scrollspy.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/collapse.js"></script>
<script type="text/javascript" src="/node_modules/bootstrap/js/dist/tab.js"></script>
<!-- endbuild -->

<!-- build:js scripts/main.js -->
<script src="scripts/main.js"></script>
<!-- endbuild -->
</body>
<!-- build:js scripts/main.js -->
<script src="scripts/main.js"></script>
<!-- endbuild -->
</body>

</html>
@@ -1,3 +1,13 @@
console.log('\'Allo \'Allo!');

// Uncomment to enable Bootstrap tooltips
// https://getbootstrap.com/docs/4.0/components/tooltips/#example-enable-tooltips-everywhere
$(function () { $('[data-toggle="tooltip"]').tooltip(); });

// Uncomment to enable Bootstrap popovers
// https://getbootstrap.com/docs/4.0/components/popovers/#example-enable-popovers-everywhere
$(function () { $('[data-toggle="popover"]').popover(); });

(function($, window){

var nodes = window.__INITIAL_STATE__.data || [{}];
@@ -18,14 +28,14 @@
$('#collapseExample').on('hidden.bs.collapse', function () {
console.log('navigation hidden...');
$('#showNavButton').html('Show Navigation');
$('#UINavPane').removeClass('col-md-8');
$('#UINavPane').addClass('col-md-12');
$('#UINavPane').removeClass('col-8');
$('#UINavPane').addClass('col-12');
});
$('#collapseExample').on('show.bs.collapse', function () {
console.log('showing navigation...');
$('#showNavButton').html('Hide Navigation');
$('#UINavPane').removeClass('col-md-12');
$('#UINavPane').addClass('col-md-8');
$('#UINavPane').removeClass('col-12');
$('#UINavPane').addClass('col-8');
})

// Listen for route changes and re-render
Oops, something went wrong.

0 comments on commit 711b6d1

Please sign in to comment.
You can’t perform that action at this time.