Skip to content

Commit

Permalink
update version 1.2.0 => 1.3.0
Browse files Browse the repository at this point in the history
- add version text in option page
- add meta viewport
  • Loading branch information
snowsunny committed Feb 24, 2020
1 parent 047f54c commit 4d644f2
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion novels-reader-crx/background.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions novels-reader-crx/content.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion novels-reader-crx/html/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>novels-reader options</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.5.0/css/bulma.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
Expand Down Expand Up @@ -41,7 +42,7 @@
<section class="hero is-primary">
<div class="hero-body">
<div class="container">
<h1 class="title">novels-reader</h1>
<h1 class="title">novels-reader -&nbsp;</h1>
<h2 class="subtitle">web page reader for syosetu.com</h2>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion novels-reader-crx/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "novels-reader",
"version": "1.2.0",
"version": "1.3.0",
"description": "Webpage reader for http://syosetu.com",
"content_scripts": [
{
Expand Down
4 changes: 2 additions & 2 deletions novels-reader-crx/options.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ $(async () => {
})

let initOptions = om.getInitOptions()
$('.hero.is-primary .title').append(initOptions.version)
_each(initOptions, (value, key) => {
switch(key) {
case 'voiceType':
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.cson
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
manifest_version: 2
name: 'novels-reader'
version: '1.2.0'
version: '1.3.0'

description: 'Webpage reader for http://syosetu.com'

Expand Down
3 changes: 2 additions & 1 deletion src/pug/options.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ doctype html
html
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1")
title novels-reader options
link(href='https://cdnjs.cloudflare.com/ajax/libs/bulma/0.5.0/css/bulma.min.css' rel='stylesheet')
link(href='https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' rel='stylesheet' integrity='sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN' crossorigin='anonymous')
Expand Down Expand Up @@ -36,7 +37,7 @@ html
.hero-body
.container
h1.title
| novels-reader
| novels-reader -&nbsp;
h2.subtitle
| web page reader for syosetu.com

Expand Down

0 comments on commit 4d644f2

Please sign in to comment.