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
doctype html | |
/[if IE 8] | |
| <html class="no-js lt-ie9"> | |
/[if IE 9] | |
| <html class="ie9"> | |
html.no-js | |
/! <![endif] | |
head | |
meta charset="utf-8" |
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
li class="#{@block.settings[:class]}" | |
- unless @block.settings[:text].blank? | |
.slide-copy | |
p == @block.settings[:text] | |
a class="btn btn-#{@block.settings[:button_color]}" href="#{@block.settings[:link_url]}" | |
= @block.settings[:link_text] | |
- if @block.block_cover | |
= image_tag(@block.block_cover.url, alt: @block.name) |
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
#news { | |
background: url('bg-birdofparadise.jpg') no-repeat center bottom; | |
box-shadow: 0 10px 10px -1px rgba(50, 50, 50, 0.05); | |
h2.single { | |
margin-top: 20px; | |
padding-bottom: 30px; | |
} | |
.post { | |
border-bottom: 1px solid $border-grey; |
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
/* - - - - - - - - - - - - - - - - - - - - - | |
Title : Custom CSS by THo | |
URL : http://halemakua.com | |
Last Updated : October 23, 2013 | |
- - - - - - - - - - - - - - - - - - - - - */ | |
body { |
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
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards | |
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
function proml { | |
local BLUE="\[\033[0;34m\]" | |
local RED="\[\033[0;31m\]" |
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 getURLParameter(name) { | |
return decodeURI( | |
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1] | |
); | |
} | |
document.ready( | |
// assuming url like: foo.html?name="123" |
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
# This is essentially the same file as the block (cell) descriptor file. | |
# Its purpose is to define custom content types and the fields they contain. | |
# This file would live in the project's app/custom_modules/rcms/directory | |
# Actual implementation may vary. | |
custom_modules: | |
- name: Doctor | |
action: doctor | |
description: A doctor custom content type | |
settings: |
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
$z-index: ( | |
modal : 200, | |
navigation : 100, | |
footer : 90, | |
triangle : 60, | |
navigation-rainbow : 50, | |
share-type : 41, | |
share : 40, | |
); |
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
var gulp = require('gulp'); | |
var nodemon = require('gulp-nodemon'); | |
var jshint = require('gulp-jshint'); | |
var concat = require('gulp-concat'); | |
var sass = require('gulp-sass'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var notifier = require('node-notifier'); | |
var uglify = require('gulp-uglify'); | |
var sequence = require('run-sequence'); | |
var util = require('gulp-util'); |
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
diff --git a/server/modules/core/Collections/Controller/Api.php b/server/modules/core/Collections/Controller/Api.php | |
index 7c8c381..5fda5b3 100755 | |
--- a/server/modules/core/Collections/Controller/Api.php | |
+++ b/server/modules/core/Collections/Controller/Api.php | |
@@ -104,6 +104,40 @@ public function duplicate(){ | |
return false; | |
} | |
+ public function duplicateEntry (){ | |
+ $collection = $this->param("collection", null); |