Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
First Release!!
Browse files Browse the repository at this point in the history
  • Loading branch information
androider-dora committed May 9, 2018
1 parent b5323db commit fbb26cb
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 64 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ KULASISなどの京都大学学務システムの機能を拡張する非公式
* 時間割ページからワンクリックで「授業資料」等にアクセス
* My部局の登録・ジャンプ

# ダウンロード
原則下記のChromeウェブストアからダウンロードしてください。
https://chrome.google.com/webstore/detail/obeghdnflgepdemhcnkmbnojlcbdlenl/

本リポジトリをクローンして、ご自身のChromeに導入することも可能です。ただし、アップデートが自動で行われないため、将来的に不具合が発生する可能性があります。

# 使用上の注意
作者は、本拡張機能を使用したことによるいかなる損害に対しても**一切**責任を負いません。自己責任で使用してください。
特に履修登録などの重大な手続きにおいて、本拡張機能が原因の損害が発生した場合でも、いかなる補償もいたしかねます。予めご了承ください。
Expand Down
Binary file added release/kuplus-1.0.0.crx
Binary file not shown.
Binary file added release/kuplus-1.0.0.zip
Binary file not shown.
78 changes: 39 additions & 39 deletions src/css/styles_popup.css
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
* {
box-sizing: border-box;
}

body {
width: 200px;
padding: 16px;
margin: 0;
background-color: #222;
}
.container button {
width: 100%;
background-color: transparent;
font-size: 1.5em;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
outline: none;
padding: 16px;
position: relative;
}
.container button:hover {
background-color: rgba(255, 255, 255, 0.5);
}
.container button:hover::before{
content: '';
width: 8px;
height: 8px;
border: 0px;
border-top: solid 2px #000;
border-right: solid 2px #000;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 50%;
left: 8px;
margin-top: -4px;
* {
box-sizing: border-box;
}

body {
width: 200px;
padding: 16px;
margin: 0;
background-color: #222;
}
.container button {
width: 100%;
background-color: transparent;
font-size: 1.5em;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
outline: none;
padding: 16px;
position: relative;
}
.container button:hover {
background-color: rgba(255, 255, 255, 0.5);
}
.container button:hover::before{
content: '';
width: 8px;
height: 8px;
border: 0px;
border-top: solid 2px #000;
border-right: solid 2px #000;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: 50%;
left: 8px;
margin-top: -4px;
}
Binary file added src/icons/icon_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/icons/icon_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/icons/icon_48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions src/js/popup.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$(function() {
$(".container button").click(function() {
chrome.tabs.create({"url": $(this).attr("href")}, null);
return false;
});
$(function() {
$(".container button").click(function() {
chrome.tabs.create({"url": $(this).attr("href")}, null);
return false;
});
});
8 changes: 8 additions & 0 deletions src/manifest.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"description" : "KULASISなどの京大学務システムの機能を拡張する非公式拡張機能です。本拡張機能を使用したことによる損害に対して一切責任を負いません。自己責任で使用してください。",
"version": "1.0.0",
"manifest_version": 2,
"icons": {
"16": "icons/icon_16.png",
"48": "icons/icon_48.png",
"128": "icons/icon_128.png"
},

"content_scripts": [
{
Expand All @@ -27,6 +32,9 @@
},
"browser_action": {
"default_icon": {
"16": "icons/icon_16.png",
"48": "icons/icon_48.png",
"128": "icons/icon_128.png"
},
"default_title": "KUPlus",
"default_popup": "popup.html"
Expand Down
41 changes: 21 additions & 20 deletions src/popup.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@

<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/styles_popup.css">

<title>KUPlus Popup</title>
</head>
<body>
<div class="container">
<button href="https://www.k.kyoto-u.ac.jp/student/la/top">KULASIS</button>
<button href="https://panda.ecs.kyoto-u.ac.jp/portal/login">PandA</button>
<button href="https://m.kulib.kyoto-u.ac.jp/webopac/ufisnd.do">MyKULINE</button>
<button href="https://outlook.com/st.kyoto-u.ac.jp">KUMOI</button>
</div>

<script type="text/javascript" src="lib/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
</body>

<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/styles_popup.css">

<title>KUPlus Popup</title>
</head>
<body>
<div class="container">
<button href="https://www.k.kyoto-u.ac.jp/student/la/top">KULASIS</button>
<button href="https://panda.ecs.kyoto-u.ac.jp/portal/login">PandA</button>
<button href="https://m.kulib.kyoto-u.ac.jp/webopac/ufisnd.do">MyKULINE</button>
<button href="https://outlook.com/st.kyoto-u.ac.jp">KUMOI</button>
<button href="https://www.g.k.kyoto-u.ac.jp/shibboleth/index.php">GORILLA</button>
</div>

<script type="text/javascript" src="lib/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/popup.js"></script>
</body>
</html>

0 comments on commit fbb26cb

Please sign in to comment.