Skip to content

Commit 320d51c

Browse files
author
Matthew Bryant (mandatory)
committed
Update
1 parent fc39783 commit 320d51c

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ yarn-error.log*
1919
*.njsproj
2020
*.sln
2121
*.sw?
22+
s3_sync.sh

public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
77
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
8-
<title><%= htmlWebpackPlugin.options.title %></title>
8+
<title>Chrome Galvanizer - Harden your Chrome browser via enterprise policy.</title>
99
</head>
1010
<body>
1111
<noscript>

src/components/Main.vue

+12-9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
Chrome Galvanizer
88
</h1>
99
<i>Harden your Chrome browser via enterprise policy.</i>
10+
<br />
11+
<div style="font-size: 32px; margin-bottom: -15px">
12+
<a href="https://twitter.com/IAmMandatory" target="_blank">
13+
<font-awesome-icon :icon="['fab', 'twitter']" class="icon alt mr-1 ml-1" />
14+
</a>
15+
<a href="https://github.com/mandatoryprogrammer/ChromeGalvanizer" target="_blank">
16+
<font-awesome-icon :icon="['fab', 'github']" class="icon alt mr-1 ml-1" />
17+
</a>
18+
</div>
1019
</template>
1120
<b-card-body>
1221
<b-input-group prepend="Policy Type to Add" class="mb-2 mr-sm-2 mb-sm-0">
@@ -28,7 +37,7 @@
2837
</b-form-invalid-feedback>
2938
</b-input-group>
3039
<b-alert show class="mt-1 mb-2">
31-
<font-awesome-icon :icon="['fas', 'info-circle']" class="icon alt" /> <i>Multiple extension IDs should be comma-separated. To disable a permission for all extensions, just enter <code>*</code> above.</i>
40+
<font-awesome-icon :icon="['fas', 'info-circle']" class="icon alt" /> <i>Multiple extension IDs should be comma-separated. To disable access to a URL for all extensions, just enter <code>*</code> above.</i>
3241
</b-alert>
3342
<b-input-group prepend="URL Pattern to Block" class="mb-2 mr-sm-2 mb-sm-0">
3443
<b-input id="runtime_blocked_hosts_url_pattern_input" class="mb-2 mr-sm-2 mb-sm-0" placeholder="*://mail.google.com" v-model="policy_settings.runtime_blocked_hosts.url_pattern" :state="runtime_blocked_hosts_url_pattern_valid"></b-input>
@@ -88,18 +97,15 @@ export default {
8897
name: 'HelloWorld',
8998
props: {},
9099
data() {
91-
// Make debugging suck less
92-
window.app = this;
93-
94100
return {
95101
policy_settings: {
96102
runtime_blocked_hosts: {
97103
extension_id: '',
98104
url_pattern: '',
99-
}
105+
},
100106
},
101107
policy_rules: [],
102-
policy_type_selected: 'runtime_blocked_hosts',
108+
policy_type_selected: 'null',
103109
policy_type_options_select: [{
104110
value: null,
105111
text: '-- Please select a policy type to add --'
@@ -329,9 +335,6 @@ function add_runtime_blocked_hosts_to_xml_from_policy_list(policy_xml_doc, polic
329335
policy_rules
330336
);
331337
332-
console.log(`Policy object: `);
333-
console.log(policy_object);
334-
335338
// Iterate through policy_object and add appropriate elements
336339
Object.keys(policy_object).map(extension_id => {
337340
// First append <key> element

vue.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
publicPath: './'
3+
}

0 commit comments

Comments
 (0)