alternate.css |
widgets/alternate/alternate.css |
|
/* Alternate widget CSS files */
.vud-widget-alternate {
clear: left;
padding: 0;
margin: 5px 6px 1px 0;
width: 50px;
}
.vud-widget-alternate .up.active,
.vud-widget-alternate .up.inactive {
height: 22px;
width: 50px;
margin-top: 1px;
… |
Alternate.php |
src/Plugin/VoteUpDownWidget/Alternate.php |
Drupal\vud\Plugin\VoteUpDownWidget |
|
plain.css |
widgets/plain/plain.css |
|
.vud-widget-plain {
clear: left;
padding: 2px;
margin: 2px 5px 0 0;
border: 1px solid #ccc;
width: 50px;
text-align: center;
}
.vud-widget-plain .up.active,
.vud-widget-plain .up.inactive,
.vud-widget-plain .down.active,
.vud-widget-plain… |
Plain.php |
src/Plugin/VoteUpDownWidget/Plain.php |
Drupal\vud\Plugin\VoteUpDownWidget |
|
thumbs.css |
widgets/thumbs/thumbs.css |
|
.vud-widget-thumbs {
margin: 5px 10px;
position: relative;
}
.vud-widget-thumbs p {
margin: 0;
}
.vud-widget-thumbs a.vud-link-up span,
.vud-widget-thumbs a.vud-link-down span {
text-decoration: none;
margin-right:… |
Thumbs.php |
src/Plugin/VoteUpDownWidget/Thumbs.php |
Drupal\vud\Plugin\VoteUpDownWidget |
|
upanddown.css |
widgets/upanddown/upanddown.css |
|
.vud-widget-upanddown {
margin: 5px 10px;
position: relative;
}
.vud-widget-upanddown a.vud-link-up span,
.vud-widget-upanddown a.vud-link-down span {
text-decoration: none;
margin-right: 7px;
}
.vud-widget-upanddown .up-score… |
UpAndDown.php |
src/Plugin/VoteUpDownWidget/UpAndDown.php |
Drupal\vud\Plugin\VoteUpDownWidget |
|
updown.css |
widgets/updown/updown.css |
|
.vud-widget-updown {
width: 50px;
padding: 0 0.7em 0 0;
}
.vud-widget-updown a:hover {
text-decoration: none;
}
.vud-widget-updown .updown-score {
border: 1px solid #ccc;
color: #000;
font-size: 10px;
font-weight: bold;
text-align:… |
UpDown.php |
src/Plugin/VoteUpDownWidget/UpDown.php |
Drupal\vud\Plugin\VoteUpDownWidget |
|
VoteUpDownField.php |
src/Plugin/Field/FieldType/VoteUpDownField.php |
Drupal\vud\Plugin\Field\FieldType |
|
VoteUpDownFormatterType.php |
src/Plugin/Field/FieldFormatter/VoteUpDownFormatterType.php |
Drupal\vud\Plugin\Field\FieldFormatter |
|
VoteUpDownWidget.php |
src/Annotation/VoteUpDownWidget.php |
Drupal\vud\Annotation |
|
VoteUpDownWidgetBase.php |
src/Plugin/VoteUpDownWidgetBase.php |
Drupal\vud\Plugin |
|
VoteUpDownWidgetInterface.php |
src/Plugin/VoteUpDownWidgetInterface.php |
Drupal\vud\Plugin |
|
VoteUpDownWidgetManager.php |
src/Plugin/VoteUpDownWidgetManager.php |
Drupal\vud\Plugin |
|
VoteUpDownWidgetManagerTest.php |
tests/src/Unit/VoteUpDownWidgetManagerTest.php |
Drupal\Tests\vud\Unit |
|
VoteUpDownWidgetType.php |
src/Plugin/Field/FieldWidget/VoteUpDownWidgetType.php |
Drupal\vud\Plugin\Field\FieldWidget |
|
VotingApiController.php |
src/Controller/VotingApiController.php |
Drupal\vud\Controller |
|
vud-widget.html.twig |
templates/vud-widget.html.twig |
|
{% include template_path %} |
vud.css |
css/vud.css |
|
.throbber {
position: absolute;
top: 40px;
left: 100px;
}
.vud-widget {
position: relative;
}
.vud-widget a {
text-decoration: none;
border: 0;
} |
vud.info.yml |
vud.info.yml |
|
vud.info.yml |
vud.libraries.yml |
vud.libraries.yml |
|
vud.libraries.yml |
vud.links.menu.yml |
vud.links.menu.yml |
|
vud.links.menu.yml |
vud.module |
vud.module |
|
Implements the core voting module on top of Voting API. |
vud.permissions.yml |
vud.permissions.yml |
|
vud.permissions.yml |
vud.routing.yml |
vud.routing.yml |
|
vud.routing.yml |
vud.schema.yml |
config/schema/vud.schema.yml |
|
config/schema/vud.schema.yml |
vud.services.yml |
vud.services.yml |
|
vud.services.yml |
vud.settings.yml |
config/install/vud.settings.yml |
|
config/install/vud.settings.yml |
vud.theme.inc |
vud.theme.inc |
|
Theme functions |
VudAdminAdvancedSettings.php |
src/Form/VudAdminAdvancedSettings.php |
Drupal\vud\Form |
|
widget.html.twig |
widgets/plain/widget.html.twig |
|
{% if show_links == true %}
<div class="vud-widget vud-widget-plain" id="{{ widget_instance_id }}">
{% if show_up_as_link == true %}
<a href="{{ link_up }}" rel="nofollow" class="{{… |
widget.html.twig |
widgets/alternate/widget.html.twig |
|
<div class="vud-widget vud-widget-alternate" id="{{ widget_instance_id }}">
{% if class_up %}
<div class="alternate-votes-display">{{ unsigned_points }}</div>
{% if show_links %}
{% if… |
widget.html.twig |
widgets/yesno/widget.html.twig |
|
<div class="vud-widget vud-widget-{{ widget_name }}" id="{{ widget_instance_id }}">
<div class="vud-widget-title">{% trans %}Was this useful?{% endtrans %}</div>
<div… |
widget.html.twig |
widgets/upanddown/widget.html.twig |
|
<div class="vud-widget vud-widget-upanddown" id="{{ widget_instance_id }}">
<div class="up-score clear-block">
{% if show_links == true %}
{% if show_up_as_link == true %}
<a… |
widget.html.twig |
widgets/thumbs/widget.html.twig |
|
<div class="vud-widget vud-widget-{{ widget_name }}" id="{{ widget_instance_id }}">
<div class="up-score clear-block">
{% if show_links == true %}
{% if show_up_as_link == true %}
<a… |
widget.html.twig |
widgets/updown/widget.html.twig |
|
<div class="vud-widget vud-widget-updown" id="{{ widget_instance_id }}">
<div class="updown-score">
<span class="updown-current-score">{{ points }}</span>
{{ vote_label }}
… |
yesno.css |
widgets/yesno/yesno.css |
|
.vud-widget-yesno .vote-element {
padding: 0.25em 0.75em;
min-width: 2em;
text-align: center;
display: inline-block;
border-radius: 0.25em;
}
.vud-widget-yesno a .vote-element.active {
background-color: #c0c0c0;
color:… |
YesNo.php |
src/Plugin/VoteUpDownWidget/YesNo.php |
Drupal\vud\Plugin\VoteUpDownWidget |
|