Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
noz-23 committed Jun 13, 2024
1 parent 96d3f1f commit 89a4912
Show file tree
Hide file tree
Showing 5 changed files with 290 additions and 116 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

### イメージ

 ![KintoneProcessShow](https://github.com/noz-23/KintoneProcessShow/assets/160399039/b964f12f-be55-4da3-bfb1-485463b6fac6)
 ![KintoneProcessShow03](https://github.com/noz-23/KintoneProcessShow/assets/160399039/10fb28f0-a625-4dfb-9a34-0bfba1bbdd08)


## 2.注意点

Expand All @@ -31,21 +32,21 @@ MIT license
JQuery :https://jquery.com

https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js


jsrender :https://www.jsviews.com

https://cdnjs.cloudflare.com/ajax/libs/jsrender/0.9.91/jsrender.min.js


tinyColorPicker and colors :https://github.com/PitPik/tinyColorPicker

https://cdnjs.cloudflare.com/ajax/libs/tinyColorPicker/1.1.1/jqColorPicker.min.js



参考
 条件書式プラグイン:
  https://github.com/kintone-samples/plugin-samples

  https://cybozu.dev/ja/kintone/tips/development/plugins/sample-plugin/conditionformat-v2-plugin/


Expand All @@ -54,6 +55,10 @@ tinyColorPicker and colors :https://github.com/PitPik/tinyColorPicker
2024/03/06 0.1.0 初版

2024/03/10 0.1.1 とりあえずバージョン公開(cybozu から cloudflare へ cdn を変更で不具合修正)

2024/03/24 0.2.0 プラグイン設定画面に Google AdSense 追加

2024/06/06 0.3.0 プロセス処理者の名前表示機能追加

## 7.連絡

Expand All @@ -65,3 +70,8 @@ nzds23@yahoo.co.jp

可能なら記載したいので、メールアドレスに連絡頂ければ幸いです。

プラグイン設定画面で Google AdSense の広告表示をしています。

わかり易くしてますので、削除は自分でやって下さい。


Binary file modified plugin.zip
Binary file not shown.
75 changes: 53 additions & 22 deletions src/html/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<p id="plugin_description" class="kintoneplugin-desc">{{html:lang.plugin_description}}</p>
<form class="js-submit-settings">
<label id="comment_label" class="kintoneplugin-label">{{html:lang.label_show_name}}</label>
<div class="kintoneplugin-input-outer">
<input id="show_name" class="kintoneplugin-input-text" type="checkbox">
<label for="comment">{{html:lang.show_name}}</label>
</div>
<p class="kintoneplugin-row">
<label id="plugin_label" class="kintoneplugin-label">{{html:lang.plugin_label}}</label>
<br>
Expand All @@ -11,7 +16,7 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<!-- column -->
<tr>
<th class="kintoneplugin-table-th">
<span class="title">{{html:lang.status_label}}</span>
<span class="title">{{html:lang.label_status}}</span>
</th>
<th class="kintoneplugin-table-th">
<span class="title">{{html:lang.text_color_titile}}</span>
Expand All @@ -31,15 +36,20 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<!-- row end -->
<tr class="cf-plugin-text-line">
<td>
<span class="title">{{html:lang.end_label}}</span>
<span class="title">{{html:lang.label_end}}</span>
</td>
<td>
<div class="kintoneplugin-table-td-control">
<div class="kintoneplugin-table-td-control-value">
<div>
<input type="text" class="kintoneplugin-input-text text_color_end" maxlength="7" value="#000000" id="text_color_end"/>
<input type="text" class="kintoneplugin-input-text text_color_end" maxlength="7" value="#000000"
id="text_color_end" />
<i class="color-paint-brush" value="#000000">
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"/></svg>
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z" />
</svg>
</i>
</div>
</div>
Expand All @@ -49,9 +59,14 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<div class="kintoneplugin-table-td-control">
<div class="kintoneplugin-table-td-control-value">
<div>
<input type="text" class="kintoneplugin-input-text back_color_end" maxlength="7" value="#FFFFFF" id="back_color_end"/>
<input type="text" class="kintoneplugin-input-text back_color_end" maxlength="7" value="#FFFFFF"
id="back_color_end" />
<i class="color-paint-brush" value="#000000">
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"/></svg>
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z" />
</svg>
</i>
</div>
</div>
Expand Down Expand Up @@ -83,15 +98,20 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<!-- ロウ now -->
<tr class="cf-plugin-text-line">
<td>
<span class="title">{{html:lang.now_label}}</span>
<span class="title">{{html:lang.label_now}}</span>
</td>
<td>
<div class="kintoneplugin-table-td-control">
<div class="kintoneplugin-table-td-control-value">
<div>
<input type="text" class="kintoneplugin-input-text text_color_now" maxlength="7" value="#000000" id="text_color_now"/>
<input type="text" class="kintoneplugin-input-text text_color_now" maxlength="7" value="#000000"
id="text_color_now" />
<i class="color-paint-brush" value="#000000">
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"/></svg>
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z" />
</svg>
</i>
</div>
</div>
Expand All @@ -101,9 +121,14 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<div class="kintoneplugin-table-td-control">
<div class="kintoneplugin-table-td-control-value">
<div>
<input type="text" class="kintoneplugin-input-text back_color_now" maxlength="7" value="#FFFFFF" id="back_color_now"/>
<input type="text" class="kintoneplugin-input-text back_color_now" maxlength="7" value="#FFFFFF"
id="back_color_now" />
<i class="color-paint-brush" value="#000000">
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"/></svg>
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z" />
</svg>
</i>
</div>
</div>
Expand Down Expand Up @@ -135,15 +160,20 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<!-- ロウ yet -->
<tr class="cf-plugin-text-line">
<td>
<span class="title">{{html:lang.yet_label}}</span>
<span class="title">{{html:lang.label_yet}}</span>
</td>
<td>
<div class="kintoneplugin-table-td-control">
<div class="kintoneplugin-table-td-control-value">
<div>
<input type="text" class="kintoneplugin-input-text text_color_yet" maxlength="7" value="#000000" id="text_color_yet"/>
<input type="text" class="kintoneplugin-input-text text_color_yet" maxlength="7" value="#000000"
id="text_color_yet" />
<i class="color-paint-brush" value="#000000">
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"/></svg>
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z" />
</svg>
</i>
</div>
</div>
Expand All @@ -155,7 +185,11 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
<div>
<input type="text" class="kintoneplugin-input-text back_color_end" maxlength="7" value="#FFFFFF" id="back_color_yet"/>
<i class="color-paint-brush" value="#000000">
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"/></svg>
<svg width="15px" height="15px" fill="#676767" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z" />
</svg>
</i>
</div>
</div>
Expand Down Expand Up @@ -188,20 +222,17 @@ <h2 id="plugin_titile" class="settings-heading">{{html:lang.plugin_titile}}</h2>
</table>
<br>
<p class="kintoneplugin-row">
<button type="button" id="plugin_cancel" class="kintoneplugin-button-dialog-cancel">{{html:lang.plugin_cancel}}</button>
<button type="button" id="plugin_cancel"
class="kintoneplugin-button-dialog-cancel">{{html:lang.plugin_cancel}}</button>
<button type="button" id="plugin_ok" class="kintoneplugin-button-dialog-ok">{{html:lang.plugin_ok}}</button>
</p>
</form>
<!-- ↓ は広告なので 削除したい人は削除して使って下さい -->
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8848137110933190"
crossorigin="anonymous"></script>
<!-- KintoneDisplay -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8848137110933190"
data-ad-slot="3643192887"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8848137110933190" data-ad-slot="3643192887"
data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Expand Down
Loading

0 comments on commit 89a4912

Please sign in to comment.