first commit
This commit is contained in:
commit
75e91e4ddc
152 files changed
+17270
No files matched your search
+1
@@ -0,0 +1 @@
|
||||
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Figtree,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{maLine truncated
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
function pt(e,t){return function(){return e.apply(t,arguments)}}const{toString:tn}=Object.prototype,{getPrototypeOf:Ie}=Object,we=(e=>t=>{const n=tn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),F=e=>(e=e.toLowerCase(),t=>we(t)===e),Ee=e=>t=>typeof t===e,{isArray:V}=Array,Z=Ee("undefined");function nn(e){return e!==null&&!Z(e)&&e.constructor!==null&&!Z(e.constructor)&&C(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ht=F("ArrayBuffer");function rn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ht(e.buffer),t}const sn=Ee("string"),C=Ee("function"),mt=Ee("number"),be=e=>e!==null&&typeof e=="object",on=e=>e===!0||e===!1,ce=e=>{if(we(e)!=="object")return!1;const t=Ie(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},an=F("Date"),ln=F("File"),un=F("Blob"),cn=F("FileList"),fn=e=>be(e)&&C(e.pipe),dn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||C(e.append)&&((t=we(e))==="formdata"||t==="object"&&C(e.toString)&&e.toString()==="[object FormData]"))},pn=F("URLSearchParams"),[hn,mn,yn,_n]=["ReadableStream","Request","Response","Headers"].map(F),wn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function te(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),V(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(r=0;r<i;r++)l=o[r],t.call(null,e[l],l,e)}}function yt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const q=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_t=e=>!Z(e)&&e!==q;function Pe(){const{caseless:e}=_t(this)&&this||{},t={},n=(r,s)=>{const o=e&&yt(t,s)||s;ce(t[o])&&ce(r)?t[o]=Pe(t[o],r):ce(r)?t[o]=Pe({},r):V(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&te(arguments[r],n);return t}const En=(e,t,n,{allOwnKeys:r}={})=>(te(t,(s,o)=>{n&&C(s)?e[o]=pt(s,n):e[o]=s},{allOwnKeys:r}),e),bn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Rn=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Ie(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Sn=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},vn=e=>{if(!e)return null;if(V(e))return e;let t=e.length;if(!mt(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Tn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ie(Uint8Array)),On=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},An=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xn=F("HTMLFormElement"),Cn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ye=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Nn=F("RegExp"),wt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};te(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Pn=e=>{wt(e,(t,n)=>{if(C(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(C(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Fn=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return V(e)?r(e):r(String(e).split(t)),n},Dn=()=>{},Ln=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Oe="abcdefghijklmnopqrstuvwxyz",Qe="0123456789",Et={DIGIT:Qe,ALPHA:Oe,ALPHA_DIGIT:Oe+Oe.toUpperCase()+Qe},Bn=(e=16,t=Et.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kn(e){return!!(e&&C(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Un=e=>{const t=new Array(10),n=(r,s)=>{if(be(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=V(r)?[]:{};return te(r,(i,l)=>{const f=n(i,s+1);!Z(f)&&(o[l]=f)}),t[s]=void 0,o}}return r};return n(e,0)},qn=F("AsyncFunction"),jn=e=>e&&(be(e)||C(e))&&C(e.then)&&C(e.catch),bt=((e,t)=>e?setImmediate:t?((n,r)=>(q.addEventListener("message",({source:s,data:o})=>{s===q&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),q.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",C(q.postMessage)),In=typeof queueMicrotask<"u"?queueMicrotask.bind(q):typeof process<"u"&&process.nextTick||bt,a={isArray:V,isArrayBuffer:ht,isBuffer:nn,isFormData:dn,isArrayBufferView:rn,isString:sn,isNumber:mt,isBoolean:on,isObjectLine truncated
|
||||
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&rr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},nt=Symbol("internals");function K(e){return e&&String(e).trim().toLowerCase()}function fe(e){return e===!1||e==null?e:a.isArray(e)?e.map(fe):String(e)}function or(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ir=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ae(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function ar(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function lr(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class A{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,f,c){const u=K(f);if(!u)throw new Error("header name must be a non-empty string");const d=a.findKey(s,u);(!d||s[d]===void 0||c===!0||c===void 0&&s[d]!==!1)&&(s[d||f]=fe(l))}const i=(l,f)=>a.forEach(l,(c,u)=>o(c,u,f));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!ir(t))i(sr(t),n);else if(a.isHeaders(t))for(const[l,f]of t.entries())o(f,l,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=K(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return or(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=K(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ae(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=K(i),i){const l=a.findKey(r,i);l&&(!n||Ae(r,r[l],l,n))&&(delete r[l],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Ae(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=fe(s),delete n[o];return}const l=t?ar(o):String(o).trim();l!==o&&delete n[o],n[l]=fe(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||||
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[nt]=this[nt]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=K(i);r[l]||(lr(s,i),r[l]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}A.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(A.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(A);function xe(e,t){const n=this||ne,r=t||n,s=A.from(r.headers);let o=r.data;return a.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function xt(e){return!!(e&&e.__CANCEL__)}function W(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(W,y,{__CANCEL__:!0});function Ct(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ur(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const c=Date.now(),u=r[o];i||(i=c),n[s]=f,r[s]=c;let d=o,_=0;for(;d!==s;)_+=n[d++],d=d%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const w=u&&c-u;return w?Math.round(_*1e3/w):void 0}}function fr(e,t){let n=0,r=1e3/t,s,o;const i=(c,u=Date.now())=>{n=u,s=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?i(c,u):(s=c,o||(o=setTimeout(()=>{o=null,i(s)},r-d)))},()=>s&&i(s)]}const de=(e,t,n=3)=>{let r=0;const s=cr(50,250);return fr(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,f=i-r,c=s(f),u=i<=l;r=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:f,rate:c||void 0,estimated:c&&l&&u?(l-i)/c:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},rt=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},st=e=>(...t)=>a.asap(()=>e(...t)),dr=O.hasStandardBrowserEnv?function(){const t=O.navigator&&/(msie|trident)/i.test(O.navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=a.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),pr=O.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function hr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function mr(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nt(e,t){return e&&!hr(t)?mr(e,t):t}const ot=e=>e instanceof A?{...e}:e;function I(e,t){t=t||{};const n={};function r(c,u,d){return a.isPlainObject(c)&&a.isPlainObject(u)?a.merge.call({caseless:d},c,u):a.isPlainObject(u)?a.merge({},u):a.isArray(u)?u.slice():u}function s(c,u,d){if(a.isUndefined(u)){if(!a.isUndefined(c))return r(void 0,c,d)}else return r(c,u,d)}function o(c,u){if(!a.isUndefined(u))return r(void 0,u)}function i(c,u){if(a.isUndefined(u)){if(!a.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>s(ot(c),ot(u),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=f[u]||s,_=d(e[u],t[u],u);a.isUndefined(_)&&d!==l||(n[u]=_)}),n}const Pt=e=>{const t=I({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=A.from(i),t.url=Tt(Nt(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let f;if(a.isFormData(
Line truncated
|
||||
`+o.map(lt).join(`
|
||||
`):" "+lt(o[0]):"as no adapter specified";throw new y("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Be};function Ce(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new W(null,e)}function ut(e){return Ce(e),e.headers=A.from(e.headers),e.data=xe.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Lt.getAdapter(e.adapter||ne.adapter)(e).then(function(r){return Ce(e),r.data=xe.call(e,e.transformResponse,r),r.headers=A.from(r.headers),r},function(r){return xt(r)||(Ce(e),r&&r.response&&(r.response.data=xe.call(e,e.transformResponse,r.response),r.response.headers=A.from(r.response.headers))),Promise.reject(r)})}const Bt="1.7.7",ze={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ze[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ct={};ze.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Bt+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new y(s(i," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!ct[i]&&(ct[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function xr(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],f=l===void 0||i(l,o,e);if(f!==!0)throw new y("option "+o+" must be "+f,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+o,y.ERR_BAD_OPTION)}}const ke={assertOptions:xr,validators:ze},B=ke.validators;class j{constructor(t){this.defaults=t,this.interceptors={request:new tt,response:new tt}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||||
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=I(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&ke.assertOptions(r,{silentJSONParsing:B.transitional(B.boolean),forcedJSONParsing:B.transitional(B.boolean),clarifyTimeoutError:B.transitional(B.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:ke.assertOptions(s,{encode:B.function,serialize:B.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=A.concat(i,o);const l=[];let f=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(f=f&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,_;if(!f){const p=[ut.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),_=p.length,u=Promise.resolve(n);d<_;)u=u.then(p[d++],p[d++]);return u}_=l.length;let w=n;for(d=0;d<_;){const p=l[d++],m=l[d++];try{w=p(w)}catch(h){m.call(this,h);break}}try{u=ut.call(this,w)}catch(p){return Promise.reject(p)}for(d=0,_=c.length;d<_;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=I(this.defaults,t);const n=Nt(t.baseURL,t.url);return Tt(n,t.params,t.paramsSerializer)}}a.forEach(["delete","get","head","options"],function(t){j.prototype[t]=function(n,r){return this.request(I(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request(I(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}j.prototype[t]=n(),j.prototype[t+"Form"]=n(!0)});class Je{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new W(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Je(function(s){t=s}),cancel:t}}}function Cr(e){return function(n){return e.apply(null,n)}}function Nr(e){return a.isObject(e)&&e.isAxiosError===!0}const Ue={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ue).forEach(([e,t])=>{Ue[t]=e});function kt(e){const t=new j(e),n=pt(j.prototype.request,t);return a.extend(n,j.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return kt(I(e,s))},n}const b=kt(ne);b.Axios=j;b.CanceledError=W;b.CancelToken=Je;b.isCancel=xt;b.VERSION=Bt;b.toFormData=ge;b.AxiosError=y;b.Cancel=b.CanceledError;b.all=function(t){return Promise.all(t)};b.spread=Cr;b.isAxiosError=Nr;b.mergeConfig=I;b.AxiosHeaders=A;b.formToJSON=e=>At(a.isHTMLForm(e)?new FormData(e):e);b.getAdapter=Lt.getAdapter;b.HttpStatusCode=Ue;b.default=b;loadHtmxFormsBehaviour();window.axios=b;const Pr=b;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";window.axios.interceptors.request.use(function(e){let t;t=document.querySelectorAll(".btn-spinner");for(let n=0;n<t.length;++n)t[n].classList.add("spinner-on"),t[n].disabled=!0;return e},funct
Line truncated
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"main.js": {
|
||||
"file": "assets/main-CgZyxSqq.js",
|
||||
"name": "main",
|
||||
"src": "main.js",
|
||||
"isEntry": true,
|
||||
"css": [
|
||||
"assets/main-B5jYqaDF.css"
|
||||
]
|
||||
}
|
||||
}
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<div
|
||||
class="relative sm:flex sm:justify-center sm:items-center min-h-screen bg-dots-darker bg-center bg-gray-100 dark:bg-dots-lighter dark:bg-gray-900 selection:bg-red-500 selection:text-white"
|
||||
>
|
||||
<div class="max-w-7xl mx-auto p-6 lg:p-8">
|
||||
{@html footer.text}
|
||||
</div>
|
||||
</div>
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
import '../../node_modules/trix/dist/trix.esm'
|
||||
Executable
Whitespace-only changes.
Executable
+82
@@ -0,0 +1,82 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@import 'variables.scss';
|
||||
@import 'menu.scss';
|
||||
@import 'login.scss';
|
||||
@import 'inputs.scss';
|
||||
@import 'texts.scss';
|
||||
@import 'buttons.scss';
|
||||
@import 'dashboard.scss';
|
||||
@import 'trix.scss';
|
||||
|
||||
html{
|
||||
font-family: "Fira Mono", serif;
|
||||
background-color: $yellow;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
color: $grey-dark;
|
||||
}
|
||||
|
||||
main{
|
||||
width: 100%;
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.container {
|
||||
color: $grey-dark;
|
||||
background-color: white;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 25px;
|
||||
outline: 0px solid;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.flex{
|
||||
display: flex;
|
||||
|
||||
&--end {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
&.column {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.inline{
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.right{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.circle{
|
||||
border-radius: 30px;
|
||||
outline: 2px solid $yellow;
|
||||
height: 25px;
|
||||
width: 25px;
|
||||
background-color:$grey-dark;
|
||||
|
||||
}
|
||||
|
||||
.none{
|
||||
display: none;
|
||||
}
|
||||
Executable
+50
@@ -0,0 +1,50 @@
|
||||
button,
|
||||
a {
|
||||
&.primary {
|
||||
background-color: $yellow;
|
||||
color: $grey-dark;
|
||||
padding: 5px;
|
||||
border-radius: 10px;
|
||||
border: 2px solid transparent;
|
||||
|
||||
&:hover {
|
||||
border: 2px solid $grey-dark;
|
||||
}
|
||||
|
||||
&:active {
|
||||
border: 2px solid $grey-dark;
|
||||
background-color: $grey-dark;
|
||||
color: $yellow;
|
||||
img {
|
||||
content: url("../../public/images/honeycomb-yellow.png");
|
||||
}
|
||||
}
|
||||
|
||||
&-outlined {
|
||||
background-color: $grey-dark;
|
||||
color: $yellow;
|
||||
padding: 5px;
|
||||
border-radius: 10px;
|
||||
border: 2px solid $grey-light;
|
||||
|
||||
&:hover {
|
||||
border: 2px solid $yellow;
|
||||
}
|
||||
|
||||
&:active {
|
||||
border: 2px solid $yellow;
|
||||
background-color: $yellow;
|
||||
color: $grey-dark;
|
||||
|
||||
img{
|
||||
content: url("../../public/images/honeycomb-yellow.png");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
img {
|
||||
display: inline;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+102
@@ -0,0 +1,102 @@
|
||||
.grid {
|
||||
flex-wrap: wrap;
|
||||
margin-top: 15px;
|
||||
&--item {
|
||||
margin-bottom: 20px;
|
||||
width: 50%;
|
||||
padding: 15px;
|
||||
flex: 1 0 40%;
|
||||
height: 37.5vh;
|
||||
|
||||
&--heading {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
width: 80%;
|
||||
padding-left: 10px;
|
||||
|
||||
div {
|
||||
display: inline-flex;
|
||||
float: right;
|
||||
margin-left: 30px;
|
||||
|
||||
img {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
img {
|
||||
margin-left: 10px;
|
||||
width: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
&--content {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
width: 90%;
|
||||
height: 100%;
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
height: 100%;
|
||||
margin-top: 5px;
|
||||
&--table {
|
||||
color: $grey-dark;
|
||||
padding: 20px;
|
||||
align-self: center;
|
||||
width: 100%;
|
||||
height: 85%;
|
||||
border-collapse: collapse;
|
||||
border-collapse: collapse;
|
||||
border: 1px solid $yellow;
|
||||
}
|
||||
thead tr {
|
||||
color: $grey-dark;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
thead {
|
||||
border-radius: 15px;
|
||||
background-color: $yellow;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 12px 15px;
|
||||
}
|
||||
|
||||
tbody tr {
|
||||
border-bottom: 1px solid $grey-dark;
|
||||
}
|
||||
|
||||
tbody tr:nth-of-type(even) {
|
||||
background-color: $grey-dark;
|
||||
color: $yellow;
|
||||
}
|
||||
|
||||
tbody tr:last-of-type {
|
||||
border-bottom: 2px solid $yellow;
|
||||
}
|
||||
}
|
||||
|
||||
&--end {
|
||||
float: inline-end;
|
||||
margin: 10px;
|
||||
a {
|
||||
flex-direction: row;
|
||||
display: inline-flex;
|
||||
img {
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.add:mouseup{
|
||||
img{
|
||||
content: url('../../public/images/add-black.png');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.border {
|
||||
border: 1px solid $yellow;
|
||||
}
|
||||
Executable
+82
@@ -0,0 +1,82 @@
|
||||
.formGroup {
|
||||
align-items: flex-start;
|
||||
margin-bottom: 10px;
|
||||
input,
|
||||
textarea {
|
||||
margin-top: 0px;
|
||||
border: 2px solid $grey-light;
|
||||
border-radius: 6px;
|
||||
height: 2.25rem;
|
||||
padding: 5px;
|
||||
color: $grey-dark;
|
||||
font-size: medium;
|
||||
width: 400px;
|
||||
&::placeholder {
|
||||
color: $grey-dark;
|
||||
font-size: small;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border: 2px solid $grey-dark;
|
||||
outline: none;
|
||||
color: $grey-dark;
|
||||
}
|
||||
}
|
||||
|
||||
textarea{
|
||||
height: 15rem;
|
||||
width: 40rem;
|
||||
}
|
||||
|
||||
input#assignTo {
|
||||
overflow: hidden;
|
||||
background-color: white;
|
||||
margin-left: 0px;
|
||||
border: 2px solid $grey-light;
|
||||
border-radius: 30px;
|
||||
padding: 5px;
|
||||
font-size: small;
|
||||
color: $grey-dark;
|
||||
left: 10px;
|
||||
width: 250px;
|
||||
margin-top: 0;
|
||||
|
||||
&:focus {
|
||||
margin-left: none;
|
||||
outline: none;
|
||||
border: 2px solid $grey-dark;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $grey-light;
|
||||
}
|
||||
}
|
||||
img {
|
||||
position: relative;
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
width: 25px;
|
||||
height: 100%;
|
||||
right: -215px;
|
||||
top:-32.5px;
|
||||
}
|
||||
|
||||
.ql-container{
|
||||
height:500px;
|
||||
}
|
||||
}
|
||||
|
||||
.queryResponses{
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
top:10px
|
||||
}
|
||||
|
||||
.selection{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.honeycombDescription{
|
||||
width: 100%;
|
||||
height: 450px;
|
||||
}
|
||||
Executable
+72
@@ -0,0 +1,72 @@
|
||||
.login {
|
||||
background-color: $grey-dark;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.loginLeft {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.loginCircle,
|
||||
.infoPane {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.loginCircle {
|
||||
border-radius: 1000px;
|
||||
border: 600px solid $yellow;
|
||||
top: -200px;
|
||||
left: -450px;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
color: $yellow;
|
||||
background-color: $yellow;
|
||||
}
|
||||
|
||||
.infoPane {
|
||||
z-index: 9;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
left: 200px;
|
||||
top: -100px;
|
||||
img {
|
||||
position: relative;
|
||||
max-width: 200px;
|
||||
width: 200px;
|
||||
left: -165px;
|
||||
}
|
||||
|
||||
.welcomeText {
|
||||
margin-top: 15px;
|
||||
color: $grey-dark;
|
||||
align-self: center;
|
||||
justify-content: center;
|
||||
font-size: larger;
|
||||
position: relative;
|
||||
font-weight: bold;
|
||||
width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
.loginForm {
|
||||
position: relative;
|
||||
align-self: center;
|
||||
left: -125px;
|
||||
padding: 10px;
|
||||
|
||||
&.welcomeText{
|
||||
color: white;
|
||||
}
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
Executable
+152
@@ -0,0 +1,152 @@
|
||||
.nav {
|
||||
// display: box;
|
||||
align-items: center;
|
||||
background: $yellow;
|
||||
height: 50px;
|
||||
justify-content: space-between;
|
||||
padding: 2rem 0rem 2rem 1rem;
|
||||
top: 15px;
|
||||
width: 18.5rem;
|
||||
min-height: 100vh;
|
||||
height: 100%;
|
||||
|
||||
ul.sidemenu {
|
||||
.sidemenuLink {
|
||||
border: 5px solid transparent;
|
||||
height: 4.25rem;
|
||||
padding-left: 5px;
|
||||
// padding: 1rem;
|
||||
p {
|
||||
color: $grey-dark;
|
||||
font-weight: bold;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.menuIcon{
|
||||
width: 40px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
&.active {
|
||||
p {
|
||||
color: $yellow;
|
||||
}
|
||||
border-radius: 2rem;
|
||||
background-color: $grey-dark;
|
||||
border: 5px solid $grey-dark;
|
||||
|
||||
}
|
||||
margin-top: 15px;
|
||||
|
||||
&:hover {
|
||||
p {
|
||||
color: $yellow;
|
||||
}
|
||||
border-radius: 2rem;
|
||||
background-color: $grey-dark;
|
||||
border: 5px solid $grey-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.honeycombs:hover, .honeycombs.active{
|
||||
img{
|
||||
content: url('../../public/images/honeycomb-yellow.png');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#logoLink {
|
||||
padding-left: 5px;
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
font-size: 20px;
|
||||
|
||||
p {
|
||||
top: 10px;
|
||||
color: $grey-dark;
|
||||
}
|
||||
}
|
||||
|
||||
.logo{
|
||||
width: 50px;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.separator {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: $grey-dark;
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
border-radius: 25px;
|
||||
border: 0px solid;
|
||||
margin: 5 0 25 0;
|
||||
|
||||
&.yellow {
|
||||
margin-bottom: 15px;
|
||||
background: $yellow;
|
||||
top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.innerMenu {
|
||||
height: 2.5rem;
|
||||
align-items: center;
|
||||
gap: 30%;
|
||||
font-weight: 1;
|
||||
|
||||
&--right {
|
||||
gap: 20px;
|
||||
position: fixed;
|
||||
right: 2.7rem;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
gap: 400px;
|
||||
}
|
||||
|
||||
.searchBar {
|
||||
form {
|
||||
margin: 0;
|
||||
|
||||
input {
|
||||
overflow: hidden;
|
||||
background-color: white;
|
||||
margin-left: 15px;
|
||||
border: 2px solid $grey-light;
|
||||
border-radius: 30px;
|
||||
padding: 5px;
|
||||
font-size: small;
|
||||
color: $grey-dark;
|
||||
left: 10px;
|
||||
width: 250px;
|
||||
margin-top: 0;
|
||||
|
||||
&:focus {
|
||||
margin-left: none;
|
||||
outline: none;
|
||||
border: 2px solid $grey-dark;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $grey-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
img {
|
||||
position: relative;
|
||||
right: 35px;
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
width: 25px;
|
||||
height: 100%;
|
||||
top:5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
.blue{
|
||||
color: $grey-dark;
|
||||
}
|
||||
|
||||
.bold{
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.small{
|
||||
font-size: small;
|
||||
}
|
||||
@@ -0,0 +1,513 @@
|
||||
trix-editor {
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 3px;
|
||||
margin: 0;
|
||||
padding: 0.4em 0.6em;
|
||||
min-height: 5em;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
trix-toolbar * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button-row {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button-group {
|
||||
display: flex;
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid #bbb;
|
||||
border-top-color: #ccc;
|
||||
border-bottom-color: #888;
|
||||
border-radius: 3px;
|
||||
}
|
||||
trix-toolbar .trix-button-group:not(:first-child) {
|
||||
margin-left: 1.5vw;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
trix-toolbar .trix-button-group:not(:first-child) {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button-group-spacer {
|
||||
flex-grow: 1;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
trix-toolbar .trix-button-group-spacer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button {
|
||||
position: relative;
|
||||
float: left;
|
||||
color: rgba(0, 0, 0, 0.6);
|
||||
font-size: 0.75em;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
padding: 0 0.5em;
|
||||
margin: 0;
|
||||
outline: none;
|
||||
border: none;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
trix-toolbar .trix-button:not(:first-child) {
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
trix-toolbar .trix-button.trix-active {
|
||||
background: #cbeefa;
|
||||
color: black;
|
||||
}
|
||||
trix-toolbar .trix-button:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
trix-toolbar .trix-button:disabled {
|
||||
color: rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
trix-toolbar .trix-button {
|
||||
letter-spacing: -0.01em;
|
||||
padding: 0 0.3em;
|
||||
}
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon {
|
||||
font-size: inherit;
|
||||
width: 2.6em;
|
||||
height: 1.6em;
|
||||
max-width: calc(0.8em + 4vw);
|
||||
text-indent: -9999px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
trix-toolbar .trix-button--icon {
|
||||
height: 2em;
|
||||
max-width: calc(0.8em + 3.5vw);
|
||||
}
|
||||
}
|
||||
trix-toolbar .trix-button--icon::before {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
opacity: 0.6;
|
||||
content: "";
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
trix-toolbar .trix-button--icon::before {
|
||||
right: 6%;
|
||||
left: 6%;
|
||||
}
|
||||
}
|
||||
trix-toolbar .trix-button--icon.trix-active::before {
|
||||
opacity: 1;
|
||||
}
|
||||
trix-toolbar .trix-button--icon:disabled::before {
|
||||
opacity: 0.125;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-attach::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
|
||||
top: 8%;
|
||||
bottom: 4%;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-bold::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-italic::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-link::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-strike::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-quote::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-heading-1::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-code::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-bullet-list::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-number-list::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-undo::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-redo::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-decrease-nesting-level::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--icon-increase-nesting-level::before {
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
trix-toolbar .trix-dialogs {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-dialog {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
font-size: 0.75em;
|
||||
padding: 15px 10px;
|
||||
background: #fff;
|
||||
box-shadow: 0 0.3em 1em #ccc;
|
||||
border-top: 2px solid #888;
|
||||
border-radius: 5px;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-input--dialog {
|
||||
font-size: inherit;
|
||||
font-weight: normal;
|
||||
padding: 0.5em 0.8em;
|
||||
margin: 0 10px 0 0;
|
||||
border-radius: 3px;
|
||||
border: 1px solid #bbb;
|
||||
background-color: #fff;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
||||
trix-toolbar .trix-input--dialog.validate:invalid {
|
||||
box-shadow: #f00 0px 0px 1.5px 1px;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-button--dialog {
|
||||
font-size: inherit;
|
||||
padding: 0.5em;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-dialog--link {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
trix-toolbar .trix-dialog__link-fields {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
trix-toolbar .trix-dialog__link-fields .trix-input {
|
||||
flex: 1;
|
||||
}
|
||||
trix-toolbar .trix-dialog__link-fields .trix-button-group {
|
||||
flex: 0 0 content;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
trix-editor [data-trix-mutable]::-moz-selection,
|
||||
trix-editor [data-trix-cursor-target]::-moz-selection,
|
||||
trix-editor [data-trix-mutable] ::-moz-selection {
|
||||
background: none;
|
||||
}
|
||||
|
||||
trix-editor [data-trix-mutable]::selection,
|
||||
trix-editor [data-trix-cursor-target]::selection,
|
||||
trix-editor [data-trix-mutable] ::selection {
|
||||
background: none;
|
||||
}
|
||||
|
||||
trix-editor
|
||||
.attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
|
||||
background: highlight;
|
||||
}
|
||||
|
||||
trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
|
||||
background: highlight;
|
||||
}
|
||||
|
||||
trix-editor [data-trix-mutable].attachment.attachment--file {
|
||||
box-shadow: 0 0 0 2px highlight;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
trix-editor [data-trix-mutable].attachment img {
|
||||
box-shadow: 0 0 0 2px highlight;
|
||||
}
|
||||
|
||||
trix-editor .attachment {
|
||||
position: relative;
|
||||
}
|
||||
trix-editor .attachment:hover {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
trix-editor .attachment--preview .attachment__caption:hover {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
trix-editor .attachment__progress {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
height: 20px;
|
||||
top: calc(50% - 10px);
|
||||
left: 5%;
|
||||
width: 90%;
|
||||
opacity: 0.9;
|
||||
transition: opacity 200ms ease-in;
|
||||
}
|
||||
trix-editor .attachment__progress[value="100"] {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
trix-editor .attachment__caption-editor {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: inherit;
|
||||
font-family: inherit;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
border: none;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
||||
|
||||
trix-editor .attachment__toolbar {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: -0.9em;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
trix-editor .trix-button-group {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
trix-editor .trix-button {
|
||||
position: relative;
|
||||
float: left;
|
||||
color: #666;
|
||||
white-space: nowrap;
|
||||
font-size: 80%;
|
||||
padding: 0 0.8em;
|
||||
margin: 0;
|
||||
outline: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
trix-editor .trix-button:not(:first-child) {
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
trix-editor .trix-button.trix-active {
|
||||
background: #cbeefa;
|
||||
}
|
||||
trix-editor .trix-button:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
trix-editor .trix-button--remove {
|
||||
text-indent: -9999px;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
outline: none;
|
||||
width: 1.8em;
|
||||
height: 1.8em;
|
||||
line-height: 1.8em;
|
||||
border-radius: 50%;
|
||||
background-color: #fff;
|
||||
border: 2px solid highlight;
|
||||
box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
trix-editor .trix-button--remove::before {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
opacity: 0.7;
|
||||
content: "";
|
||||
background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 90%;
|
||||
}
|
||||
trix-editor .trix-button--remove:hover {
|
||||
border-color: #333;
|
||||
}
|
||||
trix-editor .trix-button--remove:hover::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
trix-editor .attachment__metadata-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
trix-editor .attachment__metadata {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 2em;
|
||||
transform: translate(-50%, 0);
|
||||
max-width: 90%;
|
||||
padding: 0.1em 0.6em;
|
||||
font-size: 0.8em;
|
||||
color: #fff;
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
border-radius: 3px;
|
||||
}
|
||||
trix-editor .attachment__metadata .attachment__name {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
vertical-align: bottom;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
trix-editor .attachment__metadata .attachment__size {
|
||||
margin-left: 0.2em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.trix-content {
|
||||
line-height: 1.5;
|
||||
}
|
||||
.trix-content * {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.trix-content h1 {
|
||||
font-size: 1.2em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.trix-content blockquote {
|
||||
border: 0 solid #ccc;
|
||||
border-left-width: 0.3em;
|
||||
margin-left: 0.3em;
|
||||
padding-left: 0.6em;
|
||||
}
|
||||
.trix-content [dir="rtl"] blockquote,
|
||||
.trix-content blockquote[dir="rtl"] {
|
||||
border-width: 0;
|
||||
border-right-width: 0.3em;
|
||||
margin-right: 0.3em;
|
||||
padding-right: 0.6em;
|
||||
}
|
||||
.trix-content li {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.trix-content [dir="rtl"] li {
|
||||
margin-right: 1em;
|
||||
}
|
||||
.trix-content pre {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
vertical-align: top;
|
||||
font-family: monospace;
|
||||
font-size: 0.9em;
|
||||
padding: 0.5em;
|
||||
white-space: pre;
|
||||
background-color: #eee;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.trix-content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.trix-content .attachment {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
}
|
||||
.trix-content .attachment a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
.trix-content .attachment a:hover,
|
||||
.trix-content .attachment a:visited:hover {
|
||||
color: inherit;
|
||||
}
|
||||
.trix-content .attachment__caption {
|
||||
text-align: center;
|
||||
}
|
||||
.trix-content
|
||||
.attachment__caption
|
||||
.attachment__name
|
||||
+ .attachment__size::before {
|
||||
content: " \2022 ";
|
||||
}
|
||||
.trix-content .attachment--preview {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.trix-content .attachment--preview .attachment__caption {
|
||||
color: #666;
|
||||
font-size: 0.9em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.trix-content .attachment--file {
|
||||
color: #333;
|
||||
line-height: 1;
|
||||
margin: 0 2px 2px 2px;
|
||||
padding: 0.4em 1em;
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.trix-content .attachment-gallery {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
}
|
||||
.trix-content .attachment-gallery .attachment {
|
||||
flex: 1 0 33%;
|
||||
padding: 0 0.5em;
|
||||
max-width: 33%;
|
||||
}
|
||||
.trix-content .attachment-gallery.attachment-gallery--2 .attachment,
|
||||
.trix-content .attachment-gallery.attachment-gallery--4 .attachment {
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
$yellow:#FFE000;
|
||||
$yellow-dark: #f0d400;
|
||||
$yellower: #faeb7a;
|
||||
|
||||
$emerald:#50c47d;
|
||||
|
||||
$orange: #ef5924;
|
||||
|
||||
$blue-light: #7091E6;
|
||||
$grey: #8697C4;
|
||||
$grey-light: #bcbdbc;
|
||||
$grey-dark: #363A43;
|
||||
Executable
+46
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>Login - Radical Hive</title>
|
||||
|
||||
@if (env('APP_ENV') === 'production')
|
||||
<!-- if production -->
|
||||
<link rel="stylesheet" href="/resources/dist/{{ $manifest['main.js']['css'][0] }}" />
|
||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']['file'] }}"></script>
|
||||
@else
|
||||
<!-- if development -->
|
||||
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
|
||||
@endif
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
|
||||
{{-- <link rel="icon" type="image/x-icon" href="/favicon.ico"/> --}}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="login flex">
|
||||
<div class="loginLeft">
|
||||
<div class="loginCircle">
|
||||
<div class="infoPane flex">
|
||||
<img src="images/beekeper-black.png"></img>
|
||||
<span class="welcomeText">Welcome to <u>The Hive</u>,<br> a highly reactive place</span>
|
||||
<div class="logo">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="loginForm welcomeText">
|
||||
You will recieve an email with a <u>magic link</u>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>Login - Radical Hive</title>
|
||||
|
||||
@if (env('APP_ENV') === 'production')
|
||||
<!-- if production -->
|
||||
<link rel="stylesheet" href="/resources/dist/{{ $manifest['main.js']['css'][0] }}" />
|
||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']['file'] }}"></script>
|
||||
@else
|
||||
<!-- if development -->
|
||||
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
|
||||
@endif
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
|
||||
{{-- <link rel="icon" type="image/x-icon" href="/favicon.ico"/> --}}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="login flex">
|
||||
<div class="loginLeft">
|
||||
<div class="loginCircle">
|
||||
<div class="infoPane flex">
|
||||
<img src="images/beekeper-black.png"></img>
|
||||
<span class="welcomeText">Welcome to <u>The Hive</u>,<br> a highly reactive place</span>
|
||||
<div class="logo">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="loginForm">
|
||||
<span class="blue bold">Log In</span>
|
||||
<form action="/login" method="POST">
|
||||
@csrf
|
||||
<input type="email" name="email" placeholder="Email"></input>
|
||||
<button type="submit" class="primary">Log in</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Executable
+50
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>Login - Radical Hive</title>
|
||||
|
||||
@if (env('APP_ENV') === 'production')
|
||||
<!-- if production -->
|
||||
<link rel="stylesheet" href="/resources/dist/{{ $manifest['main.js']['css'][0] }}" />
|
||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']['file'] }}"></script>
|
||||
@else
|
||||
<!-- if development -->
|
||||
@vite(['resources/sass/app.scss', 'resources/js/app.js'])
|
||||
@endif
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
|
||||
{{-- <link rel="icon" type="image/x-icon" href="/favicon.ico"/> --}}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="login flex">
|
||||
<div class="loginLeft">
|
||||
<div class="loginCircle">
|
||||
<div class="infoPane flex">
|
||||
<img src="images/beekeper-black.png"></img>
|
||||
<span class="welcomeText">Welcome to <u>The Hive</u>,<br> a highly reactive place</span>
|
||||
<div class="logo">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="loginForm welcomeText">
|
||||
<form method="POST" action="/verify">
|
||||
@csrf
|
||||
<input type="hidden" name="email" value="{{ $email }}">
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<button type="success" class="primary">Enter as {{ $email }}</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,7 @@
|
||||
<div class="searchBar">
|
||||
<form class="searchBarInput flex">
|
||||
<input type="text" name="searchbar" placeholder="Search..." wire:change="query($event.target.value)">
|
||||
<img src={{ asset('images/search.png') }}></img>
|
||||
</input>
|
||||
</form>
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="flex column formGroup">
|
||||
<label for={{$name}}>{{$label}}</label>
|
||||
<input type="text" name="{{$name}}" id={{$name}}>
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="flex column formGroup">
|
||||
<label for={{$name}}>{{$label}}</label>
|
||||
<div id="editor" wire:ignore></div>
|
||||
</div>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
<a href="/{{$key}}" class="flex center sidemenuLink {{$key}}@if (Route::getCurrentRoute()->uri == $key) active @endif">
|
||||
<img class="menuIcon" src={{asset("images/$value-black.png")}}>
|
||||
<p>{{ucfirst($key)}}</p>
|
||||
</a>
|
||||
Executable
+110
@@ -0,0 +1,110 @@
|
||||
@extends('layouts.main')
|
||||
@section('title')
|
||||
{{ $title }}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="flex grid">
|
||||
<div class="grid--item">
|
||||
<div class="grid--item--heading">
|
||||
<p class="bold">Your honeycombs</p><img src={{asset("images/honeycomb-black.png")}}></img>
|
||||
</div>
|
||||
<div class="grid--item--content">
|
||||
<table class="grid--item--content--table small">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
Honeycomb name
|
||||
</th>
|
||||
<th>
|
||||
Created by
|
||||
</th>
|
||||
<th>
|
||||
Due Date
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if (isset($honeycombs) && !empty($honeycombs->toArray()))
|
||||
@foreach ($honeycombs as $honeycomb)
|
||||
<tr>
|
||||
<td class="black">
|
||||
<a class="black small" href="#">{{ $honeycomb->name }}
|
||||
</a>
|
||||
|
||||
</td>
|
||||
{{-- @if (!is_string($honeycomb->createdBy))
|
||||
{{dump((array)$honeycomb)}} --}}
|
||||
<td>{{ $honeycomb->createdBy}}</td>
|
||||
{{-- @else
|
||||
<td>Alex Lingris</td>
|
||||
@endif --}}
|
||||
<td>25/10/25</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<td rowspan="4" colspan="3">
|
||||
You have no honeycombs
|
||||
</td>
|
||||
@endif
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="grid--item--end">
|
||||
<a href="/honeycombs" class="primary small honeycombs">All Honeycombs <img
|
||||
src={{asset("images/honeycomb-black.png")}}></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid--item">
|
||||
<div class="grid--item--heading">
|
||||
<p class="bold">Your honeycombs</p><img src={{asset("images/honeycomb-black.png")}}></img>
|
||||
</div>
|
||||
{{-- <div class="grid--item--content">
|
||||
<ul>
|
||||
@foreach ($tasks as $task)
|
||||
<a href="#">
|
||||
<li class="black">{{ $task->taskName }}</li>
|
||||
</a>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div> --}}
|
||||
</div>
|
||||
<div class="grid--item">
|
||||
<div class="grid--item--heading">
|
||||
<p class="bold">Your honeycombs</p><img src={{asset("images/honeycomb-black.png")}}></img>
|
||||
</div>
|
||||
<div class="grid--item--content">
|
||||
<table>
|
||||
{{-- @foreach ($tasks as $task)
|
||||
<tr>
|
||||
<a href="#">
|
||||
<td class="black">{{ $task->taskName }}</td>
|
||||
</a>
|
||||
</tr>
|
||||
@endforeach --}}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid--item">
|
||||
<div class="grid--item--heading">
|
||||
<p class="bold">Your honeycombs</p><img src={{asset("images/honeycomb-black.png")}}></img>
|
||||
</div>
|
||||
<div class="grid--item--content">
|
||||
{{-- <ul>
|
||||
@forelse ($tasks as $task)
|
||||
<a href="#">
|
||||
<li class="black">{{ $task->taskName }}</li>
|
||||
</a>
|
||||
|
||||
@empty
|
||||
No honeycombs found
|
||||
@endforeach
|
||||
</ul> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
@endsection
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('title')
|
||||
{{ $title }}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="flex">
|
||||
<div class="grid--item">
|
||||
<div class="grid--item--heading">
|
||||
|
||||
<p class="bold">Honeycombs assigned to you
|
||||
</p>
|
||||
<div>
|
||||
<img src={{asset("images/arrow-right-black.png")}}></img>
|
||||
<img src={{asset("images/beekeper-black.png")}}></img>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid--item--content">
|
||||
<table class="grid--item--content--table small">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
Honeycomb name
|
||||
</th>
|
||||
<th>
|
||||
Created by
|
||||
</th>
|
||||
<th>
|
||||
Due Date
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if (isset($assignedToMe) && !empty($assignedToMe->toArray()))
|
||||
@foreach ($assignedToMe as $honeycomb)
|
||||
<tr>
|
||||
<td class="blue">
|
||||
<a class="blue small" href="honeycombs/{{$honeycomb->id}}">{{ $honeycomb->name }}
|
||||
</a>
|
||||
|
||||
</td>
|
||||
<td>{{ $honeycomb->createdBy->name->value}}</td>
|
||||
<td>25/10/25</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<td rowspan="4" colspan="3">
|
||||
You have no honeycombs
|
||||
</td>
|
||||
@endif
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid--item">
|
||||
<div class="grid--item--heading">
|
||||
|
||||
<p class="bold">
|
||||
Honeycombs created by you
|
||||
</p>
|
||||
<div>
|
||||
<img src={{asset("images/beekeper-black.png")}}></img>
|
||||
<img src={{asset("images/arrow-right-black.png")}}></img>
|
||||
</div>
|
||||
</div>
|
||||
<div class="grid--item--content">
|
||||
<table class="grid--item--content--table small">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
Honeycomb name
|
||||
</th>
|
||||
<th>
|
||||
Created by
|
||||
</th>
|
||||
<th>
|
||||
Due Date
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@if (isset($honeycombs) && !empty($honeycombs->toArray()))
|
||||
@foreach ($honeycombs as $honeycomb)
|
||||
<tr>
|
||||
<td class="blue">
|
||||
<a class="blue small" href="#">{{ $honeycomb->name }}
|
||||
</a>
|
||||
|
||||
</td>
|
||||
<td>{{ $honeycomb->createdBy->name->value}}</td>
|
||||
<td>25/10/25</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@else
|
||||
<td rowspan="4" colspan="3">
|
||||
You have no honeycombs
|
||||
</td>
|
||||
@endif
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="grid--item--end">
|
||||
<a href="/honeycombs/new" class="primary small add">Create new Honeycomb <img
|
||||
src="{{asset("images/add-black.png")}}"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('title')
|
||||
{{ $title }}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="">
|
||||
<form class="flex column" width="50px" method="POST" action="new">
|
||||
@csrf
|
||||
<x-forms.inputs.text label="Honeycomb Name" name="name" />
|
||||
<input id="description" type="hidden" name="description">
|
||||
<livewire:trix />
|
||||
<div class="flex column formGroup">
|
||||
<label for="dueDate"> Due Date</label>
|
||||
<input id="dueDate" type="date" rows="10" name="dueDate"></input>
|
||||
</div>
|
||||
<livewire:assign-to />
|
||||
<button type="submit" class="primary">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
@endsection
|
||||
<script>
|
||||
</script>
|
||||
@@ -0,0 +1,19 @@
|
||||
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('title')
|
||||
{{ $honeycomb->name }}
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="">
|
||||
<h1>{{$honeycomb->name}}</h1>
|
||||
{!! $honeycomb->description !!}
|
||||
{{$honeycomb->dueDate}}
|
||||
@foreach($honeycomb->assignTo as $assigned)
|
||||
Assigned To <button class="primary">{{$assigned->name}}</button>
|
||||
@endforeach
|
||||
</div>
|
||||
@endsection
|
||||
<script>
|
||||
</script>
|
||||
Executable
+62
@@ -0,0 +1,62 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>@yield('title') - Radical Hive</title>
|
||||
|
||||
@if (env('APP_ENV') === 'production')
|
||||
<!-- if production -->
|
||||
<link rel="stylesheet" href="/resources/dist/{{ $manifest['main.js']['css'][0] }}" />
|
||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']['file'] }}"></script>
|
||||
@else
|
||||
<!-- if development -->
|
||||
@vite(['resources/sass/app.scss', 'resources/js/app.js', 'resources/js/main.js'])
|
||||
@endif
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap" rel="stylesheet">
|
||||
|
||||
{{-- <link rel="icon" type="image/x-icon" href="/favicon.ico"/> --}}
|
||||
@livewireStyles
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@include('menus.desktop')
|
||||
|
||||
@section('content')
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="innerMenu flex center">
|
||||
<div class="breadcrumb">
|
||||
@foreach ($breadcrumb as $item)
|
||||
<span>{{ $item }}</span>
|
||||
@if (!$loop->last)
|
||||
>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="innerMenu--right flex center flex--end">
|
||||
<div class="searchBar">
|
||||
<form class="searchBarInput flex">
|
||||
<input type="text" name="searchbar" placeholder="Search...">
|
||||
<img src={{ asset('images/search.png') }}></img>
|
||||
</input>
|
||||
</form>
|
||||
</div>
|
||||
<div class="notifications">
|
||||
<div class="circle">AK</div>
|
||||
</div>
|
||||
<div class="profile">
|
||||
<div class="circle">KL</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator yellow"></div>
|
||||
@yield('content')
|
||||
@livewireScripts
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
|
||||
|
||||
<div class="formGroup column flex">
|
||||
<label for="assignTo">Assign To</label>
|
||||
<input id="assignTo" type="text" name="query" placeholder="Search by name or email"
|
||||
wire:model.live="query" autocomplete="off" />
|
||||
<input type="hidden" value="{{$value}}" name="assignTo">
|
||||
<div class="queryResponses {{ $display }}">
|
||||
@foreach ($queryResults as $result)
|
||||
<button wire:key="$item-{{ $result->id }}" class="results primary" wire:click.prevent="add('{{$result->id}}')">{{ $result->name->value }}</button>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="selected {{ $display }}">
|
||||
@foreach ($selection as $selected)
|
||||
<button wire:key="$selected-{{ $selected->id }}" class="results primary-outlined" wire:click.prevent="remove('{{$selected->id}}')">{{ $selected->name->value }}</button>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,65 @@
|
||||
<div>
|
||||
@csrf
|
||||
<trix-editor class="honeycombDescription" input="description"></trix-editor>
|
||||
</div>
|
||||
@script
|
||||
<script>
|
||||
const HOST = "/uploadImages"
|
||||
addEventListener('trix-attachment-add', (event) => {
|
||||
if (event.attachment.file) {
|
||||
uploadFileAttachment(event.attachment)
|
||||
}
|
||||
})
|
||||
|
||||
function uploadFileAttachment(attachment) {
|
||||
uploadFile(attachment.file, setProgress, setAttributes)
|
||||
|
||||
function setProgress(progress) {
|
||||
attachment.setUploadProgress(progress)
|
||||
}
|
||||
|
||||
function setAttributes(attributes) {
|
||||
attachment.setAttributes(attributes)
|
||||
}
|
||||
}
|
||||
|
||||
function uploadFile(file, progressCallback, successCallback) {
|
||||
var key = createStorageKey(file)
|
||||
var formData = createFormData(key, file)
|
||||
var xhr = new XMLHttpRequest()
|
||||
|
||||
xhr.open("POST", HOST, true)
|
||||
xhr.setRequestHeader('X-CSRF-TOKEN', document.getElementsByName("_token")[0].value)
|
||||
|
||||
xhr.upload.addEventListener("progress", function(event) {
|
||||
var progress = event.loaded / event.total * 100
|
||||
progressCallback(progress)
|
||||
})
|
||||
|
||||
xhr.addEventListener("load", function(event) {
|
||||
if (xhr.status == 201) {
|
||||
var attributes = {
|
||||
url: "/storage/" + xhr.response,
|
||||
href: "/storage/" + xhr.response
|
||||
}
|
||||
successCallback(attributes)
|
||||
}
|
||||
})
|
||||
|
||||
xhr.send(formData)
|
||||
}
|
||||
|
||||
function createStorageKey(file) {
|
||||
var name = file.name
|
||||
return ["storage", "trixImages", name].join("/")
|
||||
}
|
||||
|
||||
function createFormData(key, file) {
|
||||
var data = new FormData()
|
||||
data.append("key", key)
|
||||
data.append("Content-Type", file.type)
|
||||
data.append("file", file)
|
||||
return data
|
||||
}
|
||||
</script>
|
||||
@endscript
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
<div class="nav">
|
||||
<a id="logoLink" href="/"><img class="logo" src={{asset("images/beehive-black.png")}}></img>
|
||||
<p class="logoText"> Radical Hive</p>
|
||||
</a>
|
||||
<div class="separator"></div>
|
||||
<ul class="sidemenu">
|
||||
@foreach ($menuLinks as $key => $value)
|
||||
<x-menu.menuItem key={{$key}} value={{$value}} />
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
Reference in new issue
Block a user