Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lab-claudia/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2015"]
}
4 changes: 4 additions & 0 deletions lab-claudia/.client.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NODE_ENV="dev"
TITLE="Photo Gallery"
API_URL="http://localhost:3000"
GOOGLE_CLIENT_ID="308322069962-972jlkfpbov9cd88ot0dtdtc2lgfutdl.apps.googleusercontent.com"
2 changes: 2 additions & 0 deletions lab-claudia/.coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: yyiFHQhz99RneXclnlk7FeYimmLptZvAK
5 changes: 5 additions & 0 deletions lab-claudia/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/node_modules/*
**/vendor/*
**/*.min.js
**/coverage/*
**/build/*
28 changes: 28 additions & 0 deletions lab-claudia/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"rules": {
"no-console": "off",
"indent": [ "error", 2 ],
"semi": ["error", "always"],
"linebreak-style": [ "error", "unix" ],
"comma-dangle": ["error", "always-multiline"],
"quotes": ["error", "single", { "allowTemplateLiterals": true }]
},
"env": {
"es6": true,
"node": true,
"mocha": true,
"jasmine": true
},
"globals": {
"angular": "true",
"window": false,
"__API_URL__": false,
"__DEBUG__": false
},
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true,
"impliedStrict": true
},
"extends": "eslint:recommended"
}
163 changes: 163 additions & 0 deletions lab-claudia/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
#Other
db
*.env
build
coverage
html-report

# Created by https://www.gitignore.io/api/osx,linux,vim,sublimetext,windows,node

### OSX ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*


### Vim ###
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags


### SublimeText ###
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache

# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project

# sftp configuration file
sftp-config.json

# Package control specific files
Package Control.last-run
Package Control.ca-list
Package Control.ca-bundle
Package Control.system-ca-bundle
Package Control.cache/
Package Control.ca-certs/
bh_unicode_properties.cache

# Sublime-github package stores a github token in this file
# https://packagecontrol.io/packages/sublime-github
GitHub.sublime-settings


### Windows ###
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk


### Node ###
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz
12 changes: 12 additions & 0 deletions lab-claudia/.server.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PORT=3000
NODE_ENV="dev"
MONGODB_URI=mongodb://localhost/art-c-dev
API_URL="http://localhost:3000"
APP_SECRET='my secret code'

AWS_ACCESS_KEY_ID=AKIAJ6E6ZFEP6BJYUUPQ
AWS_SECRET_ACCESS_KEY=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

AWS_BUCKET='tastytoast-assets'
GOOGLE_CLIENT_ID="308322069962-972jlkfpbov9cd88ot0dtdtc2lgfutdl.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET="O9l0XN3xShCX-wTWS_LHv9Gf"
20 changes: 20 additions & 0 deletions lab-claudia/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: node_js
node_js:
- '4.4.3'
services:
- mongodb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CXX=g++-4.8
sudo: required
before_script: npm i -g eslint mocha
after_success: npm run coveralls
script:
- npm test
- npm run lint
15 changes: 15 additions & 0 deletions lab-claudia/app/component/artist/artist-nav/_artist-nav.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@import "theme";

.artist-navbar {
background-color: $app-black;
color: $app-white;

.artist-nav-btn {
background-color: transparent;
margin: 2%;
}

.artist-nav-btn:hover {
color: $app-white;
}
}
31 changes: 31 additions & 0 deletions lab-claudia/app/component/artist/artist-nav/artist-nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<nav class="artist-navbar">
<div class="container-fluid nav-container">

<button
ng-click=""
class="btn artist-nav-btn">
Home
</button>

<button
ng-click="artistNavCtrl.editProfile()"
class="btn artist-nav-btn">
Profile
</button>

<button
ng-click="artistNavCtrl.viewGallery()"
class="btn artist-nav-btn">
Edit Galleries
</button>

<button
ng-click=""
class="btn artist-nav-btn">
Favorites
</button>
</div>

<div class="search">
</div>
</nav>
24 changes: 24 additions & 0 deletions lab-claudia/app/component/artist/artist-nav/artist-nav.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
'use strict';

require('./_artist-nav.scss');

module.exports = {
template: require('./artist-nav.html'),
controller: ['$log', '$location', artistNavController],
controllerAs: 'artistNavCtrl',
};

function artistNavController($log, $location) {
$log.debug('init artistNavCtrl');

this.viewGallery = function(){
$log.log('navbarCtrl.viewGallery()');
$location.url('/gallery');
};

this.updateProfile = function(){
$log.log('navbarCtrl.updateProfile()');
$location.url('/profile');
};

}
75 changes: 75 additions & 0 deletions lab-claudia/app/component/artist/create-artist/_create-artist.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
@import "theme";

.create-artist-container {

.artist-form {
background-color: $app-white;
input,
select {
width: 80%;
font-size: 100%;
background-color: transparent;
text-transform: uppercase;
border:none;
border-bottom: 1.5px solid $app-primary;
margin: 3%;
padding: 1% 0;
color: $app-white;
}

input:focus{
outline: none;
}
/*---- Changes Placeholder Color -----*/
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: $app-primary;
}


/* General Button Styles */
.btn {
background-color: rgba(255,255,255,.3);
border: none;
text-transform: uppercase;
border-radius: 3px;
font-size: 120%;
padding: 1.5% 2%;
margin-top: 3%;
width: 25%;
transition: all 0.3s;
color: $app-secondary;
}

.btn:hover {
background:rgba(255,255,255,1);
color: $app-black;
}

p {
padding: 2%;
display: inline-block;
color: $app-white;
}

a {
display: inline-block;
font-size: 1.2em;
text-decoration: none;
}

@media (min-width: 400px) {
width: 90%;
}

@media (min-width: 600px) {
width: 65%;
}

@media (min-width: 1000px) {
width: 50%;
}
}


}
Loading