|
| 1 | +<script lang="ts" setup> |
| 2 | +</script> |
| 3 | + |
| 4 | +<template> |
| 5 | + <div class="min-h-screen py-4 lg:py-8 dark:bg-blue-gray-800"> |
| 6 | + <div class="px-4 mb-8 sm:px-6 lg:px-8"> |
| 7 | + <div> |
| 8 | + <h3 class="text-base font-semibold leading-6 text-gray-900"> |
| 9 | + Last 30 days |
| 10 | + </h3> |
| 11 | + |
| 12 | + <dl class="mt-5 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3"> |
| 13 | + <div class="relative overflow-hidden rounded-lg bg-white px-4 pt-5 shadow sm:px-6 sm:pt-6"> |
| 14 | + <dt> |
| 15 | + <div class="absolute rounded-md bg-blue-500 p-3"> |
| 16 | + <svg class="h-6 w-6 text-white" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"> |
| 17 | + <path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /> |
| 18 | + </svg> |
| 19 | + </div> |
| 20 | + <p class="ml-16 truncate text-sm font-medium text-gray-500"> |
| 21 | + Total Queued |
| 22 | + </p> |
| 23 | + </dt> |
| 24 | + <dd class="ml-16 flex items-baseline pb-6 sm:pb-7"> |
| 25 | + <p class="text-2xl font-semibold text-gray-900"> |
| 26 | + 71,897 |
| 27 | + </p> |
| 28 | + <p class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> |
| 29 | + <svg class="h-5 w-5 flex-shrink-0 self-center text-green-500" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> |
| 30 | + <path fill-rule="evenodd" d="M10 17a.75.75 0 01-.75-.75V5.612L5.29 9.77a.75.75 0 01-1.08-1.04l5.25-5.5a.75.75 0 011.08 0l5.25 5.5a.75.75 0 11-1.08 1.04l-3.96-4.158V16.25A.75.75 0 0110 17z" clip-rule="evenodd" /> |
| 31 | + </svg> |
| 32 | + <span class="sr-only"> Increased by </span> |
| 33 | + 122 |
| 34 | + </p> |
| 35 | + |
| 36 | + <!-- <div class="absolute inset-x-0 bottom-0 bg-gray-50 px-4 py-4 sm:px-6"> |
| 37 | + <div class="text-sm"> |
| 38 | + <a href="#" class="font-medium text-blue-600 hover:text-blue-500">View all<span class="sr-only"> Deployments</span></a> |
| 39 | + </div> |
| 40 | + </div> --> |
| 41 | + </dd> |
| 42 | + </div> |
| 43 | + |
| 44 | + <div class="relative overflow-hidden rounded-lg bg-white px-4 pt-5 shadow sm:px-6 sm:pt-6"> |
| 45 | + <dt> |
| 46 | + <div class="absolute rounded-md bg-blue-500 p-3"> |
| 47 | + <svg class="h-6 w-6 text-white" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"> |
| 48 | + <path stroke-linecap="round" stroke-linejoin="round" d="M21.75 9v.906a2.25 2.25 0 01-1.183 1.981l-6.478 3.488M2.25 9v.906a2.25 2.25 0 001.183 1.981l6.478 3.488m8.839 2.51l-4.66-2.51m0 0l-1.023-.55a2.25 2.25 0 00-2.134 0l-1.022.55m0 0l-4.661 2.51m16.5 1.615a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V8.844a2.25 2.25 0 011.183-1.98l7.5-4.04a2.25 2.25 0 012.134 0l7.5 4.04a2.25 2.25 0 011.183 1.98V19.5z" /> |
| 49 | + </svg> |
| 50 | + </div> |
| 51 | + <p class="ml-16 truncate text-sm font-medium text-gray-500"> |
| 52 | + Avg. Queue Time |
| 53 | + </p> |
| 54 | + </dt> |
| 55 | + |
| 56 | + <dd class="ml-16 flex items-baseline pb-6 sm:pb-7"> |
| 57 | + <p class="text-2xl font-semibold text-gray-900"> |
| 58 | + 365 ms |
| 59 | + </p> |
| 60 | + |
| 61 | + <p class="ml-2 flex items-baseline text-sm font-semibold text-green-600"> |
| 62 | + <svg class="h-5 w-5 flex-shrink-0 self-center text-green-500" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> |
| 63 | + <path fill-rule="evenodd" d="M10 17a.75.75 0 01-.75-.75V5.612L5.29 9.77a.75.75 0 01-1.08-1.04l5.25-5.5a.75.75 0 011.08 0l5.25 5.5a.75.75 0 11-1.08 1.04l-3.96-4.158V16.25A.75.75 0 0110 17z" clip-rule="evenodd" /> |
| 64 | + </svg> |
| 65 | + <span class="sr-only"> Increased by </span> |
| 66 | + 12 s |
| 67 | + </p> |
| 68 | + |
| 69 | + <!-- <div class="absolute inset-x-0 bottom-0 bg-gray-50 px-4 py-4 sm:px-6"> |
| 70 | + <div class="text-sm"> |
| 71 | + <a href="#" class="font-medium text-blue-600 hover:text-blue-500">View all<span class="sr-only"> Average Deploy Time</span></a> |
| 72 | + </div> |
| 73 | + </div> --> |
| 74 | + </dd> |
| 75 | + </div> |
| 76 | + |
| 77 | + <div class="relative overflow-hidden rounded-lg bg-white px-4 pt-5 shadow sm:px-6 sm:pt-6"> |
| 78 | + <dt> |
| 79 | + <div class="absolute rounded-md bg-blue-500 p-3"> |
| 80 | + <svg class="h-6 w-6 text-white" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true"> |
| 81 | + <path stroke-linecap="round" stroke-linejoin="round" d="M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59" /> |
| 82 | + </svg> |
| 83 | + </div> |
| 84 | + <p class="ml-16 truncate text-sm font-medium text-gray-500"> |
| 85 | + Success Rate |
| 86 | + </p> |
| 87 | + </dt> |
| 88 | + |
| 89 | + <dd class="ml-16 flex items-baseline pb-6 sm:pb-7"> |
| 90 | + <p class="text-2xl font-semibold text-gray-900"> |
| 91 | + 94.57% |
| 92 | + </p> |
| 93 | + |
| 94 | + <p class="ml-2 flex items-baseline text-sm font-semibold text-red-600"> |
| 95 | + <svg class="h-5 w-5 flex-shrink-0 self-center text-red-500" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> |
| 96 | + <path fill-rule="evenodd" d="M10 3a.75.75 0 01.75.75v10.638l3.96-4.158a.75.75 0 111.08 1.04l-5.25 5.5a.75.75 0 01-1.08 0l-5.25-5.5a.75.75 0 111.08-1.04l3.96 4.158V3.75A.75.75 0 0110 3z" clip-rule="evenodd" /> |
| 97 | + </svg> |
| 98 | + <span class="sr-only"> Decreased by </span> |
| 99 | + 3.2% |
| 100 | + </p> |
| 101 | + |
| 102 | + <!-- <div class="absolute inset-x-0 bottom-0 bg-gray-50 px-4 py-4 sm:px-6"> |
| 103 | + <div class="text-sm"> |
| 104 | + <a href="#" class="font-medium text-blue-600 hover:text-blue-500">View all<span class="sr-only"> Success Rate</span></a> |
| 105 | + </div> |
| 106 | + </div> --> |
| 107 | + </dd> |
| 108 | + </div> |
| 109 | + </dl> |
| 110 | + </div> |
| 111 | + </div> |
| 112 | + |
| 113 | + <div class="px-4 sm:px-6 lg:px-8 pt-12"> |
| 114 | + <div class="sm:flex sm:items-center"> |
| 115 | + <div class="sm:flex-auto"> |
| 116 | + <h1 class="text-base font-semibold leading-6 text-gray-900"> |
| 117 | + Actions |
| 118 | + </h1> |
| 119 | + <p class="mt-2 text-sm text-gray-700"> |
| 120 | + A list of all the Actions. |
| 121 | + </p> |
| 122 | + </div> |
| 123 | + |
| 124 | + <!-- <div class="mt-4 sm:ml-16 sm:mt-0 sm:flex-none"> |
| 125 | + <button type="button" class="block rounded-md bg-blue-600 px-3 py-2 text-center text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"> |
| 126 | + Deploy |
| 127 | + </button> |
| 128 | + </div> --> |
| 129 | + </div> |
| 130 | + |
| 131 | + <div class="mt-8 flow-root"> |
| 132 | + <div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"> |
| 133 | + <div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"> |
| 134 | + <div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg"> |
| 135 | + <table class="min-w-full divide-y divide-gray-300"> |
| 136 | + <thead class="bg-gray-50"> |
| 137 | + <tr> |
| 138 | + <th scope="col" class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6"> |
| 139 | + When |
| 140 | + </th> |
| 141 | + |
| 142 | + <th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900"> |
| 143 | + Initiated By |
| 144 | + </th> |
| 145 | + |
| 146 | + <th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900"> |
| 147 | + Commit |
| 148 | + </th> |
| 149 | + |
| 150 | + <th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900"> |
| 151 | + Branch |
| 152 | + </th> |
| 153 | + |
| 154 | + <th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900"> |
| 155 | + Status |
| 156 | + </th> |
| 157 | + |
| 158 | + <th scope="col" class="relative py-3.5 pl-3 pr-4 sm:pr-6"> |
| 159 | + <span class="sr-only">Edit</span> |
| 160 | + </th> |
| 161 | + </tr> |
| 162 | + </thead> |
| 163 | + |
| 164 | + <tbody class="divide-y divide-gray-200 bg-white"> |
| 165 | + <tr> |
| 166 | + <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6"> |
| 167 | + Moments ago |
| 168 | + </td> |
| 169 | + <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500"> |
| 170 | + <div class="flex items-center"> |
| 171 | + <div class="flex-shrink-0 w-10 h-10"> |
| 172 | + <img |
| 173 | + src="https://carefreeagency-eliinova.s3.amazonaws.com/images/avatar/default.svg" |
| 174 | + alt="" |
| 175 | + class="w-10 h-10 rounded-full" |
| 176 | + > |
| 177 | + </div> |
| 178 | + <div class="ml-4"> |
| 179 | + <div class="flex items-center text-sm font-medium text-gray-900 dark:text-gray-100"> |
| 180 | + Chris Breuer |
| 181 | + </div> |
| 182 | + <div class="text-sm text-gray-500 dark:text-gray-400 dark:text-gray-300"> |
| 183 | + chris@stacksjs.org |
| 184 | + </div> |
| 185 | + </div> |
| 186 | + </div> |
| 187 | + </td> |
| 188 | + |
| 189 | + <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500 font-mono"> |
| 190 | + <a href="github.com/stacksjs/stacks/commit/342afe5a" class="text-blue-600 hover:text-blue-900">342afe5a</a> |
| 191 | + </td> |
| 192 | + |
| 193 | + <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500 font-mono"> |
| 194 | + <a href="github.com/stacksjs/stacks" class="text-blue-600 hover:text-blue-900">main</a> |
| 195 | + </td> |
| 196 | + |
| 197 | + <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500"> |
| 198 | + Deployed |
| 199 | + </td> |
| 200 | + |
| 201 | + <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-6"> |
| 202 | + <a href="#" class="text-blue-600 hover:text-blue-900">View<span class="sr-only">, Queue</span></a> |
| 203 | + </td> |
| 204 | + </tr> |
| 205 | + </tbody> |
| 206 | + </table> |
| 207 | + </div> |
| 208 | + </div> |
| 209 | + </div> |
| 210 | + </div> |
| 211 | + </div> |
| 212 | + </div> |
| 213 | +</template> |
0 commit comments