Created
April 15, 2014 14:49
-
-
Save dmackerman/10738594 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/main.html', | |
'<div ng-include="" src="\'views/topbar/topbar.html\'"></div><div class="container"><div class="row"><div class="col-lg-12"><div class="alert alert-danger text-center" ng-show="error"><strong>{{ error.description }}</strong></div></div></div><div class="row"><div class="col-lg-12"><div class="jumbotron"><div class="row"><div class="col-lg-6"><h1>productizer</h1><p class="larger">An Intraprenuers\' tool for Lean-a-fying the Enterprise</p><button ng-show="!user" class="btn btn-primary btn-lg" style="background:rgba(14, 118, 168, 1.0);border:0;" ng-click="socialLogin(\'linkedIn\')"><i class="ion-social-linkedin"></i> LinkedIn Login</button></div><div class="col-lg-3"><h4 class="text-uppercase">Login</h4><form name="register" ng-submit="standardLogin()"><div class="form-group"><input name="login_email" class="form-control" type="email" ng-model="email" placeholder="Email" autocomplete="off" required=""></div><div class="form-group"><input name="login_password" class="form-control" type="password" ng-model="password" placeholder="Password" autocomplete="off" required=""></div><div class="form-group"><button type="submit" class="btn btn-link btn-lg no-padding" name="login"><span ng-show="!loggingIn" class="am-fade-and-scale">Login <i class="ion-chevron-right"></i></span> <span ng-show="loggingIn" class="am-fade-and-scale"><i class="ion-loading-c"></i> <strong>Logging in...</strong></span></button></div></form><button data-template="views/dashboard/popover/reset-password.html" data-animation="am-fade-and-slide-bottom" data-placement="bottom" data-container="body" bs-popover="" class="btn btn-link btn-sm no-padding"><i class="ion-help-circled"></i> Forgot Password</button></div><div class="col-lg-3"><h4 class="text-uppercase">Registration</h4><form ng-submit="standardRegister()"><div class="form-group"><input class="form-control" type="email" ng-model="registrationEmail" placeholder="Email" required=""></div><div class="form-group"><input class="form-control" type="password" ng-model="registrationPassword" placeholder="Password" required=""></div><div class="form-group"><button type="submit" class="btn btn-link btn-lg no-padding"><span class="am-fade-and-scale" ng-show="!registeringAccount">Register <i class="ion-chevron-right"></i></span> <span class="am-fade-and-scale" ng-show="registeringAccount"><i class="ion-loading-c"></i> <strong>Creating Account...</strong></span></button></div></form></div></div></div></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/_directives/radialProgress.html', | |
'<div class="progress-pie-chart" ng-class="{ \'lt40\': value <= 40, \'gt-50\': value >= 50 }" ng-click="increasePercent()"><div class="ppc-progress"><div class="ppc-progress-fill"></div></div><div class="ppc-percents"><div class="pcc-percents-wrapper"><span>{{ value }}%</span></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/collaborator/inviteRegister.html', | |
'<div ng-include="" src="\'views/topbar/topbar.html\'"></div><div class="container"><div class="page-header"><div class="row"><div class="col-lg-12"><h1>Welcome!</h1><p class="lead">You will need to register for an account before you can start collaborating. Fill out this here form to get started.</p></div></div></div><div class="row"><div class="col-lg-8 col-lg-offset-2"><div class="col-lg-6"><h3>Create Your Account</h3><form name="registerForm" ng-submit="registerAccount()"><div class="form-group"><input class="form-control input-lg" ng-model="userName" placeholder="Your Name" type="text" required=""><p class="help-block">First and Last, preferably.</p></div><div class="form-group"><input class="form-control input-lg" ng-model="userEmail" placeholder="Email" type="email" required=""><p class="help-block">This will be your login. Verification required.</p></div><div class="form-group"><input class="form-control input-lg" ng-model="userPassword" placeholder="Password" type="password" required=""><p class="help-block">Let\'s make this secure, shall we?</p></div><button ng-disabled="registerForm.$invalid" class="btn btn-lg btn-primary" type="submit"><strong>Create Account</strong></button></form><button class="btn btn-link">Have an account? Log in.</button></div><div class="col-lg-6"><div class="well text-center"><button class="btn btn-primary btn-lg"><i class="ion-social-linkedin"></i> Register with LinkedIn Profile</button></div></div></div></div><div ng-include="" src="\'views/footer/footer.html\'"></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/dashboard/dashboard.html', | |
'<div ng-include="" src="\'views/topbar/topbar.html\'"></div><div class="container"><div class="row"><div class="col-md-12" ui-view=""><div class="container"><div class="row"><div class="col-lg-12"><div class="alert alert-warning text-center"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button><i class="ion-nuclear"></i> <strong>Warning:</strong> This is a sandboxed environment and data integrity is not guaranteed.</div></div></div></div><div class="page-header pagpe-header-big-margin"><div class="row"><div class="col-lg-4"><h1>Dashboard <small>All Kickstarts <span class="label label-default">{{ kickstarts.length }}</span></small></h1></div><div class="col-lg-4 sorting-options"><label ng-if="kickstarts.length">Sort Kickstarts By: </label><button type="button" class="btn btn-link" ng-model="kickstartSort" data-html="1" data-animation="am-fade-and-slide-bottom" ng-if="kickstarts.length" ng-options="option.value as option.label for option in sortOptions" bs-select=""><span class="caret"></span></button></div><div class="col-lg-4 text-right"><button ui-sref="dashboard.new" type="button" class="btn btn-link btn-lg" style="margin-top:24px;"><i class="ion-plus"></i> New Kickstart</button></div></div></div><div class="row pending-invitiations" ng-if="invites.length > 0"><div class="col-lg-12"><h3>Pending Invitations<br><small>Kickstarts that you\'ve been invited to.</small></h3><ul class="list-group list-group-invites"><li class="list-group-item am-fade-and-slide-bottom" ng-repeat="invite in invites"><button type="button" ng-click="declineInvite(invite)" class="btn btn-link-danger pull-right"><i class="ion-close"></i> <strong>Decline</strong></button><button type="button" ng-click="acceptInvite(invite)" class="btn btn-link-success pull-right" style="margin-left:15px;"><span ng-show="!acceptingInvite" class="am-fade-and-slide-bottom"><i class="ion-checkmark"></i> <strong>Accept Invitation</strong></span> <span ng-show="acceptingInvite" class="am-fade-and-slide-bottom"><i class="ion-loading-c"></i> <strong>Hold your horses...</strong></span></button><h4><strong>{{ invite.kickstart_name }}</strong> <small>from {{ invite.invite_from }}</small></h4></li></ul></div></div><div class="row"><div class="alert alert-warning" ng-show="kickstarts.length == 0">You don\'t seem to have any Kickstarts yet. <a ui-sref="dashboard.new" class="alert-link">Why don\'t you add one?</a></div><div class="panel-kickstart col-lg-12 am-fade-and-slide-top" ng-repeat="kickstart in kickstarts | orderBy:kickstartSort"><div class="row"><div class="col-lg-2"><radialprogressbar value="kickstart.complete"></radialprogressbar></div><div class="col-lg-4"><h2 class="panel-kickstart-header">{{ kickstart.name }}<br><small><i class="ion-calendar"></i> {{ kickstart.startDate|date }} - {{ kickstart.endDate|date }}</small></h2><p class="larger">{{ kickstart.description }}</p><button ui-sref="kickstart.day({ id: kickstart._id, dayId: 0 })" class="btn btn-link btn-lg btn-link-no-padding no-margin"><strong>View Details <i class="ion-chevron-right"></i></strong></button><small><a class="btn btn-link-danger" data-template="views/kickstart/popover/remove.html" data-animation="am-fade-and-slide-bottom" data-placement="bottom" data-trigger="click" bs-popover="">Delete</a></small></div><div class="col-lg-3"><h5 class="panel-kickstart-subheader"><i class="ion-ios7-folder"></i> KEY FILES AND LINKS</h5><button class="btn btn-link btn-link-no-padding no-margin" ui-sref="kickstart.assets({ id: kickstart._id })">See All Files & Links <i class="ion-chevron-right"></i></button></div><div class="col-lg-3"><h5 class="panel-kickstart-subheader"><i class="ion-person-stalker"></i> KICKSTART COLLABORATORS</h5><ul class="list-unstyled collaborator-list"><li ng-if="!kickstart.collaborators.length"><strong>No collaborators yet.</strong></li><li ng-repeat="collaborator in kickstart.collaborators | orderBy:\'status\':reverse"><div class="activity-indicator" ng-class="{\'pending\': collaborator.status == \'Pending\'}"></div><img class="collaborator-image" gravatar-src="collaborator.email" gravatar-size="80"> {{ collaborator.email }} - <small class="collaborator-status">{{ collaborator.status }}</small></li></ul></div></div></div></div><div class="row" ng-if="invites.length == 0"><div class="col-lg-9"><h1><small>Pending Invitations</small></h1></div></div><div class="alert alert-warning" ng-show="invites.length == 0">You have no pending invitations at this time.</div></div></div></div><div ng-include="" src="\'views/footer/footer.html\'"></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/dashboard/invite.html', | |
'<div ui-view=""><div class="page-header"><h1>Invite Collaborators <small>(ie. your best friends)</small></h1></div><form name="inviteCollaboratorsForm" ng-submit="inviteUser()"><div class="row"><div class="col-lg-6"><div class="form-group"><label for="userEmail">Email</label><input id="userEmail" type="email" class="form-control" placeholder="Collaborator Email" ng-model="collaboratorEmail" required=""></div></div><div class="col-lg-4"><label for="collaboratorRole">Role</label><select ng-model="collaboratorRole" id="userRole" class="form-control" name="collaboratorRole" required=""><option value="admin">Admin</option><option value="collaborator">Collaborator</option></select></div><div class="col-lg-2"><label for="userRole"> </label><button type="submit" ng-disabled="inviteCollaboratorsForm.$invalid" class="form-control btn btn-primary"><strong ng-if="!inviting">Invite <i class="glyphicon glyphicon-arrow-right"></i></strong> <strong ng-if="inviting">Sending...</strong></button></div></div></form><div class="row"><div class="col-lg-12 alerts-container"></div></div><hr><div class="form-group"><button ui-sref="kickstart({ id: kickstart._id })" ui-sref-opts="{reload: true}" class="btn btn-success btn-lg"><strong>Ok, I\'m Done Inviting</strong> <i class="glyphicon glyphicon-circle-arrow-right"></i></button></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/dashboard/new.html', | |
'<div ui-view=""><ol class="breadcrumb"><li class="active"><strong>1. Initial Setup</strong></li><li>2. Identify Target App</li><li>2. Create a Schedule</li><li>3. Invite Collaborators</li><li>4. Save and Finish</li></ol><h1>New Kickstart <small>Initial Setup</small></h1><hr><form name="newKickstartForm" ng-submit="createKickstart()" role="form"><div class="form-group"><label class="control-label">Kickstart Name</label><input name="kickstartName" type="text" class="form-control input-extra-lg" placeholder="Dashboard Product" ng-model="newKickstart.kickstartName" required=""></div><div class="form-group"><label class="control-label">Short Description</label><input name="short_description" type="text" class="form-control input-lg" placeholder="1 or 2 sentences about the project. e.g: Dashboard product for ecommerce" ng-model="newKickstart.kickstartNotes" required=""></div><div class="row"><div class="col-md-6"><div class="form-group" ng-class="{\'has-error\': datepickerForm.date.$invalid}"><label class="control-label"><i class="ion-calendar"></i> Start Date</label><input type="text" class="form-control input-lg" ng-model="newKickstart.startDate" name="startDate" autocomplete="off" bs-datepicker="" required=""></div></div><div class="col-md-6"><div class="form-group" ng-class="{\'has-error\': datepickerForm.date.$invalid}"><label class="control-label"><i class="ion-calendar"></i> End Date</label><input type="text" class="form-control input-lg" ng-model="newKickstart.endDate" name="endDate" autocomplete="off" bs-datepicker="" required=""></div></div></div><div class="form-group text-right"><button type="submit" class="btn btn-success btn-lg"><span class="am-fade-and-scale" ng-show="!creatingKickstart">Save & Continue <i class="ion-chevron-right"></i></span> <span class="am-fade-and-scale" ng-show="creatingKickstart"><i class="ion-loading-c"></i> <strong>Creating Kickstart...</strong></span></button></div></form></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/dashboard/schedule.html', | |
'<div ui-view=""><div class="page header"><h1>Create A Schedule <small>(Don\'t worry, you can change this later)</small></h1></div><hr><div class="row"><div class="col-lg-12"><div class="row"><div class="col-lg-8"><h3>During Kickstart<br><small>Set your goals for the week. Drag and drop to organize topics based on your needs.</small></h3></div><div class="col-lg-4 text-right"><i ng-show="savingTopics" class="ion-loading-c" style="font-size: 33px;color: #777;top: 4px;position: relative;"></i><button ng-click="goToKickstart()" class="btn btn-success btn-lg">Continue <i class="ion-chevron-right"></i></button></div></div><div class="kickstart-schedule"><div class="topic-column" ng-repeat="day in kickstartDays"><h4 class="day-{{ $index + 1 }}"><span class="date pull-right">{{ day | date:\'MMM dd\' }}</span> {{ day | date:\'EEEE\' }}</h4><ul class="topic-list list-group" ui-sortable="sortableOptions" ng-model="topicsByDay[$index]"><li class="list-group-item list-group-item list-group-item-warning" ng-if="!topicsByDay[$index].length">{{ emptyText }}</li><li class="list-group-item" ng-repeat="topic in topicsByDay[$index]"><i class="ion-drag"></i> {{ topic.name }}</li></ul></div></div></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/footer/footer.html', | |
'<hr><footer ng-dblclick="showDelete = true;"><div class="row"><div class="col-md-12 text-center"><p><small><strong>Build:</strong> {{ build }} - <strong>Codename:</strong> {{ codeName }}</small></p><p ng-show="showDelete"><a href="" ng-click="deleteEverything()" class="btn btn-link-danger">Delete Everything.</a></p></div></div></footer>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/kickstart-assets.html', | |
'<div class="page-header"><div class="asset-count"><i class="asset-icon ion-document"></i> <span class="asset-count-number" ng-if="numberOfFiles != 0">{{ numberOfFiles }}</span></div><h3>Kickstart Files<br><small>Here be all of the files you and your co-horts have uploaded.</small></h3></div><div class="alert alert-warning text-center" ng-if="numberOfFiles == 0"><i class="ion-alert-circled"></i> <strong>Doesn\'t appear that you have any files!</strong> Start adding files and associating them to topics!</div><table class="table table-kickstart-assets" ng-if="numberOfFiles != 0"><thead><th></th><th>Name</th><th>Uploaded By</th><th>Date</th><th style="width: 300px;">In Topics</th><th>Actions</th></thead><tbody><tr ng-repeat="(key, file) in files" class="am-fade"><td><img ng-src="{{ file.thumbnailLink }}" alt=""></td><td><i class="file-star" ng-class="{\'ion-ios7-star\': file.starred, \'ion-ios7-star-outline\': !file.starred }" ng-click="toggleFileStar(file)"></i> <strong>{{ file.name }}</strong></td><td><small>{{ file.uploadedBy.email }}</small></td><td><small>{{ file.uploadDate | date:\'short\' }}</small></td><td style="width: 300px;"><a ui-sref="kickstart.topic({ id: kickstart._id, topicId: topic._id })" href="" ng-repeat="topic in file.topics"><span class="label label-primary"><i class="ion-pricetag"></i> {{ topic.name }}</span></a></td><td><a href="{{ file.link }}" class="btn btn-link no-padding"><i class="ion-ios7-cloud-download"></i> <strong>Download</strong></a><br><a href="" ng-click="removeFile(file)" class="btn btn-link-danger no-padding">Remove</a></td></tr></tbody></table><div class="page-header"><div class="asset-count"><i class="asset-icon ion-link"></i> <span class="asset-count-number" ng-if="numberOfLinks != 0">{{ numberOfLinks }}</span></div><h3>Kickstart Links<br><small>Manage and view important links collaborators have added to your kickstart.</small></h3></div><div class="alert alert-warning text-center" ng-if="numberOfLinks == 0"><i class="ion-alert-circled"></i> <strong>Doesn\'t appear that you have any links!</strong> Start adding links to your topics, man!</div><table class="table table-kickstart-assets" ng-if="numberOfLinks != 0"><thead><th>Name</th><th>URL</th><th>In Topics</th><th>Actions</th></thead><tbody><tr ng-repeat="(key, link) in links" class="am-fade"><td><i class="file-star" ng-class="{\'ion-ios7-star\': link.starred, \'ion-ios7-star-outline\': !link.starred }" ng-click="toggleLinkStar(link)"></i> <strong>{{ link.name }}</strong></td><td><a href="{{ link.url }}">{{ link.url }}</a></td><td><a ui-sref="kickstart.topic({ id: kickstart._id, topicId: topic._id })" href="" ng-repeat="topic in link.topics"><span class="label label-primary"><i class="ion-pricetag"></i> {{ topic.name }}</span></a></td><td><a href="" class="btn btn-link-danger no-padding" data-template="views/kickstart/popover/remove-link.html" data-animation="am-flip-x" data-placement="bottom" data-container="body" data-trigger="focus" bs-popover="">Remove</a></td></tr></tbody></table>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/kickstart-day.html', | |
'<div class="list-group topics-list-groups"><a ng-repeat="topic in topics | filter:kickstartDayFilter(dayFilter) | orderBy:\'day_offset\'" href="" ui-sref="kickstart.topic({ topicId: topic._id, topic: topic })" class="list-group-item col-lg-6" ng-class="{ \'has-meta\': topic.links.length || topic.files.length }"><div class="progress"><div class="progress-bar" role="progressbar" style="width: {{ topic.percentComplete }}%;"></div></div><h4 class="list-group-item-heading"><small>#{{ $index + 1 }}</small> {{ topic.name }}<br><span class="badge" ng-if="topic.links">{{ topic.links.length }} Links</span> <span class="badge" ng-if="topic.files">{{ topic.files.length }} Files</span></h4><span class="percent"><strong>{{ topic.percentComplete }}%</strong> Complete</span></a></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/kickstart-identify.html', | |
'<div ui-view=""><ol class="breadcrumb"><li>1. Initial Setup</li><li class="active"><strong>2. Identify Target App</strong></li><li>2. Create a Schedule</li><li>3. Invite Collaborators</li><li>4. Save and Finish</li></ol><div class="page header"><h1><div class="pull-right"><button ng-click="saveTargetAppData()" class="btn btn-success btn-lg"><span ng-show="!savingKickstart" class="am-fade-and-scale">Save & Continue <i class="ion-chevron-right"></i></span> <span ng-show="savingKickstart" class="am-fade-and-scale"><i class="ion-loading-c"></i> <strong>Saving...</strong></span></button><button ui-sref="dashboard.new.schedule({ id: kickstart._id })" class="btn btn-link btn-lg">Skip For Now</button></div>Identify The Target App<br><small>Let\'s gather some more information for your product.</small></h1></div><hr><form role="form" class="target-app-form"><div class="row"><div class="col-lg-12"><div class="form-group"><div class="row"><div class="col-lg-6"><label for="businessOwner">Business Owner(s)</label><input type="text" ng-model="kickstart.businessOwners" class="form-control input-lg" id="businessOwner" autofocus=""></div><div class="col-lg-6"><span class="help-block"><i class="ion-help-circled"></i> Who ultimately controls the line of business?</span></div></div></div><div class="form-group"><div class="row"><div class="col-lg-6"><label for="productOwner">Product Owner(s)</label><input type="text" ng-model="kickstart.productOwners" class="form-control input-lg" id="productOwner"></div><div class="col-lg-6"><span class="help-block"><i class="ion-help-circled"></i> Who manages the execution of the product?</span></div></div></div><div class="form-group"><div class="row"><div class="col-lg-6"><label for="primaryUsers">Primary Users</label><input type="text" ng-model="kickstart.primaryUsers" class="form-control input-lg" id="primaryUsers"></div><div class="col-lg-6"><span class="help-block"><i class="ion-help-circled"></i> Who engages with and buys the app and ultimately determines the app\'s success or failure?</span></div></div></div><div class="form-group"><div class="row"><div class="col-lg-6"><label for="primaryUsers">Secondary Users</label><input type="text" ng-model="kickstart.secondaryUsers" class="form-control input-lg" id="primaryUsers"></div><div class="col-lg-6"><span class="help-block"><i class="ion-help-circled"></i> Who indirectly interacts with the app and may influence the behavior of primary users?</span></div></div></div></div></div><hr><div class="row input-row"><div class="col-lg-4"><label for="">User Types</label><div class="textarea" ng-model="kickstart.userTypes" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-4"><label for="">Key Success Metrics</label><div class="textarea" ng-model="kickstart.keySuccessMetrics" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-4"><label for="">Assumptions About The App</label><div class="textarea" ng-model="kickstart.appAssumptions" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div></div><div class="row input-row"><div class="col-lg-4"><label for="">Primary Reasons for Mobile</label><div class="textarea" ng-model="kickstart.reasonsForMobile" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-4"><label for="">Success as Defined By The Business</label><div class="textarea" ng-model="kickstart.successDefinedBusiness" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-4"><label for="">Assumptions About The Business</label><div class="textarea" ng-model="kickstart.assumptionsBusiness" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div></div><div class="row input-row"><div class="col-lg-4"><label for="">Beta Customers</label><div class="textarea" ng-model="kickstart.betaCustomers" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-4"><label for="">Internal Users</label><div class="textarea" ng-model="kickstart.internalUsers" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-4"><label for="">Champions</label><div class="textarea" ng-model="kickstart.champions" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div></div></form><pre><code>{{ kickstart | json }}</code></pre></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/kickstart-topic.html', | |
'<ol class="breadcrumb"><li><a ui-sref="kickstart.day({ dayId: 0 })" ui-sref-opts="{reload: true}" href=""><i class="ion-chevron-left"></i> All Kickstart Days</a></li><li class="active"><strong>{{ topic.name }}</strong></li></ol><div class="page-header"><div class="row"><div class="col-lg-12"><h2>{{ topic.name }}</h2><p class="lead">{{ topic.overview }}</p></div></div><div class="row"><div class="col-lg-6"><h4><button ng-click="saveUpdates()" class="btn btn-link pull-right text-right"><strong>Save</strong></button>Topic Notes</h4><div class="textarea textarea-medium" ng-model="topic.notes" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div><div class="col-lg-6 topic-files"><button href="" class="btn btn-link btn-link-no-padding btn-bold pull-right" ng-disabled="kickstart.files.length == 0" data-placement="bottom" data-container="body" data-template="views/kickstart/popover/attach-files.html" data-animation="am-fade-and-slide-bottom" bs-popover="">Attach File <i class="ion-chevron-down"></i></button><a href="" class="btn btn-link btn-link-no-padding btn-bold pull-right" ng-disabled="!kickstart.links" data-placement="bottom" data-container="body" data-template="views/kickstart/popover/attach-link.html" data-animation="am-fade-and-slide-bottom" bs-popover="">Attach Link <i class="ion-chevron-down"></i></a><h4>Topic Files & Links</h4><div class="list-group list-group-files"><li ng-if="!topic.files" class="list-group-item list-group-item-warning"><i class="ion-ios7-filing-outline"></i> No files yet.</li><a href="{{ file.link }}" target="_blank" class="list-group-item am-fade" ng-repeat="file in topic.files"><img ng-if="!file.thumbnailLink" ng-src="{{ file.icon }}" alt="{{ file.name }}" class="file-icon-thumb pull-left"> <img ng-if="file.thumbnailLink" ng-src="{{ file.thumbnailLink }}" alt="{{ file.name }}" class="file-icon-thumb pull-left"> {{ file.name }}<br><small class="link-author">{{ file.uploadedBy.email }}</small> <span class="upload-date pull-right">{{ file.uploadDate | date:\'MMM d @ h:mm a\' }}</span></a></div><div class="list-group list-group-files"><li ng-if="!topic.links" class="list-group-item list-group-item-warning"><i class="ion-ios7-filing-outline"></i> No links yet.</li><a href="{{ link.url }}" target="_blank" class="list-group-item am-fade" ng-repeat="link in topic.links"><i class="ion-link"></i> {{ link.name }}<br><small class="link-author">{{ link.createdBy.email }}</small> <span class="upload-date pull-right">{{ link.url }}</span></a></div><a href="" ng-if="!$state.is(\'kickstart.assets\')" ui-sref="kickstart.assets({ id: kickstart._id })" ui-sref-opts="{reload: true}" class="btn btn-link no-padding">See All Files & Links <i class="ion-chevron-right"></i></a></div></div></div><div class="panel panel-default" ng-repeat="subtopic in subtopics"><div class="panel-heading"><h3 class="panel-title">{{ subtopic.name }}</h3></div><div class="panel-body"><div class="row"><div class="col-lg-6"><p class="lead lead-smaller" ng-bind-html="subtopic.instructional_text"></p><p><strong>EXAMPLES:</strong></p><p ng-bind-html="subtopic.examples"></p></div><div class="col-lg-6"><h5>{{ subtopic.name }} Notes:</h5><div class="textarea textarea-medium" ng-model="subtopic.notes" text-angular="" ta-toolbar="[[\'bold\',\'italics\',\'ul\',\'ol\']]"></div></div></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/kickstart.html', | |
'<div ng-include="" src="\'views/topbar/topbar.html\'"></div><div class="container"><div class="row"><div class="kickstart-header clearfix"><div class="col-lg-6"><div class="page-header"><h1 class="kickstart-name"><div ng-show="kickstart.edittingKickstartDetails" class="editForm am-fade"><form name="updateKickstartDetailsForm" ng-submit="updateKickstartDetails()" class="form-inline" role="form"><div class="form-group"><label class="sr-only" for="exampleInputEmail2">Email address</label><input style="width:195px" type="text" class="form-control input-lg" ng-model="kickstart.name" required=""></div><div class="form-group"><label class="sr-only" for="exampleInputPassword2">Password</label><input type="text" class="form-control input-lg" ng-model="kickstart.description" required=""></div><button type="submit" class="btn btn-default btn-lg">Save</button></form></div><div ng-show="!kickstart.edittingKickstartDetails" class="am-fade"><a ng-if="!kickstart.edittingKickstartDetails" href="" ng-click="goToDay(0)">{{ kickstart.name }}</a> <i class="ion-chevron-down kickstart-switcher-icon" ng-if="kickstarts.length > 1" data-animation="am-fade-and-slide-bottom" data-template="views/kickstart/popover/switcher.html" bs-dropdown=""></i><p class="lead">{{ kickstart.description }}</p></div></h1></div></div><div class="col-lg-6 kickstart-actions"><button class="btn btn-link btn-lg" data-template="views/kickstart/popover/add-link.html" data-animation="am-fade-and-slide-bottom" data-placement="bottom" data-trigger="click" bs-popover=""><i class="ion-link"></i> Links <i class="ion-chevron-down"></i></button><button class="btn btn-link btn-lg" data-template="views/kickstart/popover/files.html" data-animation="am-fade-and-slide-bottom" data-placement="bottom" data-trigger="click" bs-popover=""><i class="ion-archive"></i> Files <i class="ion-chevron-down"></i></button><button class="btn btn-link btn-lg" data-template="views/kickstart/popover/collaborators.html" data-animation="am-fade-and-slide-bottom" data-placement="bottom" data-trigger="click" bs-popover=""><i class="ion-person-stalker"></i> Collaborators <i class="ion-chevron-down"></i></button><button class="btn btn-link btn-lg btn-settings" data-template="views/kickstart/popover/settings.html" data-animation="am-fade-and-slide-bottom" data-placement="bottom" data-trigger="focus" data-container="body" bs-popover=""><i class="ion-settings"></i> Settings <i class="ion-chevron-down"></i></button></div></div></div><div class="container"><div class="row"><div class="col-lg-12"><div class="kickstart-days" ng-show="$state.is(\'kickstart.day\')"><div class="list-group"><a href="" ng-repeat="day in kickstartDays" ng-click="goToDay($index)" ng-class="{\'active\': dayFilter == $index}" class="list-group-item"><h4 class="list-group-item-heading">Day #{{ $index + 1 }} - {{ day | date:\'EEEE\'}}</h4><p class="list-group-item-text">{{ day | date }}</p></a></div></div></div></div></div><div class="container"><div class="row"><div class="col-lg-12"><div ui-view=""></div></div></div></div></div><div ng-include="" src="\'views/footer/footer.html\'"></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/modals/uploadFile.html', | |
'<div class="modal" tabindex="-1" role="dialog"><form name="uploadFileForm" ng-submit="uploadFile()"><div class="modal-dialog"><div class="modal-content"><div class="modal-header" å=""><button type="button" class="close" ng-click="$hide()">×</button><h4 class="modal-title">Upload a File</h4></div><div class="modal-body"><div class="form-group"><label for="exampleInputFile">Choose File</label><input type="file" id="exampleInputFile" name="file" file-model="myFile" required=""><p class="help-block">Most file formats are supported.</p></div></div><div class="modal-footer"><button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-arrow-up"></i> Upload File</button><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></form></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/topbar/topbar.html', | |
'<nav class="navbar navbar-inverse" role="navigation" ng-controller="TopBarCtrl"><div class="container"><div class="navbar-header"><a class="navbar-brand" ui-sref="dashboard" ui-sref-opts="{reload: true}"><i class="ion-social-buffer productizer-logo"></i> productizer.io <span class="alpha">pre-alpha</span></a></div><ul class="nav navbar-nav navbar-right hidden-xs"><li ng-show="user"><a ui-sref="profile({ id: user._id })"><span ng-if="user._socialIdentity"><i ng-if="!user.email" class="glyphicon glyphicon-user"></i> <img ng-if="user.email" class="gravatar-img" gravatar-src="user.email" gravatar-size="40"> {{ user._socialIdentity.linkedIn.firstName }} {{ user._socialIdentity.linkedIn.lastName }}</span> <span ng-if="!user._socialIdentity"><img class="gravatar-img" gravatar-src="user.email" gravatar-size="40"> {{ user.email }}</span></a></li><li ng-show="user"><button ng-click="logout()" type="button" class="btn btn-link-danger navbar-btn">Logout</button></li></ul></div></nav>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/user/profile.html', | |
'<div ng-include="" src="\'views/topbar/topbar.html\'"></div><div class="container"><div class="row"><div class="col-lg-3"><img class="profile-img" gravatar-src="user.email" gravatar-size="300"><button class="btn btn-primary btn-lg btn-block" style="background:rgba(14, 118, 168, 1.0);border:0;" ng-click="linkSocialAccount(\'linkedIn\')"><i class="ion-social-linkedin"></i> Link LinkedIn Acct</button></div><div class="col-lg-9"><div class="page-header"><h1>{{ user.email }} <small>Profile</small></h1><p>Things todo:</p><ul><li>if the user registered normally, allow them to connect with social networks here.</li><li>if the user signed up with a social network, allow them to add an email address here.</li></ul></div><pre>{{ user|json }}</pre></div></div><div ng-include="" src="\'views/footer/footer.html\'"></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/dashboard/popover/reset-password.html', | |
'<div class="popover kickstart-popover"><div class="arrow"></div><div class="popover-content"><div class="alert alert-success am-fade" ng-if="emailResetSuccessMessage">Reset email sent to {{ resetPasswordEmail }}</div><form name="resetPasswordForm" role="form" ng-submit="resetPassword()"><div class="form-group"><label class="sr-only" for="linkName">Email</label><input type="email" class="form-control" ng-model="resetPasswordEmail" id="linkName" placeholder="Email Address" required=""></div><button type="submit" ng-disabled="resetPasswordForm.$invalid" class="btn btn-primary btn-block">Reset Password</button></form></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/add-link.html', | |
'<div class="popover kickstart-popover"><div class="arrow"></div><div class="popover-content"><p class="popover-subtitle">Add links to external resources such as websites or any other collateral you may feel useful. Examples: reference sites, internal documents.</p><form name="addLinkForm" class="form-inline" role="form" ng-submit="addLink()"><div class="form-group"><label class="sr-only" for="linkName">Link Name</label><input type="text" class="form-control" ng-model="linkName" id="linkName" placeholder="Name (Optional)"></div><div class="form-group"><label class="sr-only" for="linkURL">Link URL</label><input type="text" style="width: 170px;" class="form-control" ng-model="linkURL" id="linkURL" placeholder="URL" required=""></div><button type="submit" ng-disabled="addLinkForm.$invalid" class="btn btn-primary">Add New Link</button></form><hr><table class="table table-kickstart-links am-fade" ng-show="kickstart.links.length > 0"><thead><tr><th>Name</th><th>URL</th></tr></thead><tbody><tr ng-repeat="link in kickstart.links" class="am-fade"><td style="width: 265px;">{{ link.name }}</td><td><a class="link-url" target="_blank" href="{{ link.url }}">{{ link.url }}</a></td></tr></tbody></table></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/attach-files.html', | |
'<div class="popover kickstart-popover kickstart-popover-attach-files"><div class="arrow"></div><div class="popover-content"><p class="popover-subtitle text-center"><small>Attach files relevant to this topic.</small></p><input type="text" class="form-control" placeholder="Search..." ng-model="search" style="margin-bottom: 10px;"><div class="list-group list-group-no-margin"><p class="text-center" ng-if="!kickstart.files"><strong>No files yet.</strong><br>Add files to your kickstart before associated them to individual topics.</p><a href="" ng-click="attachFile(file)" class="list-group-item am-fade-and-scale" ng-repeat="file in kickstart.files | filter:search"><img ng-src="{{ file.icon }}" alt="" style="width:16px"> <strong>{{ file.name }}</strong></a></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/attach-link.html', | |
'<div class="popover kickstart-popover"><div class="arrow"></div><div class="popover-content"><p class="popover-subtitle text-center"><small>Attach external links relevant to this topic.</small></p><input type="text" class="form-control" placeholder="Search..." ng-model="linkSearch" style="margin-bottom: 10px;"><div class="list-group list-group-no-margin"><a href="" ng-click="attachLink(link)" class="list-group-item am-fade-and-scale" ng-repeat="link in kickstart.links | filter:linkSearch"><i class="ion-link"></i> <strong>{{ link.name }}</strong></a></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/collaborators.html', | |
'<div class="popover kickstart-popover"><div class="arrow"></div><h3 class="popover-title"><strong>Invite Collaborators</strong></h3><div class="popover-content"><form class="form-inline"><div class="form-group"><input type="email" class="form-control" placeholder="Email" ng-model="collaboratorEmail" required=""></div><div class="form-group"><button type="button" class="btn btn-default" ng-model="collaboratorIsAdmin" bs-checkbox=""><span ng-if="!collaboratorIsAdmin"><i class="ion-ios7-circle-outline"></i> Admin</span> <span ng-if="collaboratorIsAdmin"><i class="ion-ios7-circle-filled"></i> Admin</span></button></div><div class="form-group"><button ng-click="inviteUser()" type="submit" ng-disabled="inviteCollaboratorsForm.$invalid" class="form-control btn btn-primary"><strong ng-if="!inviting">Invite <span ng-if="collaboratorIsAdmin">Admin</span></strong> <strong ng-if="inviting">Sending...</strong></button></div></form></div><h3 class="popover-title"><strong>Kickstart Collaborators</strong></h3><div class="popover-content"><ul class="list-unstyled no-margin"><div ng-if="!collaborators.length" class="alert alert-warning no-margin">No collaborators yet. Invite some!</div><li ng-repeat="collaborator in collaborators"><strong>{{ collaborator.email }}</strong> <small class="status">{{ collaborator.status }}</small></li></ul></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/files.html', | |
'<div class="popover kickstart-popover kickstart-files-popover" ng-controller="KickstartFilesCtrl"><div class="arrow"></div><div class="popover-content"><table class="table table-hover"><thead><tr></tr></thead><tbody><tr ng-repeat="file in kickstart.files"><td style="width: 40px;"><img ng-src="{{ file.icon }}" alt="" style="width:30px;"></td><td><a target="_blank" href="{{ file.link }}"><strong>{{ file.name }}</strong></a><br><small>{{ file.uploadedBy.username }}</small></td><td><i ng-click="removeFile($index, file)" class="ion-close"></i></td></tr></tbody></table><div class="popover-content"><div id="result"></div><div class="form-group"><button ng-click="addFileFromDropbox()" class="btn btn-link btn-lg btn-link-no-padding"><img src="img/dropbox-glyph-blue.png" width="24px" alt=""> Add Files From Dropbox</button><button ng-click="addFileFromDrive()" class="btn btn-link btn-lg btn-link-no-padding"><img src="http://icons.iconarchive.com/icons/marcus-roberto/google-play/512/Google-Drive-icon.png" width="24px" alt=""> Add From Drive</button></div></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/kickstart-selector.html', | |
'<div class="popover kickstart-popover-settings"><div class="arrow"></div><h3 class="popover-title"><strong>Kickstart Settings</strong></h3><div class="popover-content"><ul><li>KICKSTART ONE</li><li>KICKSTART ONE</li><li>KICKSTART ONE</li></ul></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/remove-link.html', | |
'<div class="popover kickstart-popover-settings"><div class="arrow"></div><div class="popover-content"><p class="text-center"><strong>Are you sure?</strong></p><button ng-click="removeLink(key, link)" class="btn btn-danger">Yes, Remove</button></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/remove.html', | |
'<div class="popover kickstart-popover-settings"><div class="arrow"></div><div class="popover-content"><p class="text-center"><strong>Are you sure?</strong></p><button ng-click="removeKickstart($index, kickstart)" class="btn btn-danger">Yes, Remove</button></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/settings.html', | |
'<div class="popover kickstart-popover-settings"><div class="arrow"></div><div class="popover-content text-left"><ul class="list-unstyled"><li ng-if="!kickstart.edittingKickstartDetails"><button class="btn btn-link" ng-click="kickstart.edittingKickstartDetails = true">Edit Name / Description</button></li><li><button class="btn btn-link" ui-sref="dashboard.new.schedule({ id: kickstart._id })">Edit Dates / Schedule</button></li><li><button class="btn btn-link-danger">Delete Kickstart</button></li></ul></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/kickstart/popover/switcher.html', | |
'<div class="popover kickstart-popover-switcher"><div class="arrow"></div><div class="popover-content"><div class="list-group no-margin"><a class="list-group-item" ng-repeat="kickstart in kickstarts" href="" ui-sref="kickstart.day({ id: kickstart._id, dayId: 0 })">{{ kickstart.name }}<p class="no-margin">{{ kickstart.description | limitTo:100 }}</p></a></div></div></div>'); | |
}]); | |
})(); | |
(function(module) { | |
try { | |
module = angular.module('appViews'); | |
} catch (e) { | |
module = angular.module('appViews', []); | |
} | |
module.run(['$templateCache', function($templateCache) { | |
$templateCache.put('views/user/modals/missing-email-modal.html', | |
'<div class="modal" tabindex="-1" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$hide()">×</button><h4 class="modal-title text-center"><strong>Hey, we\'re almost there...</strong></h4></div><div class="modal-body"><div class="alert alert-warning am-fade" ng-show="userError"><strong><i class="ion-nuclear"></i> It seems that you already have an account with that email address.</strong><br>Please log in and assocaite your social accounts in your profile.</div><p class="larger">We need your email to communicate with you about things. We didn\'t get that back when you logged in with your social network, so please provide it here:</p><form class="form-inline" ng-submit="getUserEmail()" action=""><div class="form-group"><input type="email" style="width:350px" ng-model="userEmail" class="form-control input-lg" placeholder="Your email address" autofocus="" required=""></div><button type="submit" class="btn btn-link btn-lg"><span class="am-fade-and-slide-bottom" ng-show="!creatingUser">Continue <i class="ion-chevron-right"></i></span> <span class="am-fade-and-slide-bottom" ng-show="creatingUser"><i class="ion-loading-c"></i> <strong>Getting you started...</strong></span></button></form></div></div></div></div>'); | |
}]); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment