From b219fbd02ab5680e251c48146e2fae968121cb94 Mon Sep 17 00:00:00 2001 From: Shrimadhav U K <shrimadhavuk@gmail.com> Date: Mon, 12 Jun 2017 09:13:05 +0530 Subject: [PATCH] add dummy YAML template --- .gitlab-ci.yml | 2 +- README.md | 4 ++-- gulpfile.js | 2 +- package.json | 5 ++++- pug/templates/individual_event_page.pug | 9 ++++----- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c75eb64..373ab45 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ pages: stage: deploy script: - npm install - - ./node_modules/grunt-cli/bin/grunt public:dev + - npm run install artifacts: paths: - public diff --git a/README.md b/README.md index 1bc773e..f0e564d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Presteps 1. Install Node ( Welcome to the world of Node <3 ) -2. run `npm install -g grunt-cli` +2. run `npm install -g gulp-cli` ## Installation @@ -15,7 +15,7 @@ ## Running the application -* `grunt serve` - starts a local server and keeps watching the file changes +* `gulp serve` - starts a local server and keeps watching the file changes ### Under the Hood! diff --git a/gulpfile.js b/gulpfile.js index 95b9cf8..c7e0fbe 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -138,7 +138,7 @@ gulp.task('public', [ 'assetscopy', 'pughtml', 'htmllint', - 'jslint', + // 'jslint', 'jsuglify', // 'csslint', 'cssmin' diff --git a/package.json b/package.json index 6d8d1e4..2727f90 100644 --- a/package.json +++ b/package.json @@ -37,5 +37,8 @@ "normalize.css": "^7.0.0" }, "author": "FSCI - Free Software Community of India <fosscommunity.in@disroot.org>", - "license": "GPL-3.0" + "license": "GPL-3.0", + "scripts": { + "install": "gulp public" + } } diff --git a/pug/templates/individual_event_page.pug b/pug/templates/individual_event_page.pug index f85e8c9..5bb0e7b 100644 --- a/pug/templates/individual_event_page.pug +++ b/pug/templates/individual_event_page.pug @@ -28,9 +28,9 @@ block content img.img-rounded.pull-left(src=event.imgurl) h4.list-group-item-heading= event.name p.list-group-item-text!= event.locationame - .col-sm-7.bootcards-cards.hidden-xs + .col-sm-12.bootcards-cards // contact details - #contactCard + #contactCard.col-sm-4 .panel.panel-default .panel-heading.clearfix h3.panel-title.pull-left Contact Details @@ -56,10 +56,9 @@ block content label= "CONTACT INFO" h4.list-group-item-heading= evt.contactinfo - .panel.panel-default.bootcards-richtext + .panel.panel-default.bootcards-richtext.col-sm-8 .panel-heading h3.panel-title Description - .panel-body - | evt.description + .panel-body!= evt.description p.lead img(src=evt.imgurl, alt=evt.name) -- GitLab