Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.31 KB | None | 0 0
  1. {
  2.     /*
  3.     // Place your snippets for HTML here. Each snippet is defined under a snippet name and has a prefix, body and
  4.     // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
  5.     // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
  6.     // same ids are connected.
  7.     // Example:
  8.  
  9. */
  10.     "loading": {
  11.         "prefix": "loading",
  12.         "body": [
  13.             "<div ng-include=\"'/views/common/loading.html'\" ng-show=\"$1\"></div>$0"
  14.         ],
  15.         "description": "Loading spinner for lists"
  16.     },"listDir": {
  17.         "prefix": "listDir",
  18.         "body": [
  19.             "<jtx-list-dir \n\tplaceholder=\"'Selecciona un $1'\" \n\tng-model=\"$2\" \n\tdisplay-col=\"'$3'\" \n\ttrack-by=\"'$4'\" \n\tcollection=\"$5\"> \n</jtx-list-dir> <br>"
  20.         ],
  21.         "description": "Loading spinner for lists"
  22.     },"exclamation": {
  23.         "prefix": "exclamation",
  24.         "body": [
  25.             "<i class=\"fa fa-exclamation-circle\"></i>$0"
  26.         ],
  27.         "description": "required icon"
  28.     },"datepicker": {
  29.         "prefix": "datepicker",
  30.         "body": [
  31.             "<jtx-datepicker ng-model=\"$1\"></jtx-datepicker> $0"
  32.         ],
  33.         "description": "Jitrix Datepicker Directive"
  34.     },"searchButton": {
  35.         "prefix": "searchButton",
  36.         "body": [
  37.             "<button class=\"btn btn-success\" ng-click=\"$1\"><i class=\"fa fa-search\"></i> {{text('searchButton.text')}}</button>$0"
  38.         ],
  39.         "description": "Search button + icon"
  40.     },"newButton": {
  41.         "prefix": "newButton",
  42.         "body": [
  43.             "<button class=\"btn btn-w-m btn-success\" ng-click=\"$1\"><i class=\"fa fa-plus-square jtx-img-btn\"></i> {{text('newButton.text')}}</button>$0"
  44.         ],
  45.         "description": "New button + icon"
  46.     },"doubleSmallButtons": {
  47.         "prefix": "doubleSmallButtons",
  48.         "body": [
  49.             "<button class=\"btn btn-outline btn-success btn-xs\" ng-click=\"\"><i class=\"fa fa-pencil\"></i></button>\n<button class=\"btn btn-outline btn-danger btn-xs\" ng-click=\"\"><i class=\"fa fa-trash-o\"></i></button>$0"
  50.         ],
  51.         "description": "New button + icon"
  52.     },"requiredTag": {
  53.         "prefix": "requiredTag",
  54.         "body": [
  55.             "<div class=\"row\">\n\t<div class=\"col-sm-12\">\n\t\t<label class=\"control-label\"><i class=\"fa fa-exclamation-circle\"></i>{{text(\"form.required\")}}</label>\n\t</div>\n</div>"
  56.         ],
  57.         "description": "New button + icon"
  58.     }
  59.  
  60.  
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement