OpusVL-AppKit

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

* Added a password reset feature.
* If a user is logged in and tries to access a page they aren't allowed to they will
  be shown 403 instead of a login screen so that it's clearer that they aren't
  allowed access.

0.14

The previous revisions changes are rolled up into this release for simplicity.

* Resized the images for the buttons so long buttons don't glitch.
* Disabled copy to clipboard function on tables in linux (because it didn't work).
* Tidy up <title> tag on pages using a combination of the template and javascript.
* Prevent users from being able to create a blank role.
* Wide applications menu should no longer visually glitch.
* A subtle application version number footer is now possible by turning on 
  the appkit_display_app_version parameter
* Added a facility to allow the AppKitForm attribute to be extended to allow 
  an attribute to be generated that doesn't call process on the form.
* Added a facility to poke in a bit of HTML content as 'before_content' before 
  the application_body div.
* Tweaked the JSON view to just expose the json stash key.

lib/auto/OpusVL/AppKit/root/static/css/vader/jquery-ui-1.9.0.custom.css  view on Meta::CPAN

.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }

lib/auto/OpusVL/AppKit/root/static/css/vader/jquery-ui-1.9.0.custom.min.css  view on Meta::CPAN

/*! jQuery UI - v1.9.0 - 2012-10-24
* http://jqueryui.com
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.cs...
* To view and modify this theme, visit http://jqueryui.com/themeroller/?tr%26ffDefault=Helvetica%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=888888&bgTextureHeader=04_highlight_hard.png&bgImgOpacityHeader=15&b...
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{position:absolute!important;clip:rect(1px);clip:rect(1px,1px,1px,1px)}.ui-helper-reset{margin:0;padding:0;border:...

lib/auto/OpusVL/AppKit/root/static/js/wymeditor/jquery.wymeditor.js  view on Meta::CPAN

      wym.keyup();
    };
    this._doc.onclick = function() {wym.saveCaret();};
    
    this._doc.body.onbeforepaste = function() {
      wym._iframe.contentWindow.event.returnValue = false;
    };
    
    this._doc.body.onpaste = function() {
      wym._iframe.contentWindow.event.returnValue = false;
      wym.paste(window.clipboardData.getData("Text"));
    };
    
    //callback can't be executed twice, so we check
    if(this._initialized) {
      
      //pre-bind functions
      if(jQuery.isFunction(this._options.preBind)) this._options.preBind(this);
      
      //bind external events
      this._wym.bindEvents();

lib/auto/OpusVL/AppKit/root/static/js/wymeditor/jquery.wymeditor.min.js  view on Meta::CPAN

if(!WYMeditor){var WYMeditor={}}(function(){if(!window.console||!console.firebug){var b=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];WYMeditor.console={};for(...

lib/auto/OpusVL/AppKit/root/static/js/wymeditor/jquery.wymeditor.pack.js  view on Meta::CPAN

eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};whil...

lib/auto/OpusVL/AppKit/root/templates/preprocess.tt  view on Meta::CPAN

    IF error_msg.defined && error_msg.length > 0;
        error_message = error_message _ c.stash.error_msg;
    END;

    # define a data structure to hold info on what 'features' are available (and enabled/disabled)...
    features    =
    {
        appkitfeature_stdcss        => 1,
        appkitfeature_htmleditor    => 0,
        appkitfeature_tablesorter   => 0,
        appkitfeature_clipboard     => 0,
        appkitfeature_splitselect   => 0,
    };

    # the above 'feature' hashref is a list of available features in this template.
    # the idea is that you can turn them on/off in the template by using a META
    # directive at the top of your template. eg. META appkitfeature_tablesorter = 1
  
    # process the template meta varibles to alter the header 'features' hash...
    FOR feat IN features.keys;
        IF template.$feat.defined;

lib/auto/OpusVL/AppKit/root/templates/preprocess.tt  view on Meta::CPAN

    # Below, we manage support for versions where Controller methods/properties manipulate the template..
    FOR css IN c.controller.appkit_css;
        header.css.list.push( css );
    END;
    FOR js IN c.controller.appkit_js;
        header.js.list.push( js );
    END;
    IF c.controller.appkit_features.list.grep('htmleditor').size;
        features.appkitfeature_htmleditor = 1;
    END;
    IF c.controller.appkit_features.list.grep('clipboard').size;
        features.appkitfeature_clipboard = 1;
    END;
    IF c.controller.appkit_features.list.grep('tablesorter').size;
        features.appkitfeature_tablesorter = 1;
    END;

    # Resolve dependencies between features
    IF (features.appkitfeature_tablesorter);
        features.appkitfeature_clipboard = 1;
    END;

    # process features.. this puts things into the 'header' varible..
    PROCESS features.tt;
-%]



( run in 1.157 second using v1.01-cache-2.11-cpan-84e82930d8c )