Skip to content

Commit 38c96f9

Browse files
authored
Merge pull request robotframework#61 from jonipalosaari/new-visual-identity
architecture pictures & favicons
2 parents c9ef8dd + 425cab6 commit 38c96f9

38 files changed

+522
-142
lines changed

sources/config/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ module.exports = {
1818
autoOpenBrowser: false,
1919
errorOverlay: true,
2020
notifyOnErrors: true,
21-
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
22-
21+
poll: 1000, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
22+
aggregateTimeout: 300,
2323
// Use Eslint Loader?
2424
// If true, your code will be linted during bundling and
2525
// linting errors and warnings will be shown in the console.

sources/index.html

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
<!doctype html>
22
<html lang="en">
3+
34
<head>
4-
<title>Robot Framework</title>
5-
<meta charset="utf-8">
6-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7-
<meta name="description" content="Generic test automation framework for acceptance testing and ATDD">
8-
<meta name="author" content="">
5+
<title>Robot Framework</title>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8+
<meta name="description" content="Generic test automation framework for acceptance testing and ATDD">
9+
<meta name="author" content="">
10+
<link rel="apple-touch-icon" sizes="76x76" href="/static/img/icons/apple-touch-icon.png">
11+
<link rel="icon" type="image/png" sizes="32x32" href="/static/img/icons/favicon-32x32.png">
12+
<link rel="icon" type="image/png" sizes="16x16" href="/static/img/icons/favicon-16x16.png">
13+
<link rel="manifest" href="/static/img/icons/site.webmanifest">
14+
<link rel="mask-icon" href="/static/img/icons/safari-pinned-tab.svg" color="#5bbad5">
15+
<meta name="msapplication-TileColor" content="#da532c">
16+
<meta name="theme-color" content="#ffffff">
917
</head>
10-
<body>
11-
<div id="app"></div>
18+
19+
<body>
20+
<div id="app"></div>
1221
</body>
22+
1323
</html>

sources/src/App.vue

Lines changed: 133 additions & 126 deletions
Large diffs are not rendered by default.
-25.8 KB
Binary file not shown.
10.4 KB
Loading
Lines changed: 276 additions & 0 deletions
Loading
52.1 KB
Loading

sources/src/components/FeatureBox.vue

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,40 @@
22
<section>
33
<div class="row justify-content-between">
44
<div v-for="item in data" :key="item.header" style="margin-bottom:10px;" class="col-md-4 col-sm-12">
5-
<b-card
6-
:header="item.header"
7-
class="text-center feature-box">
8-
<div class="b-card-body" v-html="item.text"/>
5+
<b-card :header="item.header" class="text-center feature-box">
6+
<div v-if="item.text != ''" class="b-card-body" v-html="item.text"/>
7+
<div v-if="typeof item.img != 'undefined'" class="b-card-body">
8+
9+
<img center v-b-modal="item.header" :src="item.img" style="cursor:pointer;" class="img-fluid"/>
10+
<b-modal
11+
hide-footer
12+
hide-header
13+
:id="item.header"
14+
centered>
15+
<img center fluid class="img-fluid" :src="item.img_big"/>
16+
<p style="text-align:center;"><a @click="openTab(item.img_big)" :href="item.img_big">Open image in new tab</a></p>
17+
</b-modal>
18+
19+
</div>
920
</b-card>
21+
22+
1023
</div>
24+
1125
</div>
1226
</section>
1327
</template>
1428

1529
<script>
1630
export default {
17-
props: ["data"]
31+
props: ["data"],
32+
methods: {
33+
openTab(href) {
34+
var image = new Image();
35+
image.src = href;
36+
const w = window.open("");
37+
w.document.write(image.outerHTML);
38+
}
39+
}
1840
};
1941
</script>

sources/src/components/TabBox.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
<b-tab v-for="(tab,index) in data" :key="index" :title="tab.title" class="p-1">
55
<div id="{tab.title}-standard" class="card-body row">
66
<div v-for="(item,index) in tab.items" :key="index" class="link col-md-4">
7+
<b-embed v-if="typeof item.src != 'undefined'" type="iframe"
8+
:src="item.src"
9+
allowfullscreen
10+
></b-embed>
711
<a :href="item.href" target="_blank">{{item.title}}</a>
812
<p v-html="item.text"/>
913
</div>

sources/static/.gitignore

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

0 commit comments

Comments
 (0)