diff --git a/.elasticbeanstalk/config.yml b/.elasticbeanstalk/config.yml index 3a7cc1be017a40de6a267b2c3c696c4252ff0fc7..cd558c9735f25e36cd220c7eea685b88c92b1996 100644 --- a/.elasticbeanstalk/config.yml +++ b/.elasticbeanstalk/config.yml @@ -1,10 +1,12 @@ branch-defaults: - $GITBRANCH: - environment: $EBENV + $GIT_BRANCH: + environment: $EB_ENV global: - application_name: $EBAPP + application_name: $EB_APP default_ec2_keyname: EastCoastBPKey default_platform: 64bit Amazon Linux 2015.09 v2.0.8 running Docker 1.9.1 default_region: us-east-1 profile: null sc: git +deploy: + artifact: deployment.zip diff --git a/.gitignore b/.gitignore index 3722dc3f222bbb0eb71fb1ba739d66a79f0fc0c2..15037eae2b03e50e2d2abc321dbb3b5444235d10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,12 @@ -# Python -__pycache__ -*.pyc - # Docker .cache # Config -app/config/production.py -app/config/development.py -app/config/test.py -config.json +config.ts -# SQLite -*.db +# NPM Logs +npm-debug.log +front/node_modules/* # PyCharm .idea @@ -36,5 +30,11 @@ virtpy/ # Local Dev Folder /local_dev +# Gulp Generated CSS +front/current/styles.css + #Index ignore front/index.html + +# Vim +*.swp diff --git a/config/dev.config.ts b/config/dev.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..781445dd34e9043c80b406993499760f4d2a07eb --- /dev/null +++ b/config/dev.config.ts @@ -0,0 +1,13 @@ +import { Headers } from 'angular2/http'; + +export class config { + public static SERVICES:any = { + "user": {"url": "http://127.0.0.1:5600"}, + "project": {"url": "http://127.0.0.1:5310"}, + "document": {"url": "http://127.0.0.1:5320"} + }; + public static HEADERS = new Headers({ + 'x-blocpower-app-key': '$APP_KEY' + }); + public static static_url:string = '/current'; +}; diff --git a/config/dev.default.json b/config/dev.default.json deleted file mode 100644 index 94080b2496a9535c5cf9a9e83e2b87855cfd3478..0000000000000000000000000000000000000000 --- a/config/dev.default.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "services": { - "user": {"url": "http://127.0.0.1:5600"}, - "project": {"url": "http://127.0.0.1:5310"}, - "document": {"url": "http://127.0.0.1:5320"} - }, - "app_key": "$APP_KEY" -} diff --git a/config/production.config.ts b/config/production.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..9e99a36ba584c1cdfd44e9ad6089b1f5d7c6f99b --- /dev/null +++ b/config/production.config.ts @@ -0,0 +1,13 @@ +import { Headers } from 'angular2/http'; + +export class config { + public static SERVICES:any = { + "user": {"url": "http://user.s.blocpower.us"}, + "project": {"url": "http://project.s.blocpower.us"}, + "document": {"url": "http://document.s.blocpower.us"} + }; + public static HEADERS = new Headers({ + 'x-blocpower-app-key': '$APP_KEY' + }); + public static static_url:string = '$CURRENT'; +}; diff --git a/config/production.default.json b/config/production.default.json deleted file mode 100644 index 821b52abfc120f83559d57a2c2777e044c81eaf8..0000000000000000000000000000000000000000 --- a/config/production.default.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "services": { - "user": {"url": "http://user.s.blocpower.us"}, - "project": {"url": "http://project.s.blocpower.us"}, - "document": {"url": "http://document.s.blocpower.us"} - }, - "app_key": "$APP_KEY" -} diff --git a/config/staging.config.ts b/config/staging.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..d8a54a4d0b9fdaee56ea9a66d394260c5ee3ea5b --- /dev/null +++ b/config/staging.config.ts @@ -0,0 +1,13 @@ +import { Headers } from 'angular2/http'; + +export class config { + public static SERVICES:any = { + "user": {"url": "http://staging.user.s.blocpower.us"}, + "project": {"url": "http://staging.project.s.blocpower.us"}, + "document": {"url": "http://staging.document.s.blocpower.us"} + }; + public static HEADERS = new Headers({ + 'x-blocpower-app-key': '$APP_KEY' + }); + public static static_url:string = '$CURRENT'; +}; diff --git a/config/staging.default.json b/config/staging.default.json deleted file mode 100644 index 9a39559baca3072a50290af8b0f1f6cc175796ef..0000000000000000000000000000000000000000 --- a/config/staging.default.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "services": { - "user": {"url": "http://staging.user.s.blocpower.us"}, - "project": {"url": "http://staging.project.s.blocpower.us"}, - "document": {"url": "http://staging.document.s.blocpower.us"} - }, - "app_key": "$APP_KEY" -} diff --git a/front/current/assets/fontello/config.json b/front/current/assets/fontello/config.json new file mode 100644 index 0000000000000000000000000000000000000000..ffc5166a05d8b1d8625a0322320ce06b59d20155 --- /dev/null +++ b/front/current/assets/fontello/config.json @@ -0,0 +1,28 @@ +{ + "name": "blocpower", + "css_prefix_text": "icon-", + "css_use_suffix": false, + "hinting": true, + "units_per_em": 1000, + "ascent": 850, + "glyphs": [ + { + "uid": "3a6f0140c3a390bdb203f56d1bfdefcb", + "css": "gauge", + "code": 59392, + "src": "entypo" + }, + { + "uid": "f805bb95d40c7ef2bc51b3d50d4f2e5c", + "css": "list", + "code": 59394, + "src": "fontawesome" + }, + { + "uid": "2a6740fc2f9d0edea54205963f662594", + "css": "spinner", + "code": 59393, + "src": "fontelico" + } + ] +} \ No newline at end of file diff --git a/front/current/assets/fontello/css/animation.css b/front/current/assets/fontello/css/animation.css new file mode 100644 index 0000000000000000000000000000000000000000..ac5a9562fbd637637048f00b8a8eb86e6dbb4f88 --- /dev/null +++ b/front/current/assets/fontello/css/animation.css @@ -0,0 +1,85 @@ +/* + Animation example, for spinners +*/ +.animate-spin { + -moz-animation: spin 2s infinite linear; + -o-animation: spin 2s infinite linear; + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; + display: inline-block; +} +@-moz-keyframes spin { + 0% { + -moz-transform: rotate(0deg); + -o-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(359deg); + -o-transform: rotate(359deg); + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@-webkit-keyframes spin { + 0% { + -moz-transform: rotate(0deg); + -o-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(359deg); + -o-transform: rotate(359deg); + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@-o-keyframes spin { + 0% { + -moz-transform: rotate(0deg); + -o-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(359deg); + -o-transform: rotate(359deg); + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@-ms-keyframes spin { + 0% { + -moz-transform: rotate(0deg); + -o-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(359deg); + -o-transform: rotate(359deg); + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} +@keyframes spin { + 0% { + -moz-transform: rotate(0deg); + -o-transform: rotate(0deg); + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100% { + -moz-transform: rotate(359deg); + -o-transform: rotate(359deg); + -webkit-transform: rotate(359deg); + transform: rotate(359deg); + } +} diff --git a/front/current/assets/fontello/css/blocpower-codes.css b/front/current/assets/fontello/css/blocpower-codes.css new file mode 100644 index 0000000000000000000000000000000000000000..2bc3c799a95265e5722c2c9801973396cfc45408 --- /dev/null +++ b/front/current/assets/fontello/css/blocpower-codes.css @@ -0,0 +1,4 @@ + +.icon-gauge:before { content: '\e800'; } /* '' */ +.icon-spinner:before { content: '\e801'; } /* '' */ +.icon-list:before { content: '\e802'; } /* '' */ \ No newline at end of file diff --git a/front/current/assets/fontello/css/blocpower-embedded.css b/front/current/assets/fontello/css/blocpower-embedded.css new file mode 100644 index 0000000000000000000000000000000000000000..81f09e30197b462776747c860a6ce24e889c403c --- /dev/null +++ b/front/current/assets/fontello/css/blocpower-embedded.css @@ -0,0 +1,57 @@ +@font-face { + font-family: 'blocpower'; + src: url('../font/blocpower.eot?64008959'); + src: url('../font/blocpower.eot?64008959#iefix') format('embedded-opentype'), + url('../font/blocpower.svg?64008959#blocpower') format('svg'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: 'blocpower'; + src: url('data:application/octet-stream;base64,d09GRgABAAAAAA0c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CQQCA0VYIRsjIVlCK7AIZbADJFB4sAEVMC0AS7gAyFJYsQEBjlmwAbkIAAgAY3CxAAVCsgABACqxAAVCswoCAQgqsQAFQrMOAAEIKrEABkK6AsAAAQAJKrEAB0K6AEAAAQAJKrEDAESxJAGIUViwQIhYsQNkRLEmAYhRWLoIgAABBECIY1RYsQMARFlZWVmzDAIBDCq4Af+FsASNsQIARAAA') format('truetype'); +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'blocpower'; + src: url('../font/blocpower.svg?64008959#blocpower') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "blocpower"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} +.icon-gauge:before { content: '\e800'; } /* '' */ +.icon-spinner:before { content: '\e801'; } /* '' */ +.icon-list:before { content: '\e802'; } /* '' */ \ No newline at end of file diff --git a/front/current/assets/fontello/css/blocpower-ie7-codes.css b/front/current/assets/fontello/css/blocpower-ie7-codes.css new file mode 100644 index 0000000000000000000000000000000000000000..d9ff95f951288e0a11213d8054ed49aa74613a0b --- /dev/null +++ b/front/current/assets/fontello/css/blocpower-ie7-codes.css @@ -0,0 +1,4 @@ + +.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-spinner { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } \ No newline at end of file diff --git a/front/current/assets/fontello/css/blocpower-ie7.css b/front/current/assets/fontello/css/blocpower-ie7.css new file mode 100644 index 0000000000000000000000000000000000000000..ae9632981f0ad65fe77ae96ff6d5daca4a1f351a --- /dev/null +++ b/front/current/assets/fontello/css/blocpower-ie7.css @@ -0,0 +1,15 @@ +[class^="icon-"], [class*=" icon-"] { + font-family: 'blocpower'; + font-style: normal; + font-weight: normal; + + /* fix buttons height */ + line-height: 1em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ +} + +.icon-gauge { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-spinner { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } +.icon-list { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); } \ No newline at end of file diff --git a/front/current/assets/fontello/css/blocpower.css b/front/current/assets/fontello/css/blocpower.css new file mode 100644 index 0000000000000000000000000000000000000000..caf0caf1266a7caef171ffee0a4963af404aa795 --- /dev/null +++ b/front/current/assets/fontello/css/blocpower.css @@ -0,0 +1,60 @@ +@font-face { + font-family: 'blocpower'; + src: url('../font/blocpower.eot?85810131'); + src: url('../font/blocpower.eot?85810131#iefix') format('embedded-opentype'), + url('../font/blocpower.woff2?85810131') format('woff2'), + url('../font/blocpower.woff?85810131') format('woff'), + url('../font/blocpower.ttf?85810131') format('truetype'), + url('../font/blocpower.svg?85810131#blocpower') format('svg'); + font-weight: normal; + font-style: normal; +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'blocpower'; + src: url('../font/blocpower.svg?85810131#blocpower') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "blocpower"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +.icon-gauge:before { content: '\e800'; } /* '' */ +.icon-spinner:before { content: '\e801'; } /* '' */ +.icon-list:before { content: '\e802'; } /* '' */ \ No newline at end of file diff --git a/front/current/assets/fontello/font/blocpower.eot b/front/current/assets/fontello/font/blocpower.eot new file mode 100644 index 0000000000000000000000000000000000000000..4efe16fc89364723f90a132eb9125d26941ac25a Binary files /dev/null and b/front/current/assets/fontello/font/blocpower.eot differ diff --git a/front/current/assets/fontello/font/blocpower.svg b/front/current/assets/fontello/font/blocpower.svg new file mode 100644 index 0000000000000000000000000000000000000000..ca9fba6671e3227fb88239ae6899d94a7686c73c --- /dev/null +++ b/front/current/assets/fontello/font/blocpower.svg @@ -0,0 +1,16 @@ + + + \ No newline at end of file diff --git a/front/current/assets/fontello/font/blocpower.ttf b/front/current/assets/fontello/font/blocpower.ttf new file mode 100644 index 0000000000000000000000000000000000000000..c5232509e2a4297d5d0b3f96331e12572c680623 Binary files /dev/null and b/front/current/assets/fontello/font/blocpower.ttf differ diff --git a/front/current/assets/fontello/font/blocpower.woff b/front/current/assets/fontello/font/blocpower.woff new file mode 100644 index 0000000000000000000000000000000000000000..23304ec169c448905d92087add71b23a0e9225e4 Binary files /dev/null and b/front/current/assets/fontello/font/blocpower.woff differ diff --git a/front/current/assets/fontello/font/blocpower.woff2 b/front/current/assets/fontello/font/blocpower.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..08b11da20fdcdc8214044d38306d0cdfab6a8a17 Binary files /dev/null and b/front/current/assets/fontello/font/blocpower.woff2 differ diff --git a/front/current/assets/images/logo.png b/front/current/assets/images/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..b39d6c529834693432defe80a64383bf01bd41ad Binary files /dev/null and b/front/current/assets/images/logo.png differ diff --git a/front/current/assets/styles/components/_animation.scss b/front/current/assets/styles/components/_animation.scss new file mode 100644 index 0000000000000000000000000000000000000000..c2cd1b833b8e9a7afd2ef5283fbe9f3b97a8efcd --- /dev/null +++ b/front/current/assets/styles/components/_animation.scss @@ -0,0 +1,19 @@ +.rotating { + display: inline-block; + -webkit-animation: rotation 2s linear infinite; + -moz-animation: rotation 2s linear infinite; + animation: rotation 2s linear infinite; +} +@-webkit-keyframes rotation { + from { -webkit-transform: rotate(0deg); } + to { -webkit-transform: rotate(359deg); } +} +@-moz-keyframes rotation { + from { -moz-transform: rotate(0deg); } + to { -moz-transform: rotate(359deg); } +} +@keyframes rotation { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + diff --git a/front/current/assets/styles/components/_button.scss b/front/current/assets/styles/components/_button.scss new file mode 100644 index 0000000000000000000000000000000000000000..30e6ffc8676fe3286653b06952e11510b9e6661a --- /dev/null +++ b/front/current/assets/styles/components/_button.scss @@ -0,0 +1,9 @@ +button { + background: $gray-02; + border-radius: 30px; + line-height: 30px; + border: none; + color: $white; + cursor: pointer; + +} diff --git a/front/current/assets/styles/components/_global.scss b/front/current/assets/styles/components/_global.scss new file mode 100644 index 0000000000000000000000000000000000000000..3a545ef8819bd59984b2a72a0724f53d3b78cf9b --- /dev/null +++ b/front/current/assets/styles/components/_global.scss @@ -0,0 +1,106 @@ +/*! Typebase.less v0.1.0 | MIT License */ + +// Typesetting variables. Edit these! +$baseFontSize: 14px; // in pixels. This would result in 22px on desktop +$baseLineHeight: 1.5; // how large the line height is as a multiple of font size +$leading: $baseLineHeight * 1rem; + +// Rate of growth for headings +// I actually like this to be slightly smaller then the leading. Makes for tight headings. +$scale: 1.414; + +/* Setup */ +html { + /* Change default typefaces here */ + font-family: "MuseoSansRounded", Helvetica, sans-serif; + font-size: $baseFontSize; + + // Make everything look a little nicer in webkit + -webkit-font-smoothing: antialiased; + + // -webkit-text-size-adjust: auto + // -moz-text-size-adjust: auto + // -ms-text-size-adjust: auto + // -o-text-size-adjust: auto + // text-size-adjust: auto +} + +body { + margin: 0; + height: 100%; +} +/* Copy & Lists */ +p { + line-height: $leading; + margin-top: $leading; + margin-bottom: 0; +} +ul, ol { + margin: $leading, 0, $leading, 0; + padding: 0; + li { + line-height: $leading; + } + ul, ol { + margin-top: 0; + margin-bottom: 0; + } +} +blockquote { + line-height: $leading; + margin-top: $leading; + margin-bottom: $leading; +} +/* Headings */ +h1, h2, h3, h4, h5, h6 { + /* Change heading typefaces here */ + font-family: sans-serif; + margin-top: $leading; + margin-bottom: 0; + line-height: $leading; +} +h1 { + font-size: 3 * $scale * 1rem; + line-height: 3 * $leading; + margin-top: 2 * $leading; +} +h2 { + font-size: 2 * $scale * 1rem; + line-height: 2 * $leading; + margin-top: 2 * $leading; +} +h3 { + font-size: 1 * $scale * 1rem; +} +h4 { + font-size: $scale / 2 * 1rem; +} +h5 { + font-size: $scale / 3 * 1rem; +} +h6 { + font-size: $scale / 4 * 1rem; +} + +/* Tables */ +table { + border-spacing: 0px; + border-collapse: collapse; +} + td, th { + padding: 0; + } +/* Code blocks */ +code { + // Forces text to constrain to the line-height. Not ideal, but works. + vertical-align: bottom; +} +/* Leading paragraph text */ +.lead { + font-size: $scale * 1rem; +} + +/* Hug a the block above you */ +.hug { + margin-top: 0; +} diff --git a/front/current/assets/styles/components/_loaders.scss b/front/current/assets/styles/components/_loaders.scss new file mode 100644 index 0000000000000000000000000000000000000000..ec9df7d3a92f2f64256b8fde60bd5530c50ab903 --- /dev/null +++ b/front/current/assets/styles/components/_loaders.scss @@ -0,0 +1,12 @@ +.fullscreen-loader { + display: table-cell; + height: 100vh; + width: 100vw; + + font-size: 3em; + + text-align: center; + vertical-align: middle; + + color: $black; +} diff --git a/front/current/assets/styles/components/_nav.scss b/front/current/assets/styles/components/_nav.scss new file mode 100644 index 0000000000000000000000000000000000000000..4a17ae20559eecd08e8a64d6c55aa38308afc619 --- /dev/null +++ b/front/current/assets/styles/components/_nav.scss @@ -0,0 +1,40 @@ +nav.vertical { + background-color: $gray-01; + width: 50px; + height: 100%; + float: left; + margin-right: 10px; + + ul { + margin: 0; + + li { + display: block; + list-style: none; + + a { + display: block; + padding: 14px; + color: inherit; + &:visited { + color: inherit; + } + &:active { + color: inherit; + } + &:hover { + color: inherit; + } + &.logo { + padding: 7px; + img { + width: 35px; + } + } + } + &.current { + background: $white; + } + } + } +} diff --git a/front/current/assets/styles/components/_project-list.scss b/front/current/assets/styles/components/_project-list.scss new file mode 100644 index 0000000000000000000000000000000000000000..b0318b6328ef52371a6b8935709f1b00d37ae7ab --- /dev/null +++ b/front/current/assets/styles/components/_project-list.scss @@ -0,0 +1,32 @@ +table.projects { + width: calc(100% - 60px); // TODO Replace this with something more global. + color: $gray-02; + font-size: .9em; + + th.project-state, td.project-state { + width: 150px; + } + + tr { + border-bottom: 1px solid $light-gray; + + th, td { + line-height: 1.5em; + padding: 5px; + } + th { + text-transform: uppercase; + font-weight: normal; + text-align: left; + } + td { + text-align: left; + } + } + + tbody { + tr:last-child { + border-bottom: none; + } + } +} diff --git a/front/current/assets/styles/components/_project.scss b/front/current/assets/styles/components/_project.scss new file mode 100644 index 0000000000000000000000000000000000000000..7cec497c8bb8e40beb95c65a08673fa5562d8885 --- /dev/null +++ b/front/current/assets/styles/components/_project.scss @@ -0,0 +1,6 @@ +.project-state { + text-transform: uppercase; + + &[data-state=pending] { color: $orange; } + &[data-state=accepted] { color: $light-green; } +} diff --git a/front/current/assets/styles/styles.scss b/front/current/assets/styles/styles.scss new file mode 100644 index 0000000000000000000000000000000000000000..791c60fe31a549b0ef80a565af610c9f16ff52a1 --- /dev/null +++ b/front/current/assets/styles/styles.scss @@ -0,0 +1,13 @@ +@charset 'utf-8'; + +// Variables +@import 'variables/theme'; + +// Components +@import 'components/global'; +@import 'components/animation'; +@import 'components/button'; +@import 'components/nav'; +@import 'components/project'; +@import 'components/project-list'; +@import 'components/loaders'; diff --git a/front/current/assets/styles/variables/_theme.scss b/front/current/assets/styles/variables/_theme.scss new file mode 100644 index 0000000000000000000000000000000000000000..e3ee04bc7360c5c3dbb1eb684bf91a09f1246784 --- /dev/null +++ b/front/current/assets/styles/variables/_theme.scss @@ -0,0 +1,11 @@ +$gray-01: #7e7e7e; +$gray-02: #585858; +$light-gray: #9b9b9b; + +$orange: #ff9900; +$red: #f6301d; + +$light-green: #2faa6f; + +$white: #ffffff; +$black: #111111; diff --git a/front/current/config/.gitignore b/front/current/config/.gitignore deleted file mode 100644 index b1c572c5b4b30b9f35e0e9692bb6baf2e387e644..0000000000000000000000000000000000000000 --- a/front/current/config/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -# Ignore every json file in this directory -*.json diff --git a/front/current/controllers/app/app.component.html b/front/current/controllers/app/app.component.html index f6cca80853a67b99ee50f26d973b5d9a7558c6a8..70ccb89a5ced396d564ac08c59e37560ce8dd8f4 100644 --- a/front/current/controllers/app/app.component.html +++ b/front/current/controllers/app/app.component.html @@ -1,6 +1,2 @@ -
| status | +name | +
|---|---|
| + + | +|
| + {{ projects.error['status'] }}: {{ projects.error['short'] }} + | +|
| + {{ project.data['state'] }} + | +{{ project.data['name'] }} | +