index.php 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974
  1. <?php
  2. session_start();
  3. if (isset($_SESSION['userlogin'], $_SESSION['userfirstname'])) {
  4. $email = $_SESSION['userlogin'];
  5. $name = $_SESSION['userfirstname'];
  6. }
  7. if (isset($_SESSION['canvas_id'])) {
  8. $canvas_id = $_SESSION['canvas_id'];
  9. }
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <meta name="description" content="Brainstorm about the ethical implications of your project and represent them in a canvas.">
  17. <meta name="keywords" content="ethics canvas, ethics, social entrepreneurship, research, innovation, privacy, business development, business model canvas, open source tools">
  18. <title>The Ethics Canvas</title>
  19. <!-- Favicon -->
  20. <link rel="icon" href="../icon/favicon.ico" />
  21. <!-- Bootstrap -->
  22. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous" />
  23. <!-- Google font -->
  24. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
  25. <!-- App style -->
  26. <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css" />
  27. <link rel="stylesheet" type="text/css" href="css/canvas.css" />
  28. <!-- PHP variables have to be retieved here as js variable -->
  29. <script type="text/javascript">
  30. var email_save_canvas = '<?php echo $email; ?>';
  31. var user_save_canvas = '<?php echo $name; ?>';
  32. var current_canvas_id = '<?php echo $canvas_id; ?>';
  33. </script>
  34. </head>
  35. <body>
  36. <div class="container-fluid">
  37. <form class="canvas-form form" action="mpdf/canvas-pdf.php" method="post" target="_blank">
  38. <!-- Username -->
  39. <!-- <input type="hidden" name="username" value="<?php echo($email) ?>" /> -->
  40. <input type="hidden" name="username" value="dave.lewis@adaptcentre.ie" />
  41. <!-- Canvas Form Header -->
  42. <div class="form-header row text-center">
  43. <div class="col-md-3">
  44. <!-- Logo -->
  45. <h1 class="page_title">
  46. <a class="logo" href="../index.html">
  47. <img src="icons/logo-black-text.svg" alt="Online Ethics Canvas"/>
  48. </a>
  49. </h1>
  50. </div>
  51. <div class="col-md-3 ">
  52. <label class="project_title">Project Title</label>
  53. <input class="proj_title" name="field_00[]" type="text"/>
  54. </div>
  55. <div class="col-md-3 ">
  56. <label class="project_date">Date</label>
  57. <input class="proj_date" name="field_00[]" type="date"/>
  58. </div>
  59. <!-- Login coming soon -->
  60. <div class="col-md-3 ">
  61. <?php if (!empty($name)) { ?>
  62. <!-- Bootstrap dropdown component -->
  63. <div class="dropdown user-profile">
  64. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  65. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  66. <span class="caret"></span>
  67. </button>
  68. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  69. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  70. <!-- <li><a href="#">Something else here</a></li> -->
  71. <li role="separator" class="divider"></li>
  72. <li><a id="logout" href="#">Log Out</a></li>
  73. </ul>
  74. </div>
  75. <?php } ?>
  76. </div>
  77. </div>
  78. <!-- Jump to -->
  79. <div class="jump-to-click-area">&nbsp;</div>
  80. <div class="jump-to row">
  81. <div class="col-s-12">
  82. <label><img class="jump-to-img jump-to-arrow-0" src="icons/glyphicon-chevron-right.gif" />Jump to...</label>
  83. <!-- <a href="#"><label class="jump_to"><span class="jump-to-arrow glyphicon glyphicon-chevron-right"></span> Jump to...</label></a> -->
  84. <div class="jump-to-list">
  85. <hr />
  86. <ul>
  87. <li>
  88. <a href="#row_saved_tags">Saved tags</a>
  89. </li>
  90. <li>
  91. <a href="#panel_01">1.&nbsp;&nbsp;Individuals Affected</a>
  92. </li>
  93. <li>
  94. <a href="#panel_02">2.&nbsp;&nbsp;Groups Affected</a>
  95. </li>
  96. <li>
  97. <a href="#panel_03">3.&nbsp;&nbsp;Behaviour</a>
  98. </li>
  99. <li>
  100. <a href="#panel_04">4.&nbsp;&nbsp;Relations</a>
  101. </li>
  102. <li>
  103. <a href="#panel_05">5.&nbsp;&nbsp;Worldviews</a>
  104. </li>
  105. <li>
  106. <a href="#panel_06">6.&nbsp;&nbsp;Group Conflicts</a>
  107. </li>
  108. <li>
  109. <a href="#panel_07">7.&nbsp;&nbsp;Product or Service Failure</a>
  110. </li>
  111. <li>
  112. <a href="#panel_08">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  113. </li>
  114. <li>
  115. <a href="#panel_09">9.&nbsp;&nbsp;What can we do?</a>
  116. </li>
  117. <li>
  118. <a href="#panel_10">10.&nbsp;&nbsp;Uncategorised ideas</a>
  119. </li>
  120. </ul>
  121. </div>
  122. </div>
  123. </div>
  124. <!-- Saved tags -->
  125. <div class="saved-tags row" id="row_saved_tags">
  126. <div class="col-s-12">
  127. <label>Saved Tags</label>
  128. <p>You haven't added any tags yet.</p>
  129. </div>
  130. </div>
  131. <!-- LAYOUT -->
  132. <!-- ================ 7/5 col ================ -->
  133. <div class="canvas-box">
  134. <div class="masonry-layout7-5" id="7-5-col-layout">
  135. <div class="masonry-layout__panel" id="panel_01">
  136. <div class="card field_01 masonry-layout__panel-content bg--purple">
  137. <h2 class="field-title">
  138. <!-- FIELD -->
  139. <a href="#" data-toggle="tooltip" data-placement="left" title="Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Individuals Affected&nbsp;&nbsp;
  140. </h2>
  141. <!--
  142. <p class="intro">
  143. Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?
  144. </p>
  145. -->
  146. <!-- Into text toggle -->
  147. <!-- <button type="button" class="intro-toggle"> -->
  148. <!-- glyphicon glyphicon-minus-sign -->
  149. <!--
  150. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  151. <span class="intro-toggle-text">Hide description</span>
  152. </button>
  153. -->
  154. <!-- Item list in the field -->
  155. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  156. <ul id="field_01" class="item_list sortable connectedList">
  157. </ul>
  158. <!-- The Box With All User input Thing -->
  159. <!-- # Tag selected term link -->
  160. <p class="tag-selected-term">
  161. <a href="#">
  162. Tag selected term
  163. </a>
  164. </p>
  165. <div class="add_box">
  166. <!-- # Add idea link -->
  167. <p>
  168. <a class="add-idea" href="#">
  169. Add an idea
  170. </a>
  171. </p>
  172. <!-- # User Input -->
  173. <div class="user-input">
  174. <label>Your Idea</label><br />
  175. <p>
  176. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  177. </p>
  178. <p class="chars-count">
  179. <span class="chars">100</span>
  180. characters remaining
  181. </p>
  182. <button type="button" class="add_btn">Add</button>
  183. </div>
  184. <!-- End of user input -->
  185. </div>
  186. <!-- End of add_box -->
  187. <div class="field-bottom">
  188. <img src="./icons/field1.svg" alt="field1" />
  189. <img src="./icons/number1.svg" alt="number1" />
  190. </div>
  191. </div>
  192. <!-- End of .card -->
  193. </div>
  194. <div class="masonry-layout__panel" id="panel_03">
  195. <div class="card field_03 masonry-layout__panel-content bg--blue">
  196. <h2 class="field-title">
  197. <!-- FIELD -->
  198. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Behaviour
  199. </h2>
  200. <!--
  201. <p class="intro">
  202. How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?
  203. </p>
  204. -->
  205. <!-- Into text toggle -->
  206. <!-- <button type="button" class="intro-toggle"> -->
  207. <!-- glyphicon glyphicon-minus-sign -->
  208. <!--
  209. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  210. <span class="intro-toggle-text">Hide description</span>
  211. </button>
  212. -->
  213. <!-- Item list in the field -->
  214. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  215. <ul id="field_03" class="item_list sortable connectedList">
  216. </ul>
  217. <!-- The Box With All User input Thing -->
  218. <!-- # Tag selected term link -->
  219. <p class="tag-selected-term">
  220. <a href="#">
  221. Tag selected term
  222. </a>
  223. </p>
  224. <div class="add_box">
  225. <!-- # Add idea link -->
  226. <p>
  227. <a class="add-idea" href="#">
  228. Add an idea
  229. </a>
  230. </p>
  231. <!-- # User Input -->
  232. <div class="user-input">
  233. <label>Your Idea</label><br />
  234. <p>
  235. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  236. </p>
  237. <p class="chars-count">
  238. <span class="chars">100</span>
  239. characters remaining
  240. </p>
  241. <button type="button" class="add_btn">Add</button>
  242. </div>
  243. <!-- End of user input -->
  244. </div>
  245. <!-- End of add_box -->
  246. <div class="field-bottom">
  247. <img src="./icons/field3.svg" alt="field3" />
  248. <img src="./icons/number3.svg" alt="number3" />
  249. </div>
  250. </div>
  251. <!-- End of .card -->
  252. </div>
  253. <div class="masonry-layout__panel" id="panel_04">
  254. <div class="card field_04 masonry-layout__panel-content bg--green">
  255. <h2 class="field-title">
  256. <!-- Field -->
  257. <a href="#" data-toggle="tooltip" data-placement="left" title="How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Relations
  258. </h2>
  259. <!--
  260. <p class="intro">
  261. How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?
  262. </p>
  263. -->
  264. <!-- Into text toggle -->
  265. <!-- <button type="button" class="intro-toggle"> -->
  266. <!-- glyphicon glyphicon-minus-sign -->
  267. <!--
  268. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  269. <span class="intro-toggle-text">Hide description</span>
  270. </button>
  271. -->
  272. <!-- Item list in the field -->
  273. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  274. <ul id="field_04" class="item_list sortable connectedList">
  275. </ul>
  276. <!-- The Box With All User input Thing -->
  277. <!-- # Tag selected term link -->
  278. <p class="tag-selected-term">
  279. <a href="#">
  280. Tag selected term
  281. </a>
  282. </p>
  283. <div class="add_box">
  284. <!-- # Add idea link -->
  285. <p>
  286. <a class="add-idea" href="#">
  287. Add an idea
  288. </a>
  289. </p>
  290. <!-- # User Input -->
  291. <div class="user-input">
  292. <label>Your Idea</label><br />
  293. <p>
  294. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  295. </p>
  296. <p class="chars-count">
  297. <span class="chars">100</span>
  298. characters remaining
  299. </p>
  300. <button type="button" class="add_btn">Add</button>
  301. </div>
  302. <!-- End of user input -->
  303. </div>
  304. <!-- End of add_box -->
  305. <div class="field-bottom">
  306. <img src="./icons/field4.svg" alt="field4" />
  307. <img src="./icons/number4.svg" alt="number4" />
  308. </div>
  309. </div>
  310. <!-- End of .card -->
  311. </div>
  312. <div class="masonry-layout__panel" id="panel_09">
  313. <div class="card field_09 masonry-layout__panel-content bg--darkblue">
  314. <h2 class="field-title">
  315. <!-- Field -->
  316. <a href="#" data-toggle="tooltip" data-placement="left" title="What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>What can we do?
  317. </h2>
  318. <!--
  319. <p class="intro">
  320. What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?
  321. </p>
  322. -->
  323. <!-- Into text toggle -->
  324. <!-- <button type="button" class="intro-toggle"> -->
  325. <!-- glyphicon glyphicon-minus-sign -->
  326. <!--
  327. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  328. <span class="intro-toggle-text">Hide description</span>
  329. </button>
  330. -->
  331. <!-- Item list in the field -->
  332. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  333. <ul id="field_09" class="item_list sortable connectedList">
  334. </ul>
  335. <!-- The Box With All User input Thing -->
  336. <!-- # Tag selected term link -->
  337. <p class="tag-selected-term">
  338. <a href="#">
  339. Tag selected term
  340. </a>
  341. </p>
  342. <div class="add_box">
  343. <!-- # Add idea link -->
  344. <p>
  345. <a class="add-idea" href="#">
  346. Add an idea
  347. </a>
  348. </p>
  349. <!-- # User Input -->
  350. <div class="user-input">
  351. <label>Your Idea</label><br />
  352. <p>
  353. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  354. </p>
  355. <p class="chars-count">
  356. <span class="chars">100</span>
  357. characters remaining
  358. </p>
  359. <button type="button" class="add_btn">Add</button>
  360. </div>
  361. <!-- End of user input -->
  362. </div>
  363. <!-- End of add_box -->
  364. <div class="field-bottom">
  365. <img src="./icons/field9.svg" alt="field9" />
  366. <img src="./icons/number9.svg" alt="number9" />
  367. </div>
  368. </div>
  369. <!-- End of .card -->
  370. </div>
  371. <div class="masonry-layout__panel" id="panel_05">
  372. <div class="card field_05 masonry-layout__panel-content bg--seagreen">
  373. <h2 class="field-title">
  374. <!-- Field -->
  375. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Worldviews
  376. </h2>
  377. <!--
  378. <p class="intro">
  379. How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?
  380. </p>
  381. -->
  382. <!-- Into text toggle -->
  383. <!-- <button type="button" class="intro-toggle"> -->
  384. <!-- glyphicon glyphicon-minus-sign -->
  385. <!--
  386. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  387. <span class="intro-toggle-text">Hide description</span>
  388. </button>
  389. -->
  390. <!-- Item list in the field -->
  391. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  392. <ul id="field_05" class="item_list sortable connectedList">
  393. </ul>
  394. <!-- The Box With All User input Thing -->
  395. <!-- # Tag selected term link -->
  396. <p class="tag-selected-term">
  397. <a href="#">
  398. Tag selected term
  399. </a>
  400. </p>
  401. <div class="add_box">
  402. <!-- # Add idea link -->
  403. <p>
  404. <a class="add-idea" href="#">
  405. Add an idea
  406. </a>
  407. </p>
  408. <!-- # User Input -->
  409. <div class="user-input">
  410. <label>Your Idea</label><br />
  411. <p>
  412. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  413. </p>
  414. <p class="chars-count">
  415. <span class="chars">100</span>
  416. characters remaining
  417. </p>
  418. <button type="button" class="add_btn">Add</button>
  419. </div>
  420. <!-- End of user input -->
  421. </div>
  422. <!-- End of add_box -->
  423. <div class="field-bottom">
  424. <img src="./icons/field5.svg" alt="field5" />
  425. <img src="./icons/number5.svg" alt="number5" />
  426. </div>
  427. </div>
  428. <!-- End of .card -->
  429. </div>
  430. <div class="masonry-layout__panel" id="panel_06">
  431. <div class="card field_06 masonry-layout__panel-content bg--green1">
  432. <h2 class="field-title">
  433. <!-- Field -->
  434. <a href="#" data-toggle="tooltip" data-placement="left" title="How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Group Conflicts
  435. </h2>
  436. <!--
  437. <p class="intro">
  438. How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?
  439. </p>
  440. -->
  441. <!-- Into text toggle -->
  442. <!-- <button type="button" class="intro-toggle"> -->
  443. <!-- glyphicon glyphicon-minus-sign -->
  444. <!--
  445. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  446. <span class="intro-toggle-text">Hide description</span>
  447. </button>
  448. -->
  449. <!-- Item list in the field -->
  450. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  451. <ul id="field_06" class="item_list sortable connectedList">
  452. </ul>
  453. <!-- The Box With All User input Thing -->
  454. <!-- # Tag selected term link -->
  455. <p class="tag-selected-term">
  456. <a href="#">
  457. Tag selected term
  458. </a>
  459. </p>
  460. <div class="add_box">
  461. <!-- # Add idea link -->
  462. <p>
  463. <a class="add-idea" href="#">
  464. Add an idea
  465. </a>
  466. </p>
  467. <!-- # User Input -->
  468. <div class="user-input">
  469. <label>Your Idea</label><br />
  470. <p>
  471. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  472. </p>
  473. <p class="chars-count">
  474. <span class="chars">100</span>
  475. characters remaining
  476. </p>
  477. <button type="button" class="add_btn">Add</button>
  478. </div>
  479. <!-- End of user input -->
  480. </div>
  481. <!-- End of add_box -->
  482. <div class="field-bottom">
  483. <img src="./icons/field6.svg" alt="field6" />
  484. <img src="./icons/number6.svg" alt="number6" />
  485. </div>
  486. </div>
  487. <!-- End of .card -->
  488. </div>
  489. <div class="masonry-layout__panel" id="panel_02">
  490. <div class="card field_02 masonry-layout__panel-content bg--purple">
  491. <h2 class="field-title">
  492. <!-- Field -->
  493. <a href="#" data-toggle="tooltip" data-placement="left" title="Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Groups Affected
  494. </h2>
  495. <!--
  496. <p class="intro">
  497. Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?
  498. </p>
  499. -->
  500. <!-- Into text toggle -->
  501. <!-- <button type="button" class="intro-toggle"> -->
  502. <!-- glyphicon glyphicon-minus-sign -->
  503. <!--
  504. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  505. <span class="intro-toggle-text">Hide description</span>
  506. </button>
  507. -->
  508. <!-- Item list in the field -->
  509. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  510. <ul id="field_02" class="item_list sortable connectedList">
  511. </ul>
  512. <!-- The Box With All User input Thing -->
  513. <!-- # Tag selected term link -->
  514. <p class="tag-selected-term">
  515. <a href="#">
  516. Tag selected term
  517. </a>
  518. </p>
  519. <div class="add_box">
  520. <!-- # Add idea link -->
  521. <p>
  522. <a class="add-idea" href="#">
  523. Add an idea
  524. </a>
  525. </p>
  526. <!-- # User Input -->
  527. <div class="user-input">
  528. <label>Your Idea</label><br />
  529. <p>
  530. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  531. </p>
  532. <p class="chars-count">
  533. <span class="chars">100</span>
  534. characters remaining
  535. </p>
  536. <button type="button" class="add_btn">Add</button>
  537. </div>
  538. <!-- End of user input -->
  539. </div>
  540. <!-- End of add_box -->
  541. <div class="field-bottom">
  542. <img src="./icons/field2.svg" alt="field2" />
  543. <img src="./icons/number2.svg" alt="number2" />
  544. </div>
  545. </div>
  546. <!-- End of .card -->
  547. </div>
  548. </div>
  549. <!-- ================ 2 col ================ -->
  550. <div class="masonry-layout2" id="2-col-layout">
  551. <div class="masonry-layout__panel" id="panel_07">
  552. <div class="card field_07 masonry-layout__panel-content bg--blue">
  553. <h2 class="field-title">
  554. <!-- Field -->
  555. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impact of your product or service failing to operate or to be used as intended? What happens with technical errors, security failures, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Product or Service Failure
  556. </h2>
  557. <!--
  558. <p class="intro">
  559. What are potential negative impact of your product or service failing to operate or to be used as intended?
  560. What happens with technical errors, security failures, etc?
  561. </p>
  562. -->
  563. <!-- Into text toggle -->
  564. <!-- <button type="button" class="intro-toggle"> -->
  565. <!-- glyphicon glyphicon-minus-sign -->
  566. <!--
  567. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  568. <span class="intro-toggle-text">Hide description</span>
  569. </button>
  570. -->
  571. <!-- Item list in the field -->
  572. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  573. <ul id="field_07" class="item_list sortable connectedList">
  574. </ul>
  575. <!-- The Box With All User input Thing -->
  576. <!-- # Tag selected term link -->
  577. <p class="tag-selected-term">
  578. <a href="#">
  579. Tag selected term
  580. </a>
  581. </p>
  582. <div class="add_box">
  583. <!-- # Add idea link -->
  584. <p>
  585. <a class="add-idea" href="#">
  586. Add an idea
  587. </a>
  588. </p>
  589. <!-- # User Input -->
  590. <div class="user-input">
  591. <label>Your Idea</label><br />
  592. <p>
  593. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  594. </p>
  595. <p class="chars-count">
  596. <span class="chars">100</span>
  597. characters remaining
  598. </p>
  599. <button type="button" class="add_btn">Add</button>
  600. </div>
  601. <!-- End of user input -->
  602. </div>
  603. <!-- End of add_box -->
  604. <div class="field-bottom">
  605. <img src="./icons/field7.svg" alt="field7" />
  606. <img src="./icons/number7.svg" alt="number7" />
  607. </div>
  608. </div>
  609. <!-- End of .card -->
  610. </div>
  611. <div class="masonry-layout__panel" id="panel_08">
  612. <div class="card field_08 masonry-layout__panel-content bg--green">
  613. <h2 class="field-title">
  614. <!-- Field -->
  615. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Problematic Use of Resources
  616. </h2>
  617. <!--
  618. <p class="intro">
  619. What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?
  620. </p>
  621. -->
  622. <!-- Into text toggle -->
  623. <!-- <button type="button" class="intro-toggle"> -->
  624. <!-- glyphicon glyphicon-minus-sign -->
  625. <!--
  626. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  627. <span class="intro-toggle-text">Hide description</span>
  628. </button>
  629. -->
  630. <!-- Item list in the field -->
  631. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  632. <ul id="field_08" class="item_list sortable connectedList">
  633. </ul>
  634. <!-- The Box With All User input Thing -->
  635. <!-- # Tag selected term link -->
  636. <p class="tag-selected-term">
  637. <a href="#">
  638. Tag selected term
  639. </a>
  640. </p>
  641. <div class="add_box">
  642. <!-- # Add idea link -->
  643. <p>
  644. <a class="add-idea" href="#">
  645. Add an idea
  646. </a>
  647. </p>
  648. <!-- # User Input -->
  649. <div class="user-input">
  650. <label>Your Idea</label><br />
  651. <p>
  652. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  653. </p>
  654. <p class="chars-count">
  655. <span class="chars">100</span>
  656. characters remaining
  657. </p>
  658. <button type="button" class="add_btn">Add</button>
  659. </div>
  660. <!-- End of user input -->
  661. </div>
  662. <!-- End of add_box -->
  663. <div class="field-bottom">
  664. <img src="./icons/field8.svg" alt="field8" />
  665. <img src="./icons/number8.svg" alt="number8" />
  666. </div>
  667. </div>
  668. <!-- End of .card -->
  669. </div>
  670. </div>
  671. <!-- ================ 1 col ================ -->
  672. <div class="masonry-layout" id="1-col-layout">
  673. <div class="masonry-layout__panel" id="panel_10">
  674. <div class="card field_10 masonry-layout__panel-content bg--purple">
  675. <h2 class="field-title">
  676. <!-- Field -->
  677. <a href="#" data-toggle="tooltip" data-placement="left" title="Here you can place your ideas that still haven't been categorised"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Uncategorised ideas
  678. </h2>
  679. <!--
  680. <p class="intro">
  681. What are potential negative impact of your product or service failing to operate or to be used as intended?
  682. What happens with technical errors, security failures, etc?
  683. </p>
  684. -->
  685. <!-- Into text toggle -->
  686. <!-- <button type="button" class="intro-toggle"> -->
  687. <!-- glyphicon glyphicon-minus-sign -->
  688. <!--
  689. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  690. <span class="intro-toggle-text">Hide description</span>
  691. </button>
  692. -->
  693. <!-- Item list in the field -->
  694. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  695. <ul id="field_10" class="item_list sortable connectedList">
  696. </ul>
  697. <!-- The Box With All User input Thing -->
  698. <!-- # Tag selected term link -->
  699. <p class="tag-selected-term">
  700. <a href="#">
  701. Tag selected term
  702. </a>
  703. </p>
  704. <div class="add_box">
  705. <!-- # Add idea link -->
  706. <p>
  707. <a class="add-idea" href="#">
  708. Add an idea
  709. </a>
  710. </p>
  711. <!-- # User Input -->
  712. <div class="user-input">
  713. <label>Your Idea</label><br />
  714. <p>
  715. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  716. </p>
  717. <p class="chars-count">
  718. <span class="chars">100</span>
  719. characters remaining
  720. </p>
  721. <button type="button" class="add_btn">Add</button>
  722. </div>
  723. <!-- End of user input -->
  724. </div>
  725. <!-- End of add_box -->
  726. <div class="field-bottom">
  727. <img src="./icons/field10.svg" alt="field10" />
  728. </div>
  729. </div>
  730. <!-- End of .card -->
  731. </div>
  732. </div>
  733. </div>
  734. <!-- End of .canvas.box -->
  735. <!-- FORM BUTTON BOX -->
  736. <div class="row">
  737. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  738. <!-- Form button -->
  739. <?php if (!empty($name)) { ?>
  740. <p class="text-center">
  741. <!-- Export JSON and also save the canvas for the registered user -->
  742. <button class="json_exp" type="button" name="json_exp">Save This Canvas</button>
  743. </p>
  744. <!-- BEGIN SHARE CANVAS -->
  745. <p class="text-center">
  746. <button class="share_canvas" type="submit" name="share-canvas">Share This Canvas</button>
  747. </p>
  748. <div class="share_canvas_email text-center">
  749. <p>
  750. <label>Send this canvas to:</label>
  751. </p>
  752. <p>
  753. <input type="email" name="share-canvas-email" placeholder="type an email adress here..."/>
  754. </p>
  755. <p class="text-center">
  756. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  757. </p>
  758. </div>
  759. <!-- END SHARE CANVAS -->
  760. <?php } else { ?>
  761. <p class="text-center">
  762. <!-- Export JSON and also save the canvas for the registered user -->
  763. <a class="login-to-save" href="../index.html">Sign&nbsp;up&nbsp;or&nbsp;login to&nbsp;save&nbsp;your&nbsp;canvas</a>
  764. </p>
  765. <?php }?>
  766. <!-- BEGIN EXPORT PDF -->
  767. <p class="text-center">
  768. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  769. </p>
  770. <!-- END EXPORT PDF -->
  771. </div>
  772. </div>
  773. <!-- Start of move-window -->
  774. <div class="window" id="move-window">
  775. <button type="button" class="close" aria-label="Close">
  776. <span aria-hidden="true">&times;</span>
  777. </button>
  778. <h2>Move idea to...</h2>
  779. <ul>
  780. <li>
  781. <a href="#">1.&nbsp;&nbsp;Individuals Affected</a>
  782. </li>
  783. <li>
  784. <a href="#">2.&nbsp;&nbsp;Groups Affected</a>
  785. </li>
  786. <li>
  787. <a href="#">3.&nbsp;&nbsp;Behaviour</a>
  788. </li>
  789. <li>
  790. <a href="#">4.&nbsp;&nbsp;Relations</a>
  791. </li>
  792. <li>
  793. <a href="#">5.&nbsp;&nbsp;Worldviews</a>
  794. </li>
  795. <li>
  796. <a href="#">6.&nbsp;&nbsp;Group Conflicts</a>
  797. </li>
  798. <li>
  799. <a href="#">7.&nbsp;&nbsp;Product or Service Failure</a>
  800. </li>
  801. <li>
  802. <a href="#">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  803. </li>
  804. <li>
  805. <a href="#">9.&nbsp;&nbsp;What can we do?</a>
  806. </li>
  807. <li>
  808. <a href="#">10.&nbsp;&nbsp;Uncategorised ideas</a>
  809. </li>
  810. </ul>
  811. <!--
  812. <h2 id="tag-description">
  813. Tag description
  814. </h2>
  815. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  816. <p class="chars-count">
  817. <span class="chars">200</span>
  818. characters remaining
  819. </p>
  820. <button type="button" class="move-window-button" id="save-tag">Save tag</button>&nbsp;
  821. <button type="button" class="move-window-button" id="delete-tag">Delete tag</button>
  822. <h2 class="similar-tags">Similar tags by other users</h2>
  823. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  824. -->
  825. </div>
  826. <!-- End of move-window -->
  827. <!-- Start of tag-window -->
  828. <div class="window" id="tag-window">
  829. <button type="button" class="close" aria-label="Close">
  830. <span aria-hidden="true">&times;</span>
  831. </button>
  832. <h2 id="tag-description">
  833. Tag description
  834. </h2>
  835. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  836. <p class="chars-count">
  837. <span class="chars">200</span>
  838. characters remaining
  839. </p>
  840. <button type="button" class="tag-window-button" id="save-tag">Save tag</button>&nbsp;
  841. <button type="button" class="tag-window-button" id="delete-tag">Delete tag</button>
  842. <h2 class="similar-tags">Similar tags by other users</h2>
  843. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  844. </div>
  845. <!-- End of tag-window -->
  846. </form>
  847. <!-- End of .form -->
  848. <!-- Hidden place to show JSON info -->
  849. <pre id="result" class="text-center">
  850. </pre>
  851. <div class="row">
  852. <footer class="col-md-12 text-center">
  853. <div class="contact">
  854. <h2>Contact us:</h2>
  855. <p> hello@ethicscanvas.org </p>
  856. </div>
  857. <div class="license">
  858. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  859. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  860. </p>
  861. <p>
  862. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  863. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  864. <p>
  865. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  866. </p>
  867. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  868. View the original Business Model Canvas on:
  869. </p>
  870. <p>
  871. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  872. </p>
  873. </div>
  874. <div class="license-icons">
  875. <ul>
  876. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  877. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  878. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  879. <li> <img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  880. <li> <img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  881. </ul>
  882. </div>
  883. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  884. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  885. <p class="ethics-copy">The ADAPT Centre for Digital Content Technology</p> <p class="ethics-copy">is funded under the SFI Research Centres Programme (Grant 13/RC/2106).</p><p class="ethics-copy">It is co-funded under the European Regional Development Fund.</p>
  886. <p class="ethics-copy">Ethics Canvas v1.7|&copy; ADAPT Center &amp; Trinity College Dublin &amp; Dublin City University, 2016</p>
  887. </footer>
  888. </div>
  889. </div>
  890. <!-- End of container-fluid -->
  891. <!-- Start of dialogs -->
  892. <div id="shadow">&nbsp;</div>
  893. <div class="dialog" id="dialog-log-in">
  894. <div class="dialog-header">
  895. <button type="button" class="close" aria-label="Close">
  896. <span aria-hidden="true">&times;</span>
  897. </button>
  898. <h2>
  899. Please log in
  900. </h2>
  901. </div>
  902. <div class="dialog-content"><p>Please log in to use this function.</p></div>
  903. </div>
  904. <div class="dialog" id="dialog-select-term">
  905. <div class="dialog-header">
  906. <button type="button" class="close" aria-label="Close">
  907. <span aria-hidden="true">&times;</span>
  908. </button>
  909. <h2>
  910. Please select term
  911. </h2>
  912. </div>
  913. <div class="dialog-content"><p>Please select a term to be tagged.</p></div>
  914. </div>
  915. <!--
  916. <div class="dialog" id="dialog-tag-already-exists" title="Tag already exists">
  917. <p>The tag already exists!</p>
  918. </div>
  919. -->
  920. <!-- End of ialogs -->
  921. <!-- jQuery -->
  922. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  923. <!-- jquery UI -->
  924. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  925. <!-- Bootstrap -->
  926. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  927. <!-- Bootstrap -->
  928. <script src="js/jquery-fieldselection.min.js"></script>
  929. <!-- The app javascript -->
  930. <script src="js/canvas.js" charset="utf-8"></script>
  931. <script language="javascript" type="text/javascript"></script>
  932. </body>
  933. </html>