-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Ruby, Node.js, and Nokogiri versions, and add "Bootstrap tag" …
…functionality
- Loading branch information
1 parent
6441b18
commit f16b67e
Showing
10 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ruby 3.2.2 | ||
ruby 3.3.0 | ||
rust 1.73.0 | ||
nodejs 18.14.2 | ||
nodejs 20.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
<title>Labradorite</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/use-bootstrap-tag.min.css"> | ||
<script> | ||
function ready(fn) { | ||
if (document.readyState !== "loading") { | ||
|
@@ -31,6 +32,7 @@ | |
</script> | ||
</head> | ||
<body> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/use-bootstrap-tag.min.js"></script> | ||
<div class="container my-4"> | ||
<%= yield %> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<link href="https://releases.transloadit.com/uppy/v3.0.1/uppy.min.css" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/tagin.min.css"> | ||
<script src="https://unpkg.com/[email protected]/dist/tagin.min.js"></script> | ||
<div id="memos-edit" class="enable-tagin"> | ||
<div id="memos-edit"> | ||
<div class="row"> | ||
<div class="col"> | ||
<a href="<%= @current_path_memo %>" class="btn btn-primary">Back</a> | ||
|
@@ -19,7 +17,13 @@ | |
<input type="text" id="title" name="title" class="form-control" value="<%= @meta_struct.title %>" placeholder="Your Title Here..."> | ||
</div> | ||
<div class="col-12 col-sm-6 my-4 my-sm-0"> | ||
<input type="text" name="tags" class="form-control tagin" value="<%= @meta_struct.tags %>"> | ||
<input type="text" | ||
id="taglist" | ||
name="tags" | ||
class="form-control" | ||
data-ub-tag-separator="," | ||
value="<%= @meta_struct.tags %>" | ||
> | ||
</div> | ||
</div> | ||
<div> | ||
|
@@ -114,3 +118,6 @@ | |
// Todo: have the path put in a data attribute | ||
ready(() => initMemosUpdate("memo-form", "/api/v1<%= @current_path_memo %>/update")) | ||
</script> | ||
<script> | ||
ready(() => UseBootstrapTag(document.getElementById('taglist'))) | ||
</script> |