Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 28fa984

Browse files
author
DEWITTE Pierre-Alban
committed
[batch mode] UI and wording improvements
1 parent 6502326 commit 28fa984

17 files changed

+382
-553
lines changed

‎batch-mode-explorer/dist/css/app.9d69b357.css‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎batch-mode-explorer/dist/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>Interactive Ink SDK - Explore batch mode</title><link href=css/app.9d69b357.css rel=preload as=style><link href=css/chunk-vendors.6735b12a.css rel=preload as=style><link href=js/app.140936bc.js rel=preload as=script><link href=js/chunk-vendors.f194682c.js rel=preload as=script><link href=css/chunk-vendors.6735b12a.css rel=stylesheet><link href=css/app.9d69b357.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=img/icons/favicon-16x16.png><link rel=manifest href=manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=batch-mode-explorer><link rel=apple-touch-icon href=img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><noscript><strong>We're sorry but mon-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.f194682c.js></script><script src=js/app.140936bc.js></script></body></html>
1+
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>Interactive Ink SDK - Explore batch mode</title><link href=css/app.06c49ba0.css rel=preload as=style><link href=css/chunk-vendors.6735b12a.css rel=preload as=style><link href=js/app.66c44894.js rel=preload as=script><link href=js/chunk-vendors.03b88417.js rel=preload as=script><link href=css/chunk-vendors.6735b12a.css rel=stylesheet><link href=css/app.06c49ba0.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=img/icons/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=img/icons/favicon-16x16.png><link rel=manifest href=manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=batch-mode-explorer><link rel=apple-touch-icon href=img/icons/apple-touch-icon-152x152.png><link rel=mask-icon href=img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=img/icons/msapplication-icon-144x144.png><meta name=msapplication-TileColor content=#000000></head><body><noscript><strong>We're sorry but mon-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.03b88417.js></script><script src=js/app.66c44894.js></script></body></html>

‎batch-mode-explorer/dist/js/app.140936bc.js‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎batch-mode-explorer/dist/js/app.140936bc.js.map‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎batch-mode-explorer/dist/js/chunk-vendors.f194682c.js‎

Lines changed: 0 additions & 65 deletions
This file was deleted.

‎batch-mode-explorer/dist/js/chunk-vendors.f194682c.js.map‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎batch-mode-explorer/dist/precache-manifest.4d45f65a697b73d467283d7ff7504ace.js‎

Lines changed: 0 additions & 62 deletions
This file was deleted.

‎batch-mode-explorer/dist/service-worker.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* See https://goo.gl/2aRDsh
1212
*/
1313

14-
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.2/workbox-sw.js");
14+
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
1515

1616
importScripts(
17-
"precache-manifest.4d45f65a697b73d467283d7ff7504ace.js"
17+
"precache-manifest.35e6d4c65463daddc1cbc5f2420bd357.js"
1818
);
1919

2020
workbox.core.setCacheNameDetails({prefix: "batch-mode-explorer"});

‎batch-mode-explorer/src/components/ControlAndExport.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<el-main>
44
<el-row v-if="status === 'CONTENT-MODIFIED'">
55
<el-col :span="24">
6-
<div class="takecare">The content have been modified since. Please request a new interpretation.</div>
6+
<div class="takecare">The content has been modified. Please request a new interpretation.</div>
77
</el-col>
88
</el-row>
99
<el-row>
Lines changed: 20 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
<template>
22
<div class="wrapper">
3-
<el-card v-for="(localInk, index) in data" :key="index" class="box">
3+
<el-button v-for="(localInk, index) in data" :key="index" @click="select(index)"type="secondary"class="button box">
44
<img :src="localInk.png" class="image">
5-
<div>
6-
<time class="time">{{ localInk.date }}</time>
7-
<div class="bottom clearfix">
8-
<el-button @click="select(index)" type="primary" size="small" class="button">Load</el-button>
9-
<el-button v-if="!useModels" @click="remove(index)" size="small" icon="el-icon-delete" class="button button-right"></el-button>
10-
</div>
5+
<div class="bottom">
6+
<time class="time">{{ formatDate(localInk.date) }}</time>
7+
<el-button v-if="!useModels" @click.stop="remove(index)" size="small" icon="el-icon-delete" class="button button-right"></el-button>
118
</div>
12-
</el-card>
9+
</el-button>
10+
11+
<el-button v-if="Object.keys(data).length === 0" type="secondary" class="button box starCard" :disabled="true">
12+
<div class="mainSign starSign"><i class="el-icon-star-off"></i></div>
13+
<div>Use the star button to visualize your inks later</div>
14+
</el-button>
15+
16+
1317

1418
</div>
1519
</template>
@@ -47,59 +51,22 @@ export default {
4751
this.$store.commit('restoreContext', this.data[idx]);
4852
//TODO Manage status and get the results
4953
this.$router.push({ path: '/write' });
54+
return false;
5055
},
5156
remove(idx) {
5257
this.$store.commit('removeLocalContentItem', idx);
5358
},
59+
formatDate(aDate) {
60+
const parsedDate = new Date(aDate);
61+
//return parsedDate;
62+
return (parsedDate.toDateString());
63+
}
5464
}
5565
}
5666
</script>
5767

58-
<style scoped>
59-
.wrapper {
60-
display: grid;
61-
grid-template-columns: 50% 50%;
62-
grid-gap: 10px;
63-
}
64-
65-
.box {
66-
padding: 10px;
67-
}
68-
69-
.time {
70-
font-size: 1em;
71-
color: #999;
72-
}
73-
.image {
74-
min-width: 100%;
75-
max-width: 100%;
76-
}
77-
78-
.bottom {
79-
margin-top: 13px;
80-
line-height: 12px;
81-
}
82-
83-
.button-right {
84-
float: right;
85-
}
86-
87-
.image {
88-
width: 100%;
89-
display: block;
90-
}
91-
.el-dialog {
92-
max-width: 90vw;
93-
}
94-
.modalcontainer {
95-
display: flex;
96-
flex: 1;
97-
padding: 10px;
98-
flex-direction: column;
99-
}
100-
.selector {
101-
padding: 20px;
102-
}
68+
<style scoped>
69+
@import '../static/inkList.css';
10370
</style>
10471

10572

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /