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>
<div class="public-page">
<div class="card p-2">
<div class="card-body">
<div class="row mb-4">
<div class="col-sm">
<h2
v-if="hideProductName"
class="card-title ... | /content/code_sandbox/frontend/components/Login.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,281 |
```vue
<template>
<loading
:loading="chartsLoading"
>
<tabs>
<tab :label="$gettext('Average Listeners')">
<time-series-chart
style="width: 100%;"
:data="chartsData.average.metrics"
:alt="chartsData.average.al... | /content/code_sandbox/frontend/components/DashboardCharts.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 332 |
```vue
<template>
<div
id="dashboard"
class="row-of-cards"
>
<section
class="card"
role="region"
:aria-label="$gettext('Account Details')"
>
<user-info-panel>
<a
class="btn btn-dark"
... | /content/code_sandbox/frontend/components/Dashboard.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,160 |
```vue
<template>
<audio-player
ref="$player"
:volume="volume"
:is-muted="isMuted"
@update:duration="onUpdateDuration"
@update:current-time="onUpdateCurrentTime"
@update:progress="onUpdateProgress"
/>
<div
v-if="isPlaying"
v-bind="$attrs"
... | /content/code_sandbox/frontend/components/InlinePlayer.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 885 |
```vue
<template>
<teleport to="#radio-player-controls">
<inline-player class="ms-3" />
</teleport>
</template>
<script setup lang="ts">
import InlinePlayer from "~/components/InlinePlayer.vue";
</script>
``` | /content/code_sandbox/frontend/components/HeaderInlinePlayer.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 53 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('My Account') }}
</h2>
<section
class="card mb-4"
role="region"
:aria-label="$gettext('Account Details')"
>
<user-info-panel ref="$userInfoPanel">
<button
type="button... | /content/code_sandbox/frontend/components/Account.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 404 |
```vue
<template>
<slot />
</template>
<script setup lang="ts">
import {useProvidePlayerStore} from "~/functions/usePlayerStore.ts";
import {nextTick, onMounted} from "vue";
useProvidePlayerStore('global');
onMounted(async () => {
await nextTick();
document.dispatchEvent(new CustomEvent("vue-ready"));
})... | /content/code_sandbox/frontend/components/MinimalLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 76 |
```vue
<template>
<div class="d-flex justify-content-center align-items-center text-center mb-3 mt-2 px-5">
<div
class="rounded border p-2 m-2"
:class="getStepperClass(1)"
>
<small>{{ $gettext('Step %{step}', {step: 1}) }}</small><br>
{{ $gettext('Crea... | /content/code_sandbox/frontend/components/Setup/SetupStep.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 406 |
```vue
<template>
<setup-step :step="2" />
<section
class="card"
role="region"
aria-labelledby="hdr_new_station"
>
<div class="card-header text-bg-primary">
<h3
id="hdr_new_station"
class="card-title"
>
... | /content/code_sandbox/frontend/components/Setup/Station.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 390 |
```vue
<template>
<a
class="visually-hidden-focusable"
href="#content"
>
{{ $gettext('Skip to main content') }}
</a>
<header class="navbar bg-primary-dark shadow-sm fixed-top">
<template v-if="slots.sidebar">
<button
id="navbar-toggle"
... | /content/code_sandbox/frontend/components/PanelLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,367 |
```vue
<template>
<admin-settings
v-bind="props"
@saved="onSaved"
>
<template #preCard>
<setup-step :step="3" />
</template>
<template #cardTitle>
{{ $gettext('Customize AzuraCast Settings') }}
</template>
<template #cardUpper>
... | /content/code_sandbox/frontend/components/Setup/Settings.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 249 |
```vue
<template>
<div class="public-page">
<section
class="card"
role="region"
aria-labelledby="hdr_first_time_setup"
>
<div class="card-body p-4">
<div class="row mb-2">
<div class="col-sm">
... | /content/code_sandbox/frontend/components/Setup/Register.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 774 |
```vue
<template>
<full-height-card>
<template #header>
<div class="d-flex align-items-center">
<div class="flex-shrink">
<h2 class="card-title py-2">
<template v-if="stationName">
{{ stationName }}
... | /content/code_sandbox/frontend/components/Public/OnDemand.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 828 |
```vue
<template>
<full-height-card>
<template #title>
<template v-if="stationName">
{{ stationName }}
</template>
<template v-else>
{{ $gettext('Schedule') }}
</template>
</template>
<template #default>... | /content/code_sandbox/frontend/components/Public/Schedule.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 241 |
```vue
<template>
<div class="public-page">
<div class="card">
<div class="card-body">
<h2 class="card-title mb-3">
{{ stationName }}
</h2>
<div class="stations nowplaying">
<radio-player
... | /content/code_sandbox/frontend/components/Public/FullPlayer.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 701 |
```vue
<template>
<section
id="content"
role="main"
style="flex: 1"
>
<div class="container pt-5">
<div class="row g-3">
<div class="col-md-4 mb-sm-4">
<settings-panel />
</div>
<div class="col-md-8"... | /content/code_sandbox/frontend/components/Public/WebDJ.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 430 |
```vue
<template>
<div id="song_history">
<song-history
:show-album-art="showAlbumArt"
:history="history"
/>
</div>
</template>
<script setup lang="ts">
import useNowPlaying, {nowPlayingProps} from '~/functions/useNowPlaying';
import {computed} from "vue";
import SongHis... | /content/code_sandbox/frontend/components/Public/History.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 149 |
```vue
<template>
<div class="container-fluid">
<requests-data-table v-bind="props" />
</div>
</template>
<script setup lang="ts">
import RequestsDataTable from "~/components/Public/Requests/RequestsDataTable.vue";
import requestsProps from "~/components/Public/Requests/requestsProps.ts";
const props =... | /content/code_sandbox/frontend/components/Public/Requests.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 76 |
```vue
<template>
<div class="radio-player-widget">
<audio-player
:title="np.now_playing.song.text"
:volume="volume"
:is-muted="isMuted"
/>
<div class="now-playing-details">
<div
v-if="showAlbumArt && np.now_playing.song.art"
... | /content/code_sandbox/frontend/components/Public/Player.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,229 |
```vue
<template>
<section
id="content"
class="full-height-wrapper"
role="main"
>
<div class="card">
<div class="card-header text-bg-primary">
<slot name="header">
<h2 class="card-title py-2">
<slot name="tit... | /content/code_sandbox/frontend/components/Public/FullHeightCard.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 180 |
```vue
<template>
<div class="card">
<div class="card-header text-bg-primary">
<div class="d-flex align-items-center">
<div class="flex-fill text-nowrap">
<h5 class="card-title">
{{ langHeader }}
</h5>
... | /content/code_sandbox/frontend/components/Public/WebDJ/PlaylistPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,240 |
```vue
<template>
<div class="mixer card">
<div class="card-header text-bg-primary">
<div class="d-flex align-items-center">
<div class="flex-fill">
<h5 class="card-title">
{{ $gettext('Mixer') }}
</h5>
... | /content/code_sandbox/frontend/components/Public/WebDJ/MixerPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 295 |
```vue
<template>
<div class="card settings">
<div class="card-header text-bg-primary">
<h5 class="card-title">
{{ $gettext('WebDJ') }}
<br>
<small>{{ stationName }}</small>
</h5>
</div>
<template v-if="isConnected">
... | /content/code_sandbox/frontend/components/Public/WebDJ/SettingsPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,766 |
```vue
<template>
<div class="d-flex flex-row align-items-center">
<div class="flex-shrink-0 me-2">
<mute-button
class="p-0"
:volume="volume"
:is-muted="isMuted"
@toggle-mute="toggleMute"
/>
</div>
<div c... | /content/code_sandbox/frontend/components/Public/WebDJ/VolumeSlider.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 371 |
```vue
<template>
<div class="card">
<div class="card-header text-bg-primary">
<div class="d-flex align-items-center">
<div class="flex-fill">
<h5 class="card-title">
{{ $gettext('Microphone') }}
</h5>
... | /content/code_sandbox/frontend/components/Public/WebDJ/MicrophonePanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 885 |
```vue
<template>
<modal
id="request_modal"
ref="$modal"
size="lg"
:title="$gettext('Request a Song')"
hide-footer
>
<song-request
v-bind="props"
@submitted="hide"
/>
</modal>
</template>
<script setup lang="ts">
import SongReq... | /content/code_sandbox/frontend/components/Public/FullPlayer/RequestModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 179 |
```vue
<template>
<div id="station-history">
<p v-if="history.length <= 0">
{{ $gettext('No records to display.') }}
</p>
<div
v-for="(row, index) in history"
:key="row.sh_id"
class="song"
>
<strong class="order">{{ history.... | /content/code_sandbox/frontend/components/Public/FullPlayer/SongHistory.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 527 |
```vue
<template>
<data-table
id="public_requests"
ref="datatable"
paginated
select-fields
:page-options="pageOptions"
:fields="fields"
:api-url="requestListUri"
>
<template #cell(name)="row">
<div class="d-flex align-items-center">
... | /content/code_sandbox/frontend/components/Public/Requests/RequestsDataTable.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 800 |
```vue
<template>
<modal
id="song_history_modal"
ref="$modal"
size="md"
:title="$gettext('Song History')"
centered
>
<song-history
:show-album-art="showAlbumArt"
:history="history"
/>
</modal>
</template>
<script setup lang="ts... | /content/code_sandbox/frontend/components/Public/FullPlayer/SongHistoryModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 203 |
```vue
<template>
<data-table
v-if="groupLayout === 'table'"
id="podcasts"
ref="$datatable"
paginated
:fields="fields"
:api-url="apiUrl"
>
<template #cell(art)="{item}">
<album-art
:src="item.art"
:width="96"
... | /content/code_sandbox/frontend/components/Public/Podcasts/PodcastList.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 979 |
```vue
<template>
<minimal-layout>
<full-height-card>
<template #header>
<div class="d-flex align-items-center">
<div class="flex-shrink">
<h2 class="card-title py-2">
<slot name="title">
... | /content/code_sandbox/frontend/components/Public/Podcasts/PodcastsLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 285 |
```vue
<template>
<div class="full-height-scrollable">
<div class="card-body">
<loading
:loading="podcastLoading || episodeLoading"
lazy
>
<nav aria-label="breadcrumb">
<ol class="breadcrumb m-0">
... | /content/code_sandbox/frontend/components/Public/Podcasts/PodcastEpisode.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 812 |
```vue
<template>
<h4 class="card-title mb-1">
{{ podcast.title }}
<span v-if="podcast.author">
<br>
<small>
{{ $gettext('by') }} <a
:href="'mailto:'+podcast.email"
target="_blank"
>{{ podcast.author }}</... | /content/code_sandbox/frontend/components/Public/Podcasts/PodcastCommon.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 256 |
```vue
<template>
<modal-form
ref="$modal"
size="md"
centered
:title="$gettext('Change Password')"
:disable-save-button="v$.$invalid"
@submit="onSubmit"
@hidden="clearContents"
>
<form-group-field
id="form_current_password"
... | /content/code_sandbox/frontend/components/Account/ChangePasswordModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 614 |
```vue
<template>
<div class="full-height-scrollable">
<loading
:loading="isLoading"
lazy
>
<div class="card-body">
<div class="d-flex">
<div class="flex-fill">
<nav aria-label="breadcrumb">
... | /content/code_sandbox/frontend/components/Public/Podcasts/Podcast.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,502 |
```vue
<template>
<card-page
header-id="hdr_api_keys"
:title="$gettext('API Keys')"
>
<template #info>
{{
$gettext('Use API keys to authenticate with the AzuraCast API using the same permissions as your user account.')
}}
<a
... | /content/code_sandbox/frontend/components/Account/ApiKeysPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 647 |
```vue
<template>
<canvas ref="$canvas" />
</template>
<script setup lang="ts">
import {onMounted, ref} from "vue";
import {toCanvas} from "qrcode";
const props = defineProps<{
uri: string
}>();
const $canvas = ref<HTMLCanvasElement | null>();
onMounted(() => {
toCanvas($canvas.value, props.uri, (error)... | /content/code_sandbox/frontend/components/Account/QrCode.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 101 |
```vue
<template>
<div class="card-header text-bg-primary d-flex flex-wrap align-items-center">
<avatar
v-if="user.avatar.url_128"
class="flex-shrink-0 me-3"
:url="user.avatar.url_128"
:service="user.avatar.service_name"
:service-url="user.avatar.s... | /content/code_sandbox/frontend/components/Account/UserInfoPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 462 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="$gettext('Enable Two-Factor Authentication')"
:error="error"
:disable-save-button="v$.$invalid"
no-enforce-focus
@submit="doSubmit"
@hidden="clearContents"
>
<div class="... | /content/code_sandbox/frontend/components/Account/TwoFactorModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,021 |
```vue
<template>
<modal
id="api_keys_modal"
ref="$modal"
size="md"
centered
:title="$gettext('Add New Passkey')"
no-enforce-focus
@hidden="onHidden"
>
<template #default>
<div
v-show="error != null"
clas... | /content/code_sandbox/frontend/components/Account/PasskeyModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,072 |
```vue
<template>
<modal
id="api_keys_modal"
ref="$modal"
size="md"
centered
:title="$gettext('Add API Key')"
no-enforce-focus
@shown="onShown"
@hidden="clearContents"
>
<template #default>
<div
v-show="error != ... | /content/code_sandbox/frontend/components/Account/ApiKeyModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 788 |
```vue
<template>
<div class="row g-3">
<div class="col-md-6">
<form-group-field
id="form_name"
class="mb-3"
tabindex="1"
:field="form.name"
:label="$gettext('Name')"
/>
<form-group-field
... | /content/code_sandbox/frontend/components/Account/EditForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 489 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="$gettext('Edit Profile')"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<account-edit-form
:form="v$"
:su... | /content/code_sandbox/frontend/components/Account/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 593 |
```vue
<template>
<card-page header-id="hdr_security">
<template #header="{id}">
<div class="d-flex align-items-center">
<div class="flex-fill">
<h3
:id="id"
class="card-title"
>
... | /content/code_sandbox/frontend/components/Account/SecurityPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,420 |
```vue
<template>
<h3 class="card-subtitle">
{{ $gettext('New Key Generated') }}
</h3>
<p class="card-text">
<b>{{ $gettext('Important: copy the key below before continuing!') }}</b>
{{ $gettext('You will not be able to retrieve it again.') }}
</p>
<p class="card-text">
... | /content/code_sandbox/frontend/components/Account/ApiKeyNewKey.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 283 |
```vue
<template>
<input
v-model="checkboxValue"
class="form-check-input"
type="checkbox"
role="switch"
>
</template>
<script setup lang="ts">
import {useVModel} from "@vueuse/core";
const props = defineProps<{
modelValue: boolean | null
}>();
const emit = defineEmits(['up... | /content/code_sandbox/frontend/components/Form/FormCheckbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 100 |
```vue
<template>
<slot name="default" />
<span
v-if="isRequired"
class="text-danger"
>
<span aria-hidden="true">*</span>
<span class="visually-hidden">{{ $gettext('Required') }}</span>
</span>
<span
v-if="advanced"
class="badge small text-bg-primary... | /content/code_sandbox/frontend/components/Form/FormLabel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 213 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
v-bind="pickProps(props, formLabelProps)"
>
... | /content/code_sandbox/frontend/components/Form/FormGroupMultiCheck.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 627 |
```vue
<template>
<div
class="form-group"
v-bind="$attrs"
>
<label
v-if="slots.label"
:for="id"
>
<slot name="label" />
</label>
<slot
:id="id"
name="default"
/>
<div
v-if="s... | /content/code_sandbox/frontend/components/Form/FormGroup.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 146 |
```vue
<template>
<div
v-for="message in errorMessages"
:key="message"
class="invalid-feedback"
>
{{ message }}
</div>
</template>
<script setup lang="ts">
import {useTranslate} from "~/vendor/gettext";
import {get, map} from "lodash";
import {computed} from "vue";
const pr... | /content/code_sandbox/frontend/components/Form/VuelidateError.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 500 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
v-bind="pickProps(props, formLabelProps)"
>
... | /content/code_sandbox/frontend/components/Form/FormGroupField.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 999 |
```vue
<template>
<form-group :id="id">
<template
v-if="label || slots.label"
#label="slotProps"
>
<slot
name="label"
v-bind="slotProps"
>
{{ label }}
</slot>
</template>
<tem... | /content/code_sandbox/frontend/components/Form/FormMarkup.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 263 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template #default>
<slot
name="default"
v-bind="{ id, field, model }"
>
<div class="form-check form-switch">
<form-checkbox
... | /content/code_sandbox/frontend/components/Form/FormGroupCheckbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 511 |
```vue
<template>
<fieldset class="form-group">
<legend v-if="slots.label || label">
<slot name="label">
{{ label }}
</slot>
</legend>
<p v-if="slots.description || description">
<slot name="description">
{{ description }}
... | /content/code_sandbox/frontend/components/Form/FormFieldset.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 141 |
```vue
<template>
<template
v-for="(option, index) in parsedOptions"
:key="index"
>
<optgroup
v-if="Array.isArray(option.options)"
:label="option.label"
>
<select-options :options="option.options" />
</optgroup>
<option
... | /content/code_sandbox/frontend/components/Form/SelectOptions.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 187 |
```vue
<template>
<input
v-bind="$attrs"
type="file"
class="form-control"
@change="uploaded"
>
</template>
<script setup lang="ts">
const props = defineProps({
modelValue: {
type: [Object],
default: null
}
});
const emit = defineEmits(['update:modelValue... | /content/code_sandbox/frontend/components/Form/FormFile.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 119 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
v-bind="pickProps(props, formLabelProps)"
>
... | /content/code_sandbox/frontend/components/Form/FormGroupSelect.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 549 |
```vue
<template>
<div>
<div
v-for="option in options"
:key="option.value"
class="form-check"
:class="!stacked ? 'form-check-inline' : ''"
>
<input
:id="id+'_'+option.value"
v-model="value"
:v... | /content/code_sandbox/frontend/components/Form/FormMultiCheck.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 399 |
```vue
<template>
<div class="navdrawer-header">
<router-link
:to="{ name: 'admin:index'}"
class="navbar-brand px-0"
>
{{ $gettext('Administration') }}
</router-link>
</div>
<div class="offcanvas-body">
<sidebar-menu :menu="menuItems" />
... | /content/code_sandbox/frontend/components/Admin/Sidebar.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 125 |
```vue
<template>
<card-page :title="$gettext('API Keys')">
<template #info>
<p class="card-text">
{{
$gettext('This page lists all API keys assigned to all users across the system. To manage your own API keys, visit your account profile.')
}}
... | /content/code_sandbox/frontend/components/Admin/ApiKeys.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 451 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Custom Branding') }}
</h2>
<card-page
class="mb-3"
header-id="hdr_upload_custom_assets"
:title="$gettext('Upload Custom Assets')"
>
<div class="card-body">
<ul class="list-unstyled">... | /content/code_sandbox/frontend/components/Admin/Branding.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 416 |
```vue
<template>
<card-page :title="$gettext('Users')">
<template #actions>
<add-button
:text="$gettext('Add User')"
@click="doCreate"
/>
</template>
<data-table
id="users"
ref="$datatable"
paginate... | /content/code_sandbox/frontend/components/Admin/Users.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 783 |
```vue
<template>
<div class="row-of-cards">
<card-page
header-id="hdr_system_logs"
:title="$gettext('System Logs')"
>
<log-list
:url="systemLogsUrl"
@view="viewLog"
/>
</card-page>
<card-page
... | /content/code_sandbox/frontend/components/Admin/Logs.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 384 |
```vue
<template>
<card-page
header-id="hdr_storage_locations"
:title="$gettext('Storage Locations')"
>
<div class="card-body pb-0">
<nav
class="nav nav-tabs"
role="tablist"
>
<div
v-for="tab in t... | /content/code_sandbox/frontend/components/Admin/StorageLocations.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,283 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Update AzuraCast') }}
</h2>
<div class="row row-of-cards">
<div class="col col-md-8">
<card-page
header-id="hdr_update_details"
:title="$gettext('Update Details')"
>
... | /content/code_sandbox/frontend/components/Admin/Updates.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,410 |
```vue
<template>
<card-page
header-id="hdr_install_geolite"
:title="$gettext('Install GeoLite IP Database')"
>
<template #info>
{{
$gettext('IP Geolocation is used to guess the approximate location of your listeners based on the IP address they connect with. ... | /content/code_sandbox/frontend/components/Admin/GeoLite.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,065 |
```vue
<template>
<card-page :title="$gettext('Custom Fields')">
<template #info>
<p class="card-text">
{{
$gettext('Create custom fields to store extra metadata about each media file uploaded to your station libraries.')
}}
</p>
... | /content/code_sandbox/frontend/components/Admin/CustomFields.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 723 |
```vue
<template>
<card-page :title="$gettext('Connected AzuraRelays')">
<template #info>
<p class="card-text">
{{
$gettext('AzuraRelay is a standalone service that connects to your AzuraCast instance, automatically relays your stations via its own server, the... | /content/code_sandbox/frontend/components/Admin/Relays.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 621 |
```vue
<template>
<panel-layout v-bind="panelProps">
<template
v-if="!isHome"
#sidebar
>
<sidebar v-bind="sidebarProps" />
</template>
<template #default>
<router-view />
</template>
</panel-layout>
</template>
<script setu... | /content/code_sandbox/frontend/components/Admin/AdminLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 186 |
```vue
<template>
<div>
<h2 class="outside-card-header mb-1">
{{ $gettext('Administration') }}
</h2>
<div class="row row-of-cards">
<div
v-for="panel in menuItems"
:key="panel.key"
class="col-sm-12 col-lg-4"
... | /content/code_sandbox/frontend/components/Admin/Index.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 942 |
```vue
<template>
<card-page :title="$gettext('Roles & Permissions')">
<template #info>
<p class="card-text">
{{
$gettext('AzuraCast uses a role-based access control system. Roles are given permissions to certain sections of the site, then users are assigned i... | /content/code_sandbox/frontend/components/Admin/Permissions.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 945 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Backups') }}
</h2>
<div class="row row-of-cards">
<div class="col-md-6">
<card-page header-id="hdr_automatic_backups">
<template #header="{id}">
<h2
:... | /content/code_sandbox/frontend/components/Admin/Backups.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,760 |
```vue
<template>
<form
class="form vue-form"
@submit.prevent="submit"
>
<slot name="preCard" />
<section
class="card"
role="region"
aria-labelledby="hdr_system_settings"
>
<div class="card-header text-bg-primary">
... | /content/code_sandbox/frontend/components/Admin/Settings.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 723 |
```vue
<template>
<card-page
header-id="hdr_install_stereo_tool"
:title="$gettext('Install Stereo Tool')"
>
<template #info>
<p class="card-text">
{{
$gettext('Stereo Tool is a popular, proprietary tool for software audio processing. Using ... | /content/code_sandbox/frontend/components/Admin/StereoTool.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,165 |
```vue
<template>
<card-page :title="$gettext('Stations')">
<template #actions>
<add-button
:text="$gettext('Add Station')"
@click="doCreate"
/>
</template>
<data-table
id="stations"
ref="$datatable"
... | /content/code_sandbox/frontend/components/Admin/Stations.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,234 |
```vue
<template>
<card-page header-id="hdr_audit_log">
<template #header="{id}">
<div class="d-flex align-items-center">
<h2
:id="id"
class="card-title flex-fill my-0"
>
{{ $gettext('Audit Log') }}
... | /content/code_sandbox/frontend/components/Admin/AuditLog.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,066 |
```vue
<template>
<card-page
header-id="hdr_install_shoutcast"
:title="$gettext('Install Shoutcast 2 DNAS')"
>
<div class="card-body">
<loading :loading="isLoading">
<div class="row g-3">
<div class="col-md-7">
<fiel... | /content/code_sandbox/frontend/components/Admin/Shoutcast.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 703 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_name"
class="col-md-6"
:field="form.name"
:label="$gettext('Field Name')"
:description="$gettext('This will be used as the label when editing individual songs, and will show in... | /content/code_sandbox/frontend/components/Admin/CustomFields/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 454 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<admin-custom-fields-form
:form="v$"
:auto-assig... | /content/code_sandbox/frontend/components/Admin/CustomFields/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 394 |
```vue
<template>
<modal
ref="$modal"
:title="$gettext('Log Output')"
size="lg"
>
<div style="max-height: 300px; overflow-y: scroll">
<task-output :logs="logOutput" />
</div>
</modal>
</template>
<script setup lang="ts">
import Modal from "~/components/Com... | /content/code_sandbox/frontend/components/Admin/Debug/TaskOutputModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 198 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('System Debugger') }}
</h2>
<div class="row row-of-cards">
<div class="col-md-6">
<card-page
header-id="hdr_clear_cache"
:title="$gettext('Clear Cache')"
>
... | /content/code_sandbox/frontend/components/Admin/Debug.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,125 |
```vue
<template>
<div
v-for="(row, id) in logs"
id="log-view"
:key="id"
class="card mb-3"
>
<div
:id="'log-row-'+id"
class="card-header"
>
<h4 class="mb-0">
<span
class="badge"
... | /content/code_sandbox/frontend/components/Admin/Debug/TaskOutput.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 665 |
```vue
<template>
<tab
:label="$gettext('Basic Info')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-multi-check
id="form_edit_adapter"
class="col-md-12"
:field="v$.adapter"
:options="adapterO... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 629 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<tabs content-class="mt-3">
<storage-location-form v-model:f... | /content/code_sandbox/frontend/components/Admin/StorageLocations/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 666 |
```vue
<template>
<tab
:label="$gettext('Remote: SFTP')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_edit_sftpHost"
class="col-md-12 col-lg-6"
:field="v$.sftpHost"
:label="$ge... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form/Sftp.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 562 |
```vue
<template>
<tab
:label="$gettext('Remote: Dropbox')"
:item-header-class="tabClass"
>
<div class="row g-3">
<div class="col-md-12">
<h3>{{ $gettext('Dropbox Setup Instructions') }}</h3>
<ul>
<li>
... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form/Dropbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 722 |
```vue
<template>
<tab
:label="$gettext('Remote: S3 Compatible')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_edit_s3CredentialKey"
class="col-md-6"
:field="v$.s3CredentialKey"
... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form/S3.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 659 |
```vue
<template>
<div class="d-flex">
<div class="flex-shrink-0">
<a
v-lightbox
:href="url"
target="_blank"
>
<img
:src="url"
width="125"
:alt="caption"
... | /content/code_sandbox/frontend/components/Admin/Branding/CustomAssetForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 513 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_email"
class="col-md-6"
:field="v$.email"
input-type="email"
:label="$gettext('E-mail Address')"
/>
<form-group-field
id="edit_form_new_password"
... | /content/code_sandbox/frontend/components/Admin/Users/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 548 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<admin-users-form
v-model:form="form"
:roles="ro... | /content/code_sandbox/frontend/components/Admin/Users/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 399 |
```vue
<template>
<form
class="form vue-form"
@submit.prevent="submit"
>
<section
class="card mb-3"
role="region"
>
<div class="card-header text-bg-primary">
<h2 class="card-title">
{{ $gettext('Branding Sett... | /content/code_sandbox/frontend/components/Admin/Branding/BrandingForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,512 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_name"
class="col-md-12"
:field="form.name"
:label="$gettext('New Station Name')"
/>
<form-group-field
id="edit_form_description"
class="col-md-12"
... | /content/code_sandbox/frontend/components/Admin/Stations/CloneModalForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 450 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="$gettext('Clone Station')"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<admin-stations-clone-modal-form :form="v$" />
</mod... | /content/code_sandbox/frontend/components/Admin/Stations/CloneModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 543 |
```vue
<template>
<loading :loading="isLoading">
<div
v-show="error != null"
class="alert alert-danger"
>
{{ error }}
</div>
<form
class="form vue-form"
@submit.prevent="submit"
>
<tabs content-class="mt... | /content/code_sandbox/frontend/components/Admin/Stations/StationForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,147 |
```vue
<template>
<modal
id="station_edit_modal"
ref="$modal"
size="lg"
:title="langTitle"
:busy="false"
@shown="resetForm"
@hidden="clearContents"
>
<admin-stations-form
v-bind="pickProps(props, stationFormProps)"
ref="$for... | /content/code_sandbox/frontend/components/Admin/Stations/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 661 |
```vue
<template>
<tab
:label="$gettext('Song Requests')"
:item-header-class="tabClassWithBackend"
>
<form-fieldset v-if="isBackendEnabled">
<template #label>
{{ $gettext('Song Requests') }}
</template>
<template #description>
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/RequestsForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 800 |
```vue
<template>
<tab
:label="$gettext('Profile')"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-field
id="edit_form_name"
class="col-md-12"
:field="v$.name"
:label="$gettext('Name')"
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/ProfileForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,528 |
```vue
<template>
<tab
:label="$gettext('HLS')"
:item-header-class="tabClassWithBackend"
>
<form-fieldset v-if="isBackendEnabled">
<template #label>
{{ $gettext('HTTP Live Streaming (HLS)') }}
</template>
<template #description>
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/HlsForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,180 |
```vue
<template>
<tab
:label="$gettext('Administration')"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-checkbox
id="edit_form_is_enabled"
class="col-md-6"
:field="v$.is_enabled"
:label=... | /content/code_sandbox/frontend/components/Admin/Stations/Form/AdminForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,082 |
```vue
<template>
<tab
:label="$gettext('Streamers/DJs')"
:item-header-class="tabClassWithBackend"
>
<form-fieldset v-if="isBackendEnabled">
<template #label>
{{ $gettext('Streamers/DJs') }}
</template>
<div class="row g-3 mb-3">
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/StreamersForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,749 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.