From 1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 20 Feb 2020 12:58:59 +0530 Subject: Add user registration, login and abstract submission interfaces --- arduino_blog/static/admin/js/inlines.min.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 arduino_blog/static/admin/js/inlines.min.js (limited to 'arduino_blog/static/admin/js/inlines.min.js') diff --git a/arduino_blog/static/admin/js/inlines.min.js b/arduino_blog/static/admin/js/inlines.min.js new file mode 100644 index 0000000..65af8eb --- /dev/null +++ b/arduino_blog/static/admin/js/inlines.min.js @@ -0,0 +1,13 @@ +var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,d,a){b instanceof String&&(b=String(b));for(var c=b.length,f=0;f'+a.addText+""),l=d.find("tr:last a")):(c.filter(":last").after('
'+a.addText+"
"),l=c.filter(":last").next().find("a")));l.on("click",function(d){d.preventDefault();d=b("#"+a.prefix+"-empty"); +var c=d.clone(!0);c.removeClass(a.emptyCssClass).addClass(a.formCssClass).attr("id",a.prefix+"-"+h);c.is("tr")?c.children(":last").append('
'+a.deleteText+"
"):c.is("ul")||c.is("ol")?c.append('
  • '+a.deleteText+"
  • "):c.children(":first").append(''+a.deleteText+"");c.find("*").each(function(){f(this,a.prefix,g.val())});c.insertBefore(b(d)); +b(g).val(parseInt(g.val(),10)+1);h+=1;""!==e.val()&&0>=e.val()-g.val()&&l.parent().hide();c.find("a."+a.deleteCssClass).on("click",function(d){d.preventDefault();c.remove();--h;a.removed&&a.removed(c);b(document).trigger("formset:removed",[c,a.prefix]);d=b("."+a.formCssClass);b("#id_"+a.prefix+"-TOTAL_FORMS").val(d.length);(""===e.val()||0 tr",b(d).tabularFormset(d,a.options)}})})})(django.jQuery); -- cgit From bb1f7457f90f51a531bca2dfc3527432898b0b09 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Thu, 27 Feb 2020 17:12:00 +0530 Subject: updated ui and fixed code --- arduino_blog/static/admin/js/inlines.min.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) mode change 100644 => 120000 arduino_blog/static/admin/js/inlines.min.js (limited to 'arduino_blog/static/admin/js/inlines.min.js') diff --git a/arduino_blog/static/admin/js/inlines.min.js b/arduino_blog/static/admin/js/inlines.min.js deleted file mode 100644 index 65af8eb..0000000 --- a/arduino_blog/static/admin/js/inlines.min.js +++ /dev/null @@ -1,13 +0,0 @@ -var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,d,a){b instanceof String&&(b=String(b));for(var c=b.length,f=0;f'+a.addText+""),l=d.find("tr:last a")):(c.filter(":last").after('"),l=c.filter(":last").next().find("a")));l.on("click",function(d){d.preventDefault();d=b("#"+a.prefix+"-empty"); -var c=d.clone(!0);c.removeClass(a.emptyCssClass).addClass(a.formCssClass).attr("id",a.prefix+"-"+h);c.is("tr")?c.children(":last").append('
    '+a.deleteText+"
    "):c.is("ul")||c.is("ol")?c.append('
  • '+a.deleteText+"
  • "):c.children(":first").append(''+a.deleteText+"");c.find("*").each(function(){f(this,a.prefix,g.val())});c.insertBefore(b(d)); -b(g).val(parseInt(g.val(),10)+1);h+=1;""!==e.val()&&0>=e.val()-g.val()&&l.parent().hide();c.find("a."+a.deleteCssClass).on("click",function(d){d.preventDefault();c.remove();--h;a.removed&&a.removed(c);b(document).trigger("formset:removed",[c,a.prefix]);d=b("."+a.formCssClass);b("#id_"+a.prefix+"-TOTAL_FORMS").val(d.length);(""===e.val()||0 tr",b(d).tabularFormset(d,a.options)}})})})(django.jQuery); diff --git a/arduino_blog/static/admin/js/inlines.min.js b/arduino_blog/static/admin/js/inlines.min.js new file mode 120000 index 0000000..ed04bc0 --- /dev/null +++ b/arduino_blog/static/admin/js/inlines.min.js @@ -0,0 +1 @@ +/home/prashant/www/html/python/python_3.x/arduino-hosting/env-arduino/lib/python3.6/site-packages/django/contrib/admin/static/admin/js/inlines.min.js \ No newline at end of file -- cgit