X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fclient_OLD%2Fjavascripts%2Fcomponents%2FproblemSummary.js;fp=client%2Fclient_OLD%2Fjavascripts%2Fcomponents%2FproblemSummary.js;h=0000000000000000000000000000000000000000;hb=8d61fc4ab7373b4a576f3f9108cdf7768ae27096;hp=54602e054a13c86d588834944b3d42a4c213a465;hpb=760865ac92508676c0047b84c5ba3e12d41d7c20;p=vchess.git diff --git a/client/client_OLD/javascripts/components/problemSummary.js b/client/client_OLD/javascripts/components/problemSummary.js deleted file mode 100644 index 54602e05..00000000 --- a/client/client_OLD/javascripts/components/problemSummary.js +++ /dev/null @@ -1,34 +0,0 @@ -// Preview a problem on variant page -Vue.component('my-problem-summary', { - props: ['prob','userid','preview'], - template: ` -
-
-
-
-

-

-

{{ timestamp2date(prob.added) }}

- -
- - -
-
-
- `, - methods: { - getDiagram: function(fen) { - const fenParsed = V.ParseFen(fen); - return getDiagram({ - position: fenParsed.position, - turn: fenParsed.turn, - // No need for flags here - }); - }, - timestamp2date(ts) { - return getDate(new Date(ts)); - }, - }, -})