-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f598126
commit c068264
Showing
3 changed files
with
17 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ | ||
"name": "Base", | ||
"content": "\n<fieldset class=\"rating\">\n <legend>Rating</legend>\n <input type=\"radio\" id=\"star5a\" name=\"ratingA\" value=\"5\" />\n <label class = \"full\" for=\"star5a\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 5 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star4a\" name=\"ratingA\" value=\"4\"/>\n <label class = \"full\" for=\"star4a\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 4 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star3a\" name=\"ratingA\" value=\"3\" />\n <label class = \"full\" for=\"star3a\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 3 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star2a\" name=\"ratingA\" value=\"2\" />\n <label class = \"full\" for=\"star2a\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 2 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star1a\" name=\"ratingA\" value=\"1\" />\n <label class = \"full\" for=\"star1a\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 1 stelle su 5</span>\n </label>\n</fieldset>\n" | ||
"content": "\n<fieldset class=\"rating\">\n <legend>Rating</legend>\n <input type=\"radio\" id=\"star5a\" name=\"ratingA\" value=\"5\" />\n <label class = \"full\" for=\"star5a\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 5 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star4a\" name=\"ratingA\" value=\"4\"/>\n <label class = \"full\" for=\"star4a\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 4 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star3a\" name=\"ratingA\" value=\"3\" />\n <label class = \"full\" for=\"star3a\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 3 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star2a\" name=\"ratingA\" value=\"2\" />\n <label class = \"full\" for=\"star2a\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 2 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star1a\" name=\"ratingA\" value=\"1\" />\n <label class = \"full\" for=\"star1a\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 1 stella su 5</span>\n </label>\n</fieldset>\n" | ||
}, | ||
{ | ||
"name": "Con etichetta", | ||
"content": "\n<fieldset class=\"rating rating-label\">\n <legend><span class=\"visually-hidden\">Valutazione</span> <span>4 stelle</span> <span class=\"visually-hidden\">su 5</span></legend>\n <input type=\"radio\" id=\"star5b\" name=\"ratingB\" value=\"5\" />\n <label class = \"full\" for=\"star5b\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 5 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star4b\" name=\"ratingB\" value=\"4\" checked/>\n <label class = \"full\" for=\"star4b\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 4 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star3b\" name=\"ratingB\" value=\"3\" />\n <label class = \"full\" for=\"star3b\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 3 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star2b\" name=\"ratingB\" value=\"2\" />\n <label class = \"full\" for=\"star2b\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 2 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star1b\" name=\"ratingB\" value=\"1\" />\n <label class = \"full\" for=\"star1b\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 1 stelle su 5</span>\n </label>\n</fieldset>\n\n" | ||
"content": "\n<fieldset class=\"rating rating-label\">\n <legend><span class=\"visually-hidden\">Valutazione</span> <span>4 stelle</span> <span class=\"visually-hidden\">su 5</span></legend>\n <input type=\"radio\" id=\"star5b\" name=\"ratingB\" value=\"5\" />\n <label class = \"full\" for=\"star5b\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 5 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star4b\" name=\"ratingB\" value=\"4\" checked/>\n <label class = \"full\" for=\"star4b\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 4 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star3b\" name=\"ratingB\" value=\"3\" />\n <label class = \"full\" for=\"star3b\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 3 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star2b\" name=\"ratingB\" value=\"2\" />\n <label class = \"full\" for=\"star2b\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 2 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star1b\" name=\"ratingB\" value=\"1\" />\n <label class = \"full\" for=\"star1b\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 1 stella su 5</span>\n </label>\n</fieldset>\n\n" | ||
}, | ||
{ | ||
"name": "Sola lettura", | ||
"content": "\n<fieldset class=\"rating rating-read-only\">\n <legend class=\"visually-hidden\">Valutazione 4 stelle su 5</legend>\n <input type=\"radio\" id=\"star5c\" name=\"ratingC\" value=\"5\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star5c\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 5 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star4c\" name=\"ratingC\" value=\"4\" checked aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star4c\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 4 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star3c\" name=\"ratingC\" value=\"3\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star3c\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 3 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star2c\" name=\"ratingC\" value=\"2\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star2c\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 2 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star1c\" name=\"ratingC\" value=\"1\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star1c\">\n <svg class=\"icon icon-sm\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 1 stelle su 5</span>\n </label>\n</fieldset>\n" | ||
"content": "\n<fieldset class=\"rating rating-read-only\">\n <legend class=\"visually-hidden\">Valutazione 4 stelle su 5</legend>\n <input type=\"radio\" id=\"star5c\" name=\"ratingC\" value=\"5\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star5c\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 5 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star4c\" name=\"ratingC\" value=\"4\" checked aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star4c\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 4 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star3c\" name=\"ratingC\" value=\"3\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star3c\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 3 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star2c\" name=\"ratingC\" value=\"2\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star2c\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 2 stelle su 5</span>\n </label>\n <input type=\"radio\" id=\"star1c\" name=\"ratingC\" value=\"1\" aria-hidden=\"true\" disabled />\n <label class = \"full\" for=\"star1c\">\n <svg class=\"icon icon-sm\" aria-hidden=\"true\"><use href=\"/dist/svg/sprites.svg#it-star-full\"></use></svg>\n <span class=\"visually-hidden\">Valuta 1 stella su 5</span>\n </label>\n</fieldset>\n" | ||
} | ||
] |
Oops, something went wrong.