index.php 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952
  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-download.php" method="post" target="_blank">
  38. <!-- Username -->
  39. <input type="hidden" name="canvas_id" value="<?php echo($canvas_id); ?>" />
  40. <input type="hidden" name="username" value="<?php echo($email); ?>" />
  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">Canvas Title</label>
  53. <input class="proj_title" name="field_00[]" type="text" value="New canvas" />
  54. </div>
  55. <input class="proj_date" name="field_00[]" type="hidden" />
  56. <!-- Collaborators -->
  57. <div class="col-md-3" id="collaborators-container">
  58. <?php if(!empty($name)) { ?>
  59. <!-- Bootstrap dropdown component -->
  60. <div class="dropdown" id="collaborators">
  61. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1">
  62. <img src="../icon/collaborators.svg" alt="collaborators" /><span>Collaborators (1 active)</span>
  63. </button>
  64. </div>
  65. <?php } ?>
  66. </div>
  67. <!-- Log in -->
  68. <div class="col-md-3" id="user-profile-container">
  69. <?php if(!empty($name)) { ?>
  70. <!-- Bootstrap dropdown component -->
  71. <div class="dropdown" id="user-profile">
  72. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  73. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  74. <span class="caret"></span>
  75. </button>
  76. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  77. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  78. <li role="separator" class="divider"></li>
  79. <li><a id="logout" href="#">Log Out</a></li>
  80. </ul>
  81. </div>
  82. <?php } ?>
  83. </div>
  84. </div>
  85. <!-- Jump to -->
  86. <div class="jump-to-click-area">&nbsp;</div>
  87. <div class="jump-to row">
  88. <div class="col-s-12">
  89. <label><img class="jump-to-img jump-to-arrow-0" src="icons/glyphicon-chevron-right.gif" />Jump to...</label>
  90. <div class="jump-to-list">
  91. <hr />
  92. <ul>
  93. <li>
  94. <a href="#row_saved_tags">Saved Tags for This Canvas</a>
  95. </li>
  96. <li>
  97. <a href="#panel_01">1.&nbsp;&nbsp;Individuals Affected</a>
  98. </li>
  99. <li>
  100. <a href="#panel_02">2.&nbsp;&nbsp;Groups Affected</a>
  101. </li>
  102. <li>
  103. <a href="#panel_03">3.&nbsp;&nbsp;Behaviour</a>
  104. </li>
  105. <li>
  106. <a href="#panel_04">4.&nbsp;&nbsp;Relations</a>
  107. </li>
  108. <li>
  109. <a href="#panel_05">5.&nbsp;&nbsp;Worldviews</a>
  110. </li>
  111. <li>
  112. <a href="#panel_06">6.&nbsp;&nbsp;Group Conflicts</a>
  113. </li>
  114. <li>
  115. <a href="#panel_07">7.&nbsp;&nbsp;Product or Service Failure</a>
  116. </li>
  117. <li>
  118. <a href="#panel_08">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  119. </li>
  120. <li>
  121. <a href="#panel_09">9.&nbsp;&nbsp;What can we do?</a>
  122. </li>
  123. <li>
  124. <a href="#panel_10">10.&nbsp;&nbsp;Uncategorised Ideas</a>
  125. </li>
  126. </ul>
  127. </div>
  128. </div>
  129. </div>
  130. <!-- Saved Tags for This Canvas -->
  131. <div class="saved-tags row" id="row_saved_tags">
  132. <div class="col-s-12">
  133. <label>Saved Tags for This Canvas</label>
  134. <p>No tags could be found.</p>
  135. </div>
  136. </div>
  137. <!-- LAYOUT -->
  138. <!-- ================ 7/5 col ================ -->
  139. <div class="canvas-box">
  140. <div class="masonry-layout7-5" id="7-5-col-layout">
  141. <div class="masonry-layout__panel" id="panel_01">
  142. <div class="card field_01 masonry-layout__panel-content bg--purple">
  143. <h2 class="field-title">
  144. <!-- FIELD -->
  145. <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;
  146. </h2>
  147. <!-- Item list in the field -->
  148. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  149. <ul id="field_01" class="item_list sortable connectedList">
  150. </ul>
  151. <!-- The Box With All User input Thing -->
  152. <!-- # Tag selected term link -->
  153. <p class="tag-selected-term">
  154. <a href="#">
  155. Tag selected term
  156. </a>
  157. </p>
  158. <div class="add_box">
  159. <!-- # Add idea link -->
  160. <p>
  161. <a class="add-idea" href="#">
  162. Add an idea
  163. </a>
  164. </p>
  165. <!-- # User Input -->
  166. <div class="user-input">
  167. <label>Your Idea</label><br />
  168. <p>
  169. <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>
  170. </p>
  171. <p class="chars-count">
  172. <span class="chars">100</span>
  173. characters remaining
  174. </p>
  175. <button type="button" class="add_btn">Add</button>
  176. </div>
  177. <!-- End of user input -->
  178. </div>
  179. <!-- End of add_box -->
  180. <div class="field-bottom">
  181. <img src="./icons/field1.svg" alt="field1" />
  182. <img src="./icons/number1.svg" alt="number1" />
  183. </div>
  184. </div>
  185. <!-- End of .card -->
  186. </div>
  187. <div class="masonry-layout__panel" id="panel_03">
  188. <div class="card field_03 masonry-layout__panel-content bg--blue">
  189. <h2 class="field-title">
  190. <!-- FIELD -->
  191. <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
  192. </h2>
  193. <!-- Item list in the field -->
  194. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  195. <ul id="field_03" class="item_list sortable connectedList">
  196. </ul>
  197. <!-- The Box With All User input Thing -->
  198. <!-- # Tag selected term link -->
  199. <p class="tag-selected-term">
  200. <a href="#">
  201. Tag selected term
  202. </a>
  203. </p>
  204. <div class="add_box">
  205. <!-- # Add idea link -->
  206. <p>
  207. <a class="add-idea" href="#">
  208. Add an idea
  209. </a>
  210. </p>
  211. <!-- # User Input -->
  212. <div class="user-input">
  213. <label>Your Idea</label><br />
  214. <p>
  215. <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>
  216. </p>
  217. <p class="chars-count">
  218. <span class="chars">100</span>
  219. characters remaining
  220. </p>
  221. <button type="button" class="add_btn">Add</button>
  222. </div>
  223. <!-- End of user input -->
  224. </div>
  225. <!-- End of add_box -->
  226. <div class="field-bottom">
  227. <img src="./icons/field3.svg" alt="field3" />
  228. <img src="./icons/number3.svg" alt="number3" />
  229. </div>
  230. </div>
  231. <!-- End of .card -->
  232. </div>
  233. <div class="masonry-layout__panel" id="panel_04">
  234. <div class="card field_04 masonry-layout__panel-content bg--green">
  235. <h2 class="field-title">
  236. <!-- Field -->
  237. <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
  238. </h2>
  239. <!-- Item list in the field -->
  240. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  241. <ul id="field_04" class="item_list sortable connectedList">
  242. </ul>
  243. <!-- The Box With All User input Thing -->
  244. <!-- # Tag selected term link -->
  245. <p class="tag-selected-term">
  246. <a href="#">
  247. Tag selected term
  248. </a>
  249. </p>
  250. <div class="add_box">
  251. <!-- # Add idea link -->
  252. <p>
  253. <a class="add-idea" href="#">
  254. Add an idea
  255. </a>
  256. </p>
  257. <!-- # User Input -->
  258. <div class="user-input">
  259. <label>Your Idea</label><br />
  260. <p>
  261. <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>
  262. </p>
  263. <p class="chars-count">
  264. <span class="chars">100</span>
  265. characters remaining
  266. </p>
  267. <button type="button" class="add_btn">Add</button>
  268. </div>
  269. <!-- End of user input -->
  270. </div>
  271. <!-- End of add_box -->
  272. <div class="field-bottom">
  273. <img src="./icons/field4.svg" alt="field4" />
  274. <img src="./icons/number4.svg" alt="number4" />
  275. </div>
  276. </div>
  277. <!-- End of .card -->
  278. </div>
  279. <div class="masonry-layout__panel" id="panel_09">
  280. <div class="card field_09 masonry-layout__panel-content bg--darkblue">
  281. <h2 class="field-title">
  282. <!-- Field -->
  283. <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?
  284. </h2>
  285. <!-- Item list in the field -->
  286. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  287. <ul id="field_09" class="item_list sortable connectedList">
  288. </ul>
  289. <!-- The Box With All User input Thing -->
  290. <!-- # Tag selected term link -->
  291. <p class="tag-selected-term">
  292. <a href="#">
  293. Tag selected term
  294. </a>
  295. </p>
  296. <div class="add_box">
  297. <!-- # Add idea link -->
  298. <p>
  299. <a class="add-idea" href="#">
  300. Add an idea
  301. </a>
  302. </p>
  303. <!-- # User Input -->
  304. <div class="user-input">
  305. <label>Your Idea</label><br />
  306. <p>
  307. <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>
  308. </p>
  309. <p class="chars-count">
  310. <span class="chars">100</span>
  311. characters remaining
  312. </p>
  313. <button type="button" class="add_btn">Add</button>
  314. </div>
  315. <!-- End of user input -->
  316. </div>
  317. <!-- End of add_box -->
  318. <div class="field-bottom">
  319. <img src="./icons/field9.svg" alt="field9" />
  320. <img src="./icons/number9.svg" alt="number9" />
  321. </div>
  322. </div>
  323. <!-- End of .card -->
  324. </div>
  325. <div class="masonry-layout__panel" id="panel_05">
  326. <div class="card field_05 masonry-layout__panel-content bg--seagreen">
  327. <h2 class="field-title">
  328. <!-- Field -->
  329. <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
  330. </h2>
  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_05" 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/field5.svg" alt="field5" />
  366. <img src="./icons/number5.svg" alt="number5" />
  367. </div>
  368. </div>
  369. <!-- End of .card -->
  370. </div>
  371. <div class="masonry-layout__panel" id="panel_06">
  372. <div class="card field_06 masonry-layout__panel-content bg--green1">
  373. <h2 class="field-title">
  374. <!-- Field -->
  375. <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
  376. </h2>
  377. <!-- Item list in the field -->
  378. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  379. <ul id="field_06" class="item_list sortable connectedList">
  380. </ul>
  381. <!-- The Box With All User input Thing -->
  382. <!-- # Tag selected term link -->
  383. <p class="tag-selected-term">
  384. <a href="#">
  385. Tag selected term
  386. </a>
  387. </p>
  388. <div class="add_box">
  389. <!-- # Add idea link -->
  390. <p>
  391. <a class="add-idea" href="#">
  392. Add an idea
  393. </a>
  394. </p>
  395. <!-- # User Input -->
  396. <div class="user-input">
  397. <label>Your Idea</label><br />
  398. <p>
  399. <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>
  400. </p>
  401. <p class="chars-count">
  402. <span class="chars">100</span>
  403. characters remaining
  404. </p>
  405. <button type="button" class="add_btn">Add</button>
  406. </div>
  407. <!-- End of user input -->
  408. </div>
  409. <!-- End of add_box -->
  410. <div class="field-bottom">
  411. <img src="./icons/field6.svg" alt="field6" />
  412. <img src="./icons/number6.svg" alt="number6" />
  413. </div>
  414. </div>
  415. <!-- End of .card -->
  416. </div>
  417. <div class="masonry-layout__panel" id="panel_02">
  418. <div class="card field_02 masonry-layout__panel-content bg--purple">
  419. <h2 class="field-title">
  420. <!-- Field -->
  421. <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
  422. </h2>
  423. <!-- Item list in the field -->
  424. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  425. <ul id="field_02" class="item_list sortable connectedList">
  426. </ul>
  427. <!-- The Box With All User input Thing -->
  428. <!-- # Tag selected term link -->
  429. <p class="tag-selected-term">
  430. <a href="#">
  431. Tag selected term
  432. </a>
  433. </p>
  434. <div class="add_box">
  435. <!-- # Add idea link -->
  436. <p>
  437. <a class="add-idea" href="#">
  438. Add an idea
  439. </a>
  440. </p>
  441. <!-- # User Input -->
  442. <div class="user-input">
  443. <label>Your Idea</label><br />
  444. <p>
  445. <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>
  446. </p>
  447. <p class="chars-count">
  448. <span class="chars">100</span>
  449. characters remaining
  450. </p>
  451. <button type="button" class="add_btn">Add</button>
  452. </div>
  453. <!-- End of user input -->
  454. </div>
  455. <!-- End of add_box -->
  456. <div class="field-bottom">
  457. <img src="./icons/field2.svg" alt="field2" />
  458. <img src="./icons/number2.svg" alt="number2" />
  459. </div>
  460. </div>
  461. <!-- End of .card -->
  462. </div>
  463. </div>
  464. <!-- ================ 2 col ================ -->
  465. <div class="masonry-layout2" id="2-col-layout">
  466. <div class="masonry-layout__panel" id="panel_07">
  467. <div class="card field_07 masonry-layout__panel-content bg--blue">
  468. <h2 class="field-title">
  469. <!-- Field -->
  470. <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
  471. </h2>
  472. <!-- Item list in the field -->
  473. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  474. <ul id="field_07" class="item_list sortable connectedList">
  475. </ul>
  476. <!-- The Box With All User input Thing -->
  477. <!-- # Tag selected term link -->
  478. <p class="tag-selected-term">
  479. <a href="#">
  480. Tag selected term
  481. </a>
  482. </p>
  483. <div class="add_box">
  484. <!-- # Add idea link -->
  485. <p>
  486. <a class="add-idea" href="#">
  487. Add an idea
  488. </a>
  489. </p>
  490. <!-- # User Input -->
  491. <div class="user-input">
  492. <label>Your Idea</label><br />
  493. <p>
  494. <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>
  495. </p>
  496. <p class="chars-count">
  497. <span class="chars">100</span>
  498. characters remaining
  499. </p>
  500. <button type="button" class="add_btn">Add</button>
  501. </div>
  502. <!-- End of user input -->
  503. </div>
  504. <!-- End of add_box -->
  505. <div class="field-bottom">
  506. <img src="./icons/field7.svg" alt="field7" />
  507. <img src="./icons/number7.svg" alt="number7" />
  508. </div>
  509. </div>
  510. <!-- End of .card -->
  511. </div>
  512. <div class="masonry-layout__panel" id="panel_08">
  513. <div class="card field_08 masonry-layout__panel-content bg--green">
  514. <h2 class="field-title">
  515. <!-- Field -->
  516. <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
  517. </h2>
  518. <!-- Item list in the field -->
  519. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  520. <ul id="field_08" class="item_list sortable connectedList">
  521. </ul>
  522. <!-- The Box With All User input Thing -->
  523. <!-- # Tag selected term link -->
  524. <p class="tag-selected-term">
  525. <a href="#">
  526. Tag selected term
  527. </a>
  528. </p>
  529. <div class="add_box">
  530. <!-- # Add idea link -->
  531. <p>
  532. <a class="add-idea" href="#">
  533. Add an idea
  534. </a>
  535. </p>
  536. <!-- # User Input -->
  537. <div class="user-input">
  538. <label>Your Idea</label><br />
  539. <p>
  540. <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>
  541. </p>
  542. <p class="chars-count">
  543. <span class="chars">100</span>
  544. characters remaining
  545. </p>
  546. <button type="button" class="add_btn">Add</button>
  547. </div>
  548. <!-- End of user input -->
  549. </div>
  550. <!-- End of add_box -->
  551. <div class="field-bottom">
  552. <img src="./icons/field8.svg" alt="field8" />
  553. <img src="./icons/number8.svg" alt="number8" />
  554. </div>
  555. </div>
  556. <!-- End of .card -->
  557. </div>
  558. </div>
  559. <!-- ================ 1 col ================ -->
  560. <div class="masonry-layout" id="1-col-layout">
  561. <div class="masonry-layout__panel" id="panel_10">
  562. <div class="card field_10 masonry-layout__panel-content bg--purple">
  563. <h2 class="field-title">
  564. <!-- Field -->
  565. <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
  566. </h2>
  567. <!-- Item list in the field -->
  568. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  569. <ul id="field_10" class="item_list sortable connectedList">
  570. </ul>
  571. <!-- The Box With All User input Thing -->
  572. <!-- # Tag selected term link -->
  573. <p class="tag-selected-term">
  574. <a href="#">
  575. Tag selected term
  576. </a>
  577. </p>
  578. <div class="add_box">
  579. <!-- # Add idea link -->
  580. <p>
  581. <a class="add-idea" href="#">
  582. Add an idea
  583. </a>
  584. </p>
  585. <!-- # User Input -->
  586. <div class="user-input">
  587. <label>Your Idea</label><br />
  588. <p>
  589. <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>
  590. </p>
  591. <p class="chars-count">
  592. <span class="chars">100</span>
  593. characters remaining
  594. </p>
  595. <button type="button" class="add_btn">Add</button>
  596. </div>
  597. <!-- End of user input -->
  598. </div>
  599. <!-- End of add_box -->
  600. <div class="field-bottom">
  601. <img src="./icons/field10.svg" alt="field10" />
  602. </div>
  603. </div>
  604. <!-- End of .card -->
  605. </div>
  606. </div>
  607. </div>
  608. <!-- End of .canvas.box -->
  609. <!-- FORM BUTTON BOX -->
  610. <div class="row">
  611. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  612. <!-- Form button -->
  613. <?php if(!empty($name)) { ?>
  614. <div id="saved-automatically"><p><span class="glyphicon glyphicon-ok" aria-hidden="true"></span>The canvas is saved automatically</p></div>
  615. <!-- BEGIN SHARE CANVAS -->
  616. <p class="text-center">
  617. <button class="share_canvas" type="submit" name="share-canvas">Email This Canvas</button>
  618. </p>
  619. <div class="share_canvas_email text-center">
  620. <p>
  621. <label>Send this canvas to:</label>
  622. </p>
  623. <p>
  624. <input type="email" name="share-canvas-email" placeholder="Please enter an email address..."/>
  625. </p>
  626. <p class="text-center">
  627. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  628. </p>
  629. </div>
  630. <!-- END SHARE CANVAS -->
  631. <?php } else { ?>
  632. <p class="text-center">
  633. <!-- Export JSON and also save the canvas for the registered user -->
  634. <a class="login-to-save" href="../index.html">Sign&nbsp;up&nbsp;or&nbsp;login to&nbsp;save&nbsp;your&nbsp;canvas</a>
  635. </p>
  636. <?php }?>
  637. <!-- BEGIN EXPORT PDF -->
  638. <p class="text-center">
  639. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  640. </p>
  641. <!-- END EXPORT PDF -->
  642. <!-- BEGIN PUBLISH CANVAS -->
  643. <p class="text-center">
  644. <button class="publish_canvas" name="publish-canvas">Publish for viewing/commenting</button>
  645. </p>
  646. <!-- END PUBLISH PDF -->
  647. </div>
  648. </div>
  649. <!-- Start of comments-window -->
  650. <div class="window" id="comments-window">
  651. <div class="window-heading">
  652. <button type="button" class="close" aria-label="Close">
  653. <span aria-hidden="true">&times;</span>
  654. </button>
  655. <h1><span class="glyphicon glyphicon-comment"></span> Comments</h1>
  656. </div>
  657. <div class="window-content">
  658. <h2>
  659. Comment Idea
  660. </h2>
  661. <textarea rows="4" cols="50" maxlength="200" id="comments-new">Please enter a comment...</textarea><br />
  662. <p class="chars-count">
  663. <span class="chars">200</span>
  664. characters remaining
  665. </p>
  666. <button type="button" class="window-button" id="comments-post">Post Comment</button>
  667. <h2 id="comments-thread-heading">Comment Thread</h2>
  668. <table id="comments-thread"></table>
  669. <p id="comments-none">No comments have been posted yet.</p>
  670. <button type="button" class="window-button" id="comments-resolve">Resolve Comments</button>
  671. </div>
  672. </div>
  673. <!-- End of comments-window -->
  674. <!-- Start of move-window -->
  675. <div class="window" id="move-window">
  676. <div class="window-heading">
  677. <button type="button" class="close" aria-label="Close">
  678. <span aria-hidden="true">&times;</span>
  679. </button>
  680. </div>
  681. <div class="window-content">
  682. <h2>Move idea to...</h2>
  683. <ul>
  684. <li>
  685. <a href="#">1.&nbsp;&nbsp;Individuals Affected</a>
  686. </li>
  687. <li>
  688. <a href="#">2.&nbsp;&nbsp;Groups Affected</a>
  689. </li>
  690. <li>
  691. <a href="#">3.&nbsp;&nbsp;Behaviour</a>
  692. </li>
  693. <li>
  694. <a href="#">4.&nbsp;&nbsp;Relations</a>
  695. </li>
  696. <li>
  697. <a href="#">5.&nbsp;&nbsp;Worldviews</a>
  698. </li>
  699. <li>
  700. <a href="#">6.&nbsp;&nbsp;Group Conflicts</a>
  701. </li>
  702. <li>
  703. <a href="#">7.&nbsp;&nbsp;Product or Service Failure</a>
  704. </li>
  705. <li>
  706. <a href="#">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  707. </li>
  708. <li>
  709. <a href="#">9.&nbsp;&nbsp;What can we do?</a>
  710. </li>
  711. <li>
  712. <a href="#">10.&nbsp;&nbsp;Uncategorised Ideas</a>
  713. </li>
  714. </ul>
  715. </div>
  716. </div>
  717. <!-- End of move-window -->
  718. <!-- Start of tag-window -->
  719. <div class="window" id="tag-window">
  720. <div class="window-heading">
  721. <button type="button" class="close" aria-label="Close">
  722. <span aria-hidden="true">&times;</span>
  723. </button>
  724. <h1></h1>
  725. </div>
  726. <div class="window-content">
  727. <h2 id="tag-description">
  728. Tag Description
  729. </h2>
  730. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  731. <p class="chars-count">
  732. <span class="chars">200</span>
  733. characters remaining
  734. </p>
  735. <div id="tag-buttons">
  736. <button type="button" class="window-button" id="save-tag">Save Tag</button>&nbsp;
  737. <button type="button" class="window-button" id="delete-tag">Delete Tag</button>
  738. </div>
  739. <h2 class="similar-tags">Similar tags in other canvases</h2>
  740. <p class="similar-tags-description-none">No similar tags could be found.</p>
  741. <!-- </div> -->
  742. </div>
  743. </div>
  744. <!-- End of tag-window -->
  745. <!-- Start of Collaborators -->
  746. <div class="window" id="collaborators-window">
  747. <div class="window-heading">
  748. <button type="button" class="close" aria-label="Close">
  749. <span aria-hidden="true">&times;</span>
  750. </button>
  751. <h1>
  752. <img src="icons/icon-collaborators.svg" alt="collaborators" /> Collaborators
  753. </h1>
  754. </div>
  755. <div class="window-content">
  756. <h2>
  757. Owner of the Canvas
  758. </h2>
  759. <p id="canvas-owner">
  760. <?php echo $email; ?>
  761. </p>
  762. <h2>
  763. List of Collaborators
  764. </h2>
  765. <table>
  766. <tr>
  767. <th>Active</th>
  768. <th>Name</th>
  769. <th>Username</th>
  770. <th>Remove</th>
  771. </tr>
  772. <tr>
  773. <td class='collaborators-active'><span class='glyphicon glyphicon-ok-sign'></span></td>
  774. <td><?php echo $name; ?></td>
  775. <td><?php echo $email; ?></td>
  776. <td>
  777. </td>
  778. </tr>
  779. </table>
  780. <label><input type="checkbox" name="show-only-active" /> Show only active collaborators</label><br />
  781. <h2>
  782. Add Collaborator
  783. </h2>
  784. <!-- <input type="email" name="add-collaborator" value="Please enter an email address..." /> -->
  785. <div id="collaborator-email" contenteditable="true">Please enter an email address...</div>
  786. <button type="button" class="window-button" id="add-collaborator">Add</button>
  787. <div class="error-message" id="user-is-not-member">The user is not a member!</div>
  788. <div class="error-message" id="username-already-exists">The username already exists!</div>
  789. <div class="error-message" id="enter-valid-email">Please enter a valid email address!</div>
  790. </div>
  791. </div>
  792. <!-- End of Collaborators -->
  793. </form>
  794. <!-- End of .form -->
  795. <!-- Hidden place to show JSON info -->
  796. <pre id="result" class="text-center">
  797. </pre>
  798. <div class="row">
  799. <footer class="col-md-12 text-center">
  800. <div class="contact">
  801. <h2>Contact us:</h2>
  802. <p>hello@ethicscanvas.org</p>
  803. </div>
  804. <div class="license">
  805. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  806. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  807. </p>
  808. <p>
  809. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  810. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  811. <p>
  812. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  813. </p>
  814. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  815. View the original Business Model Canvas on:
  816. </p>
  817. <p>
  818. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  819. </p>
  820. </div>
  821. <div class="license-icons">
  822. <ul>
  823. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  824. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  825. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  826. <li><img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  827. <li><img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  828. </ul>
  829. </div>
  830. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  831. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  832. <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>
  833. <p class="ethics-copy">Ethics Canvas v1.8&nbsp;|&nbsp;&copy; ADAPT Centre &amp; Trinity College Dublin &amp; Dublin City University, 2017</p>
  834. </footer>
  835. </div>
  836. </div>
  837. <!-- End of container-fluid -->
  838. <!-- Start of dialogs -->
  839. <div id="shadow">&nbsp;</div>
  840. <div class="dialog" id="dialog-log-in">
  841. <div class="dialog-header">
  842. <button type="button" class="close" aria-label="Close">
  843. <span aria-hidden="true">&times;</span>
  844. </button>
  845. <h2>
  846. Please log in
  847. </h2>
  848. </div>
  849. <div class="dialog-content"><p>Please log in to use this function.</p></div>
  850. </div>
  851. <div class="dialog" id="dialog-select-term">
  852. <div class="dialog-header">
  853. <button type="button" class="close" aria-label="Close">
  854. <span aria-hidden="true">&times;</span>
  855. </button>
  856. <h2>
  857. Please select term
  858. </h2>
  859. </div>
  860. <div class="dialog-content"><p>Please select a term to be tagged.</p></div>
  861. </div>
  862. <div class="dialog" id="dialog-please-save">
  863. <div class="dialog-header">
  864. <button type="button" class="close" aria-label="Close">
  865. <span aria-hidden="true">&times;</span>
  866. </button>
  867. <h2>
  868. Please save first
  869. </h2>
  870. </div>
  871. <div class="dialog-content"><p>Please save the canvas to use this function.</p></div>
  872. </div>
  873. <div class="dialog" id="dialog-delete-idea">
  874. <div class="dialog-header">
  875. <button type="button" class="close" aria-label="Close">
  876. <span aria-hidden="true">&times;</span>
  877. </button>
  878. <h2>
  879. Delete?
  880. </h2>
  881. </div>
  882. <div class="dialog-content">
  883. <p>This idea has comments. Are you sure you want to delete it?</p>
  884. <button type="button" class="window-button" id="button-yes">Yes</button>
  885. <button type="button" class="window-button" id="button-cancel">Cancel</button>
  886. </div>
  887. </div>
  888. <div class="dialog window-dialog" id="dialog-remove-collaborator">
  889. <div class="dialog-header">
  890. <button type="button" class="close" aria-label="Close">
  891. <span aria-hidden="true">&times;</span>
  892. </button>
  893. <h2>
  894. Remove?
  895. </h2>
  896. </div>
  897. <div class="dialog-content">
  898. <p>Are you sure you want to remove this collaborator?</p>
  899. <button type="button" class="window-button" id="button-yes">Yes</button>
  900. <button type="button" class="window-button" id="button-cancel">Cancel</button>
  901. </div>
  902. </div>
  903. <div class="dialog window-dialog" id="dialog-resolve-comments">
  904. <div class="dialog-header">
  905. <button type="button" class="close" aria-label="Close">
  906. <span aria-hidden="true">&times;</span>
  907. </button>
  908. <h2>
  909. Resolve?
  910. </h2>
  911. </div>
  912. <div class="dialog-content">
  913. <p>Are you sure you want to resolve and delete all comments?</p>
  914. <button type="button" class="window-button" id="button-yes">Yes</button>
  915. <button type="button" class="window-button" id="button-cancel">Cancel</button>
  916. </div>
  917. </div>
  918. <!-- End of dialogs -->
  919. <!-- jQuery -->
  920. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  921. <!-- jquery UI -->
  922. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  923. <!-- Bootstrap -->
  924. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  925. <!-- Bootstrap -->
  926. <script src="js/jquery-fieldselection.min.js"></script>
  927. <!-- The app javascript -->
  928. <script src="js/canvas.js" charset="utf-8"></script>
  929. <script language="javascript" type="text/javascript"></script>
  930. </body>
  931. </html>