Browse Source

chore: remove awesomeplete

pull/26/head
Inhji Y. 1 year ago
parent
commit
0ae9a19c6e
  1. 1
      apps/tomie_web/assets/css/app.css
  2. 3
      apps/tomie_web/assets/static/js/awesomeplete/awesomeplete-util.js
  3. 3
      apps/tomie_web/assets/static/js/awesomeplete/awesomeplete.js
  4. 1
      apps/tomie_web/assets/static/js/awesomeplete/awesomplete-util.min.js.map
  5. 1
      apps/tomie_web/assets/static/js/awesomeplete/awesomplete.min.js.map
  6. 12
      apps/tomie_web/lib/tomie_web/templates/bookmark/form.html.leex
  7. 2
      apps/tomie_web/lib/tomie_web/templates/layout/root.html.eex

1
apps/tomie_web/assets/css/app.css

@ -3,7 +3,6 @@
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@import "awesomeplete";
@import "alerts";
@import "nprogress";

3
apps/tomie_web/assets/static/js/awesomeplete/awesomeplete-util.js
File diff suppressed because it is too large
View File

3
apps/tomie_web/assets/static/js/awesomeplete/awesomeplete.js
File diff suppressed because it is too large
View File

1
apps/tomie_web/assets/static/js/awesomeplete/awesomplete-util.min.js.map
File diff suppressed because it is too large
View File

1
apps/tomie_web/assets/static/js/awesomeplete/awesomplete.min.js.map
File diff suppressed because it is too large
View File

12
apps/tomie_web/lib/tomie_web/templates/bookmark/form.html.leex

@ -20,17 +20,7 @@
<fieldset>
<%= label f, :tag_string, "Tags" %>
<%= awesomplete(f, :tag_string,
[class: "", placeholder: "Search tags.."],
[ url: "/api/tags",
loadall: true,
prepop: true,
minChars: 1,
maxItems: 8,
value: "name",
label: "name",
multiple: ","
]) %>
<%= text_input f, :tag_string %>
<%= error_tag f, :tag_string %>
</fieldset>

2
apps/tomie_web/lib/tomie_web/templates/layout/root.html.eex

@ -6,8 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title><%= assigns[:page_title] || "Tomie · Phoenix Framework" %></title>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/awesomeplete/awesomeplete.js") %>"></script>
<script type="text/javascript" src="<%= Routes.static_path(@conn, "/js/awesomeplete/awesomeplete-util.js") %>"></script>
<%= csrf_meta_tag() %>
</head>
<body class="mt-16 transition duration-500" data-theme="<%= theme(@conn) %>">

Loading…
Cancel
Save