From 7a5e5ace6978167306587401b7ea93846796ffc8 Mon Sep 17 00:00:00 2001 From: Seun Ogedengbe Date: Tue, 7 Jul 2015 13:02:51 -0500 Subject: [PATCH] writer updates --- README.md | 4 +- comixngn.js | 2 +- comixngn.min.js | 2 +- tools/flatty.css | 94 ++++++ tools/writer.html | 732 +++++++++++++++++++++++++++++++----------- tools/writer.min.html | 1 + 6 files changed, 652 insertions(+), 183 deletions(-) create mode 100644 tools/flatty.css create mode 100644 tools/writer.min.html diff --git a/README.md b/README.md index 46da80c..a02276c 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ attribute to preload images but not implemented yet **1.9.2** Major bugfixes, including null and undefined property checking -### comix-ngn Writer version 1.1.0 (beta) +### comix-ngn Writer version 1.1.5 (beta) **0.5.0**: "Initial Setup, Versioning **0.8.0**: Huge implementations, Object config by dynamic form injection for Page and Chapter, Setting config compartmentalized, design config added @@ -144,5 +144,7 @@ attribute to preload images but not implemented yet **1.1.0**: Setup for refactoring, all JS re-specified and deferred, js enclosed in closure +**1.1.5**: Refactoring begun, all dependicies included and deferred, writer has been beautified for legibility, but there is now writer.min.html which is the compressed version + ### comix-ngn Pyoofreader Version 0.1.0 (beta) **0.1.0**: Implemented version, counts page dif and warns of Mismatch \ No newline at end of file diff --git a/comixngn.js b/comixngn.js index b483fb7..bf6d9a3 100644 --- a/comixngn.js +++ b/comixngn.js @@ -9,7 +9,7 @@ function N(){return 0};/*null function*/ if(void 0===$GPC){var $GPC=0;} cG.root = ''; cG.cPanel = cG.panel||{}; -cG.info = {vix: "1.9.2",vwr: "1.1.0",vpr: "0.1.0"}; +cG.info = {vix: "1.9.2",vwr: "1.1.5",vpr: "0.1.0"}; /*rollbar*/ var _rollbarConfig = _rollbarConfig||{ accessToken: "3e8e8ecb63a04b5798e1d02adf2608cb", diff --git a/comixngn.min.js b/comixngn.min.js index ba6cf98..90c77dc 100644 --- a/comixngn.min.js +++ b/comixngn.min.js @@ -1,7 +1,7 @@ /* comix-ngn v1.9.2 | (c) 2015 Oluwaseun Ogedengbe| seun40.github.io/comic-ng/ |License: MIT| embeds domReady: github.com/ded/domready (MIT) (c) 2013 Dustin Diaz, pegasus: typicode.github.io/pegasus (MIT) (c) 2014 typicode, pathjs (MIT) (c) 2011 Mike Trpcic, direction.js*/ -var cG=cG||{};function N(){return 0}if(void 0===$GPC)var $GPC=0;cG.root="";cG.cPanel=cG.panel||{};cG.info={vix:"1.9.2",vwr:"1.1.0",vpr:"0.1.0"};var _rollbarConfig=_rollbarConfig||{accessToken:"3e8e8ecb63a04b5798e1d02adf2608cb",ignoredMessages:["CNG Plug-in:"],captureUncaught:!0,payload:{environment:"development",client:{javascript:{source_map_enabled:!0,code_version:cG.info.vix,guess_uncaught_frames:!0}}}}; +var cG=cG||{};function N(){return 0}if(void 0===$GPC)var $GPC=0;cG.root="";cG.cPanel=cG.panel||{};cG.info={vix:"1.9.2",vwr:"1.1.5",vpr:"0.1.0"};var _rollbarConfig=_rollbarConfig||{accessToken:"3e8e8ecb63a04b5798e1d02adf2608cb",ignoredMessages:["CNG Plug-in:"],captureUncaught:!0,payload:{environment:"development",client:{javascript:{source_map_enabled:!0,code_version:cG.info.vix,guess_uncaught_frames:!0}}}}; !function(a){function c(e){if(d[e])return d[e].exports;var f=d[e]={exports:{},id:e,loaded:!1};return a[e].call(f.exports,f,f.exports,c),f.loaded=!0,f.exports}var d={};return c.m=a,c.c=d,c.p="",c(0)}([function(a,c,d){a=d(1).Rollbar;d=d(2);_rollbarConfig.rollbarJsUrl=_rollbarConfig.rollbarJsUrl||"https://d37gvrvc0wt4s1.cloudfront.net/js/v1.3/rollbar.umd.min.js";a=a.init(window,_rollbarConfig);d=d(a,_rollbarConfig);a.loadFull(window,document,!1,_rollbarConfig,d)},function(a,c,d){function e(a){this.shimId= ++k;this.notifier=null;this.parentShim=a;this.logger=function(){};window.console&&void 0===window.console.shimId&&(this.logger=window.console.log)}function f(a,c,d){window._rollbarWrappedError&&(d[4]||(d[4]=window._rollbarWrappedError),d[5]||(d[5]=window._rollbarWrappedError._rollbarContext),window._rollbarWrappedError=null);a.uncaughtError.apply(a,d);c&&c.apply(window,d)}function g(a){return h(function(){if(this.notifier)return this.notifier[a].apply(this.notifier,arguments);var c=this,d="scope"=== a;d&&(c=new e(this));var f=Array.prototype.slice.call(arguments,0);return window._rollbarShimQueue.push({shim:c,method:a,args:f,ts:new Date}),d?c:void 0})}function m(a,c){if(c.hasOwnProperty&&c.hasOwnProperty("addEventListener")){var d=c.addEventListener;c.addEventListener=function(c,f,e){d.call(this,c,a.wrap(f),e)};var f=c.removeEventListener;c.removeEventListener=function(a,c,d){f.call(this,a,c&&c._wrapped?c._wrapped:c,d)}}}function h(a,c){return c=c||window.console.log||function(){},function(){try{return a.apply(this, diff --git a/tools/flatty.css b/tools/flatty.css new file mode 100644 index 0000000..74d94f8 --- /dev/null +++ b/tools/flatty.css @@ -0,0 +1,94 @@ +html, +body { + min-height: 100%; +} +.humane, +.humane-flatty { + position: fixed; + -moz-transition: all 0.4s ease-in-out; + -webkit-transition: all 0.4s ease-in-out; + -ms-transition: all 0.4s ease-in-out; + -o-transition: all 0.4s ease-in-out; + transition: all 0.4s ease-in-out; + z-index: 100000; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); +} +.humane, +.humane-flatty { + font-family: Helvetica Neue, Helvetica, san-serif; + font-size: 16px; + top: 0; + left: 30%; + opacity: 0; + width: 40%; + color: #444; + padding: 10px; + text-align: center; + background-color: #fff; + -webkit-border-bottom-right-radius: 3px; + -webkit-border-bottom-left-radius: 3px; + -moz-border-radius-bottomright: 3px; + -moz-border-radius-bottomleft: 3px; + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; + -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5); + box-shadow: 0 1px 2px rgba(0,0,0,0.5); + -moz-transform: translateY(-100px); + -webkit-transform: translateY(-100px); + -ms-transform: translateY(-100px); + -o-transform: translateY(-100px); + transform: translateY(-100px); +} +.humane p, +.humane-flatty p, +.humane ul, +.humane-flatty ul { + margin: 0; + padding: 0; +} +.humane ul, +.humane-flatty ul { + list-style: none; +} +.humane.humane-flatty-info, +.humane-flatty.humane-flatty-info { + background-color: #3498db; + color: #FFF; +} +.humane.humane-flatty-success, +.humane-flatty.humane-flatty-success { + background-color: #18bc9c; + color: #FFF; +} +.humane.humane-flatty-error, +.humane-flatty.humane-flatty-error { + background-color: #e74c3c; + color: #FFF; +} +.humane-animate, +.humane-flatty.humane-flatty-animate { + opacity: 1; + -moz-transform: translateY(0); + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + -o-transform: translateY(0); + transform: translateY(0); +} +.humane-animate:hover, +.humane-flatty.humane-flatty-animate:hover { + opacity: 0.7; +} +.humane-js-animate, +.humane-flatty.humane-flatty-js-animate { + opacity: 1; + -moz-transform: translateY(0); + -webkit-transform: translateY(0); + -ms-transform: translateY(0); + -o-transform: translateY(0); + transform: translateY(0); +} +.humane-js-animate:hover, +.humane-flatty.humane-flatty-js-animate:hover { + opacity: 0.7; + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70); +} diff --git a/tools/writer.html b/tools/writer.html index a0e6180..86d0b59 100644 --- a/tools/writer.html +++ b/tools/writer.html @@ -1,125 +1,206 @@ Writer - - + + + + + +

Writer

* Settings

-
- - - - - - - - - - - - -

Configuration

-
- 1 - 1
- -
- On Off - Modified Name Size Type 
- Descending Ascending
- First Last

Chapters

-

Pages

-
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      +

      Configuration

      +
      + + + + + +
      + + 0  + 1 + + 0  + 1
      + + + + + +
      + + On  + Off + + Modified  + Name  + Size  + Type  +
      + Descending  + Ascending
      + + First  + Last
      +

      Chapters

      + +
      +

      Pages

      + +
      +
        +
        +
          +

          * Design

          -

          -   -

          +
          +

          +   + +

          - - \ No newline at end of file + + ! function() { + return defer ? void(window.addEventListener ? window.addEventListener("load", dfr, !1) : window.attachEvent ? window.attachEvent("onload", dfr) : window.onload = dfr) : dfr() + }(); + \ No newline at end of file diff --git a/tools/writer.min.html b/tools/writer.min.html new file mode 100644 index 0000000..aceefd5 --- /dev/null +++ b/tools/writer.min.html @@ -0,0 +1 @@ +Writer

          Writer

          * Settings

          Configuration

          1 1
          On  Off Modified  Name  Size  Type 
          Descending  Ascending
          First  Last

          Chapters

          Pages

              * Design

               

              \ No newline at end of file