Skip to content

Instantly share code, notes, and snippets.

View creativelink's full-sized avatar

Lotta Sundstrom creativelink

View GitHub Profile
@crystrk
crystrk / deleter.js
Created May 27, 2016 07:09
SweetAlert2 + Laravel | confirmation delete
var deleter = {
linkSelector : "a[data-delete]",
modalTitle : "Are you sure?",
modalMessage : "You will not be able to recover this entry?",
modalConfirmButtonText: "Yes, delete it!",
laravelToken : null,
url : "/",
init: function() {
@pupadupa
pupadupa / Lravel-5-inpalce-edit-using-xeditable.php
Last active May 19, 2022 12:55
Laravel 5 inplace editing using jquery's x-editable plugin . Inline and bulk editing examples.
/**
*
* In this example we create view with inplace and bulk editing.
* Tools and plugins:
* jQuery
* xEditable jquery plugin
* twitter bootstrap
*
*/
@phlbnks
phlbnks / Pure CSS Offsets
Last active July 23, 2019 08:01
CSS to add offsets to Pure grids http://purecss.io/
/*
Offsets from https://raw.githubusercontent.com/tilomitra/pure/d7f85e37abec3fdab14a541305ad05783159655c/src/grids/css/grids-offsets.css
Media queries from Pure v0.5.0
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://github.com/yui/pure/blob/master/LICENSE.md
*/
@media screen and (min-width: 35.5em) {
.offset-sm-0 {
margin-left:0;