first commit
This commit is contained in:
commit
6adcb5b43d
258 files changed
+143145
No files matched your search
@@ -0,0 +1,173 @@
|
||||
<template>
|
||||
<div class="console-app">
|
||||
<aside class="sidebar">
|
||||
<a class="brand" href="#/dashboard"><span class="brand-mark"><icon name="helmet" :size="25"/></span><span>metacu<span class="brand-dot">.</span><small>PM CONTROL CENTER</small></span></a>
|
||||
<div class="workspace-label">WORKSPACE <span>01</span></div>
|
||||
<div class="workspace-name"><span class="workspace-avatar">M</span><div>공유 PM 관제<small>헬멧 통합 관리 플랫폼</small></div></div>
|
||||
<div class="nav-caption">모니터링</div>
|
||||
<nav aria-label="주요 메뉴"><button v-for="item in nav" :key="item.id" :class="['nav-item',{active: view===item.id}]" @click="navigate(item.id)"><icon :name="item.icon"/><span>{{ item.label }}</span><span v-if="item.id==='devices'" class="nav-count">{{ devices.length }}</span></button></nav>
|
||||
<div class="sidebar-bottom"><div class="connection-card"><span :class="['status-dot', demo ? 'amber' : connected ? '' : 'muted']"></span><strong>{{ demo ? '서버 미연결' : connected ? '서버 연결됨' : '서버 연결 대기' }}</strong></div><div class="account"><span class="account-avatar">M</span><div>운영 콘솔<small>관리자 인증 연동 예정</small></div><icon name="shield" :size="18"/></div></div>
|
||||
</aside>
|
||||
|
||||
<div class="main-shell">
|
||||
<header class="topbar"><div class="breadcrumb">워크스페이스 <span>/</span> <strong>{{ currentNav.label }}</strong></div><div class="topbar-right"><button class="data-source-label" @click="navigate('settings')">{{ demo ? '시뮬레이션' : '실시간 연결' }}</button><span class="today">{{ today }}</span><span class="avatar-small">M</span></div></header>
|
||||
<main>
|
||||
<div class="page-heading"><div><div class="eyebrow">HELMET OPERATIONS</div><h1>{{ currentNav.label }}</h1><p>{{ descriptions[view] }}</p></div><div class="heading-actions"><span class="last-updated">{{ lastRefresh ? '갱신 '+clock(lastRefresh) : '갱신 대기' }}</span><button class="button" :disabled="loading" @click="refresh"><icon name="refresh" :size="16"/>{{ loading ? '불러오는 중' : '새로고침' }}</button></div></div>
|
||||
|
||||
<div v-if="error" class="error-banner" role="alert"><icon name="info"/><span>{{ error }}</span><button class="text-button" @click="refresh">다시 시도</button></div>
|
||||
<div v-if="notice" class="notice-banner" role="status">{{ notice }}<button aria-label="안내 닫기" @click="notice=''">×</button></div>
|
||||
|
||||
<template v-if="view==='overview'">
|
||||
<section class="metric-grid" aria-label="주요 운영 지표">
|
||||
<article v-for="m in metrics" :key="m.label" class="metric-card"><div class="metric-top"><span>{{ m.label }}</span><span :class="['metric-icon',m.tone]"><icon :name="m.icon" :size="19"/></span></div><div class="metric-number">{{ m.value }}<small>{{ m.unit }}</small></div></article>
|
||||
</section>
|
||||
<div class="overview-grid">
|
||||
<section class="panel trend-panel"><div class="panel-heading"><div><h2>센서 데이터 추이 </h2><p>{{ selected ? selected.name : '장치를 선택하세요' }} · {{ selectedKey || '—' }}</p></div><select aria-label="그래프 장치 선택" :value="selectedKey" @change="selectDevice($event.target.value)"><option v-for="d in devices" :key="d.key" :value="d.key">{{ d.name }}</option></select></div><div class="trend-summary"><div><small>{{ trendField==='temp' ? '현재 온도' : '현재 습도' }}</small><strong>{{ value(latest[trendField]) }}<em>{{ trendField==='temp' ? '°C' : '%' }}</em></strong></div><div class="segmented"><button :class="{selected:trendField==='temp'}" @click="trendField='temp'">온도</button><button :class="{selected:trendField==='humi'}" @click="trendField='humi'">습도</button></div></div><sensor-trend :samples="selectedSamples" :field="trendField" label="센서" :unit="trendField==='temp'?'°C':'%'"/></section>
|
||||
<section class="panel attention-panel"><div class="panel-heading"><div><h2>확인이 필요한 장치</h2><p>수신 상태와 주요 운영 알림</p></div><span class="count-badge">{{ attention.length }}</span></div><div v-if="!attention.length" class="empty-state"><icon name="shield" :size="34"/><strong>{{ devices.length ? '확인이 필요한 항목이 없습니다' : '아직 연결된 장치가 없습니다' }}</strong><small>{{ demo ? '장치 상태를 확인하고 있습니다.' : '장치 연결 후 상태가 표시됩니다.' }}</small></div><button v-for="a in attention.slice(0,4)" :key="a.key+a.message" class="attention-row" @click="openDevice(a.key)"><span :class="['alert-symbol',a.tone]"><icon :name="a.icon" :size="18"/></span><span><strong>{{ a.message }}</strong><small>{{ a.name }} · {{ a.key }}</small></span><icon name="chevron" :size="16"/></button></section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<section v-if="view==='overview'||view==='devices'" class="panel device-panel">
|
||||
<div class="panel-heading"><div><h2>장치 운영 현황 <span class="plain-count">{{ devices.length }}</span></h2><p>{{ demo ? '전체 장치의 연결 상태와 최신 데이터를 확인하세요.' : '현재 서버 연결 목록 기준 · 등록 장치 목록은 연동 예정' }}</p></div><button v-if="view==='overview'" class="text-button" @click="navigate('devices')">전체 장치 보기 <icon name="arrow" :size="15"/></button></div>
|
||||
<div class="table-toolbar"><div class="filter-tabs"><button v-for="f in filters" :key="f.id" :class="{active:statusFilter===f.id}" @click="statusFilter=f.id">{{ f.label }} <span>{{ filterCount(f.id) }}</span></button></div><label class="search-box"><icon name="search" :size="17"/><input v-model="search" placeholder="장치명 또는 ID 검색" aria-label="장치 검색"/></label></div>
|
||||
<div class="table-scroll"><table><thead><tr><th>장치 정보</th><th>수신 상태</th><th>온도 / 습도</th><th>배터리</th><th>위생관리</th><th>안전모 진단</th><th>최종 수신</th><th><span class="sr-only">상세 보기</span></th></tr></thead><tbody><tr v-for="d in filteredDevices" :key="d.key" :class="{'selected-row':view==='devices'&&selectedKey===d.key}"><td><button class="device-name" @click="openDevice(d.key)"><span class="device-symbol"><icon name="helmet" :size="21"/></span><span><strong>{{ d.name }}</strong><small>{{ d.key }}</small></span></button></td><td><span :class="['pill',isRecent(d)?'green':'gray']"><span class="status-dot"></span>{{ isRecent(d)?'수신 정상':'미수신' }}</span></td><td class="numeric">{{ value(sample(d).temp) }}° <span class="separator">/</span> {{ value(sample(d).humi) }}%</td><td><div class="battery-cell"><span class="battery-track"><i :style="{width:batteryWidth(sample(d).batt_pct)}" :class="{low:lowBattery(d)}"></i></span><span>{{ value(sample(d).batt_pct) }}%</span></div></td><td><div class="state-pair"><span :class="{on:sample(d).uv_state===1}">UV {{ state(sample(d).uv_state) }}</span><span :class="{on:sample(d).fan_state===1}">FAN {{ state(sample(d).fan_state) }}</span></div></td><td><span :class="['diagnosis',d.diagnosis==='정상'?'normal':d.diagnosis?'warning':'unknown']">{{ d.diagnosis || '미연동' }}</span></td><td class="subtle nowrap">{{ relative(d.last) }}</td><td><button class="icon-button" :aria-label="d.name+' 상세 보기'" @click="openDevice(d.key)"><icon name="chevron" :size="17"/></button></td></tr></tbody></table><div v-if="!filteredDevices.length" class="empty-state"><icon name="device" :size="30"/><strong>{{ search||statusFilter!=='all' ? '조건에 맞는 장치가 없습니다' : '연결된 장치가 없습니다' }}</strong><small>{{ search ? '검색어나 상태 필터를 바꿔보세요.' : '연결 설정에서 서버 주소를 확인하세요.' }}</small></div></div><div class="table-footer"><span>총 {{ filteredDevices.length }}개 장치</span></div>
|
||||
</section>
|
||||
|
||||
<template v-if="['devices','hygiene','energy','history'].includes(view)">
|
||||
<div class="section-heading"><div><h2>{{ view==='devices'?'선택 장치 상세':'장치별 '+currentNav.label }}</h2><p>장치를 선택하여 운영 데이터를 확인하세요.</p></div><select aria-label="상세 장치 선택" :value="selectedKey" @change="selectDevice($event.target.value)"><option v-if="!devices.length" value="">연결 장치 없음</option><option v-for="d in devices" :key="d.key" :value="d.key">{{ d.name }} · {{ d.key }}</option></select></div>
|
||||
<div v-if="!selected" class="panel empty-state"><icon name="device" :size="36"/><strong>조회할 장치가 없습니다</strong><small>연결 설정에서 서버 상태를 확인하세요.</small></div>
|
||||
<template v-else>
|
||||
<div v-if="!isRecent(selected)" class="stale-banner">수신이 중단된 장치입니다. 아래 값은 마지막 수신값이며, 현재 상태와 다를 수 있습니다. 마지막 수신: {{ dateTime(selected.last) }}</div>
|
||||
<template v-if="view==='devices'">
|
||||
<div class="detail-grid"><section class="panel"><div class="panel-heading"><h2>장치 정보</h2><span class="pill" :class="isRecent(selected)?'green':'gray'">{{ isRecent(selected)?'수신 정상':'미수신' }}</span></div><dl class="info-list"><div><dt>장치명</dt><dd>{{ selected.name }}</dd></div><div><dt>{{ demo?'장치 ID':'연결 식별자' }}</dt><dd>{{ selected.key }}</dd></div><div><dt>최종 수신 시각</dt><dd>{{ dateTime(selected.last) }}</dd></div><div><dt>안전모 보관</dt><dd>{{ binary(latest.helmet,'보관 중','없음') }}</dd></div><div><dt>잠금 상태</dt><dd>{{ binary(latest.lock,'잠김','해제') }}</dd></div></dl></section><section class="panel"><div class="panel-heading"><h2>최신 센서값</h2><icon name="wifi"/></div><div class="sensor-tiles"><div><icon name="temp"/><small>온도</small><strong>{{ value(latest.temp) }}<em>°C</em></strong></div><div><icon name="drop"/><small>습도</small><strong>{{ value(latest.humi) }}<em>%</em></strong></div><div><icon name="battery"/><small>배터리</small><strong>{{ value(latest.batt_pct) }}<em>%</em></strong></div></div></section></div>
|
||||
<div class="detail-grid"><section class="panel"><div class="panel-heading"><h2>안전모 상태 진단</h2><span v-if="!demo" class="live-tag">연동 예정</span></div><div class="diagnosis-feature"><span class="diagnosis-shield"><icon name="shield" :size="40"/></span><div><h3>{{ selected.diagnosis || '진단 결과 미연동' }}</h3><p v-if="!demo && !selected.diagnosis">진단 결과 수신 대기</p><small>{{ demo ? dateTime(selected.last) : '진단 시각: —' }}</small></div></div></section><section class="panel"><div class="panel-heading"><h2>장치 제어</h2><span class="live-tag">{{ demo?'시뮬레이션':'실제 장비' }}</span></div><div class="control-list"><div v-for="c in controls" :key="c.key"><span class="control-label"><icon :name="c.icon"/><span>{{ c.label }}<small>{{ c.key==='lock' ? binary(latest.lock,'잠김','해제') : state(latest[c.key]) }}</small></span></span><button class="button small" :disabled="loading||sending||!isRecent(selected)||(c.key!=='lock'&&![0,1].includes(latest[c.key]))" @click="requestControl(c)">{{ c.key==='lock'?'잠금 해제':latest[c.key]===1?'끄기':'켜기' }}</button></div></div></section></div>
|
||||
</template>
|
||||
<template v-if="view==='hygiene'">
|
||||
<div class="detail-grid"><section v-for="c in controls.slice(0,2)" :key="c.key" class="panel hygiene-card"><span class="large-icon"><icon :name="c.icon" :size="30"/></span><div><small>{{ c.label }}</small><h2>{{ binary(latest[c.key],'가동 중','대기 중') }}</h2><p>최종 수신 {{ dateTime(selected.last) }}</p></div><span :class="['pill',latest[c.key]===1?'green':'gray']">{{ state(latest[c.key]) }}</span></section></div>
|
||||
<section class="panel"><div class="panel-heading"><div><h2>UV · FAN 가동 현황</h2><p>최근 수신 구간의 OFF → ON 전환 횟수</p></div></div><div class="activity-bars"><div v-for="c in controls.slice(0,2)" :key="c.key"><span>{{ c.label }}</span><div><i :style="{width:Math.max(0,Math.min(100,transitionCount(c.key)/Math.max(1,transitionCount('uv_state'),transitionCount('fan_state'))*100))+'%'}"></i></div><strong>{{ transitionCount(c.key) }}회</strong></div></div><div class="panel-bottom-note">기간별 전체 작동 이력과 정확한 가동 횟수는 저장 이력 API 연동 후 제공됩니다.</div></section>
|
||||
</template>
|
||||
<template v-if="view==='energy'">
|
||||
<div class="metric-grid"><article v-for="m in energyMetrics" :key="m.label" class="metric-card"><div class="metric-top"><span>{{ m.label }}</span><icon :name="m.icon"/></div><div class="metric-number">{{ m.value }}<small>{{ m.unit }}</small></div></article></div><section class="panel"><div class="panel-heading"><div><h2>배터리 잔량 추이</h2><p>{{ selected.name }} · 최근 수신 구간</p></div><span class="pill green">{{ binary(latest.chg_ing,'충전 중','충전 대기') }}</span></div><sensor-trend :samples="selectedSamples" field="batt_pct" label="배터리" unit="%"/></section><div class="detail-grid"><section class="panel"><div class="panel-heading"><h2>저전력 운영 모드</h2><span v-if="!demo" class="live-tag">연동 예정</span></div><div class="feature-content"><icon name="bolt" :size="30"/><h3>{{ selected.mode || '운영 모드 미연동' }}</h3><p>장치에서 제공하는 저전력 운영 모드를 표시합니다.</p></div></section><section class="panel"><div class="panel-heading"><h2>저전력 제어 결과</h2><span class="live-tag">연동 예정</span></div><div class="empty-state"><strong>제어 결과 수신 대기</strong><small>발생 시각과 제어 결과를 연동하면 이곳에 표시됩니다.</small></div></section></div>
|
||||
</template>
|
||||
<section v-if="view==='history'||view==='hygiene'" class="panel history-panel"><div class="panel-heading"><div><h2>{{ view==='hygiene'?'위생관리 상태 이력':'운영 데이터 이력' }}</h2><p>최근 수신 데이터</p></div><button class="button small" :disabled="!historyRows.length" @click="exportCsv"><icon name="download" :size="15"/>CSV 내보내기</button></div><div class="history-filters"><label>시작일<input type="date" v-model="startDate" :max="endDate"/></label><span>—</span><label>종료일<input type="date" v-model="endDate" :min="startDate"/></label><button class="button small" @click="resetDates">최근 24시간 날짜</button><span class="subtle">{{ historyRows.length }}건</span></div><div v-if="startDate&&endDate&&startDate>endDate" class="error-banner">시작일은 종료일보다 늦을 수 없습니다.</div><div class="table-scroll"><table><thead><tr><th>수신 시각</th><th>온도</th><th>습도</th><th>배터리</th><th>UV</th><th>FAN</th><th>안전모</th></tr></thead><tbody><tr v-for="(s,i) in pagedHistory" :key="s.ts+'-'+i"><td class="numeric">{{ dateTime(s.ts) }}</td><td>{{ value(s.temp) }}°C</td><td>{{ value(s.humi) }}%</td><td>{{ value(s.batt_pct) }}%</td><td>{{ state(s.uv_state) }}</td><td>{{ state(s.fan_state) }}</td><td>{{ binary(s.helmet,'보관 중','없음') }}</td></tr></tbody></table><div v-if="!historyRows.length" class="empty-state"><strong>선택 기간에 조회 가능한 데이터가 없습니다</strong><small>{{ demo?'날짜 범위를 변경해보세요.':'현재 서버에 남아 있는 최근 데이터만 조회할 수 있습니다.' }}</small></div></div><div class="table-footer"><span>페이지 {{ historyPage }} / {{ historyPageCount }}</span><div class="pagination"><button class="button small" :disabled="historyPage<=1" @click="historyPage--">이전</button><button class="button small" :disabled="historyPage>=historyPageCount" @click="historyPage++">다음</button></div></div></section>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<template v-if="view==='settings'">
|
||||
<div class="settings-grid"><section class="panel"><div class="panel-heading"><div><h2>데이터 연결</h2><p>데이터 소스와 서버 연결을 관리합니다.</p></div><icon name="settings"/></div><div class="settings-body"><div class="mode-options"><button :class="{chosen:demo}" @click="enableDemo"><icon name="grid"/><strong>시뮬레이션 데이터</strong><small>가상 장치 6대 · 장비 제어 비활성</small></button><button :class="{chosen:!demo}" @click="connectLive"><icon name="wifi"/><strong>실제 서버 연결</strong><small>현재 서버의 장치 데이터 조회</small></button></div><label class="field-label">서버 API 주소<input v-model.trim="apiDraft" type="url" placeholder="http://localhost:8182"/></label><p class="field-help">프론트와 서버가 다른 PC에 있다면 서버 PC의 주소를 입력하세요.</p><button class="button primary" :disabled="loading" @click="connectLive">{{ loading?'연결 중…':'주소 적용 및 연결' }}<icon name="arrow" :size="16"/></button></div></section><section class="panel"><div class="panel-heading"><h2>연동 준비 현황</h2></div><ul class="readiness-list"><li><icon name="check"/><span>장치 연결 목록 · 최신 센서값<small>기존 서버 API 연결 가능</small></span><span class="pill green">지원</span></li><li><icon name="check"/><span>FAN · UV · 잠금 해제<small>선택 장치에 제어 명령 전달</small></span><span class="pill green">지원</span></li><li v-for="item in ['등록 장치 ID 및 기본정보','AI 진단 · 저전력 제어 결과','기간별 저장 이력 조회','관리자 로그인 · 장치 인증']" :key="item"><icon name="history"/><span>{{ item }}</span><span class="pill gray">연동 예정</span></li></ul></section></div><div class="info-callout"><icon name="info"/><div><strong>프론트 UI 개발 버전</strong><p>관리자 인증과 접근 제한은 아직 적용되지 않았습니다. 운영용 공개 전에 서버 인증·HTTPS 구성을 완료해야 합니다. 기존 서버의 데이터 조회 API는 DB 저장도 수행합니다.</p></div></div>
|
||||
</template>
|
||||
<footer class="page-footer"><span>METACU LAB <span class="footer-divider">/</span> 공유 PM 통합 관제 플랫폼</span><span>CONTROL CENTER · v0.3</span></footer>
|
||||
</main>
|
||||
</div>
|
||||
<div v-if="pendingControl" class="modal-backdrop" @click.self="pendingControl=null" @keydown.esc="pendingControl=null"><section class="confirm-dialog" role="dialog" aria-modal="true" aria-labelledby="control-title"><div class="panel-heading"><h2 id="control-title">{{ demo?'제어 시뮬레이션':'장치 제어 확인' }}</h2><button class="icon-button" aria-label="닫기" @click="pendingControl=null"><icon name="close"/></button></div><div class="dialog-body"><p><strong>{{ pendingControl.name }}</strong> ({{ pendingControl.target }})</p><h3>{{ pendingControl.label }} {{ pendingControl.action }}</h3><p>{{ demo?'시뮬레이션 상태만 변경됩니다.':'확인하면 선택한 실제 장비에 명령을 전송합니다.' }}</p></div><div class="dialog-actions"><button class="button" @click="pendingControl=null">취소</button><button ref="confirmButton" class="button primary" @click="executeControl">{{ demo?'적용':'명령 전송' }}</button></div></section></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Icon from '@/components/ConsoleIcon.vue';
|
||||
import SensorTrend from '@/components/SensorTrend.vue';
|
||||
import { createDemo } from '@/data/consoleDemo';
|
||||
const API_DEFAULT = process.env.VUE_APP_MODBUS_API || `${window.location.protocol}//${window.location.hostname}:8182`;
|
||||
export default {
|
||||
components: { Icon, SensorTrend },
|
||||
data() {
|
||||
return {
|
||||
demo: true, devices: createDemo(), selectedKey: 'PM-001', apiBase: API_DEFAULT, apiDraft: API_DEFAULT,
|
||||
connected: false, loading: false, sending: false, error: '', notice: '', pendingControl: null,
|
||||
search: '', statusFilter: 'all', trendField: 'temp', lastRefresh: new Date().toISOString(), now: Date.now(), timer: null, requestEpoch: 0,
|
||||
startDate: '', endDate: '', historyPage: 1,
|
||||
nav: [{id:'overview',label:'통합 현황',icon:'grid'},{id:'devices',label:'장치 관리',icon:'device'},{id:'hygiene',label:'위생관리',icon:'shield'},{id:'energy',label:'에너지 현황',icon:'bolt'},{id:'history',label:'운영 이력',icon:'history'},{id:'settings',label:'연결 설정',icon:'settings'}],
|
||||
descriptions: {overview:'모든 장치의 운영 현황을 한눈에 확인하세요.',devices:'장치별 센서와 작동 상태를 확인하고 관리하세요.',hygiene:'UV 살균과 FAN 건조 상태를 확인하세요.',energy:'배터리와 에너지 운영 상태를 모니터링하세요.',history:'장치별 수신 데이터를 기간별로 살펴보세요.',settings:'데이터 연결과 플랫폼 연동 상태를 확인하세요.'},
|
||||
filters: [{id:'all',label:'전체'},{id:'online',label:'수신 정상'},{id:'offline',label:'미수신'},{id:'attention',label:'확인 필요'}],
|
||||
controls: [{key:'uv_state',label:'UV 살균',icon:'sun',addr:20},{key:'fan_state',label:'FAN 건조',icon:'fan',addr:21},{key:'lock',label:'잠금',icon:'lock',addr:22}]
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
view() { return this.nav.some(n=>n.id===this.$route.query.view) ? this.$route.query.view : 'overview'; },
|
||||
currentNav() { return this.nav.find(n=>n.id===this.view); },
|
||||
today() { return new Date(this.now).toLocaleDateString('ko-KR',{year:'numeric',month:'long',day:'numeric'}); },
|
||||
selected() { return this.devices.find(d=>d.key===this.selectedKey); },
|
||||
selectedSamples() { return this.selected ? this.selected.samples || [] : []; },
|
||||
latest() { return this.selected ? this.sample(this.selected) : {}; },
|
||||
onlineCount() { return this.devices.filter(this.isRecent).length; },
|
||||
metrics() { return [
|
||||
{label:this.demo?'등록 장치':'현재 연결 장치',value:this.devices.length,unit:'대',icon:'device',tone:'green',note:this.demo?'전체 등록 장치 기준':'등록 장치 목록 연동 예정'},
|
||||
{label:'최근 수신 장치',value:this.onlineCount,unit:'대',icon:'wifi',tone:'green',note:'최근 3분 이내 수신'},
|
||||
{label:'확인 필요 장치',value:this.devices.filter(this.needsAttention).length,unit:'대',icon:'shield',tone:'amber',note:'미수신 · 배터리 부족 · 진단 이상'},
|
||||
{label:'평균 배터리',value:this.averageBattery,unit:'%',icon:'battery',tone:'blue',note:this.demo?'최신 수신값 기준':'센서값을 조회한 장치 기준'}
|
||||
]; },
|
||||
averageBattery() { const a=this.devices.map(d=>this.sample(d).batt_pct).filter(v=>v!==null&&v!==undefined&&Number.isFinite(Number(v))); return a.length?Math.round(a.reduce((s,v)=>s+Number(v),0)/a.length):'—'; },
|
||||
attention() { return this.devices.flatMap(d=>{ const a=[]; if(!this.isRecent(d))a.push({key:d.key,name:d.name,message:'장치 데이터 미수신',icon:'wifi',tone:'gray'}); if(this.lowBattery(d))a.push({key:d.key,name:d.name,message:'배터리 잔량 20% 미만',icon:'battery',tone:'amber'}); if(d.diagnosis&&d.diagnosis!=='정상')a.push({key:d.key,name:d.name,message:'안전모 '+d.diagnosis,icon:'shield',tone:'amber'}); return a; }); },
|
||||
filteredDevices() { const q=this.search.trim().toLowerCase(); return this.devices.filter(d=>this.matchesFilter(d,this.statusFilter)&&(!q||(d.name+' '+d.key).toLowerCase().includes(q))); },
|
||||
energyMetrics() { return [{label:'배터리 잔량',value:this.value(this.latest.batt_pct),unit:'%',icon:'battery',note:'최신 수신값'},{label:'태양광 전압',value:this.value(this.latest.pv_volt),unit:'V',icon:'sun',note:'장치에서 수신한 전압'},{label:'태양광 전류',value:this.value(this.latest.pv_curr),unit:'A',icon:'bolt',note:'장치에서 수신한 전류'},{label:'운영 모드',value:this.selected.mode||'미연동',unit:'',icon:'settings',note:this.demo?'예시 운영 모드':'저전력 모드 연동 예정'}]; },
|
||||
historyRows() { return this.selectedSamples.filter(s=>{const day=this.localDate(s.ts); return (!this.startDate||day>=this.startDate)&&(!this.endDate||day<=this.endDate);}).slice().reverse(); },
|
||||
historyPageCount() { return Math.max(1,Math.ceil(this.historyRows.length/10)); },
|
||||
pagedHistory() { return this.historyRows.slice((this.historyPage-1)*10,this.historyPage*10); }
|
||||
},
|
||||
watch: { startDate(){this.historyPage=1;}, endDate(){this.historyPage=1;}, selectedKey(){this.historyPage=1;} },
|
||||
mounted() { this.resetDates(); this.timer=setInterval(()=>{this.now=Date.now();this.refresh();},60000); },
|
||||
beforeDestroy() { clearInterval(this.timer); this.requestEpoch++; },
|
||||
methods: {
|
||||
navigate(view) { if(this.view!==view)this.$router.push({path:'/dashboard',query:{view}}); },
|
||||
sample(d) { const a=d.samples||[]; return a.length?a[a.length-1]:{}; },
|
||||
value(v) { return v===null||v===undefined||v===''||!Number.isFinite(Number(v))?'—':Number(v); },
|
||||
binary(v,yes,no) { return v===1?yes:v===0?no:'미수신'; },
|
||||
state(v) { return this.binary(v,'ON','OFF'); },
|
||||
isRecent(d) { const t=Date.parse(d.last); return Number.isFinite(t)&&this.now-t<=180000; },
|
||||
lowBattery(d) { const b=this.sample(d).batt_pct;return b!==null&&b!==undefined&&Number.isFinite(Number(b))&&Number(b)<20; },
|
||||
needsAttention(d) { return !this.isRecent(d)||this.lowBattery(d)||Boolean(d.diagnosis&&d.diagnosis!=='정상'); },
|
||||
matchesFilter(d,f) { return f==='all'||(f==='online'&&this.isRecent(d))||(f==='offline'&&!this.isRecent(d))||(f==='attention'&&this.needsAttention(d)); },
|
||||
filterCount(f) { return this.devices.filter(d=>this.matchesFilter(d,f)).length; },
|
||||
batteryWidth(v) { return this.value(v)==='—'?'0%':Math.max(0,Math.min(100,Number(v)))+'%'; },
|
||||
clock(v) { return v?new Date(v).toLocaleTimeString('ko-KR',{hour12:false}):'—'; },
|
||||
dateTime(v) { return v&&Number.isFinite(Date.parse(v))?new Date(v).toLocaleString('ko-KR',{hour12:false}):'—'; },
|
||||
localDate(v) { const d=new Date(v);return [d.getFullYear(),String(d.getMonth()+1).padStart(2,'0'),String(d.getDate()).padStart(2,'0')].join('-'); },
|
||||
relative(v) { if(!v)return '미수신';const m=Math.max(0,Math.floor((this.now-Date.parse(v))/60000));return m<1?'방금 전':m<60?m+'분 전':m<1440?Math.floor(m/60)+'시간 전':Math.floor(m/1440)+'일 전'; },
|
||||
resetDates() {this.startDate=this.localDate(Date.now()-86400000);this.endDate=this.localDate(Date.now());this.historyPage=1;},
|
||||
transitionCount(key) { return this.historyRows.slice().reverse().reduce((total,s,i,a)=>total+(i>0&&a[i-1][key]===0&&s[key]===1?1:0),0); },
|
||||
async selectDevice(key) { this.selectedKey=key;if(!this.demo){this.requestEpoch++;this.loading=false;await this.refresh();} },
|
||||
openDevice(key) {this.navigate('devices');this.selectDevice(key);},
|
||||
enableDemo() {this.requestEpoch++;this.demo=true;this.loading=false;this.connected=false;this.devices=createDemo();this.selectedKey='PM-001';this.error='';this.notice='';this.lastRefresh=new Date().toISOString();this.now=Date.now();},
|
||||
async connectLive() {
|
||||
let url;try{url=new URL(this.apiDraft);if(!['http:','https:'].includes(url.protocol)||url.username||url.password||url.search||url.hash)throw new Error();}catch(e){this.error='http:// 또는 https://로 시작하는 서버 주소를 입력하세요.';return;}
|
||||
this.requestEpoch++;this.loading=false;this.apiBase=this.apiDraft.replace(/\/+$/,'');this.demo=false;this.devices=[];this.selectedKey='';this.lastRefresh=null;this.notice='';await this.refresh();
|
||||
},
|
||||
async api(path,body) {
|
||||
const controller=new AbortController();const timeout=setTimeout(()=>controller.abort(),8000);
|
||||
try{const res=await fetch(this.apiBase+path,{method:body?'POST':'GET',headers:body?{'Content-Type':'application/json'}:{},body:body?JSON.stringify(body):undefined,signal:controller.signal});if(!res.ok)throw new Error('서버 응답 오류 ('+res.status+')');return await res.json();}finally{clearTimeout(timeout);}
|
||||
},
|
||||
async refresh() {
|
||||
if(this.loading)return;
|
||||
this.now=Date.now();if(this.demo){this.lastRefresh=new Date().toISOString();return;}
|
||||
const epoch=++this.requestEpoch;this.loading=true;this.error='';
|
||||
try{
|
||||
const list=await this.api('/clients');if(epoch!==this.requestEpoch)return;
|
||||
if(!Array.isArray(list.items))throw new Error('장치 목록 응답 형식을 확인하세요.');
|
||||
const previous=this.devices;
|
||||
const active=list.items.map(d=>{const old=previous.find(x=>x.key===d.key);return {key:d.key,name:d.key,last:d.last,samples:old?old.samples:[],diagnosis:null,mode:null};});
|
||||
// Retain previously seen devices so a disconnect remains visible.
|
||||
this.devices=active.concat(previous.filter(d=>!active.some(a=>a.key===d.key)));
|
||||
if(!this.selectedKey&&active.length)this.selectedKey=active[0].key;
|
||||
this.connected=true;
|
||||
const key=this.selectedKey;
|
||||
if(key&&active.some(d=>d.key===key)){
|
||||
const data=await this.api('/timeseries/get',{target:key,limit:500});if(epoch!==this.requestEpoch)return;
|
||||
if(!Array.isArray(data.samples))throw new Error('센서 데이터 응답 형식을 확인하세요.');
|
||||
const samples=data.samples.filter(s=>s&&Number.isFinite(Date.parse(s.ts))).sort((a,b)=>Date.parse(a.ts)-Date.parse(b.ts));
|
||||
const index=this.devices.findIndex(d=>d.key===key);if(index>=0)this.$set(this.devices,index,{...this.devices[index],samples,last:samples.length?samples[samples.length-1].ts:null});
|
||||
}
|
||||
this.lastRefresh=new Date().toISOString();
|
||||
}catch(e){if(epoch===this.requestEpoch){this.connected=false;this.error=(e.name==='AbortError'?'서버 응답 시간이 초과되었습니다.':e.message==='Failed to fetch'?'서버에 연결할 수 없습니다. 주소와 서버 실행 상태를 확인하세요.':e.message)+' 기존 표시값은 마지막 조회 결과입니다.';}}
|
||||
finally{if(epoch===this.requestEpoch)this.loading=false;}
|
||||
},
|
||||
requestControl(c) {if(!this.selected)return;const on=c.key==='lock'?1:this.latest[c.key]===1?0:1;this.pendingControl={...c,target:this.selectedKey,name:this.selected.name,value:on,action:c.key==='lock'?'해제':on?'켜기':'끄기'};this.$nextTick(()=>this.$refs.confirmButton&&this.$refs.confirmButton.focus());},
|
||||
async executeControl() {
|
||||
const c=this.pendingControl;if(!c||this.sending)return;this.pendingControl=null;
|
||||
if(this.demo){const d=this.devices.find(d=>d.key===c.target);if(d){d.samples.push({...this.sample(d),ts:new Date().toISOString(),[c.key]:c.key==='lock'?0:c.value});d.last=d.samples[d.samples.length-1].ts;}this.notice=c.label+' '+c.action+' 시뮬레이션이 적용되었습니다.';return;}
|
||||
this.sending=true;this.error='';
|
||||
try{const result=await this.api('/modbus/write',{target:c.target,unit:1,addr:c.addr,value:c.value});if(!result.ok||!result.rx||result.rx.error||result.rx.crc_ok!==true||result.rx.fc!==6||result.rx.addr!==c.addr||result.rx.value!==c.value)throw new Error('제어 응답을 확인할 수 없습니다.');this.notice=c.label+' '+c.action+' 명령을 전송했습니다. 실제 작동 상태는 다음 센서 수신값으로 확인하세요.';await this.refresh();}catch(e){this.error='제어 실패: '+e.message+' 장치 상태를 확인하세요.';}finally{this.sending=false;}
|
||||
},
|
||||
exportCsv() {const quote=v=>'"'+String(v===null||v===undefined?'':v).replace(/"/g,'""')+'"';const rows=[['수신 시각','온도','습도','배터리','UV','FAN','안전모'],...this.historyRows.map(s=>[s.ts,s.temp,s.humi,s.batt_pct,s.uv_state,s.fan_state,s.helmet])];const blob=new Blob(['\uFEFF'+rows.map(r=>r.map(quote).join(',')).join('\r\n')],{type:'text/csv;charset=utf-8;'});const url=URL.createObjectURL(blob);const a=document.createElement('a');a.href=url;a.download=(this.demo?'preview-':'recent-')+this.selectedKey.replace(/[^a-z0-9_-]/gi,'_')+'.csv';a.click();setTimeout(()=>URL.revokeObjectURL(url),1000);}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@@ -0,0 +1,35 @@
|
||||
<template>
|
||||
<base-table :data="tableData"
|
||||
thead-classes="text-primary">
|
||||
<template slot-scope="{row}">
|
||||
<td>
|
||||
<base-checkbox v-model="row.done">
|
||||
</base-checkbox>
|
||||
</td>
|
||||
<td>
|
||||
<p class="title">{{row.title}}</p>
|
||||
<p class="text-muted">{{row.description}}</p>
|
||||
</td>
|
||||
<td class="td-actions text-right">
|
||||
<base-button type="link" aria-label="edit button">
|
||||
<i class="tim-icons icon-pencil"></i>
|
||||
</base-button>
|
||||
</td>
|
||||
</template>
|
||||
</base-table>
|
||||
</template>
|
||||
<script>
|
||||
import {BaseTable} from '@/components'
|
||||
export default {
|
||||
components: {
|
||||
BaseTable
|
||||
},
|
||||
computed: {
|
||||
tableData() {
|
||||
return this.$t('dashboard.taskList');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,82 @@
|
||||
<template>
|
||||
<base-table :data="data"
|
||||
:columns="columns"
|
||||
thead-classes="text-primary">
|
||||
</base-table>
|
||||
</template>
|
||||
<script>
|
||||
import { BaseTable } from "@/components";
|
||||
export default {
|
||||
components: {
|
||||
BaseTable
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
data :[
|
||||
{
|
||||
"id": 1,
|
||||
"date": "2023-11-24",
|
||||
"time": "09:40:21",
|
||||
"type": "Temp sensor error",
|
||||
"code": "22",
|
||||
"remove": "undefined"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"date": "2023-11-24",
|
||||
"time": "09:40:21",
|
||||
"type": "Temp sensor error",
|
||||
"code": "22",
|
||||
"remove": "undefined"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"date": "2023-11-24",
|
||||
"time": "09:40:21",
|
||||
"type": "Temp sensor error",
|
||||
"code": "22",
|
||||
"remove": "undefined"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"date": "2023-11-24",
|
||||
"time": "09:40:21",
|
||||
"type": "Temp sensor error",
|
||||
"code": "22",
|
||||
"remove": "undefined"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"date": "2023-11-24",
|
||||
"time": "09:40:21",
|
||||
"type": "Temp sensor error",
|
||||
"code": "22",
|
||||
"remove": "undefined"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"date": "2023-11-24",
|
||||
"time": "09:40:21",
|
||||
"type": "Temp sensor error",
|
||||
"code": "22",
|
||||
"remove": "undefined"
|
||||
}
|
||||
],
|
||||
columns: [
|
||||
"Date",
|
||||
"Time",
|
||||
"Type",
|
||||
"Code",
|
||||
"Remove"
|
||||
],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
table(){
|
||||
return this.$t('dashboard.usersTable');
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,817 @@
|
||||
<template>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h5 class="title">100 Awesome Nucleo Icons</h5>
|
||||
<p class="category">Handcrafted by our friends from <a href="https://nucleoapp.com/?ref=1712">NucleoApp</a></p>
|
||||
</div>
|
||||
<div class="card-body all-icons">
|
||||
<div class="row">
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-alert-circle-exc"></i>
|
||||
<p>icon-alert-circle-exc</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-align-center"></i>
|
||||
<p>icon-align-center</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-align-left-2"></i>
|
||||
<p>icon-align-left-2</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-app"></i>
|
||||
<p>icon-app</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-atom"></i>
|
||||
<p>icon-atom</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-attach-87"></i>
|
||||
<p>icon-attach-87</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-badge"></i>
|
||||
<p>icon-badge</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bag-16"></i>
|
||||
<p>icon-bag-16</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bank"></i>
|
||||
<p>icon-bank</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-basket-simple"></i>
|
||||
<p>icon-basket-simple</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bell-55"></i>
|
||||
<p>icon-bell-55</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bold"></i>
|
||||
<p>icon-bold</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-book-bookmark"></i>
|
||||
<p>icon-book-bookmark</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-double-right"></i>
|
||||
<p>icon-double-right</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bulb-63"></i>
|
||||
<p>icon-bulb-63</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bullet-list-67"></i>
|
||||
<p>icon-bullet-list-67</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-bus-front-12"></i>
|
||||
<p>icon-bus-front-12</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-button-power"></i>
|
||||
<p>icon-button-power</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-camera-18"></i>
|
||||
<p>icon-camera-18</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-calendar-60"></i>
|
||||
<p>icon-calendar-60</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-caps-small"></i>
|
||||
<p>icon-caps-small</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-cart"></i>
|
||||
<p>icon-cart</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-chart-bar-32"></i>
|
||||
<p>icon-chart-bar-32</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-chart-pie-36"></i>
|
||||
<p>icon-chart-pie-36</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-chat-33"></i>
|
||||
<p>icon-chat-33</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-check-2"></i>
|
||||
<p>icon-check-2</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-cloud-download-93"></i>
|
||||
<p>icon-cloud-download-93</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-cloud-upload-94"></i>
|
||||
<p>icon-cloud-upload-94</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-coins"></i>
|
||||
<p>icon-coins</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-compass-05"></i>
|
||||
<p>icon-compass-05</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-controller"></i>
|
||||
<p>icon-controller</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-credit-card"></i>
|
||||
<p>icon-credit-card</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-delivery-fast"></i>
|
||||
<p>icon-delivery-fast</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-email-85"></i>
|
||||
<p>icon-email-85</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-gift-2"></i>
|
||||
<p>icon-gift-2</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-globe-2"></i>
|
||||
<p>icon-globe-2</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-headphones"></i>
|
||||
<p>icon-headphones</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-heart-2"></i>
|
||||
<p>icon-heart-2</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-html5"></i>
|
||||
<p>icon-html5</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-double-left"></i>
|
||||
<p>icon-double-left</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-image-02"></i>
|
||||
<p>icon-image-02</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-istanbul"></i>
|
||||
<p>icon-istanbul</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-key-25"></i>
|
||||
<p>icon-key-25</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-laptop"></i>
|
||||
<p>icon-laptop</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-light-3"></i>
|
||||
<p>icon-light-3</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-link-72"></i>
|
||||
<p>icon-link-72</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-lock-circle"></i>
|
||||
<p>icon-lock-circle</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-map-big"></i>
|
||||
<p>icon-map-big</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-minimal-down"></i>
|
||||
<p>icon-minimal-down</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-minimal-left"></i>
|
||||
<p>icon-minimal-left</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-minimal-right"></i>
|
||||
<p>icon-minimal-right</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-minimal-up"></i>
|
||||
<p>icon-minimal-up</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-mobile"></i>
|
||||
<p>icon-mobile</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-molecule-40"></i>
|
||||
<p>icon-molecule-40</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-money-coins"></i>
|
||||
<p>icon-money-coins</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-notes"></i>
|
||||
<p>icon-notes</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-palette"></i>
|
||||
<p>icon-palette</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-paper"></i>
|
||||
<p>icon-paper</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-pin"></i>
|
||||
<p>icon-pin</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-planet"></i>
|
||||
<p>icon-planet</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-puzzle-10"></i>
|
||||
<p>icon-puzzle-10</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-pencil"></i>
|
||||
<p>icon-pencil</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-satisfied"></i>
|
||||
<p>icon-satisfied</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-scissors"></i>
|
||||
<p>icon-scissors</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-send"></i>
|
||||
<p>icon-send</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-settings-gear-63"></i>
|
||||
<p>icon-settings-gear-63</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-settings"></i>
|
||||
<p>icon-settings</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-wifi"></i>
|
||||
<p>icon-wifi</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-single-02"></i>
|
||||
<p>icon-single-02</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-single-copy-04"></i>
|
||||
<p>icon-single-copy-04</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-sound-wave"></i>
|
||||
<p>icon-sound-wave</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-spaceship"></i>
|
||||
<p>icon-spaceship</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-square-pin"></i>
|
||||
<p>icon-square-pin</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-support-17"></i>
|
||||
<p>icon-support-17</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-tablet-2"></i>
|
||||
<p>icon-tablet-2</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-tag"></i>
|
||||
<p>icon-tag</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-tap-02"></i>
|
||||
<p>icon-tap-02</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-tie-bow"></i>
|
||||
<p>icon-tie-bow</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-time-alarm"></i>
|
||||
<p>icon-time-alarm</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-trash-simple"></i>
|
||||
<p>icon-trash-simple</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-trophy"></i>
|
||||
<p>icon-trophy</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-tv-2"></i>
|
||||
<p>icon-tv-2</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-upload"></i>
|
||||
<p>icon-upload</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-user-run"></i>
|
||||
<p>icon-user-run</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-vector"></i>
|
||||
<p>icon-vector</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-video-66"></i>
|
||||
<p>icon-video-66</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-wallet-43"></i>
|
||||
<p>icon-wallet-43</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-volume-98"></i>
|
||||
<p>icon-volume-98</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-watch-time"></i>
|
||||
<p>icon-watch-time</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-world"></i>
|
||||
<p>icon-world</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-zoom-split"></i>
|
||||
<p>icon-zoom-split</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-refresh-01"></i>
|
||||
<p>icon-refresh-01</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-refresh-02"></i>
|
||||
<p>icon-refresh-02</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-shape-star"></i>
|
||||
<p>icon-shape-star</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-components"></i>
|
||||
<p>icon-components</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-triangle-right-17"></i>
|
||||
<p>icon-triangle-right-17</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-button-pause"></i>
|
||||
<p>icon-button-pause</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
|
||||
<i class="tim-icons icon-simple-remove"></i>
|
||||
<p>icon-simple-remove</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-simple-add"></i>
|
||||
<p>icon-simple-add</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="font-icon-list col-lg-2 col-md-3 col-sm-4 col-xs-6 col-xs-6">
|
||||
<div class="font-icon-detail">
|
||||
<i class="tim-icons icon-simple-delete"></i>
|
||||
<p>icon-simple-delete</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,219 @@
|
||||
<template>
|
||||
<card type="plain" title="Google Maps">
|
||||
<div id="map" class="map">
|
||||
</div>
|
||||
</card>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
mounted() {
|
||||
let myLatlng = new window.google.maps.LatLng(40.748817, -73.985428);
|
||||
let mapOptions = {
|
||||
zoom: 13,
|
||||
center: myLatlng,
|
||||
scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page
|
||||
styles: [{
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#1d2c4d"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#8ec3b9"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"elementType": "labels.text.stroke",
|
||||
"stylers": [{
|
||||
"color": "#1a3646"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "administrative.country",
|
||||
"elementType": "geometry.stroke",
|
||||
"stylers": [{
|
||||
"color": "#4b6878"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "administrative.land_parcel",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#64779e"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "administrative.province",
|
||||
"elementType": "geometry.stroke",
|
||||
"stylers": [{
|
||||
"color": "#4b6878"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "landscape.man_made",
|
||||
"elementType": "geometry.stroke",
|
||||
"stylers": [{
|
||||
"color": "#334e87"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "landscape.natural",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#023e58"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "poi",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#283d6a"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "poi",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#6f9ba5"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "poi",
|
||||
"elementType": "labels.text.stroke",
|
||||
"stylers": [{
|
||||
"color": "#1d2c4d"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "poi.park",
|
||||
"elementType": "geometry.fill",
|
||||
"stylers": [{
|
||||
"color": "#023e58"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "poi.park",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#3C7680"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#304a7d"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#98a5be"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road",
|
||||
"elementType": "labels.text.stroke",
|
||||
"stylers": [{
|
||||
"color": "#1d2c4d"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.highway",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#2c6675"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.highway",
|
||||
"elementType": "geometry.fill",
|
||||
"stylers": [{
|
||||
"color": "#9d2a80"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.highway",
|
||||
"elementType": "geometry.stroke",
|
||||
"stylers": [{
|
||||
"color": "#9d2a80"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.highway",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#b0d5ce"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.highway",
|
||||
"elementType": "labels.text.stroke",
|
||||
"stylers": [{
|
||||
"color": "#023e58"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "transit",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#98a5be"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "transit",
|
||||
"elementType": "labels.text.stroke",
|
||||
"stylers": [{
|
||||
"color": "#1d2c4d"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "transit.line",
|
||||
"elementType": "geometry.fill",
|
||||
"stylers": [{
|
||||
"color": "#283d6a"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "transit.station",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#3a4762"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "water",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"color": "#0e1626"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "water",
|
||||
"elementType": "labels.text.fill",
|
||||
"stylers": [{
|
||||
"color": "#4e6d70"
|
||||
}]
|
||||
}
|
||||
]
|
||||
};
|
||||
let map = new window.google.maps.Map(
|
||||
document.getElementById("map"),
|
||||
mapOptions
|
||||
);
|
||||
|
||||
let marker = new window.google.maps.Marker({
|
||||
position: myLatlng,
|
||||
title: "Hello World!"
|
||||
});
|
||||
|
||||
// To add the marker to the map, call setMap();
|
||||
marker.setMap(map);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,63 @@
|
||||
<template>
|
||||
<div class="contact-us full-screen">
|
||||
<nav class="navbar navbar-ct-default" role="navigation-demo">
|
||||
<div class="container">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation-example-2">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<router-link :to="{path:'/'}" class="navbar-brand">Site title</router-link>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navigation-example-2">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<router-link :to="{path:'/'}">Home</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container-->
|
||||
</nav>
|
||||
<div class="wrapper wrapper-full-page section content">
|
||||
<div class="">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2 text-center">
|
||||
<h2 class="title text-danger">404 Not Found</h2>
|
||||
<h2 class="title">Oops! It seems that this page does not exist.</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer-demo">
|
||||
<div class="container">
|
||||
<nav class="pull-left">
|
||||
<ul>
|
||||
<li>
|
||||
<router-link :to="{path:'/'}">Home</router-link>
|
||||
</li>
|
||||
<li>
|
||||
<router-link :to="{path:'/register'}">Register</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="copyright pull-right">
|
||||
© 2018, made with
|
||||
<i class="fa fa-heart heart"></i> by Black admin
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
@@ -0,0 +1,120 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<card>
|
||||
<h4 slot="header">Notifications Style</h4>
|
||||
<base-alert type="info">
|
||||
<span>This is a plain notification</span>
|
||||
</base-alert>
|
||||
<base-alert type="info" dismissible>
|
||||
<span>This is a plain notification</span>
|
||||
</base-alert>
|
||||
<base-alert type="info" dismissible with-icon>
|
||||
<span data-notify="icon" class="tim-icons icon-bell-55"></span>
|
||||
<span data-notify="message">This is a notification with close button and icon.</span>
|
||||
</base-alert>
|
||||
<base-alert type="info" dismissible with-icon>
|
||||
<span data-notify="icon" class="tim-icons icon-bell-55"></span>
|
||||
<span data-notify="message">This is a notification with close button and icon and have many lines. You can see that the icon and the close button are always vertically aligned. This is a beautiful notification. So you don't have to worry about the style.</span>
|
||||
</base-alert>
|
||||
</card>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<card>
|
||||
<h4 slot="header">Notifications states</h4>
|
||||
<base-alert type="primary" dismissible>
|
||||
<span><b> Primary - </b> This is a regular notification made with ".alert-primary"</span>
|
||||
</base-alert>
|
||||
<base-alert type="info" dismissible>
|
||||
<span><b> Info - </b> This is a regular notification made with ".alert-info"</span>
|
||||
</base-alert>
|
||||
<base-alert type="success" dismissible>
|
||||
<span><b> Success - </b> This is a regular notification made with ".alert-success"</span>
|
||||
</base-alert>
|
||||
<base-alert type="warning" dismissible>
|
||||
<span><b> Warning - </b> This is a regular notification made with ".alert-warning"</span>
|
||||
</base-alert>
|
||||
<base-alert type="danger" dismissible>
|
||||
<span><b> Danger - </b> This is a regular notification made with ".alert-danger"</span>
|
||||
</base-alert>
|
||||
</card>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<card>
|
||||
<div class="places-buttons">
|
||||
<div class="row">
|
||||
<div class="col-md-6 ml-auto mr-auto text-center">
|
||||
<h4 class="card-title">
|
||||
Notifications Places
|
||||
<p class="category">Click to view notifications</p>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-8 ml-auto mr-auto">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<base-button type="primary" block @click="notifyVue('top', 'left')">Top Left</base-button>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<base-button type="primary" block @click="notifyVue('top', 'center')">Top Center</base-button>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<base-button type="primary" block @click="notifyVue('top', 'right')">Top Right</base-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-8 ml-auto mr-auto">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<base-button type="primary" block @click="notifyVue('bottom', 'left')">Bottom Left</base-button>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<base-button type="primary" block @click="notifyVue('bottom', 'center')">Bottom Center</base-button>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<base-button type="primary" block @click="notifyVue('bottom', 'right')">Bottom Right</base-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</card>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import NotificationTemplate from './Notifications/NotificationTemplate';
|
||||
import { BaseAlert } from '@/components';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
BaseAlert
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
type: ["", "info", "success", "warning", "danger"],
|
||||
notifications: {
|
||||
topCenter: false
|
||||
}
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
notifyVue(verticalAlign, horizontalAlign) {
|
||||
const color = Math.floor(Math.random() * 4 + 1);
|
||||
this.$notify({
|
||||
component: NotificationTemplate,
|
||||
icon: "tim-icons icon-bell-55",
|
||||
horizontalAlign: horizontalAlign,
|
||||
verticalAlign: verticalAlign,
|
||||
type: this.type[color],
|
||||
timeout: 0
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<div>Welcome to <b>Black Dashboard</b> - a beautiful freebie for every web developer.</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'notification-template'
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<edit-profile-form :model="model">
|
||||
</edit-profile-form>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<user-card :user="user"></user-card>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import EditProfileForm from './Profile/EditProfileForm';
|
||||
import UserCard from './Profile/UserCard'
|
||||
export default {
|
||||
components: {
|
||||
EditProfileForm,
|
||||
UserCard
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
model: {
|
||||
company: 'Creative Code Inc.',
|
||||
email: 'mike@email.com',
|
||||
username: 'michael23',
|
||||
firstName: 'Mike',
|
||||
lastName: 'Andrew',
|
||||
address: 'Bld Mihail Kogalniceanu, nr. 8 Bl 1, Sc 1, Ap 09',
|
||||
city: 'Melbourne',
|
||||
country: 'Australia',
|
||||
about: 'Lamborghini Mercy, Your chick she so thirsty, I\'m in that two seat Lambo.'
|
||||
},
|
||||
user: {
|
||||
fullName: 'Mike Andrew',
|
||||
title: 'Ceo/Co-Founder',
|
||||
description: `Do not be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is...`,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,107 @@
|
||||
<!-- eslint-disable vue/no-mutating-props -->
|
||||
<template>
|
||||
<card>
|
||||
<h5 slot="header" class="title">Edit Profile</h5>
|
||||
<div class="row">
|
||||
<div class="col-md-5 pr-md-1">
|
||||
<base-input
|
||||
label="Company (disabled)"
|
||||
placeholder="Company"
|
||||
v-model="model.company"
|
||||
disabled
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
<div class="col-md-3 px-md-1">
|
||||
<base-input
|
||||
label="Username"
|
||||
placeholder="Username"
|
||||
v-model="model.username"
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
<div class="col-md-4 pl-md-1">
|
||||
<base-input
|
||||
label="Email address"
|
||||
type="email"
|
||||
placeholder="mike@email.com"
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 pr-md-1">
|
||||
<base-input
|
||||
label="First Name"
|
||||
v-model="model.firstName"
|
||||
placeholder="First Name"
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
<div class="col-md-6 pl-md-1">
|
||||
<base-input
|
||||
label="Last Name"
|
||||
v-model="model.lastName"
|
||||
placeholder="Last Name"
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<base-input
|
||||
label="Address"
|
||||
v-model="model.address"
|
||||
placeholder="Home Address"
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 pr-md-1">
|
||||
<base-input label="City" v-model="model.city" placeholder="City">
|
||||
</base-input>
|
||||
</div>
|
||||
<div class="col-md-4 px-md-1">
|
||||
<base-input
|
||||
label="Country"
|
||||
v-model="model.country"
|
||||
placeholder="Country"
|
||||
>
|
||||
</base-input>
|
||||
</div>
|
||||
<div class="col-md-4 pl-md-1">
|
||||
<base-input label="Postal Code" placeholder="ZIP Code"> </base-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<base-input>
|
||||
<label>About Me</label>
|
||||
<textarea
|
||||
rows="4"
|
||||
cols="80"
|
||||
class="form-control"
|
||||
placeholder="Here can be your description"
|
||||
v-model="model.about"
|
||||
>
|
||||
</textarea>
|
||||
</base-input>
|
||||
</div>
|
||||
</div>
|
||||
<base-button slot="footer" type="primary" fill>Save</base-button>
|
||||
</card>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
model: {
|
||||
type: Object,
|
||||
default: () => {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style></style>
|
||||
@@ -0,0 +1,48 @@
|
||||
<template>
|
||||
<card type="user">
|
||||
<p class="card-text">
|
||||
</p>
|
||||
<div class="author">
|
||||
<div class="block block-one"></div>
|
||||
<div class="block block-two"></div>
|
||||
<div class="block block-three"></div>
|
||||
<div class="block block-four"></div>
|
||||
<a href="#">
|
||||
<img class="avatar" src="img/anime6.png" alt="...">
|
||||
<h5 class="title">{{user.fullName}}</h5>
|
||||
</a>
|
||||
<p class="description">
|
||||
{{user.title}}
|
||||
</p>
|
||||
</div>
|
||||
<p></p>
|
||||
<p class="card-description">
|
||||
{{user.description}}
|
||||
</p>
|
||||
<div slot="footer" class="button-container">
|
||||
<base-button icon round class="btn-facebook">
|
||||
<i class="fab fa-facebook"></i>
|
||||
</base-button>
|
||||
<base-button icon round class="btn-twitter">
|
||||
<i class="fab fa-twitter"></i>
|
||||
</base-button>
|
||||
<base-button icon round class="btn-google">
|
||||
<i class="fab fa-google-plus"></i>
|
||||
</base-button>
|
||||
</div>
|
||||
</card>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
user: {
|
||||
type: Object,
|
||||
default: () => {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,103 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<card :title="table1.title">
|
||||
<div class="table-responsive">
|
||||
<base-table :data="table1.data"
|
||||
:columns="table1.columns"
|
||||
thead-classes="text-primary">
|
||||
</base-table>
|
||||
</div>
|
||||
</card>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<card class="card-plain">
|
||||
<div class="table-full-width table-responsive">
|
||||
<base-table :title="table2.title" :sub-title="table2.subTitle" :data="table2.data"
|
||||
:columns="table2.columns">
|
||||
|
||||
</base-table>
|
||||
</div>
|
||||
</card>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { BaseTable } from "@/components";
|
||||
const tableColumns = ["Name", "Country", "City", "Salary"];
|
||||
const tableData = [
|
||||
{
|
||||
id: 1,
|
||||
name: "Dakota Rice",
|
||||
salary: "$36.738",
|
||||
country: "Niger",
|
||||
city: "Oud-Turnhout",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "Minerva Hooper",
|
||||
salary: "$23,789",
|
||||
country: "Curaçao",
|
||||
city: "Sinaai-Waas"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "Sage Rodriguez",
|
||||
salary: "$56,142",
|
||||
country: "Netherlands",
|
||||
city: "Baileux"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: "Philip Chaney",
|
||||
salary: "$38,735",
|
||||
country: "Korea, South",
|
||||
city: "Overland Park"
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: "Doris Greene",
|
||||
salary: "$63,542",
|
||||
country: "Malawi",
|
||||
city: "Feldkirchen in Kärnten"
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
name: 'Mason Porter',
|
||||
salary: '$98,615',
|
||||
country: 'Chile',
|
||||
city: 'Gloucester'
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
name: 'Jon Porter',
|
||||
salary: '$78,615',
|
||||
country: 'Portugal',
|
||||
city: 'Gloucester'
|
||||
}
|
||||
];
|
||||
|
||||
export default {
|
||||
components: {
|
||||
BaseTable
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
table1: {
|
||||
title: "Simple Table",
|
||||
columns: [...tableColumns],
|
||||
data: [...tableData]
|
||||
},
|
||||
table2: {
|
||||
title: "Table on Plain Background",
|
||||
columns: [...tableColumns],
|
||||
data: [...tableData]
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
@@ -0,0 +1,166 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header mb-5">
|
||||
<h5 class="card-category">Black Table Heading</h5>
|
||||
<h3 class="card-title">Created using Poppins Font Family</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="typography-line">
|
||||
<h1>
|
||||
<span>Header 1</span>The Life of Black Dashboard </h1>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<h2>
|
||||
<span>Header 2</span>The Life of Black Dashboard </h2>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<h3>
|
||||
<span>Header 3</span>The Life of Black Dashboard </h3>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<h4>
|
||||
<span>Header 4</span>The Life of Black Dashboard </h4>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<h5>
|
||||
<span>Header 5</span>The Life of Black Dashboard </h5>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<h6>
|
||||
<span>Header 6</span>The Life of Black Dashboard </h6>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<p>
|
||||
<span>Paragraph</span>
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the answers.
|
||||
I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push
|
||||
possibilities, to show people, this is the level that things could be at.
|
||||
</p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Quote</span>
|
||||
<blockquote>
|
||||
<p class="blockquote blockquote-primary">
|
||||
"I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push
|
||||
possibilities, to show people, this is the level that things could be at."
|
||||
<br>
|
||||
<br>
|
||||
<small>
|
||||
- Noaa
|
||||
</small>
|
||||
</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Muted Text</span>
|
||||
<p class="text-muted">
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers...
|
||||
</p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Primary Text</span>
|
||||
<p class="text-primary">
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers...</p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Info Text</span>
|
||||
<p class="text-info">
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers... </p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Success Text</span>
|
||||
<p class="text-success">
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers... </p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Warning Text</span>
|
||||
<p class="text-warning">
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers...
|
||||
</p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Danger Text</span>
|
||||
<p class="text-danger">
|
||||
I will be the leader of a company that ends up being worth billions of dollars, because I got the
|
||||
answers... </p>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<h2>
|
||||
<span>Small Tag</span>
|
||||
Header with small subtitle
|
||||
<br>
|
||||
<small>Use "small" tag for the headers</small>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Lists</span>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h5>Unordered List</h5>
|
||||
<ul>
|
||||
<li>List Item</li>
|
||||
<li>List Item</li>
|
||||
<li class="list-unstyled">
|
||||
<ul>
|
||||
<li>List Item</li>
|
||||
<li>List Item</li>
|
||||
<li>List Item</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>List Item</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h5>Ordered List</h5>
|
||||
<ol>
|
||||
<li>List Item</li>
|
||||
<li>List Item</li>
|
||||
<li>List item</li>
|
||||
<li>List Item</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h5>Unstyled List</h5>
|
||||
<ul class="list-unstyled">
|
||||
<li>List Item</li>
|
||||
<li>List Item</li>
|
||||
<li>List item</li>
|
||||
<li>List Item</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<h5>Inline List</h5>
|
||||
<ul class="list-inline">
|
||||
<li class="list-inline-item">List1</li>
|
||||
<li class="list-inline-item">List2</li>
|
||||
<li class="list-inline-item">List3</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="typography-line">
|
||||
<span>Code</span>
|
||||
<p>This is
|
||||
<code>.css-class-as-code</code>, an example of an inline code element. Wrap inline code within a
|
||||
<code> <code>...</code></code>tag.
|
||||
</p>
|
||||
<pre>1. #This is an example of preformatted text.<br/>2. #Here is another line of code</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
<style>
|
||||
</style>
|
||||
Reference in new issue
Block a user