{"id":16386727,"url":"https://github.com/lofcz/editstrap2","last_synced_at":"2026-04-17T04:32:32.237Z","repository":{"id":88696299,"uuid":"126394484","full_name":"lofcz/Editstrap2","owner":"lofcz","description":"Project name: Lofotrap, basically a FREE and WORKING version of the original Editstrap","archived":false,"fork":false,"pushed_at":"2018-03-23T16:11:21.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T12:23:45.671Z","etag":null,"topics":["anyway","bootstrap4","capitalism","editstrap","simplex-rpg-engine","sucks"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lofcz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-22T20:59:36.000Z","updated_at":"2018-12-28T16:31:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9ba0133-6f2b-467c-a17c-5353171eeb64","html_url":"https://github.com/lofcz/Editstrap2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lofcz/Editstrap2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2FEditstrap2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2FEditstrap2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2FEditstrap2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2FEditstrap2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lofcz","download_url":"https://codeload.github.com/lofcz/Editstrap2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lofcz%2FEditstrap2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anyway","bootstrap4","capitalism","editstrap","simplex-rpg-engine","sucks"],"created_at":"2024-10-11T04:23:26.167Z","updated_at":"2026-04-17T04:32:32.218Z","avatar_url":"https://github.com/lofcz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Editstrap2\nFREE and WORKING version of the original Editstrap\n\n## Setup: \n\n**Asp / AspMvc .NET:**  \n```html\n    \u003clink href=\"@Url.Content(\"~/Content/editstrap.css\")\" rel=\"stylesheet\"\u003e\n    \u003cscript src=\"@Url.Content(\"~/Scripts/editstrap-3.3.1.js\")\"\u003e\u003c/script\u003e\n```\n\n**Pure html:**  \n\n```html\n    \u003clink href=\"css/editstrap.css\" rel=\"stylesheet\"\u003e\n    \u003cscript src=\"scripts/editstrap-3.3.1.js\"\u003e\u003c/script\u003e\n```\n\n**Other libs needed:**  \n- Bootstrap4 (+ jQuery)\n- Font awesome\n\n**Sample working in-edit element:**  \n```javascript\n\u003ci id=\"toEdit\" class=\"\"\u003e\u003c/i\u003e\n\u003cscript\u003e\n    $(function() {\n        $(\"#toEdit\").editstrap({\n            type: 'text',\n            validateClass:'success',\n            saveOptions:'block',\n            title: 'Upravit',\n            editClasses:'fas fa-check',\n            emptyField: 'No data',\n            displaySuccess:function(editable,value,text){\n                var element = editable.parent().parent().find(\".result-message\");\n                element.html(\"Synced\");\n                element.addClass('edit-has-succes'); \n                element.show().delay(1000).fadeOut();            \n            }       \n        });\n    }); \n\u003c/script\u003e\n```\n\n**Note: Due to the original author being a prick unable to write proper docs, this is the way to sync to server:**\n```javascript\n\u003ci id=\"nameData\" class=\"\"\u003e\u003c/i\u003e\n$(function() {\n    $(\"#nameData\").editstrap({\n        type: 'text',\n        validateClass:'success',\n        saveOptions:'block',\n        title: 'Upravit',\n        editClasses: 'fas fa-check',\n        url: '@Url.Action(\"ACTION_REPLACE\", \"CONTROLLER_REPLACE\")',         \n        emptyField: 'No data',\n        displaySuccess:function(editable,value,text){\n            var element = editable.parent().parent().find(\".result-message\");\n            element.html(\"Úspěšně synchronizováno\");\n            element.addClass('edit-has-succes animated bounceOutLeft'); \n            element.show().delay(1000).fadeOut();\n\n        }\n\n    });\n});\n```\n\n```csharp\n[HttpPost]\npublic JsonResult ACTION_REPLACE(string value)\n{\n    // value param contains string needed\n    return Json(new { });\n}\n```\n\n## Changes VS the original Editstrap:\n- Fully supports Bootstrap4\n- Missing glyphicons are now rendering correctly\n- Version 3.3.1 -\u003e Latest public version of the original lib is 3.2.0 -\u003e Includes some fixes and performace 'improvements'\n\n_Support the original author and buy useless version of this for 15$ only: https://editstrap.com/index.html_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flofcz%2Feditstrap2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flofcz%2Feditstrap2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flofcz%2Feditstrap2/lists"}