This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NeoBundle "pangloss/vim-javascript" | |
NeoBundle 'mxw/vim-jsx.git' | |
NeoBundle 'chriskempson/vim-tomorrow-theme' | |
NeoBundle 'altercation/vim-colors-solarized' | |
NeoBundle 'jlanzarotta/bufexplorer' | |
NeoBundle 'kien/ctrlp.vim' | |
NeoBundle 'mattn/gist-vim' | |
NeoBundle 'mattn/webapi-vim' | |
call neobundle#end() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
:copyright: 2015, Prometheus Research, LLC | |
""" | |
from rex.core import AnyVal, StrVal, IntVal, SeqVal,BoolVal, MaybeVal | |
from rex.core import get_packages, cached, get_settings | |
from rex.widget import Widget, CollectionSpecVal, EntitySpecVal, URLVal, \ | |
FormFieldVal, ColumnVal, undefined, Field, \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rex.core import OMapVal | |
from rex.action import Wizard, Action, Page | |
from rex.action.typing import ValueType | |
from rex.widget import Widget, WidgetComposition, Field, WidgetVal | |
OMap = OMapVal() | |
TableType = ValueType('table') | |
class InitialTableList(Action): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/wizard/todo: | |
widget: !<Wizard> | |
initial_context: | |
individual: A00F5818 | |
states: | |
todo: | |
not-skipped-not-complete: | |
title: Not Skipped | |
expression: status!='skipped'&status!='complete' | |
measure: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @copyright 2015, Prometheus Research, LLC | |
*/ | |
'use strict'; | |
var React = require('react'); | |
var {Wizard, createEntity} = require('rex-action'); | |
var TodoWizardIframe = React.createClass({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @copyright 2015, Prometheus Research, LLC | |
*/ | |
import React, {PropTypes} from 'react'; | |
import RexWidget from 'rex-widget'; | |
import Breadcrumb from './Breadcrumb'; | |
import Actions from './Actions'; | |
import WithDOMSize from './WithDOMSize'; | |
import WizardState from './WizardState'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP FUNCTION IF EXISTS simple_study_todo__proc() CASCADE; | |
DROP FUNCTION IF EXISTS condition_study_todo__proc() CASCADE; | |
DROP FUNCTION IF EXISTS longitudinal_study_todo__proc() CASCADE; | |
CREATE OR REPLACE FUNCTION longitudinal_study_todo__proc() | |
RETURNS trigger | |
LANGUAGE plpgsql | |
AS $$ | |
DECLARE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH todos AS ( | |
INSERT INTO todo | |
(individual_id, | |
requirement_id, | |
status, | |
title, | |
time_period__id, | |
expected_completion_date, | |
study_id, | |
asset_type__id, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has('vim_starting') | |
if &compatible | |
set nocompatible " Be iMproved | |
endif | |
" Required: | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
" Required: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
paths: | |
/with-for-demo: | |
action: | |
title: with()/for() demo | |
type: wizard | |
path: | |
- pick-case-type: | |
- make-individual: | |
# - replace: ../../pick-individual/view-individual | |
#- pick-individual: |
OlderNewer