Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:マスカブルアイコンに対応
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA3-256: 3fa3f7d3b42b9375cb92418a6fee18f68b0bdf74448869310186742a3d3ce5e4
User & Date: kazuma 2023-03-24 13:56:35
Context
2023-03-24
17:58
罫線モードを実装 check-in: 242171bbca user: kazuma tags: dev
13:56
マスカブルアイコンに対応 check-in: 3fa3f7d3b4 user: kazuma tags: dev
02:56
v22.04-1に向けたアイコンの更新 check-in: 426fe44a0d user: kazuma tags: dev
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to artworks/2023年度アイコン.svg.

cannot compute difference between binary files

Changes to artworks/2023年度アイコン_前景.png.

cannot compute difference between binary files

Changes to artworks/2023年度アイコン_背景.png.

cannot compute difference between binary files

Changes to artworks/apple-touch-icon.png.

cannot compute difference between binary files

Changes to artworks/favicon.ico.

cannot compute difference between binary files

Changes to artworks/icon_2048.png.

cannot compute difference between binary files

Added artworks/maskable_icon.png.

cannot compute difference between binary files

Changes to unyo/apple-touch-icon.png.

cannot compute difference between binary files

Changes to unyo/favicon.ico.

cannot compute difference between binary files

Changes to unyo/manifest.json.

1
2
3
4
5
6
7
8
9
10
11
12
13







14
15
16
{
    "name": "運用観察ノート",
    "short_name": "運用観察ノート",
    "display": "standalone",
    "start_url": "unyo.html",
    "scope":"./",
    "background_color": "#ffffff",
    "theme_color": "#f7f7f7",
    "icons": [
        {
            "src": "apple-touch-icon.png",
            "type": "image/png",
            "sizes": "192x192"







        }
    ]
}












|
>
>
>
>
>
>
>



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
    "name": "運用観察ノート",
    "short_name": "運用観察ノート",
    "display": "standalone",
    "start_url": "unyo.html",
    "scope":"./",
    "background_color": "#ffffff",
    "theme_color": "#f7f7f7",
    "icons": [
        {
            "src": "apple-touch-icon.png",
            "type": "image/png",
            "sizes": "192x192",
            "purpose": "any"
        },
        {
            "src": "maskable_icon.png",
            "type": "image/png",
            "sizes": "192x192",
            "purpose": "maskable"
        }
    ]
}

Added unyo/maskable_icon.png.

cannot compute difference between binary files

Changes to unyo/service_worker.js.

1
2
3
4
5
6

7
8
9
10
11
12
13
var unyo_version = "23.03-5"; /*運用観察ノート本体のバージョン番号*/

var cache_name = "unyo_" + unyo_version;
var files_to_cache = [
        "unyo.html",
        "apple-touch-icon.png",

        "favicon.ico",
        "README.html"
    ];

self.addEventListener("install", function(event) {
    event.waitUntil(
        caches.open(cache_name).then(function(cache) {
|





>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
var unyo_version = "23.04-1a"; /*運用観察ノート本体のバージョン番号*/

var cache_name = "unyo_" + unyo_version;
var files_to_cache = [
        "unyo.html",
        "apple-touch-icon.png",
        "maskable_icon.png",
        "favicon.ico",
        "README.html"
    ];

self.addEventListener("install", function(event) {
    event.waitUntil(
        caches.open(cache_name).then(function(cache) {

Changes to unyo/unyo.html.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<!-- Designed by Kakun. This product is under public domain -->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,interactive-widget=resizes-content">
    <title>運用観察ノート</title>
    <script>
        var unyo_version = "23.03-5";
        var unyo_license_text = "このアプリケーションは無権利創作宣言に準拠して著作権放棄されています。";
        var unyo_license_url = "https://www.2pd.jp/license/";
    </script>
    <link rel="apple-touch-icon" href="apple-touch-icon.png">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="manifest" href="manifest.json">
    <style id="main_style">








|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<!-- Designed by Kakun. This product is under public domain -->
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,interactive-widget=resizes-content">
    <title>運用観察ノート</title>
    <script>
        var unyo_version = "23.04-1a";
        var unyo_license_text = "このアプリケーションは無権利創作宣言に準拠して著作権放棄されています。";
        var unyo_license_url = "https://www.2pd.jp/license/";
    </script>
    <link rel="apple-touch-icon" href="apple-touch-icon.png">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="manifest" href="manifest.json">
    <style id="main_style">
714
715
716
717
718
719
720









721
722
723
724
725
726
727
    border: 1px solid #dddddd;
    border-left-width: 3px;
    border-right-width: 3px;
    border-radius: 5px;

    color: #333333;
}









    </style>
</head>
<body>
    <header><div id="tab_area"></div><button id="menu_button" onclick="menu_click();"></button><div id="menu">
    <button onclick="open_square_popup('save_data_popup');">ファイルに保存</button>
    <button onclick="save_to_db();">データベースに保存</button>
    <button onclick="search_db_open();">過去のノート</button>







>
>
>
>
>
>
>
>
>







714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
    border: 1px solid #dddddd;
    border-left-width: 3px;
    border-right-width: 3px;
    border-radius: 5px;

    color: #333333;
}

#unyo_icon {
    width: 96px;
    
    margin-top: 10px;
    margin-bottom: 10px;
    
    filter: drop-shadow(1px 2px 1px #999999);
}
    </style>
</head>
<body>
    <header><div id="tab_area"></div><button id="menu_button" onclick="menu_click();"></button><div id="menu">
    <button onclick="open_square_popup('save_data_popup');">ファイルに保存</button>
    <button onclick="save_to_db();">データベースに保存</button>
    <button onclick="search_db_open();">過去のノート</button>
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
            <h3>リポジトリの登録</h3>
            <br>
            <input type="text" id="repo_url" placeholder="リポジトリのURL"><button onclick="add_repo();">登録</button>
        </div>
        <div class="square_popup" id="about_popup">
            <button class="popup_close_button" onclick="close_square_popup();"></button>
            <div style="text-align: center;">
                <img src="apple-touch-icon.png" alt="" style="width: 96px; margin-top: 10px; margin-bottom: 10px; filter: drop-shadow(1px 2px 1px #999999);"><br>
                <b style="font-size: large;"><script> document.write(document.getElementsByTagName("title")[0].innerText + " " + unyo_version); </script></b>
            </div>
            <div style="padding: 10px; color: #999999; font-size: small;"><script> document.write("<a href='" + unyo_license_url + "' target='_blank'>" + unyo_license_text + "</a>"); </script></div>
            <button class="square_popup_button" onclick="window.open('README.html');">このアプリの使い方</button>
        </div>
    </div>
<script>







|







888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
            <h3>リポジトリの登録</h3>
            <br>
            <input type="text" id="repo_url" placeholder="リポジトリのURL"><button onclick="add_repo();">登録</button>
        </div>
        <div class="square_popup" id="about_popup">
            <button class="popup_close_button" onclick="close_square_popup();"></button>
            <div style="text-align: center;">
                <img src="apple-touch-icon.png" alt="" id="unyo_icon"><br>
                <b style="font-size: large;"><script> document.write(document.getElementsByTagName("title")[0].innerText + " " + unyo_version); </script></b>
            </div>
            <div style="padding: 10px; color: #999999; font-size: small;"><script> document.write("<a href='" + unyo_license_url + "' target='_blank'>" + unyo_license_text + "</a>"); </script></div>
            <button class="square_popup_button" onclick="window.open('README.html');">このアプリの使い方</button>
        </div>
    </div>
<script>
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
        l_storage.setItem("unyo_profile_default_2", get_default_profile(2));
        l_storage.setItem("unyo_profile_default_3", get_default_profile(3));
        
        config_json = get_default_config();
        l_storage.setItem("unyo_config", config_json);
    }
    config = JSON.parse(config_json);
    
    if (!("note_font_size" in config)) {//バージョン1.2.1以前の設定データの互換性維持用
        config["note_font_size"] = 18;
        config["footer_font_size"] = 24;
    }
}());

function save_config () {
    l_storage.setItem("unyo_config", JSON.stringify(config));
}









<
<
<
<
<







1012
1013
1014
1015
1016
1017
1018





1019
1020
1021
1022
1023
1024
1025
        l_storage.setItem("unyo_profile_default_2", get_default_profile(2));
        l_storage.setItem("unyo_profile_default_3", get_default_profile(3));
        
        config_json = get_default_config();
        l_storage.setItem("unyo_config", config_json);
    }
    config = JSON.parse(config_json);





}());

function save_config () {
    l_storage.setItem("unyo_config", JSON.stringify(config));
}