text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```vue <template> <tab :label="$gettext('Artwork')"> <div class="row g-3"> <div class="col-md-8"> <form-group id="edit_form_art"> <template #label> {{ $gettext('Select PNG/JPG artwork file') }} </template> ...
/content/code_sandbox/frontend/components/Stations/Podcasts/Common/Artwork.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
701
```vue <template> <div class="row g-2" v-bind="$attrs" > <div class="col-6"> <input :id="id+'_date'" v-model="publishDate" class="form-control" type="date" > </div> <div class="col-6">...
/content/code_sandbox/frontend/components/Stations/Podcasts/Common/PublishAtFields.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
485
```vue <template> <section class="card mb-4" role="region" > <div class="card-header text-bg-primary"> <div class="d-flex align-items-center"> <h2 class="card-title flex-fill my-0"> {{ $gettext('Station Statistics') }} </h2>...
/content/code_sandbox/frontend/components/Stations/Reports/Overview.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
876
```vue <template> <div class="card"> <div class="card-header text-bg-primary"> <div class="d-lg-flex align-items-center"> <h2 class="card-title flex-fill my-0"> {{ $gettext('Song Playback Timeline') }} </h2> <div class="flex-shr...
/content/code_sandbox/frontend/components/Stations/Reports/Timeline.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,329
```vue <template> <div class="row"> <div class="col-sm-12"> <div class="card"> <div class="card-header text-bg-primary"> <div class="d-lg-flex align-items-center"> <div class="flex-fill my-0"> <h2 class="card...
/content/code_sandbox/frontend/components/Stations/Reports/Listeners.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
2,729
```vue <template> <card-page :title="$gettext('SoundExchange Report')" > <form id="report-form" class="form vue-form" method="GET" :action="apiUrl" target="_blank" > <div class="card-body"> <form-fiel...
/content/code_sandbox/frontend/components/Stations/Reports/SoundExchange.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,020
```vue <template> <section class="card" role="region" > <div class="card-header text-bg-primary"> <h2 class="card-title"> {{ $gettext('Song Requests') }} </h2> </div> <div class="card-body"> <nav class="...
/content/code_sandbox/frontend/components/Stations/Reports/Requests.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,164
```vue <template> <common-metrics-view :date-range="dateRange" :api-url="apiUrl" field-key="browser" :field-label="$gettext('Browser')" > <template #by_listeners_legend> {{ $gettext('Top Browsers by Listeners') }} </template> <template #by_conn...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/BrowsersTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
166
```vue <template> <common-metrics-view :date-range="dateRange" :api-url="apiUrl" field-key="client" :field-label="$gettext('Client')" > <template #by_listeners_legend> {{ $gettext('Clients by Listeners') }} </template> <template #by_connected_t...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/ClientsTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
162
```vue <template> <span v-if="song.title !== ''"> <b>{{ song.title }}</b><br> {{ song.artist }} </span> <span v-else> {{ song.text }} </span> </template> <script setup lang="ts"> const props = defineProps({ song: { type: Object, required: true } }); </scr...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/SongText.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
86
```vue <template> <div class="buttons mb-3"> <input id="result-type-average" v-model="resultType" type="radio" class="btn-check" autocomplete="off" value="average" > <label class="btn btn-sm btn-outline-secon...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/ListenersByTimePeriodTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,199
```vue <template> <loading :loading="isLoading"> <fieldset> <legend> {{ $gettext('Listeners by Listening Time') }} </legend> <pie-chart style="width: 100%;" :data="stats.chart.datasets" :labels="stats.chart....
/content/code_sandbox/frontend/components/Stations/Reports/Overview/ListeningTimeTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
549
```vue <template> <loading :loading="isLoading" lazy > <div class="row"> <div class="col-md-6 mb-4"> <fieldset> <legend> <slot name="by_listeners_legend" /> </legend> <pie-cha...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/CommonMetricsView.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
812
```vue <template> <common-metrics-view :date-range="dateRange" :api-url="apiUrl" field-key="stream" :field-label="$gettext('Stream')" > <template #by_listeners_legend> {{ $gettext('Top Streams by Listeners') }} </template> <template #by_connect...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/StreamsTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
164
```vue <template> <common-metrics-view :date-range="dateRange" :api-url="apiUrl" field-key="country" :field-label="$gettext('Country')" > <template #by_listeners_legend> {{ $gettext('Top Countries by Listeners') }} </template> <template #by_con...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/CountriesTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
164
```vue <template> <loading :loading="isLoading" lazy > <div class="row"> <div class="col-md-6 mb-4"> <fieldset> <legend> {{ $gettext('Best Performing Songs') }} </legend> <tab...
/content/code_sandbox/frontend/components/Stations/Reports/Overview/BestAndWorstTab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,050
```vue <template> <div id="leaflet-container" ref="$container" > <slot v-if="$map" :map="$map" /> </div> </template> <script setup lang="ts"> import {onMounted, provide, ref, shallowRef, watch} from "vue"; import {Control, Icon, map, tileLayer} from '...
/content/code_sandbox/frontend/components/Stations/Reports/Listeners/InnerMap.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
444
```vue <template> <inner-map v-if="visibleListeners.length < 3000" > <map-point v-for="l in visibleListeners" :key="l.hash" :position="[l.location.lat, l.location.lon]" > {{ $gettext('IP') }} : {{ l.ip }}<br> {{ $get...
/content/code_sandbox/frontend/components/Stations/Reports/Listeners/Map.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
285
```vue <template> <div class="row row-cols-md-auto g-3 align-items-center"> <div class="col-12"> <label for="minLength">{{ $gettext('Min. Connected Time') }}</label> <div class="input-group input-group-sm"> <input id="minLength" ...
/content/code_sandbox/frontend/components/Stations/Reports/Listeners/FiltersBar.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
586
```vue <template> <div ref="$content"> <slot /> </div> </template> <script setup lang="ts"> import {inject, onUnmounted, ref, watch} from 'vue'; import {marker} from 'leaflet'; const props = defineProps({ position: { type: Array, required: true } }); const $map = inject('map')...
/content/code_sandbox/frontend/components/Stations/Reports/Listeners/MapPoint.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
174
```vue <template> <profile-header v-bind="pickProps(props, headerPanelProps)" :station="profileInfo.station" /> <div id="profile" class="row row-of-cards" > <div class="col-lg-7"> <template v-if="hasStarted"> <profile-now-playing ...
/content/code_sandbox/frontend/components/Stations/Profile/EnabledProfile.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,092
```vue <template> <card-page id="profile-frontend" class="mb-4" header-id="hdr_frontend" > <template #header="{id}"> <h3 :id="id" class="card-title" > {{ $gettext('Broadcasting Service') }} <...
/content/code_sandbox/frontend/components/Stations/Profile/FrontendPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,385
```vue <template> <card-page id="profile-backend" header-id="hdr_backend" > <template #header="{id}"> <h3 :id="id" class="card-title" > {{ $gettext('AutoDJ Service') }} <running-badge :running="backen...
/content/code_sandbox/frontend/components/Stations/Profile/BackendPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
847
```vue <template> <card-page header-id="hdr_streamers"> <template #header="{id}"> <h3 :id="id" class="card-title" > {{ $gettext('Streamers/DJs') }} <enabled-badge :enabled="enableStreamers" /> </h3> <...
/content/code_sandbox/frontend/components/Stations/Profile/StreamersPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
504
```vue <template> <card-page id="profile-nowplaying" class="nowplaying" header-id="hdr_now_playing" > <template #header="{id}"> <div class="d-flex align-items-center"> <h3 :id="id" class="flex-shrink card-title m...
/content/code_sandbox/frontend/components/Stations/Profile/NowPlayingPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
2,121
```vue <template> <card-page header-id="hdr_streams" :title="$gettext('Streams')" > <table class="table table-striped table-responsive mb-0"> <colgroup> <col style="width: 2%;"> <col style="width: 78%;"> <col style="width: 20%;"...
/content/code_sandbox/frontend/components/Stations/Profile/StreamsPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,144
```vue <template> <card-page id="profile-backend" header-id="hdr_backend_disabled" :title="$gettext('AutoDJ Disabled')" > <div class="card-body"> <p class="card-text"> {{ $gettext('AutoDJ has been disabled for this station. No music...
/content/code_sandbox/frontend/components/Stations/Profile/BackendNonePanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
117
```vue <template> <card-page v-if="processedScheduleItems.length > 0" class="scheduled" header-id="hdr_scheduled" :title="$gettext('Scheduled')" > <table class="table table-striped mb-0"> <tbody> <tr v-for="row in processedS...
/content/code_sandbox/frontend/components/Stations/Profile/SchedulePanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
554
```vue <template> <card-page header-id="hdr_public_pages"> <template #header="{id}"> <h3 :id="id" class="card-title" > {{ $gettext('Public Pages') }} <enabled-badge :enabled="enablePublicPage" /> </h3> ...
/content/code_sandbox/frontend/components/Stations/Profile/PublicPagesPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,024
```vue <template> <div class="outside-card-header d-flex align-items-center"> <div v-if="station.listen_url && hasStarted" class="flex-shrink-0 me-2" > <play-button class="btn-xl" :url="station.listen_url" is-stream ...
/content/code_sandbox/frontend/components/Stations/Profile/HeaderPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
349
```vue <template> <modal id="update_metadata" ref="$modal" centered :title="$gettext('Update Metadata')" @hidden="onHidden" @shown="onShown" > <info-card> {{ $gettext('Use this form to send a manual metadata update. Note that th...
/content/code_sandbox/frontend/components/Stations/Profile/UpdateMetadataModal.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
708
```vue <template> <div class="outside-card-header d-flex align-items-center"> <div class="flex-fill"> <h2 class="display-6 m-0"> {{ name }} </h2> </div> <div v-if="userAllowedForStation(StationPermission.Profile)" class="flex-sh...
/content/code_sandbox/frontend/components/Stations/Profile/StationDisabledPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
334
```vue <template> <card-page id="profile-now-playing" header-id="hdr_now_playing" :title="$gettext('On the Air')" > <div class="card-body"> <p class="card-text"> {{ $gettext('Information about the current playing track will appear h...
/content/code_sandbox/frontend/components/Stations/Profile/NowPlayingNotStartedPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
111
```vue <template> <modal id="embed_modal" ref="$modal" size="lg" :title="$gettext('Embed Widgets')" hide-footer no-enforce-focus > <div class="row"> <div class="col-md-7"> <section class="card mb-3" ...
/content/code_sandbox/frontend/components/Stations/Profile/EmbedModal.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,246
```vue <template> <card-page header-id="hdr_song_requests"> <template #header="{id}"> <h3 :id="id" class="card-title" > {{ $gettext('Song Requests') }} <enabled-badge :enabled="enableRequests" /> </h3> ...
/content/code_sandbox/frontend/components/Stations/Profile/RequestsPanel.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
493
```vue <template> <div class="row g-3"> <form-group-field id="edit_form_username" class="col-md-6" :field="v$.username" > <template #label> {{ $gettext('Username') }} </template> </form-group-field> <form-gr...
/content/code_sandbox/frontend/components/Stations/SftpUsers/Form.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
531
```vue <template> <modal-form ref="$modal" :loading="loading" :title="langTitle" :error="error" :disable-save-button="v$.$invalid" @submit="doSubmit" @hidden="clearContents" > <sftp-users-form v-model:form="form" :is-edit-mo...
/content/code_sandbox/frontend/components/Stations/SftpUsers/EditModal.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
322
```vue <template> <modal-form ref="$modal" :loading="loading" :title="langTitle" :error="error" :disable-save-button="v$.$invalid" @submit="doSubmit" @hidden="clearContents" > <type-select v-if="!type" :type-details="typeDet...
/content/code_sandbox/frontend/components/Stations/Webhooks/EditModal.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,078
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3 mb-3"> <form-group-field id="form_config_bot_token" class="col-md-6" :field="v$.config.bot_token" :label="$gettext('Bot To...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Telegram.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
869
```vue <template> <div class="row g-3"> <div class="col-md-6"> <type-select-section :title="$gettext('Generic Web Hooks')" :types="buildTypeInfo([ WebhookType.Generic, WebhookType.Email ])" @s...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/TypeSelect.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
411
```vue <template> <tab :label="title" :item-header-class="tabClass" > <form-markup id="mastodon_details"> <template #label> {{ $gettext('Mastodon Account Details') }} </template> <p class="card-text"> {{ $gettext('Steps...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Mastodon.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
885
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_config_webhookurl" class="col-md-12" :field="v$.config.webhookurl" :label="$gettext('RadioReg...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/RadioReg.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
394
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_config_token" class="col-md-6" :field="v$.config.token" :label="$gettext('API Token')" ...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/GetMeRadio.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
373
```vue <template> <section class="card mb-3"> <div class="card-header text-bg-primary"> <h3 class="card-subtitle"> {{ title }} </h3> </div> <div class="list-group list-group-flush"> <a v-for="type in types" ...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/TypeSelectSection.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
239
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_config_broadcastsubdomain" class="col-md-12" :field="v$.config.broadcastsubdomain" :label="$g...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/RadioDe.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
348
```vue <template> <tab :label="$gettext('Basic Info')" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_edit_name" class="col-md-12" :field="v$.name" :label="$gettext('Web Hook Nam...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/BasicInfo.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
472
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_config_station_id" class="col-md-6" :field="v$.config.station_id" :label="$gettext('TuneIn St...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Tunein.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
425
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_config_api_secret" class="col-md-6" :field="v$.config.api_secret" :label="$gettext('Measureme...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/GoogleAnalyticsV4.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
399
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3 mb-3"> <form-group-field id="form_config_webhook_url" class="col-md-12" :field="v$.config.webhook_url" input-type="url" ...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Discord.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
797
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3 mb-3"> <form-group-field id="form_config_to" class="col-md-12" :field="v$.config.to" :label="$gettext('Message Recipient(s...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Email.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
437
```vue <template> <tab :label="title" :item-header-class="tabClass" > <div class="row g-3"> <form-group-field id="form_config_matomo_url" class="col-md-12" :field="v$.config.matomo_url" input-type="url" ...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/MatomoAnalytics.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
456
```vue <template> <tab :label="title" :item-header-class="tabClass" > <form-markup id="webhook_details"> <template #label> {{ $gettext('Web Hook Details') }} </template> <p class="card-text"> {{ $get...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Generic.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
831
```vue <template> <form-group-select id="form_config_rate_limit" class="col-md-12" :field="v$.config.rate_limit" :options="rateLimitOptions" :label="$gettext('Only Post Once Every...')" /> </template> <script setup lang="ts"> import {useTranslate} from "~/vendor/gettext"...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Common/RateLimitFields.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
604
```vue <template> <common-formatting-info /> <div class="row g-3"> <form-group-field v-if="hasTrigger('song_changed')" id="form_config_message" class="col-md-12" :field="v$.config.message" input-type="textarea" :label="$gettext('Me...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Common/SocialPostFields.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,014
```vue <template> <form-markup id="customization_tips"> <template #label> {{ $gettext('Message Customization Tips') }} </template> <p class="card-text"> {{ $gettext('Variables are in the form of: ') }} <code v-pre>{{ var.name }}</code> </p> ...
/content/code_sandbox/frontend/components/Stations/Webhooks/Form/Common/FormattingInfo.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
200
```vue <template> <svg class="icon" xmlns="path_to_url" :viewBox="icon.viewBox" fill="currentColor" focusable="false" aria-hidden="true" v-html="icon.contents" /> </template> <script setup lang="ts"> import {Icon} from "~/components/Common/icons.ts"; con...
/content/code_sandbox/frontend/components/Common/Icon.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
91
```vue <template> <nav class="d-flex"> <ul class="pagination mb-0"> <pagination-item v-if="hasFirst" :page="1" :active="page === 1" @click="setPage" /> <pagination-item v-if="hasFirstEllipsis...
/content/code_sandbox/frontend/components/Common/Pagination.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
875
```vue <template> <modal :id="id" ref="$modal" :size="size" :title="title" :busy="loading" @shown="onShown" @hidden="onHidden" > <template #default="slotProps"> <div v-if="error != null" class="alert aler...
/content/code_sandbox/frontend/components/Common/ModalForm.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
647
```vue <template> <button type="button" :title="langTitle" :aria-label="langTitle" class="btn p-0" @click="toggle" > <icon :class="iconClass" :icon="iconText" /> </button> </template> <script setup lang="ts"> import Icon from "...
/content/code_sandbox/frontend/components/Common/PlayButton.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
407
```vue <template> <ul class="navdrawer-nav"> <li v-for="category in menu" :key="category.key" class="nav-item" > <router-link v-if="isRouteLink(category)" :class="getLinkClass(category)" :to="category.url...
/content/code_sandbox/frontend/components/Common/SidebarMenu.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
871
```vue <template> <loading :loading="isLoading"> <form-group-checkbox id="modal_scroll_to_bottom" v-model="scrollToBottom" :label="$gettext('Automatically Scroll to Bottom')" /> <textarea id="log-view-contents" ref="$textarea" ...
/content/code_sandbox/frontend/components/Common/StreamingLogView.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
514
```vue <template> <modal id="logs_modal" ref="$modal" size="xl" :title="$gettext('Log Viewer')" no-enforce-focus @hidden="clearContents" > <template v-if="logUrl"> <streaming-log-view v-if="isStreaming" ref="$log...
/content/code_sandbox/frontend/components/Common/StreamingLogModal.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
446
```vue <template> <vue-easy-lightbox :visible="visible" :imgs="imgs" @hide="hide" /> </template> <script setup lang="ts"> import VueEasyLightbox from "vue-easy-lightbox"; import {ref} from "vue"; const visible = ref(false); const imgs = ref([]); const show = (imageOrImages) => { i...
/content/code_sandbox/frontend/components/Common/Lightbox.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
124
```vue <template> <div :id="id" class="datatable-wrapper" > <div v-if="showToolbar" class="datatable-toolbar-top card-body" > <div class="row align-items-center"> <div v-if="showPagination" ...
/content/code_sandbox/frontend/components/Common/DataTable.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
4,610
```vue <template> <Teleport to="body"> <div v-bind="$attrs" ref="$modal" class="modal fade" tabindex="-1" :aria-label="title" :class="'modal-'+size" aria-hidden="true" > <div class="modal-dialog"> ...
/content/code_sandbox/frontend/components/Common/Modal.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
630
```vue <template> <audio v-if="isPlaying" ref="$audio" :title="title" /> </template> <script setup lang="ts"> import getLogarithmicVolume from '~/functions/getLogarithmicVolume'; import Hls from 'hls.js'; import {computed, nextTick, onMounted, onScopeDispose, ref, toRef, watch} from "vu...
/content/code_sandbox/frontend/components/Common/AudioPlayer.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,182
```vue <template> <div v-bind="$attrs" class="align-items-center justify-content-center p-4" :class="(loading) ? 'd-flex' : 'd-none'" > <div class="spinner-border me-3" role="status" aria-hidden="true" /> <strong>Loading...</str...
/content/code_sandbox/frontend/components/Common/Loading.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
175
```vue <template> <div class="card-body alert alert-info d-flex flex-md-row flex-column align-items-center" role="alert" aria-live="off" > <div class="flex-shrink-0 me-2"> <icon :icon="IconInfo" /> </div> <div class="flex-fill"> <slot /> ...
/content/code_sandbox/frontend/components/Common/InfoCard.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
169
```vue <template> <div class="toast align-items-center toast-notification mb-3" :class="'text-bg-'+variant" role="alert" aria-live="assertive" aria-atomic="true" > <template v-if="title"> <div v-if="title" class="toast-h...
/content/code_sandbox/frontend/components/Common/Toast.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
315
```vue <template> <button type="button" class="btn" :aria-label="muteLang" @click="toggleMute" > <icon :icon="muteIcon" /> </button> </template> <script setup lang="ts"> import Icon from "~/components/Common/Icon.vue"; import {computed, toRef, watch} from "vue"; impo...
/content/code_sandbox/frontend/components/Common/MuteButton.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
325
```vue <template> <full-calendar ref="calendar" :options="calendarOptions" /> </template> <script setup lang="ts"> import FullCalendar from '@fullcalendar/vue3'; import allLocales from '@fullcalendar/core/locales-all'; import luxon3Plugin from '@fullcalendar/luxon3'; import timeGridPlugin from ...
/content/code_sandbox/frontend/components/Common/ScheduleView.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
346
```vue <template> <li class="page-item" :class="[ (active) ? 'active' : '', (disabled) ? 'disabled' : '' ]" > <a v-if="!disabled" class="page-link" href="#" @click.prevent="onClick" > {{ l...
/content/code_sandbox/frontend/components/Common/PaginationItem.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
223
```vue <template> <div class="waveform-controls"> <div class="row"> <div class="col-md-12"> <div id="waveform_container"> <div id="waveform-timeline" /> <div id="waveform" /> </div> </div> </div> ...
/content/code_sandbox/frontend/components/Common/Waveform.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,345
```vue <template> <div class="list-group list-group-flush"> <a v-for="log in logs" :key="log.key" class="list-group-item list-group-item-action log-item" href="#" @click.prevent="viewLog(log.links.self, log.tail)" > <span class=...
/content/code_sandbox/frontend/components/Common/LogList.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
235
```vue <template> <section class="card" role="region" :aria-labelledby="headerId" > <div class="card-header text-bg-primary"> <slot :id="headerId" name="header" > <h2 :id="headerId" ...
/content/code_sandbox/frontend/components/Common/CardPage.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
263
```vue <template> <nav class="nav nav-default" :class="navTabsClass" role="tablist" aria-orientation="horizontal" > <div v-for="(childItem) in state.tabs" :key="childItem.computedId" class="nav-item" > <button ...
/content/code_sandbox/frontend/components/Common/Tabs.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
462
```vue <template> <a v-if="src" v-lightbox :href="src" class="album-art" target="_blank" data-fancybox="gallery" :aria-label="$gettext('Enlarge Album Art')" :title="$gettext('Enlarge Album Art')" > <img class="album_art" ...
/content/code_sandbox/frontend/components/Common/AlbumArt.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
241
```vue <template> <input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;" tabindex="-1" aria-hidden="true" > </template> ```
/content/code_sandbox/frontend/components/Common/InvisibleSubmitButton.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
55
```vue <template> <div class="card-body alert-danger d-flex align-items-center" role="alert" > <div class="flex-shrink-0 me-2"> <icon :icon="IconError" /> </div> <div class="flex-fill"> <slot /> </div> </div> </template> <script setup ...
/content/code_sandbox/frontend/components/Common/ErrorCard.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
106
```vue <template> <button type="button" class="btn btn-primary" @click="emit('click')" > <icon :icon="IconAdd" /> <span>{{ text }}</span> </button> </template> <script setup lang="ts"> import Icon from "~/components/Common/Icon.vue"; import {IconAdd} from "~/component...
/content/code_sandbox/frontend/components/Common/AddButton.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
118
```vue <template> <loading :loading="isLoading"> <div style="height: 300px; resize: vertical; overflow: auto !important;"> <code-mirror id="log-view-contents" v-model="logs" readonly basic :dark="isDark" ...
/content/code_sandbox/frontend/components/Common/FixedLogView.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
319
```vue <template> <input v-bind="$attrs" v-model="timeCode" class="form-control" type="time" pattern="[0-9]{2}:[0-9]{2}" placeholder="13:45" > </template> <script setup lang="ts"> import {computed} from "vue"; import {isEmpty, padStart} from 'lodash'; const prop...
/content/code_sandbox/frontend/components/Common/TimeCode.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
295
```vue <template> <div v-if="isActive || !isLazy" v-show="isActive" :id="`${computedId}-content`" > <slot /> </div> </template> <script setup lang="ts"> import {useTabChild} from "~/functions/tabs.ts"; const props = defineProps({ id: { type: [String, Number], ...
/content/code_sandbox/frontend/components/Common/Tab.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
153
```vue <template> <a v-if="'' !== serviceUrl" :href="serviceUrl" class="avatar" target="_blank" :title="langAvatar" :aria-label="$gettext('Manage Avatar')" > <img :src="url" :style="{ width: width+'px', height: 'auto' }" ...
/content/code_sandbox/frontend/components/Common/Avatar.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
256
```vue <template> <div class="flow-upload"> <div class="upload-progress"> <template v-for="(file, key) in files.value" :key="key" > <div v-if="file.isVisible" :id="'file_upload_' + file.uniqueIden...
/content/code_sandbox/frontend/components/Common/FlowUpload.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,586
```vue <template> <vue-date-picker v-model="dateRange" :dark="isDark" range :partial-range="false" :preset-dates="ranges" :min-date="minDate" :max-date="maxDate" :locale="localeWithDashes" :select-text="$gettext('Select')" :cancel-text=...
/content/code_sandbox/frontend/components/Common/DateRangeDropdown.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
988
```vue <template> <div :id="id" class="datatable-wrapper" > <div v-if="showToolbar" class="datatable-toolbar-top card-body" > <pagination v-model:current-page="currentPage" :total="totalRows" :per...
/content/code_sandbox/frontend/components/Common/GridLayout.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
1,080
```vue <template> <code-mirror v-model="textValue" basic :lang="lang" :dark="isDark" /> </template> <script setup lang="ts"> import CodeMirror from "vue-codemirror6"; import {useVModel} from "@vueuse/core"; import {computed} from "vue"; import {css} from "@codemirror/lang-css"; ...
/content/code_sandbox/frontend/components/Common/CodemirrorTextarea.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
256
```vue <template> <button ref="btn" type="button" class="btn btn-copy btn-link btn-xs" :aria-label="$gettext('Copy to Clipboard')" @click.prevent="doCopy" > <icon class="sm" :icon="IconCopy" /> <span v-if="!hideText">{{ copy...
/content/code_sandbox/frontend/components/Common/CopyToClipboardButton.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
251
```vue <template> <template v-for="(row, index) in alt" :key="'chart_alt_'+index" > <p>{{ row.label }}</p> <dl> <template v-for="(valrow, valindex) in row.values" :key="'chart_alt_'+index+'_val_'+valindex" > ...
/content/code_sandbox/frontend/components/Common/Charts/ChartAltValues.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
204
```vue <template> <canvas ref="$canvas"> <slot> <chart-alt-values v-if="alt.length > 0" :alt="alt" /> </slot> </canvas> </template> <script setup lang="ts"> import {useTranslate} from "~/vendor/gettext"; import {ref} from "vue"; import Cha...
/content/code_sandbox/frontend/components/Common/Charts/HourChart.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
273
```vue <template> <form-group v-bind="$attrs" :id="id" > <template v-if="label || slots.label" #label="slotProps" > <form-label :is-required="isRequired" :advanced="advanced" > <slot ...
/content/code_sandbox/frontend/components/Common/BitrateOptions.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
767
```vue <template> <canvas ref="$canvas"> <slot> <chart-alt-values v-if="alt.length > 0" :alt="alt" /> </slot> </canvas> </template> <script setup lang="ts"> import {ref} from "vue"; import ChartAltValues from "~/components/Common/Charts/Ch...
/content/code_sandbox/frontend/components/Common/Charts/PieChart.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
182
```vue <template> <small class="badge rounded-pill ms-2" :class="badgeClass" >{{ badgeText }}</small> </template> <script setup lang="ts"> import {computed} from "vue"; import {useGettext} from "vue3-gettext"; const props = defineProps({ enabled: { type: Boolean, required: ...
/content/code_sandbox/frontend/components/Common/Badges/EnabledBadge.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
156
```vue <template> <canvas ref="$canvas"> <slot> <chart-alt-values v-if="alt.length > 0" :alt="alt" /> </slot> </canvas> </template> <script setup lang="ts"> import {computed, ref} from "vue"; import {useTranslate} from "~/vendor/gettext"; ...
/content/code_sandbox/frontend/components/Common/Charts/TimeSeriesChart.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
542
```vue <template> <small class="badge rounded-pill ms-2" :class="badgeClass" >{{ badgeText }}</small> </template> <script setup lang="ts"> import {computed} from "vue"; import {useGettext} from "vue3-gettext"; const props = defineProps({ running: { type: Boolean, required: ...
/content/code_sandbox/frontend/components/Common/Badges/RunningBadge.vue
vue
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
157
```php <?php declare(strict_types=1); use App\AppFactory; error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); ini_set('display_errors', '1'); require dirname(__DIR__) . '/vendor/autoload.php'; $app = AppFactory::createApp(); $app->run(); ```
/content/code_sandbox/web/index.php
php
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
61
```yaml openapi: 3.0.0 info: title: AzuraCast description: 'AzuraCast is a standalone, turnkey web radio management tool. Radio stations hosted by AzuraCast expose a public API for viewing now playing data, making requests and more.' license: name: 'Apache 2.0' url: 'path_to_url version: 0.20.2 servers:...
/content/code_sandbox/web/static/openapi.yml
yaml
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
32,909
```php <?php /** * PHPStan Bootstrap File */ error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT); ini_set('display_errors', 1); require dirname(__DIR__) . '/vendor/autoload.php'; $tempDir = sys_get_temp_dir(); $app = App\AppFactory::createApp([ App\Environment::TEMP_DIR => $tempDir, App\Environment::UPLOADS_DI...
/content/code_sandbox/util/phpstan-doctrine.php
php
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
111
```shell #!/usr/bin/env bash # Ensure we're in the same directory as this script. cd "$( dirname "${BASH_SOURCE[0]}" )" || exit cd .. COMMIT_LONG=$(git log --pretty=%H -n1 HEAD) COMMIT_DATE=$(git log -n1 --pretty=%ci HEAD) BRANCH=$(git rev-parse --abbrev-ref HEAD | head -n 1) printf "COMMIT_LONG=\"%s\"\n" "$COMMIT...
/content/code_sandbox/util/write_git_info.sh
shell
2016-04-30T21:41:23
2024-08-16T18:27:26
AzuraCast
AzuraCast/AzuraCast
2,978
139