Design is completely based on Ramil Derogongun's mock up on dribbble that can be found here https://dribbble.com/shots/1052480-Post-New-Entry
The editor itself is using quill.js
A Pen by John Balladares on CodePen.
| const produce = [ | |
| { name: 'apples', quantity: 2 }, | |
| { name: 'bananas', quantity: 0 }, | |
| { name: 'cherries', quantity: 5 } | |
| ]; | |
| function isCherries(fruit) { | |
| return fruit.name === 'cherries'; | |
| } |
| .article { | |
| opacity: 1; | |
| transition: transform .4s ease-in-out, opacity .4s ease-in-out; | |
| -webkit-transform: translateY(0); | |
| -ms-transform: translateY(0); | |
| transform: translateY(0); | |
| } | |
| .wf-loading .article { | |
| opacity: 0; |
| import google_sheets_app | |
| import asana_app | |
| def export(): | |
| sheets = google_sheets_app.get_spreadsheet_by_id( | |
| "your_googlesheet_id_here" | |
| ).get_sheets()[0] | |
| julian = asana_app.get_project_by_id("your_asana_project_id_here") | |
| # ws = asana_app.get_current_workspace() | |
| # projects = ws.get_projects() |
| Option 1: (?=.*?\d{3}( |-|.)?\d{4})((?:\+?(?:1)(?:\1|\s*?))?(?:(?:\d{3}\s*?)|(?:\((?:\d{3})\)\s*?))\1?(?:\d{3})\1?(?:\d{4})(?:\s*?(?:#|(?:ext\.?))(?:\d{1,5}))?)\b | |
| Option 2 (maybe better): \+?\d{1,4}?[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9} | |
| Option 3: (?:\+?(?<COUNTRY_CODE>\d{1})?-?\(?(?<AREA_CODE>\d{3})\)?[\s-\.]?)?(?<PART1>\d{3})[\s-\.]?(?<PART2>\d{4})[\s-\.]? |
| <?php | |
| use \hji\ResponsiveIDX\ResponsiveIDX; | |
| /** | |
| * Begin template logic | |
| * | |
| * All $listing properties can be accessed directly as | |
| * $listing->propertyName | |
| * To view All Available Properties of the $listing object | |
| * do: var_dump($listing->data); |
| (function () { | |
| function getParameterByName(name, url) { | |
| if (!url) url = window.location.href; | |
| name = name.replace(/[\[\]]/g, "\\$&"); | |
| var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), | |
| results = regex.exec(url); | |
| if (!results) return null; | |
| if (!results[2]) return ''; | |
| return decodeURIComponent(results[2].replace(/\+/g, " ")); | |
| } |
Design is completely based on Ramil Derogongun's mock up on dribbble that can be found here https://dribbble.com/shots/1052480-Post-New-Entry
The editor itself is using quill.js
A Pen by John Balladares on CodePen.
| var currentStudents = ['Joan', 'John', 'Joaquin']; | |
| var newStudents = ['Samantha', 'Traci', 'Tiago']; | |
| var allStudents = currentStudents.concat( newStudents ); | |
| console.log(allStudents); |
| $.ajax({ | |
| type: 'POST', | |
| url: 'backend.php', | |
| data: "q="+myform.serialize(), | |
| success: function(data){ | |
| // on success use return data here | |
| }, | |
| error: function(xhr, type, exception) { | |
| // if ajax fails display error alert | |
| alert("ajax error response type "+type); |
A Pen by Bennett Feely on CodePen.